/* HC Layout button visual controls v2.5.0 */
/*
|--------------------------------------------------------------------------
| Estilos globales de navegación - Hub-Connect
|--------------------------------------------------------------------------
*/

:root {
    --hc-global-primary: #25d0a6;
    --hc-global-secondary: #14b8ff;
    --hc-global-surface: #071827;
    --hc-global-text: #f5fbff;
    --hc-global-muted: rgba(226, 238, 247, 0.67);
    --hc-global-line: rgba(255, 255, 255, 0.11);
    --hc-global-shadow: 0 24px 58px rgba(0, 0, 0, 0.30);
    --hc-global-bottom-space: 108px;
}

body.hc-global-has-bottom {
    padding-bottom: var(--hc-global-bottom-space) !important;
}

body.hc-global-drawer-visible {
    overflow: hidden !important;
}

.hc-global-header,
.hc-global-header *,
.hc-global-bottom-nav,
.hc-global-bottom-nav *,
.hc-global-drawer,
.hc-global-drawer * {
    box-sizing: border-box;
}

.hc-global-header button,
.hc-global-bottom-nav button,
.hc-global-drawer button {
    font: inherit;
}

.hc-global-header {
    position: relative;
    z-index: 1200;
    width: min(calc(100% - 28px), var(--hc-header-width-desktop, 1180px));
    min-height: var(--hc-header-height-desktop, 68px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hc-header-brand-gap-desktop, 18px);
    margin: var(--hc-header-margin-top-desktop, 16px) auto 0;
    padding: var(--hc-header-padding-y-desktop, 9px) var(--hc-header-padding-x-desktop, 12px);
    color: var(--hc-global-text);
    border: 1px solid var(--hc-global-line);
    border-radius: var(--hc-header-radius-desktop, 999px);
    background:
        radial-gradient(circle at 95% 10%, color-mix(in srgb, var(--hc-global-primary) 16%, transparent), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--hc-global-surface) 92%, black 8%), color-mix(in srgb, var(--hc-global-surface) 82%, transparent));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hc-global-header.is-sticky {
    position: sticky;
    top: 10px;
}

.hc-global-header-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--hc-header-brand-gap-desktop, 12px);
}

.hc-global-logo {
    position: relative;
    width: var(--hc-header-logo-size-desktop, 48px);
    height: var(--hc-header-logo-size-desktop, 48px);
    flex: 0 0 var(--hc-header-logo-size-desktop, 48px);
    display: grid;
    place-items: center;
    padding: 7px;
    overflow: hidden;
    border-radius: var(--hc-header-logo-radius-desktop, 17px);
    background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
}

.hc-global-logo::after {
    content: '';
    position: absolute;
    inset: -70% -40%;
    background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.25) 50%, transparent 62%);
    transform: translateX(-85%);
    animation: hcGlobalBrandShine 5.8s ease-in-out infinite;
}

.hc-global-logo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hc-global-brand-copy {
    min-width: 0;
}

.hc-global-brand-copy strong,
.hc-global-brand-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hc-global-brand-copy strong {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.04rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hc-global-brand-copy small {
    margin-top: 3px;
    color: var(--hc-global-muted);
    font-size: .77rem;
    font-weight: 800;
}

.hc-global-header-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--hc-header-button-gap-desktop, 8px);
    overflow-x: auto;
    scrollbar-width: none;
}

.hc-global-header-actions::-webkit-scrollbar,
.hc-global-bottom-track::-webkit-scrollbar {
    display: none;
}

.hc-global-header-item {
    position: relative;
    min-height: var(--hc-header-button-height-desktop, 44px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 8px var(--hc-header-button-padding-x-desktop, 16px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--hc-header-button-radius-desktop, 999px);
    color: var(--hc-global-muted);
    background: rgba(255,255,255,.065);
    text-decoration: none;
    font-size: .80rem;
    font-weight: 900;
    cursor: pointer;
    transition: 240ms cubic-bezier(.2,.8,.2,1);
}

.hc-global-header-item:hover,
.hc-global-header-item:focus-visible,
.hc-global-header-item.is-active {
    color: #fff;
    border-color: color-mix(in srgb, var(--hc-global-primary) 42%, transparent);
    background: color-mix(in srgb, var(--hc-global-primary) 18%, rgba(255,255,255,.07));
    transform: translateY(-2px);
    outline: none;
}

.hc-global-item-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
}

.hc-global-header-item .hc-global-item-icon {
    color: var(--hc-global-primary);
}

.hc-global-badge {
    position: absolute;
    top: -9px;
    right: -11px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    color: #07111d;
    background: linear-gradient(135deg, var(--hc-global-primary), var(--hc-global-secondary));
    box-shadow: 0 6px 14px color-mix(in srgb, var(--hc-global-primary) 38%, transparent);
    font-size: .61rem;
    font-weight: 950;
}

.hc-global-bottom-nav {
    position: fixed;
    z-index: 1300;
    left: 50%;
    bottom: 0;
    width: min(calc(100% - 28px), 1040px);
    color: var(--hc-global-text);
    transform: translateX(-50%);
}

.hc-global-bottom-nav.is-floating {
    bottom: max(13px, env(safe-area-inset-bottom));
}

.hc-global-bottom-nav.is-attached {
    width: min(100%, 1520px);
}

.hc-global-bottom-track {
    min-height: 72px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border: 1px solid var(--hc-global-line);
    border-radius: 25px;
    background:
        radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--hc-global-primary) 12%, transparent), transparent 45%),
        linear-gradient(145deg, color-mix(in srgb, var(--hc-global-surface) 94%, black 6%), color-mix(in srgb, var(--hc-global-surface) 88%, transparent));
    box-shadow: var(--hc-global-shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.hc-global-bottom-nav.is-attached .hc-global-bottom-track {
    border-bottom: 0;
    border-radius: 25px 25px 0 0;
}

.hc-global-bottom-item,
.hc-global-center-button {
    position: relative;
    min-width: 74px;
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 7px 9px;
    border: 0;
    border-radius: 17px;
    color: var(--hc-global-muted);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: 240ms cubic-bezier(.2,.8,.2,1);
}

.hc-global-bottom-item:hover,
.hc-global-bottom-item:focus-visible,
.hc-global-bottom-item.is-active {
    color: #fff;
    background: color-mix(in srgb, var(--hc-global-primary) 14%, rgba(255,255,255,.055));
    outline: none;
    transform: translateY(-2px);
}

.hc-global-bottom-item .hc-global-item-icon {
    color: var(--hc-global-primary);
    font-size: 1.02rem;
}

.hc-global-bottom-item .hc-global-item-label,
.hc-global-center-button small {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .67rem;
    font-weight: 900;
}

.hc-global-center-button {
    min-width: 78px;
    flex: 0 0 82px;
    margin-top: -25px;
    color: #07111d;
}

.hc-global-center-button > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--hc-global-primary), var(--hc-global-secondary));
    border: 1px solid rgba(255,255,255,.30);
    box-shadow:
        0 17px 32px color-mix(in srgb, var(--hc-global-primary) 34%, transparent),
        inset 0 1px 0 rgba(255,255,255,.44);
    font-size: 1.18rem;
    transition: 240ms cubic-bezier(.2,.8,.2,1);
}

.hc-global-center-button small {
    color: var(--hc-global-text);
}

.hc-global-center-button:hover > span,
.hc-global-center-button:focus-visible > span {
    transform: translateY(-3px) rotate(-3deg) scale(1.04);
}

.hc-global-center-button:focus-visible {
    outline: none;
}

.hc-global-drawer-overlay {
    position: fixed;
    z-index: 1540;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(2, 7, 13, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: opacity 280ms ease, visibility 0s linear 280ms;
}

.hc-global-drawer-overlay.is-visible {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.hc-global-drawer {
    position: fixed;
    z-index: 1550;
    top: 0;
    bottom: 0;
    width: min(92vw, 410px);
    display: flex;
    flex-direction: column;
    color: var(--hc-global-text, #f5fbff);
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--hc-global-primary, #25d0a6) 18%, transparent), transparent 34%),
        linear-gradient(155deg, #071421, #050c15 72%);
    box-shadow: 0 0 80px rgba(0,0,0,.48);
    border-right: 1px solid rgba(255,255,255,.10);
    transition: transform 360ms cubic-bezier(.2,.8,.2,1);
}

.hc-global-drawer.is-left {
    left: 0;
    transform: translateX(-105%);
}

.hc-global-drawer.is-right {
    right: 0;
    transform: translateX(105%);
    border-right: 0;
    border-left: 1px solid rgba(255,255,255,.10);
}

.hc-global-drawer.is-visible {
    transform: translateX(0);
}

.hc-global-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 24px 21px 19px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.hc-global-drawer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hc-global-primary, #25d0a6);
    font-size: .71rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hc-global-drawer-head h2 {
    margin: 8px 0 0;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.47rem;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.hc-global-drawer-head p {
    margin: 7px 0 0;
    color: var(--hc-global-muted);
    font-size: .81rem;
    font-weight: 750;
    line-height: 1.45;
}

.hc-global-drawer-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.07);
    cursor: pointer;
    transition: 220ms ease;
}

.hc-global-drawer-close:hover,
.hc-global-drawer-close:focus-visible {
    color: #07111d;
    background: var(--hc-global-primary, #25d0a6);
    outline: none;
}

.hc-global-drawer-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.hc-global-drawer-category {
    margin-bottom: 9px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 19px;
    background: rgba(255,255,255,.045);
}

.hc-global-category-toggle {
    width: 100%;
    min-height: 67px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    color: #fff;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.hc-global-category-icon,
.hc-global-drawer-link-icon {
    display: grid;
    place-items: center;
    color: var(--hc-global-primary, #25d0a6);
    background: color-mix(in srgb, var(--hc-global-primary, #25d0a6) 14%, rgba(255,255,255,.05));
    border: 1px solid color-mix(in srgb, var(--hc-global-primary, #25d0a6) 20%, transparent);
}

.hc-global-category-icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
}

.hc-global-category-copy {
    min-width: 0;
}

.hc-global-category-copy strong,
.hc-global-category-copy small,
.hc-global-drawer-link strong,
.hc-global-drawer-link small {
    display: block;
}

.hc-global-category-copy strong,
.hc-global-drawer-link strong {
    font-size: .84rem;
    font-weight: 900;
}

.hc-global-category-copy small,
.hc-global-drawer-link small {
    margin-top: 3px;
    color: var(--hc-global-muted);
    font-size: .70rem;
    font-weight: 750;
    line-height: 1.35;
}

.hc-global-category-count {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--hc-global-muted);
    background: rgba(255,255,255,.07);
    font-size: .68rem;
    font-weight: 900;
}

.hc-global-category-chevron {
    color: var(--hc-global-muted);
    font-size: .72rem;
    transition: transform 240ms ease;
}

.hc-global-category-toggle[aria-expanded="true"] .hc-global-category-chevron {
    transform: rotate(180deg);
}

.hc-global-category-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 280ms cubic-bezier(.2,.8,.2,1);
}

.hc-global-category-panel > * {
    overflow: hidden;
}

.hc-global-category-inner {
    min-height: 0;
}

.hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel {
    grid-template-rows: 1fr;
    padding: 0 10px 10px;
}

.hc-global-drawer-link {
    min-height: 57px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
    padding: 9px 10px;
    border-radius: 15px;
    color: #fff;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.065);
    text-decoration: none;
    transition: 220ms ease;
}

.hc-global-drawer-link:hover,
.hc-global-drawer-link:focus-visible {
    background: color-mix(in srgb, var(--hc-global-primary, #25d0a6) 13%, rgba(255,255,255,.05));
    transform: translateX(3px);
    outline: none;
}

.hc-global-drawer-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.hc-global-drawer-link > .fa-arrow-right {
    color: var(--hc-global-muted);
    font-size: .72rem;
}

.hc-global-empty-category {
    margin-top: 7px;
    padding: 14px;
    border-radius: 14px;
    color: var(--hc-global-muted);
    background: rgba(255,255,255,.035);
    font-size: .75rem;
    font-weight: 800;
    text-align: center;
}

.hc-global-hide-desktop {
    display: none !important;
}

@keyframes hcGlobalBrandShine {
    0%, 48% { transform: translateX(-85%); }
    74%, 100% { transform: translateX(85%); }
}


@media (min-width: 761px) and (max-width: 1080px) {
    .hc-global-header {
        width: min(calc(100% - 24px), var(--hc-header-width-tablet, 900px));
    }
}

@media (max-width: 760px) {
    :root {
        --hc-global-bottom-space: 96px;
    }

    .hc-global-hide-desktop {
        display: inline-flex !important;
    }

    .hc-global-hide-mobile {
        display: none !important;
    }

    .hc-global-header {
        width: min(calc(100% - 20px), var(--hc-header-width-mobile, 430px));
        min-height: var(--hc-header-height-mobile, 62px);
        gap: var(--hc-header-brand-gap-mobile, 12px);
        margin: var(--hc-header-margin-top-mobile, 10px) auto 0;
        padding: var(--hc-header-padding-y-mobile, 9px) var(--hc-header-padding-x-mobile, 10px);
        border-radius: var(--hc-header-radius-mobile, 24px);
    }

    .hc-global-header.is-sticky {
        top: 7px;
    }

    .hc-global-logo {
        width: var(--hc-header-logo-size-mobile, 44px);
        height: var(--hc-header-logo-size-mobile, 44px);
        flex-basis: var(--hc-header-logo-size-mobile, 44px);
        border-radius: var(--hc-header-logo-radius-mobile, 17px);
    }

    .hc-global-brand-copy strong {
        font-size: .91rem;
    }

    .hc-global-brand-copy small {
        font-size: .66rem;
    }

    .hc-global-header-actions {
        max-width: 48%;
        gap: var(--hc-header-button-gap-mobile, 8px);
    }

    .hc-global-header-item {
        min-width: var(--hc-header-button-height-mobile, 42px);
        min-height: var(--hc-header-button-height-mobile, 42px);
        padding: 0 var(--hc-header-button-padding-x-mobile, 0px);
        border-radius: var(--hc-header-button-radius-mobile, 999px);
    }

    .hc-global-header[data-header-button-labels-mobile="0"] .hc-global-header-item .hc-global-item-label {
        display: none;
    }

    .hc-global-header[data-header-subtitle-mobile="0"] .hc-global-brand-copy small {
        display: none;
    }

    .hc-global-bottom-nav {
        width: calc(100% - 18px);
    }

    .hc-global-bottom-nav.is-floating {
        bottom: max(8px, env(safe-area-inset-bottom));
    }

    .hc-global-bottom-track {
        min-height: 66px;
        gap: 2px;
        padding: 7px 5px;
        border-radius: 21px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .hc-global-bottom-item,
    .hc-global-center-button {
        min-width: 62px;
        padding-inline: 6px;
        border-radius: 15px;
    }

    .hc-global-bottom-item .hc-global-item-label,
    .hc-global-center-button small {
        font-size: .60rem;
    }

    .hc-global-center-button {
        min-width: 66px;
        flex-basis: 70px;
        margin-top: -20px;
    }

    .hc-global-center-button > span {
        width: 49px;
        height: 49px;
        border-radius: 17px;
    }

    .hc-global-bottom-nav[data-count="6"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="7"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="8"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="9"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="10"] .hc-global-bottom-item .hc-global-item-label {
        display: none;
    }
}

@media (max-width: 430px) {
    .hc-global-brand-copy small {
        display: none;
    }

    .hc-global-header-actions {
        max-width: 44%;
    }

    .hc-global-bottom-item,
    .hc-global-center-button {
        min-width: 58px;
    }

    .hc-global-bottom-nav[data-count="5"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="6"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="7"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="8"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="9"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav[data-count="10"] .hc-global-bottom-item .hc-global-item-label {
        display: none;
    }
}

@media (min-width: 761px) {
    .hc-global-hide-mobile {
        display: inline-flex !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-global-header *,
    .hc-global-bottom-nav *,
    .hc-global-drawer *,
    .hc-global-drawer-overlay {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/*
|--------------------------------------------------------------------------
| Ajuste profesional: botón central fijo y elevado
|--------------------------------------------------------------------------
| Cuando el botón central está activo, el menú inferior se divide en tres
| zonas: izquierda, centro exacto y derecha. El botón Menú queda siempre en
| el centro real del contenedor y sobresale a media altura. Si el botón
| central no está activo, el menú conserva el comportamiento flexible normal.
*/
body.hc-global-has-bottom {
    --hc-global-bottom-space: 122px;
}

.hc-global-bottom-nav {
    overflow: visible;
}

.hc-global-bottom-nav.is-floating {
    bottom: max(var(--hc-bottom-official-bottom-offset), env(safe-area-inset-bottom));
}

.hc-global-bottom-track {
    position: relative;
    min-height: 82px;
    align-items: flex-end;
    padding: 24px 8px 9px;
    overflow: visible;
}

.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
    display: flex;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 9px;
}

.hc-global-bottom-side {
    min-width: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.hc-global-bottom-side::-webkit-scrollbar {
    display: none;
}

.hc-global-bottom-side.is-left {
    grid-column: 1;
}

.hc-global-bottom-side.is-right {
    grid-column: 3;
}

.hc-global-bottom-item {
    min-width: 0;
    min-height: 60px;
    flex: 1 1 0;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-item {
    min-width: 70px;
    flex: 1 1 0;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-side[data-side-count="0"] {
    pointer-events: none;
}

.hc-global-center-button {
    z-index: 5;
    flex: 0 0 76px;
    min-width: 76px;
    width: 76px;
    height: 72px;
    align-self: start;
    margin-top: -40px;
    padding: 8px 7px 7px;
    gap: 4px;
    border-radius: 23px;
    color: #041b2c;
    background: linear-gradient(145deg, var(--hc-global-primary), var(--hc-global-secondary));
    border: 1px solid rgba(255,255,255,.32);
    box-shadow:
        0 20px 38px color-mix(in srgb, var(--hc-global-primary) 36%, transparent),
        0 0 0 7px color-mix(in srgb, var(--hc-global-surface) 88%, rgba(2,7,13,.92)),
        inset 0 1px 0 rgba(255,255,255,.42);
}

.hc-global-bottom-nav.has-center .hc-global-center-button {
    grid-column: 2;
    justify-self: center;
}

.hc-global-center-button > span {
    width: auto;
    height: auto;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-size: 1.18rem;
}

.hc-global-center-button small {
    color: inherit;
    font-size: .64rem;
    font-weight: 950;
    line-height: 1;
}

.hc-global-center-button:hover,
.hc-global-center-button:focus-visible {
    transform: translateY(-2px);
}

.hc-global-center-button:hover > span,
.hc-global-center-button:focus-visible > span {
    transform: none;
}

@media (max-width: 760px) {
    body.hc-global-has-bottom {
        --hc-global-bottom-space: 112px;
    }

    .hc-global-bottom-nav.is-floating {
        bottom: max(var(--hc-bottom-official-bottom-offset-mobile), env(safe-area-inset-bottom));
    }

    .hc-global-bottom-track {
        min-height: 76px;
        padding: 22px 6px 8px;
        gap: 2px;
        overflow: visible;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 5px;
    }

    .hc-global-bottom-side {
        gap: 2px;
    }

    .hc-global-bottom-item {
        min-width: 0;
        min-height: 56px;
        padding-inline: 5px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item {
        min-width: 58px;
    }

    .hc-global-center-button {
        flex-basis: 68px;
        min-width: 68px;
        width: 68px;
        height: 64px;
        margin-top: -35px;
        padding: 7px 6px 6px;
        border-radius: 21px;
        box-shadow:
            0 17px 30px color-mix(in srgb, var(--hc-global-primary) 34%, transparent),
            0 0 0 6px color-mix(in srgb, var(--hc-global-surface) 88%, rgba(2,7,13,.92)),
            inset 0 1px 0 rgba(255,255,255,.42);
    }

    .hc-global-center-button > span {
        font-size: 1.05rem;
    }

    .hc-global-center-button small {
        font-size: .58rem;
    }
}

@media (max-width: 430px) {
    body.hc-global-has-bottom {
        --hc-global-bottom-space: 106px;
    }

    .hc-global-bottom-track {
        min-height: 72px;
        padding-top: 20px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        gap: 3px;
    }

    .hc-global-bottom-side {
        gap: 1px;
    }

    .hc-global-bottom-item {
        min-width: 0;
        min-height: 53px;
        padding-inline: 4px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item {
        min-width: 52px;
    }

    .hc-global-center-button {
        flex-basis: 64px;
        min-width: 64px;
        width: 64px;
        height: 61px;
        margin-top: -33px;
        border-radius: 20px;
    }

    .hc-global-center-button > span {
        font-size: 1rem;
    }

    .hc-global-center-button small {
        font-size: .55rem;
    }
}

/*
|--------------------------------------------------------------------------
| Ajuste de uniformidad visual para menú inferior con botón central
|--------------------------------------------------------------------------
| Evita que páginas con 4 botones laterales + botón Menú oculten textos
| o cambien demasiado la altura/escala del menú. El botón central sigue fijo
| y los botones se compactan de forma suave, sin perder sus etiquetas.
*/
.hc-global-bottom-nav.has-center .hc-global-bottom-track {
    overflow: visible;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-side {
    overflow-x: hidden;
    overflow-y: visible;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label {
    display: block;
}

@media (max-width: 760px) {
    .hc-global-bottom-nav.has-center {
        width: min(calc(100% - 18px), 690px);
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        min-height: 78px;
        padding: 22px 7px 8px;
        border-radius: 24px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-side {
        gap: 3px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item {
        min-width: 56px;
        min-height: 57px;
        padding-inline: 4px;
        gap: 4px;
        border-radius: 16px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-icon {
        font-size: 1.02rem;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center .hc-global-center-button small {
        display: block;
        font-size: .58rem;
        line-height: 1.05;
        letter-spacing: -.015em;
    }
}

@media (max-width: 430px) {
    .hc-global-bottom-nav.has-center {
        width: calc(100% - 18px);
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        min-height: 76px;
        padding: 21px 6px 8px;
        border-radius: 23px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-side {
        gap: 2px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item {
        min-width: 50px;
        min-height: 55px;
        padding-inline: 3px;
        gap: 4px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-icon {
        font-size: .98rem;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center .hc-global-center-button small {
        display: block !important;
        font-size: .53rem;
        max-width: 100%;
    }

    .hc-global-bottom-nav.has-center[data-count="7"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center[data-count="8"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center[data-count="9"] .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center[data-count="10"] .hc-global-bottom-item .hc-global-item-label {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .hc-global-bottom-nav.has-center .hc-global-bottom-item {
        min-width: 46px;
        padding-inline: 2px;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center .hc-global-center-button small {
        font-size: .49rem;
    }
}

/*
|--------------------------------------------------------------------------
| Regla final: tamaño oficial fijo del menú inferior
|--------------------------------------------------------------------------
| El menú mantiene el mismo ancho visual en todas las páginas, sin crecer
| por la cantidad de botones. Los botones se acomodan dentro del espacio.
*/
:root {
    --hc-bottom-official-desktop-width: 520px;
    --hc-bottom-official-tablet-width: 520px;
    --hc-bottom-official-mobile-width: 430px;
    --hc-bottom-official-center-width: 46px;
    --hc-bottom-official-center-width-mobile: 46px;
    --hc-bottom-official-track-height: 68px;
    --hc-bottom-official-track-height-mobile: 60px;
    --hc-bottom-official-center-height: 46px;
    --hc-bottom-official-center-height-mobile: 46px;
    --hc-bottom-official-center-offset: 0px;
    --hc-bottom-official-center-offset-mobile: 0px;
    --hc-bottom-official-center-radius: 999px;
    --hc-bottom-official-center-radius-mobile: 999px;
    --hc-bottom-official-bottom-offset: 22px;
    --hc-bottom-official-bottom-offset-mobile: 16px;
    --hc-bottom-official-padding-x: 8px;
    --hc-bottom-official-padding-x-mobile: 8px;
    --hc-bottom-official-padding-y: 0px;
    --hc-bottom-official-padding-y-mobile: 0px;
    --hc-bottom-official-item-icon-size: 21px;
    --hc-bottom-official-item-icon-size-mobile: 23px;
    --hc-bottom-official-item-label-size: 11px;
    --hc-bottom-official-item-label-size-mobile: 0px;
    --hc-bottom-official-item-gap: 3px;
    --hc-bottom-official-item-gap-mobile: 3px;
    --hc-bottom-official-radius: 24px;
    --hc-bottom-official-radius-mobile: 24px;
}

.hc-global-bottom-nav,
.hc-global-bottom-nav.has-center,
.hc-global-bottom-nav.is-floating,
.hc-global-bottom-nav.is-attached {
    width: min(92vw, var(--hc-bottom-official-desktop-width)) !important;
    max-width: var(--hc-bottom-official-desktop-width) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.hc-global-bottom-track,
.hc-global-bottom-nav.has-center .hc-global-bottom-track,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
    width: 100% !important;
    max-width: 100% !important;
    min-height: var(--hc-bottom-official-track-height) !important;
    padding: var(--hc-bottom-official-padding-y) var(--hc-bottom-official-padding-x) !important;
    border-radius: var(--hc-bottom-official-radius) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-track {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) var(--hc-bottom-official-center-width) minmax(0, 1fr) !important;
    gap: 8px !important;
}

.hc-global-bottom-side {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-item {
    flex: 1 1 0 !important;
    min-width: 52px !important;
    max-width: 96px !important;
    min-height: calc(var(--hc-bottom-official-track-height) - (var(--hc-bottom-official-padding-y) * 2)) !important;
}

.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
    display: flex !important;
    justify-content: center !important;
    overflow-x: hidden !important;
}

.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-item {
    flex: 1 1 0 !important;
    min-width: 58px !important;
    max-width: 108px !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button {
    width: var(--hc-bottom-official-center-width) !important;
    min-width: var(--hc-bottom-official-center-width) !important;
    max-width: var(--hc-bottom-official-center-width) !important;
    height: var(--hc-bottom-official-center-height) !important;
    justify-self: center !important;
    align-self: start !important;
    margin-top: var(--hc-bottom-official-center-offset) !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button > span {
    font-size: 1.12rem !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button small {
    display: block !important;
    font-size: .58rem !important;
    line-height: 1 !important;
}

@media (max-width: 980px) {
    .hc-global-bottom-nav,
    .hc-global-bottom-nav.has-center,
    .hc-global-bottom-nav.is-floating,
    .hc-global-bottom-nav.is-attached {
        width: min(calc(100vw - 42px), var(--hc-bottom-official-tablet-width)) !important;
        max-width: var(--hc-bottom-official-tablet-width) !important;
    }
}

@media (max-width: 640px) {
    body.hc-global-has-bottom {
        --hc-global-bottom-space: 106px !important;
    }

    .hc-global-bottom-nav,
    .hc-global-bottom-nav.has-center,
    .hc-global-bottom-nav.is-floating,
    .hc-global-bottom-nav.is-attached {
        width: min(92vw, var(--hc-bottom-official-mobile-width)) !important;
        max-width: var(--hc-bottom-official-mobile-width) !important;
    }

    .hc-global-bottom-track,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        min-height: var(--hc-bottom-official-track-height-mobile) !important;
        padding: var(--hc-bottom-official-padding-y-mobile) var(--hc-bottom-official-padding-x-mobile) !important;
        border-radius: var(--hc-bottom-official-radius-mobile) !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        grid-template-columns: minmax(0, 1fr) var(--hc-bottom-official-center-width-mobile) minmax(0, 1fr) !important;
        gap: 6px !important;
    }

    .hc-global-bottom-side {
        gap: 2px !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item {
        min-width: 48px !important;
        max-width: 76px !important;
        min-height: calc(var(--hc-bottom-official-track-height-mobile) - (var(--hc-bottom-official-padding-y-mobile) * 2)) !important;
        padding-inline: 3px !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-center-button {
        width: var(--hc-bottom-official-center-width-mobile) !important;
        min-width: var(--hc-bottom-official-center-width-mobile) !important;
        max-width: var(--hc-bottom-official-center-width-mobile) !important;
        height: var(--hc-bottom-official-center-height-mobile) !important;
        margin-top: var(--hc-bottom-official-center-offset-mobile) !important;
        border-radius: 21px !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-center-button > span {
        font-size: 1.02rem !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-center-button small {
        font-size: .55rem !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label {
        display: block !important;
        font-size: .52rem !important;
        line-height: 1.05 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 380px) {
    .hc-global-bottom-nav,
    .hc-global-bottom-nav.has-center,
    .hc-global-bottom-nav.is-floating,
    .hc-global-bottom-nav.is-attached {
        width: calc(100vw - 28px) !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        gap: 4px !important;
        padding-inline: 6px !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-item {
        min-width: 44px !important;
        max-width: 68px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Defaults oficiales tomados desde index.php enviado por Juan
|--------------------------------------------------------------------------
| Estos valores hacen que las páginas nuevas del constructor nazcan con la
| cabecera tipo píldora y el menú inferior compacto del home actual.
*/
.hc-global-bottom-nav.is-floating {
    bottom: max(var(--hc-bottom-official-bottom-offset), env(safe-area-inset-bottom)) !important;
}

.hc-global-bottom-item {
    gap: var(--hc-bottom-official-item-gap) !important;
}

.hc-global-bottom-item .hc-global-item-icon {
    font-size: var(--hc-bottom-official-item-icon-size) !important;
}

.hc-global-bottom-item .hc-global-item-label {
    font-size: var(--hc-bottom-official-item-label-size) !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button {
    border-radius: var(--hc-bottom-official-center-radius) !important;
}

@media (max-width: 640px) {
    .hc-global-bottom-nav.is-floating {
        bottom: max(var(--hc-bottom-official-bottom-offset-mobile), env(safe-area-inset-bottom)) !important;
    }

    .hc-global-bottom-item {
        gap: var(--hc-bottom-official-item-gap-mobile) !important;
    }

    .hc-global-bottom-item .hc-global-item-icon {
        font-size: var(--hc-bottom-official-item-icon-size-mobile) !important;
    }

    .hc-global-bottom-item .hc-global-item-label {
        font-size: var(--hc-bottom-official-item-label-size-mobile) !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-center-button {
        border-radius: var(--hc-bottom-official-center-radius-mobile) !important;
    }
}


/*
|===============================================================================
| HC Layout 2.4.0 · Modo exacto index.php
|-------------------------------------------------------------------------------
| Esta capa final replica las proporciones del index.php enviado como referencia:
| - Cabecera tipo píldora fija.
| - Menú inferior compacto, ancho fijo 520px, alto 68/60px.
| - Botón central integrado dentro del menú, sin sobresalir.
| - Textos del menú ocultos en celular como el home original.
|-------------------------------------------------------------------------------
| Los valores siguen pudiendo venir desde el constructor, pero estos son los
| defaults visuales oficiales y no se agrandan por tener más o menos botones.
|===============================================================================
*/

:root {
    --hc-index-header-width-desktop: 1180px;
    --hc-index-header-width-tablet: 900px;
    --hc-index-header-width-mobile: 430px;
    --hc-index-header-height-desktop: 68px;
    --hc-index-header-height-mobile: 62px;
    --hc-index-header-top-desktop: 16px;
    --hc-index-header-top-mobile: 10px;
    --hc-index-header-radius-desktop: 999px;
    --hc-index-header-radius-mobile: 24px;
    --hc-index-logo-size-desktop: 48px;
    --hc-index-logo-size-mobile: 44px;
    --hc-index-header-button-desktop: 44px;
    --hc-index-header-button-mobile: 42px;

    --hc-index-bottom-width: 520px;
    --hc-index-bottom-width-mobile: 430px;
    --hc-index-bottom-height: 68px;
    --hc-index-bottom-height-mobile: 60px;
    --hc-index-bottom-bottom: 22px;
    --hc-index-bottom-bottom-mobile: 16px;
    --hc-index-bottom-radius: 24px;
    --hc-index-bottom-padding-x: 8px;
    --hc-index-bottom-slots: 5;
    --hc-index-center-size: 46px;
}

body.hc-global-has-header .hc-global-header,
.hc-global-header {
    position: fixed !important;
    top: var(--hc-header-margin-top-desktop, var(--hc-index-header-top-desktop)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(calc(100% - 32px), var(--hc-header-width-desktop, var(--hc-index-header-width-desktop))) !important;
    max-width: var(--hc-header-width-desktop, var(--hc-index-header-width-desktop)) !important;
    min-height: var(--hc-header-height-desktop, var(--hc-index-header-height-desktop)) !important;
    margin: 0 !important;
    padding: var(--hc-header-padding-y-desktop, 9px) var(--hc-header-padding-x-desktop, 12px) !important;
    gap: var(--hc-header-brand-gap-desktop, 18px) !important;
    border-radius: var(--hc-header-radius-desktop, var(--hc-index-header-radius-desktop)) !important;
    background: rgba(7, 30, 48, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

.hc-global-header-brand-logo {
    width: var(--hc-header-logo-size-desktop, var(--hc-index-logo-size-desktop)) !important;
    height: var(--hc-header-logo-size-desktop, var(--hc-index-logo-size-desktop)) !important;
    flex: 0 0 var(--hc-header-logo-size-desktop, var(--hc-index-logo-size-desktop)) !important;
    padding: 6px !important;
    border-radius: var(--hc-header-logo-radius-desktop, 17px) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.hc-global-header-item {
    min-width: var(--hc-header-button-height-desktop, var(--hc-index-header-button-desktop)) !important;
    min-height: var(--hc-header-button-height-desktop, var(--hc-index-header-button-desktop)) !important;
    padding: 0 var(--hc-header-button-padding-x-desktop, 16px) !important;
    gap: 8px !important;
    border-radius: var(--hc-header-button-radius-desktop, 999px) !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

/* Menú inferior: medida fija oficial */
.hc-global-bottom-nav,
.hc-global-bottom-nav.has-center,
.hc-global-bottom-nav.is-floating,
.hc-global-bottom-nav.is-attached {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: max(var(--hc-bottom-official-bottom-offset, var(--hc-index-bottom-bottom)), env(safe-area-inset-bottom)) !important;
    width: min(92%, var(--hc-bottom-official-desktop-width, var(--hc-index-bottom-width))) !important;
    max-width: var(--hc-bottom-official-desktop-width, var(--hc-index-bottom-width)) !important;
    height: var(--hc-bottom-official-track-height, var(--hc-index-bottom-height)) !important;
    min-height: var(--hc-bottom-official-track-height, var(--hc-index-bottom-height)) !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
    z-index: 1300 !important;
}

.hc-global-bottom-track,
.hc-global-bottom-nav.has-center .hc-global-bottom-track,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: var(--hc-bottom-official-padding-y, 0px) var(--hc-bottom-official-padding-x, var(--hc-index-bottom-padding-x)) !important;
    border-radius: var(--hc-bottom-official-radius, var(--hc-index-bottom-radius)) !important;
    background: rgba(7, 30, 48, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-track {
    display: grid !important;
    grid-template-columns: 2fr 1fr 2fr !important;
    align-items: center !important;
    gap: 0 !important;
}

.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
    display: grid !important;
    grid-template-columns: repeat(var(--hc-index-bottom-slots), minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 0 !important;
    overflow: hidden !important;
}

.hc-global-bottom-side,
.hc-global-bottom-side.is-left,
.hc-global-bottom-side.is-right {
    height: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: visible !important;
}

.hc-global-bottom-item,
.hc-global-bottom-nav.has-center .hc-global-bottom-item,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: var(--hc-bottom-official-item-gap, 3px) !important;
    padding: 0 4px !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.68) !important;
    transform: none !important;
}

.hc-global-bottom-item:hover,
.hc-global-bottom-item:focus-visible,
.hc-global-bottom-item.is-active {
    background: transparent !important;
    color: #ffffff !important;
    transform: none !important;
    outline: none !important;
}

.hc-global-bottom-item .hc-global-item-icon,
.hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-icon {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: var(--hc-bottom-official-item-icon-size, 21px) !important;
    line-height: 1 !important;
    transform: none !important;
}

.hc-global-bottom-item:hover .hc-global-item-icon,
.hc-global-bottom-item:focus-visible .hc-global-item-icon,
.hc-global-bottom-item.is-active .hc-global-item-icon {
    color: #FFD166 !important;
    transform: translateY(-3px) !important;
}

.hc-global-bottom-item[href*="wa.me"] .hc-global-item-icon,
.hc-global-bottom-item[href*="whatsapp"] .hc-global-item-icon,
.hc-global-bottom-item[data-action*="whatsapp"] .hc-global-item-icon {
    color: #25D366 !important;
}

.hc-global-bottom-item .hc-global-item-label,
.hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label,
.hc-global-center-button small {
    font-size: var(--hc-bottom-official-item-label-size, 11px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Botón central integrado: no flota, no agranda la barra */
.hc-global-bottom-nav.has-center .hc-global-center-button,
.hc-global-center-button {
    align-self: center !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #071E30 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 0 !important;
    transform: none !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button > span,
.hc-global-center-button > span {
    width: var(--hc-bottom-official-center-width, var(--hc-index-center-size)) !important;
    height: var(--hc-bottom-official-center-height, var(--hc-index-center-size)) !important;
    display: grid !important;
    place-items: center !important;
    border-radius: var(--hc-bottom-official-center-radius, 999px) !important;
    color: #071E30 !important;
    background: linear-gradient(135deg, #FFD166, #F9A826) !important;
    border: 0 !important;
    box-shadow: 0 12px 26px rgba(249, 168, 38, 0.30) !important;
    font-size: 1rem !important;
    transition: 0.28s ease !important;
}

.hc-global-center-button:hover > span,
.hc-global-center-button:focus-visible > span {
    transform: scale(1.08) !important;
}

.hc-global-center-button small {
    margin-top: 3px !important;
    color: rgba(255, 255, 255, 0.68) !important;
}

@media (max-width: 720px) {
    body.hc-global-has-header {
        padding-top: calc(var(--hc-header-height-mobile, var(--hc-index-header-height-mobile)) + var(--hc-header-margin-top-mobile, var(--hc-index-header-top-mobile)) + 18px) !important;
    }

    .hc-global-header {
        top: var(--hc-header-margin-top-mobile, var(--hc-index-header-top-mobile)) !important;
        width: min(calc(100% - 20px), var(--hc-header-width-mobile, var(--hc-index-header-width-mobile))) !important;
        max-width: var(--hc-header-width-mobile, var(--hc-index-header-width-mobile)) !important;
        min-height: var(--hc-header-height-mobile, var(--hc-index-header-height-mobile)) !important;
        padding: var(--hc-header-padding-y-mobile, 9px) var(--hc-header-padding-x-mobile, 10px) !important;
        border-radius: var(--hc-header-radius-mobile, var(--hc-index-header-radius-mobile)) !important;
    }

    .hc-global-header-brand-logo {
        width: var(--hc-header-logo-size-mobile, var(--hc-index-logo-size-mobile)) !important;
        height: var(--hc-header-logo-size-mobile, var(--hc-index-logo-size-mobile)) !important;
        flex-basis: var(--hc-header-logo-size-mobile, var(--hc-index-logo-size-mobile)) !important;
    }

    .hc-global-header-item {
        width: var(--hc-header-button-height-mobile, var(--hc-index-header-button-mobile)) !important;
        min-width: var(--hc-header-button-height-mobile, var(--hc-index-header-button-mobile)) !important;
        max-width: var(--hc-header-button-height-mobile, var(--hc-index-header-button-mobile)) !important;
        min-height: var(--hc-header-button-height-mobile, var(--hc-index-header-button-mobile)) !important;
        padding: 0 !important;
    }

    .hc-global-header-item .hc-global-item-label,
    .hc-global-header[data-header-button-labels-mobile="0"] .hc-global-header-item .hc-global-item-label,
    .hc-global-header[data-header-subtitle-mobile="0"] .hc-global-brand-copy small {
        display: none !important;
    }

    body.hc-global-has-bottom {
        --hc-global-bottom-space: 88px !important;
    }

    .hc-global-bottom-nav,
    .hc-global-bottom-nav.has-center,
    .hc-global-bottom-nav.is-floating,
    .hc-global-bottom-nav.is-attached {
        bottom: max(var(--hc-bottom-official-bottom-offset-mobile, var(--hc-index-bottom-bottom-mobile)), env(safe-area-inset-bottom)) !important;
        width: min(92%, var(--hc-bottom-official-mobile-width, var(--hc-index-bottom-width-mobile))) !important;
        max-width: var(--hc-bottom-official-mobile-width, var(--hc-index-bottom-width-mobile)) !important;
        height: var(--hc-bottom-official-track-height-mobile, var(--hc-index-bottom-height-mobile)) !important;
        min-height: var(--hc-bottom-official-track-height-mobile, var(--hc-index-bottom-height-mobile)) !important;
    }

    .hc-global-bottom-track,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
        border-radius: var(--hc-bottom-official-radius-mobile, var(--hc-index-bottom-radius)) !important;
        padding: var(--hc-bottom-official-padding-y-mobile, 0px) var(--hc-bottom-official-padding-x-mobile, var(--hc-index-bottom-padding-x)) !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-bottom-track {
        grid-template-columns: 2fr 1fr 2fr !important;
        gap: 0 !important;
    }

    .hc-global-bottom-item,
    .hc-global-bottom-nav.has-center .hc-global-bottom-item,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-item {
        gap: 0 !important;
        padding: 0 2px !important;
    }

    .hc-global-bottom-item .hc-global-item-icon,
    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-icon {
        font-size: var(--hc-bottom-official-item-icon-size-mobile, 23px) !important;
    }

    .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label,
    .hc-global-center-button small,
    .hc-global-bottom-nav.has-center .hc-global-center-button small {
        display: none !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-center-button > span,
    .hc-global-center-button > span {
        width: var(--hc-bottom-official-center-width-mobile, var(--hc-index-center-size)) !important;
        height: var(--hc-bottom-official-center-height-mobile, var(--hc-index-center-size)) !important;
        border-radius: var(--hc-bottom-official-center-radius-mobile, 999px) !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 380px) {
    .hc-global-bottom-nav,
    .hc-global-bottom-nav.has-center,
    .hc-global-bottom-nav.is-floating,
    .hc-global-bottom-nav.is-attached {
        width: calc(100% - 18px) !important;
    }
}

/*
|===============================================================================
| CERROJO FINAL · medidas exactas del index.php
|-------------------------------------------------------------------------------
| Este bloque NO permite que las medidas centrales cambien por cantidad de botones
| ni por configuraciones antiguas ya guardadas. Es la capa que hace que todas las
| páginas usen exactamente la misma cabecera y el mismo menú inferior del home.
|===============================================================================
*/

.hc-global-header {
    top: 16px !important;
    width: calc(100% - 32px) !important;
    max-width: 1180px !important;
    min-height: 68px !important;
    padding: 9px 12px 9px 16px !important;
    border-radius: 999px !important;
}

.hc-global-header-brand-logo {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
    padding: 6px !important;
    border-radius: 17px !important;
}

.hc-global-header-item {
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 999px !important;
}

.hc-global-bottom-nav,
.hc-global-bottom-nav.has-center,
.hc-global-bottom-nav.is-floating,
.hc-global-bottom-nav.is-attached {
    width: 92% !important;
    max-width: 520px !important;
    height: 68px !important;
    min-height: 68px !important;
    bottom: max(22px, env(safe-area-inset-bottom)) !important;
}

.hc-global-bottom-track,
.hc-global-bottom-nav.has-center .hc-global-bottom-track,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 8px !important;
    border-radius: 24px !important;
}

.hc-global-bottom-nav.has-center .hc-global-bottom-track {
    grid-template-columns: 2fr 1fr 2fr !important;
}

.hc-global-bottom-item .hc-global-item-icon,
.hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-icon {
    font-size: 21px !important;
}

.hc-global-bottom-item .hc-global-item-label,
.hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label {
    font-size: 11px !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button,
.hc-global-center-button {
    height: 100% !important;
    margin: 0 !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button > span,
.hc-global-center-button > span {
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
}

@media (max-width: 720px) {
    .hc-global-header {
        top: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: 1180px !important;
        min-height: 62px !important;
        padding: 9px 10px 9px 12px !important;
        border-radius: 24px !important;
    }

    .hc-global-header-brand-logo {
        width: 44px !important;
        height: 44px !important;
        flex-basis: 44px !important;
    }

    .hc-global-header-item {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
    }

    .hc-global-bottom-nav,
    .hc-global-bottom-nav.has-center,
    .hc-global-bottom-nav.is-floating,
    .hc-global-bottom-nav.is-attached {
        width: 92% !important;
        max-width: 520px !important;
        height: 60px !important;
        min-height: 60px !important;
        bottom: max(16px, env(safe-area-inset-bottom)) !important;
    }

    .hc-global-bottom-track,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
        height: 60px !important;
        min-height: 60px !important;
        padding: 0 8px !important;
        border-radius: 24px !important;
    }

    .hc-global-bottom-item .hc-global-item-icon,
    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-icon {
        font-size: 23px !important;
    }

    .hc-global-bottom-item .hc-global-item-label,
    .hc-global-bottom-nav.has-center .hc-global-bottom-item .hc-global-item-label,
    .hc-global-center-button small,
    .hc-global-bottom-nav.has-center .hc-global-center-button small {
        display: none !important;
    }

    .hc-global-bottom-nav.has-center .hc-global-center-button > span,
    .hc-global-center-button > span {
        width: 46px !important;
        height: 46px !important;
    }
}


/*
|--------------------------------------------------------------------------
| Botones configurables desde el constructor
|--------------------------------------------------------------------------
| Aplica a cabecera, menú inferior y botón central. Los valores llegan como
| variables CSS seguras desde hc-layout.php.
*/
.hc-global-header-item,
.hc-global-bottom-item,
.hc-global-center-button {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    transition:
        transform var(--hc-header-btn-transition, 280ms) cubic-bezier(.2,.8,.2,1),
        background var(--hc-header-btn-transition, 280ms) ease,
        color var(--hc-header-btn-transition, 280ms) ease,
        border-color var(--hc-header-btn-transition, 280ms) ease,
        box-shadow var(--hc-header-btn-transition, 280ms) ease,
        filter var(--hc-header-btn-transition, 280ms) ease !important;
}
.hc-global-header-item {
    background: var(--hc-header-btn-bg, rgba(255,255,255,.10)) !important;
    color: var(--hc-header-btn-text, #fff) !important;
    border-color: var(--hc-header-btn-border, rgba(255,255,255,.14)) !important;
    box-shadow: var(--hc-header-btn-shadow, none) !important;
    backdrop-filter: blur(var(--hc-header-btn-blur, 10px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-header-btn-blur, 10px)) !important;
}
.hc-global-header-item .hc-global-item-icon,
.hc-global-header-item .hc-global-item-icon i,
.hc-global-header-item .hc-global-item-label { color: inherit !important; }
.hc-global-header-item .hc-global-item-icon i { color: var(--hc-header-btn-icon, currentColor) !important; }
.hc-global-header-item:hover,
.hc-global-header-item:focus-visible {
    background: var(--hc-header-btn-hover-bg, rgba(255,255,255,.16)) !important;
    color: var(--hc-header-btn-hover-text, #fff) !important;
}
.hc-global-header-item.is-active {
    background: var(--hc-header-btn-active-bg, linear-gradient(135deg,#FFD166,#F9A826)) !important;
    color: var(--hc-header-btn-active-text, #071E30) !important;
    border-color: transparent !important;
}
.hc-global-header[data-hc-header-button-effect="lift"] .hc-global-header-item:hover,
.hc-global-header[data-hc-header-button-effect="lift"] .hc-global-header-item:focus-visible { transform: translateY(var(--hc-header-btn-hover-y, -2px)) !important; }
.hc-global-header[data-hc-header-button-effect="scale"] .hc-global-header-item:hover,
.hc-global-header[data-hc-header-button-effect="scale"] .hc-global-header-item:focus-visible { transform: scale(var(--hc-header-btn-hover-scale, 1.04)) !important; }
.hc-global-header[data-hc-header-button-effect="glow"] .hc-global-header-item:hover,
.hc-global-header[data-hc-header-button-effect="glow"] .hc-global-header-item:focus-visible { filter: brightness(1.10) saturate(1.12); box-shadow: 0 0 22px color-mix(in srgb, var(--hc-header-btn-icon, #fff) 34%, transparent) !important; }
.hc-global-header[data-hc-header-button-effect="float"] .hc-global-header-item:hover { animation: hcButtonFloat 1.4s ease-in-out infinite alternate; }
.hc-global-header[data-hc-header-button-effect="pulse"] .hc-global-header-item:hover { animation: hcButtonPulse 1.1s ease-in-out infinite; }
.hc-global-header[data-hc-header-button-effect="shine"] .hc-global-header-item::before,
.hc-global-bottom-nav[data-hc-bottom-button-effect="shine"] .hc-global-bottom-item::before,
.hc-global-bottom-nav[data-hc-center-button-effect="shine"] .hc-global-center-button::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -55%;
    bottom: -55%;
    left: -75%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-24deg);
    animation: hcButtonShine 3.4s ease-in-out infinite;
}

.hc-global-bottom-item {
    background: var(--hc-bottom-btn-bg, transparent) !important;
    color: var(--hc-bottom-btn-text, rgba(255,255,255,.74)) !important;
    border: 1px solid var(--hc-bottom-btn-border, transparent) !important;
    box-shadow: var(--hc-bottom-btn-shadow, none) !important;
    backdrop-filter: blur(var(--hc-bottom-btn-blur, 8px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-bottom-btn-blur, 8px)) !important;
}
.hc-global-bottom-item .hc-global-item-icon,
.hc-global-bottom-item .hc-global-item-icon i,
.hc-global-bottom-item .hc-global-item-label { color: inherit !important; }
.hc-global-bottom-item .hc-global-item-icon i { color: var(--hc-bottom-btn-icon, currentColor) !important; }
.hc-global-bottom-item:hover,
.hc-global-bottom-item:focus-visible {
    background: var(--hc-bottom-btn-hover-bg, rgba(255,255,255,.08)) !important;
    color: var(--hc-bottom-btn-hover-text, #FFD166) !important;
}
.hc-global-bottom-item.is-active {
    background: var(--hc-bottom-btn-active-bg, linear-gradient(135deg,#FFD166,#F9A826)) !important;
    color: var(--hc-bottom-btn-active-text, #071E30) !important;
    border-color: transparent !important;
}
.hc-global-bottom-nav[data-hc-bottom-button-effect="lift"] .hc-global-bottom-item:hover,
.hc-global-bottom-nav[data-hc-bottom-button-effect="lift"] .hc-global-bottom-item:focus-visible { transform: translateY(var(--hc-bottom-btn-hover-y, -3px)) !important; }
.hc-global-bottom-nav[data-hc-bottom-button-effect="scale"] .hc-global-bottom-item:hover,
.hc-global-bottom-nav[data-hc-bottom-button-effect="scale"] .hc-global-bottom-item:focus-visible { transform: scale(var(--hc-bottom-btn-hover-scale, 1.04)) !important; }
.hc-global-bottom-nav[data-hc-bottom-button-effect="glow"] .hc-global-bottom-item:hover,
.hc-global-bottom-nav[data-hc-bottom-button-effect="glow"] .hc-global-bottom-item:focus-visible { filter: brightness(1.12) saturate(1.14); box-shadow: 0 0 22px color-mix(in srgb, var(--hc-bottom-btn-icon, #fff) 34%, transparent) !important; }
.hc-global-bottom-nav[data-hc-bottom-button-effect="float"] .hc-global-bottom-item:hover { animation: hcButtonFloat 1.4s ease-in-out infinite alternate; }
.hc-global-bottom-nav[data-hc-bottom-button-effect="pulse"] .hc-global-bottom-item:hover { animation: hcButtonPulse 1.1s ease-in-out infinite; }

.hc-global-center-button {
    background: var(--hc-center-btn-bg, linear-gradient(135deg,#FFD166,#F9A826)) !important;
    color: var(--hc-center-btn-text, #071E30) !important;
    border: 1px solid var(--hc-center-btn-border, transparent) !important;
    box-shadow: var(--hc-center-btn-shadow, 0 12px 26px rgba(249,168,38,.30)) !important;
    backdrop-filter: blur(var(--hc-center-btn-blur, 0px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-center-btn-blur, 0px)) !important;
}
.hc-global-center-button > span,
.hc-global-center-button > span i,
.hc-global-center-button small { color: inherit !important; }
.hc-global-center-button > span i { color: var(--hc-center-btn-icon, currentColor) !important; }
.hc-global-center-button:hover,
.hc-global-center-button:focus-visible {
    background: var(--hc-center-btn-hover-bg, linear-gradient(135deg,#FFF2B8,#F9A826)) !important;
    color: var(--hc-center-btn-hover-text, #071E30) !important;
}
.hc-global-bottom-nav[data-hc-center-button-effect="lift"] .hc-global-center-button:hover,
.hc-global-bottom-nav[data-hc-center-button-effect="lift"] .hc-global-center-button:focus-visible { transform: translateY(var(--hc-bottom-official-center-offset, 0px)) translateY(var(--hc-center-btn-hover-y, -3px)) !important; }
.hc-global-bottom-nav[data-hc-center-button-effect="scale"] .hc-global-center-button:hover,
.hc-global-bottom-nav[data-hc-center-button-effect="scale"] .hc-global-center-button:focus-visible { transform: translateY(var(--hc-bottom-official-center-offset, 0px)) scale(var(--hc-center-btn-hover-scale, 1.08)) !important; }
.hc-global-bottom-nav[data-hc-center-button-effect="glow"] .hc-global-center-button:hover,
.hc-global-bottom-nav[data-hc-center-button-effect="glow"] .hc-global-center-button:focus-visible { filter: brightness(1.08) saturate(1.14); box-shadow: 0 0 26px color-mix(in srgb, var(--hc-center-btn-icon, #FFD166) 38%, transparent) !important; }
.hc-global-bottom-nav[data-hc-center-button-effect="float"] .hc-global-center-button:hover { animation: hcButtonFloatCenter 1.4s ease-in-out infinite alternate; }
.hc-global-bottom-nav[data-hc-center-button-effect="pulse"] .hc-global-center-button:hover { animation: hcButtonPulse 1.1s ease-in-out infinite; }

@keyframes hcButtonShine { 0%, 48% { left: -75%; } 74%, 100% { left: 135%; } }
@keyframes hcButtonFloat { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes hcButtonFloatCenter { from { transform: translateY(var(--hc-bottom-official-center-offset, 0px)); } to { transform: translateY(var(--hc-bottom-official-center-offset, 0px)) translateY(-4px); } }
@keyframes hcButtonPulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.17); } }

@media (prefers-reduced-motion: reduce) {
    .hc-global-header-item,
    .hc-global-bottom-item,
    .hc-global-center-button {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}


/*
|===============================================================================
| HC Layout 2.6.0 · Diseño individual por botón
|-------------------------------------------------------------------------------
| Esta capa permite que cada botón use su propio preset, color y efecto.
| Prioridad: botón individual > zona > estilo base.
|===============================================================================
*/
.hc-global-header-item.has-individual-visual,
.hc-global-bottom-item.has-individual-visual,
.hc-global-center-button.has-individual-visual {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

.hc-global-header-item.has-individual-visual {
    background: var(--hc-header-btn-bg, rgba(255,255,255,.10)) !important;
    color: var(--hc-header-btn-text, #fff) !important;
    border-color: var(--hc-header-btn-border, rgba(255,255,255,.14)) !important;
    box-shadow: var(--hc-header-btn-shadow, none) !important;
    backdrop-filter: blur(var(--hc-header-btn-blur, 10px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-header-btn-blur, 10px)) !important;
    transition:
        transform var(--hc-header-btn-transition, 280ms) cubic-bezier(.2,.8,.2,1),
        background var(--hc-header-btn-transition, 280ms) ease,
        color var(--hc-header-btn-transition, 280ms) ease,
        border-color var(--hc-header-btn-transition, 280ms) ease,
        box-shadow var(--hc-header-btn-transition, 280ms) ease,
        filter var(--hc-header-btn-transition, 280ms) ease !important;
}

.hc-global-bottom-item.has-individual-visual {
    background: var(--hc-bottom-btn-bg, transparent) !important;
    color: var(--hc-bottom-btn-text, rgba(255,255,255,.74)) !important;
    border-color: var(--hc-bottom-btn-border, transparent) !important;
    box-shadow: var(--hc-bottom-btn-shadow, none) !important;
    backdrop-filter: blur(var(--hc-bottom-btn-blur, 8px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-bottom-btn-blur, 8px)) !important;
    transition:
        transform var(--hc-bottom-btn-transition, 280ms) cubic-bezier(.2,.8,.2,1),
        background var(--hc-bottom-btn-transition, 280ms) ease,
        color var(--hc-bottom-btn-transition, 280ms) ease,
        border-color var(--hc-bottom-btn-transition, 280ms) ease,
        box-shadow var(--hc-bottom-btn-transition, 280ms) ease,
        filter var(--hc-bottom-btn-transition, 280ms) ease !important;
}

.hc-global-center-button.has-individual-visual {
    background: var(--hc-center-btn-bg, linear-gradient(135deg,#FFD166,#F9A826)) !important;
    color: var(--hc-center-btn-text, #071E30) !important;
    border-color: var(--hc-center-btn-border, transparent) !important;
    box-shadow: var(--hc-center-btn-shadow, 0 12px 26px rgba(249,168,38,.30)) !important;
    backdrop-filter: blur(var(--hc-center-btn-blur, 0px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-center-btn-blur, 0px)) !important;
    transition:
        transform var(--hc-center-btn-transition, 280ms) cubic-bezier(.2,.8,.2,1),
        background var(--hc-center-btn-transition, 280ms) ease,
        color var(--hc-center-btn-transition, 280ms) ease,
        border-color var(--hc-center-btn-transition, 280ms) ease,
        box-shadow var(--hc-center-btn-transition, 280ms) ease,
        filter var(--hc-center-btn-transition, 280ms) ease !important;
}

.hc-global-header-item.has-individual-visual .hc-global-item-icon,
.hc-global-header-item.has-individual-visual .hc-global-item-icon i,
.hc-global-header-item.has-individual-visual .hc-global-item-label,
.hc-global-bottom-item.has-individual-visual .hc-global-item-icon,
.hc-global-bottom-item.has-individual-visual .hc-global-item-icon i,
.hc-global-bottom-item.has-individual-visual .hc-global-item-label,
.hc-global-center-button.has-individual-visual > span,
.hc-global-center-button.has-individual-visual > span i,
.hc-global-center-button.has-individual-visual small {
    color: inherit !important;
}

.hc-global-header-item.has-individual-visual .hc-global-item-icon i {
    color: var(--hc-header-btn-icon, currentColor) !important;
}

.hc-global-bottom-item.has-individual-visual .hc-global-item-icon i {
    color: var(--hc-bottom-btn-icon, currentColor) !important;
}

.hc-global-center-button.has-individual-visual > span i {
    color: var(--hc-center-btn-icon, currentColor) !important;
}

.hc-global-header-item.has-individual-visual:hover,
.hc-global-header-item.has-individual-visual:focus-visible {
    background: var(--hc-header-btn-hover-bg, rgba(255,255,255,.16)) !important;
    color: var(--hc-header-btn-hover-text, #fff) !important;
}

.hc-global-bottom-item.has-individual-visual:hover,
.hc-global-bottom-item.has-individual-visual:focus-visible {
    background: var(--hc-bottom-btn-hover-bg, rgba(255,255,255,.08)) !important;
    color: var(--hc-bottom-btn-hover-text, #FFD166) !important;
}

.hc-global-center-button.has-individual-visual:hover,
.hc-global-center-button.has-individual-visual:focus-visible {
    background: var(--hc-center-btn-hover-bg, linear-gradient(135deg,#FFF2B8,#F9A826)) !important;
    color: var(--hc-center-btn-hover-text, #071E30) !important;
}

.hc-global-header-item.has-individual-visual.is-active {
    background: var(--hc-header-btn-active-bg, linear-gradient(135deg,#FFD166,#F9A826)) !important;
    color: var(--hc-header-btn-active-text, #071E30) !important;
}

.hc-global-bottom-item.has-individual-visual.is-active {
    background: var(--hc-bottom-btn-active-bg, linear-gradient(135deg,#FFD166,#F9A826)) !important;
    color: var(--hc-bottom-btn-active-text, #071E30) !important;
}

.hc-global-header-item.has-individual-visual[data-hc-button-effect="lift"]:hover,
.hc-global-header-item.has-individual-visual[data-hc-button-effect="lift"]:focus-visible {
    transform: translateY(var(--hc-header-btn-hover-y, -2px)) !important;
}

.hc-global-header-item.has-individual-visual[data-hc-button-effect="scale"]:hover,
.hc-global-header-item.has-individual-visual[data-hc-button-effect="scale"]:focus-visible {
    transform: scale(var(--hc-header-btn-hover-scale, 1.04)) !important;
}

.hc-global-header-item.has-individual-visual[data-hc-button-effect="glow"]:hover,
.hc-global-header-item.has-individual-visual[data-hc-button-effect="glow"]:focus-visible {
    filter: brightness(1.10) saturate(1.12) !important;
    box-shadow: 0 0 22px color-mix(in srgb, var(--hc-header-btn-icon, #fff) 34%, transparent) !important;
}

.hc-global-header-item.has-individual-visual[data-hc-button-effect="float"]:hover {
    animation: hcButtonFloat 1.4s ease-in-out infinite alternate !important;
}

.hc-global-header-item.has-individual-visual[data-hc-button-effect="pulse"]:hover {
    animation: hcButtonPulse 1.1s ease-in-out infinite !important;
}

.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="lift"]:hover,
.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="lift"]:focus-visible {
    transform: translateY(var(--hc-bottom-btn-hover-y, -3px)) !important;
}

.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="scale"]:hover,
.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="scale"]:focus-visible {
    transform: scale(var(--hc-bottom-btn-hover-scale, 1.04)) !important;
}

.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="glow"]:hover,
.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="glow"]:focus-visible {
    filter: brightness(1.12) saturate(1.14) !important;
    box-shadow: 0 0 22px color-mix(in srgb, var(--hc-bottom-btn-icon, #fff) 34%, transparent) !important;
}

.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="float"]:hover {
    animation: hcButtonFloat 1.4s ease-in-out infinite alternate !important;
}

.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="pulse"]:hover {
    animation: hcButtonPulse 1.1s ease-in-out infinite !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="lift"]:hover,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="lift"]:focus-visible {
    transform: translateY(var(--hc-bottom-official-center-offset, 0px)) translateY(var(--hc-center-btn-hover-y, -3px)) !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="scale"]:hover,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="scale"]:focus-visible {
    transform: translateY(var(--hc-bottom-official-center-offset, 0px)) scale(var(--hc-center-btn-hover-scale, 1.08)) !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="glow"]:hover,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="glow"]:focus-visible {
    filter: brightness(1.08) saturate(1.14) !important;
    box-shadow: 0 0 26px color-mix(in srgb, var(--hc-center-btn-icon, #FFD166) 38%, transparent) !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="float"]:hover {
    animation: hcButtonFloatCenter 1.4s ease-in-out infinite alternate !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="pulse"]:hover {
    animation: hcButtonPulse 1.1s ease-in-out infinite !important;
}

.hc-global-header-item.has-individual-visual[data-hc-button-effect="shine"]::before,
.hc-global-bottom-item.has-individual-visual[data-hc-button-effect="shine"]::before,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="shine"]::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -55%;
    bottom: -55%;
    left: -75%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-24deg);
    animation: hcButtonShine 3.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hc-global-header-item.has-individual-visual,
    .hc-global-bottom-item.has-individual-visual,
    .hc-global-center-button.has-individual-visual {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}


/*
|===============================================================================
| HC Layout 2.6.1 · Corrección superficie visual interna por botón
|-------------------------------------------------------------------------------
| El diseño individual ya no pinta la celda completa del grid del menú inferior.
| Ahora se aplica como una superficie interna, manteniendo el contenedor inferior
| limpio, redondeado y con medidas fijas.
|===============================================================================
*/
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
.hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual {
    width: calc(100% - 8px) !important;
    height: calc(100% - 8px) !important;
    min-height: 0 !important;
    margin: 4px auto !important;
    padding: 0 4px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: var(--hc-bottom-btn-radius, 16px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-icon,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-icon i,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-label {
    position: relative !important;
    z-index: 2 !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:hover,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:focus-visible {
    border-color: var(--hc-bottom-btn-border, transparent) !important;
}

/*
| Botón central: el diseño individual se aplica al círculo interno, no a la celda.
*/
.hc-global-bottom-nav.has-center .hc-global-center-button.has-individual-visual,
.hc-global-center-button.has-individual-visual {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button.has-individual-visual > span,
.hc-global-center-button.has-individual-visual > span {
    background: var(--hc-center-btn-bg, linear-gradient(135deg,#FFD166,#F9A826)) !important;
    color: var(--hc-center-btn-text, #071E30) !important;
    border: 1px solid var(--hc-center-btn-border, transparent) !important;
    box-shadow: var(--hc-center-btn-shadow, 0 12px 26px rgba(249,168,38,.30)) !important;
    backdrop-filter: blur(var(--hc-center-btn-blur, 0px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-center-btn-blur, 0px)) !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button.has-individual-visual > span i,
.hc-global-center-button.has-individual-visual > span i {
    color: var(--hc-center-btn-icon, currentColor) !important;
}

.hc-global-bottom-nav.has-center .hc-global-center-button.has-individual-visual:hover > span,
.hc-global-bottom-nav.has-center .hc-global-center-button.has-individual-visual:focus-visible > span,
.hc-global-center-button.has-individual-visual:hover > span,
.hc-global-center-button.has-individual-visual:focus-visible > span {
    background: var(--hc-center-btn-hover-bg, linear-gradient(135deg,#FFF2B8,#F9A826)) !important;
    color: var(--hc-center-btn-hover-text, #071E30) !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="lift"]:hover,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="lift"]:focus-visible,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="scale"]:hover,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="scale"]:focus-visible,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="glow"]:hover,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="glow"]:focus-visible {
    transform: none !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="lift"]:hover > span,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="lift"]:focus-visible > span {
    transform: translateY(var(--hc-center-btn-hover-y, -3px)) !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="scale"]:hover > span,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="scale"]:focus-visible > span {
    transform: scale(var(--hc-center-btn-hover-scale, 1.08)) !important;
}

.hc-global-center-button.has-individual-visual[data-hc-button-effect="glow"]:hover > span,
.hc-global-center-button.has-individual-visual[data-hc-button-effect="glow"]:focus-visible > span {
    filter: brightness(1.08) saturate(1.14) !important;
    box-shadow: 0 0 26px color-mix(in srgb, var(--hc-center-btn-icon, #FFD166) 38%, transparent) !important;
}

@media (max-width: 720px) {
    .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual {
        width: calc(100% - 6px) !important;
        height: calc(100% - 6px) !important;
        margin: 3px auto !important;
        border-radius: var(--hc-bottom-btn-radius-mobile, 15px) !important;
    }
}


/*
|===============================================================================
| HC Layout 2.6.2 · Corrección final: sin cuadros externos en botones inferiores
|-------------------------------------------------------------------------------
| El botón inferior mantiene su celda transparente. El color individual se dibuja
| como una superficie interna mediante ::after, para que no sobresalga del menú.
|===============================================================================
*/
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
.hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual {
    position: relative !important;
    isolation: isolate !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    border-radius: 0 !important;
    transform: none !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
.hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after {
    content: '' !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 7px 5px !important;
    border-radius: var(--hc-bottom-btn-radius, 15px) !important;
    background: var(--hc-bottom-btn-bg, transparent) !important;
    border: 1px solid var(--hc-bottom-btn-border, transparent) !important;
    box-shadow: var(--hc-bottom-btn-shadow, none) !important;
    opacity: var(--hc-bottom-btn-opacity, 1) !important;
    backdrop-filter: blur(var(--hc-bottom-btn-blur, 0px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-bottom-btn-blur, 0px)) !important;
    pointer-events: none !important;
    transition:
        transform var(--hc-bottom-btn-transition, 280ms) cubic-bezier(.2,.8,.2,1),
        background var(--hc-bottom-btn-transition, 280ms) ease,
        border-color var(--hc-bottom-btn-transition, 280ms) ease,
        box-shadow var(--hc-bottom-btn-transition, 280ms) ease,
        filter var(--hc-bottom-btn-transition, 280ms) ease,
        opacity var(--hc-bottom-btn-transition, 280ms) ease !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-icon,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-icon i,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-label {
    position: relative !important;
    z-index: 2 !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-icon,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-label {
    color: var(--hc-bottom-btn-text, rgba(255,255,255,.74)) !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual .hc-global-item-icon i {
    color: var(--hc-bottom-btn-icon, currentColor) !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:hover,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:focus-visible,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual.is-active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:hover::after,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:focus-visible::after {
    background: var(--hc-bottom-btn-hover-bg, var(--hc-bottom-btn-bg, transparent)) !important;
    border-color: var(--hc-bottom-btn-border, transparent) !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual.is-active::after {
    background: var(--hc-bottom-btn-active-bg, var(--hc-bottom-btn-bg, transparent)) !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:hover .hc-global-item-icon,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:hover .hc-global-item-icon i,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:hover .hc-global-item-label,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:focus-visible .hc-global-item-icon,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:focus-visible .hc-global-item-icon i,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual:focus-visible .hc-global-item-label {
    color: var(--hc-bottom-btn-hover-text, var(--hc-bottom-btn-text, rgba(255,255,255,.90))) !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual[data-hc-button-effect="lift"]:hover::after,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual[data-hc-button-effect="lift"]:focus-visible::after {
    transform: translateY(var(--hc-bottom-btn-hover-y, -3px)) !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual[data-hc-button-effect="scale"]:hover::after,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual[data-hc-button-effect="scale"]:focus-visible::after {
    transform: scale(var(--hc-bottom-btn-hover-scale, 1.04)) !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual[data-hc-button-effect="glow"]:hover::after,
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual[data-hc-button-effect="glow"]:focus-visible::after {
    filter: brightness(1.08) saturate(1.15) !important;
    box-shadow: 0 0 20px color-mix(in srgb, var(--hc-bottom-btn-icon, #fff) 32%, transparent) !important;
}

/* En móvil el relleno interno se reduce para conservar el alto oficial del index. */
@media (max-width: 720px) {
    .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 2px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after {
        inset: 6px 4px !important;
        border-radius: var(--hc-bottom-btn-radius-mobile, 14px) !important;
    }
}

/*
|===============================================================================
| HC Layout 2.6.4 · Menú inferior con contenedor realmente transparente
|-------------------------------------------------------------------------------
| Esta capa elimina la cápsula/fondo general del menú inferior. Los únicos fondos
| visibles deben ser los fondos individuales internos de cada botón configurado.
|===============================================================================
*/
.hc-global-bottom-nav,
.hc-global-bottom-nav.has-center,
.hc-global-bottom-nav.is-floating,
.hc-global-bottom-nav.is-attached {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hc-global-bottom-track,
.hc-global-bottom-nav.has-center .hc-global-bottom-track,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track,
.hc-global-bottom-nav.is-floating .hc-global-bottom-track,
.hc-global-bottom-nav.is-attached .hc-global-bottom-track {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
}

.hc-global-bottom-track::before,
.hc-global-bottom-track::after,
.hc-global-bottom-nav::before,
.hc-global-bottom-nav::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hc-global-bottom-side,
.hc-global-bottom-side.is-left,
.hc-global-bottom-side.is-right {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    overflow: visible !important;
}

.hc-global-bottom-item,
.hc-global-bottom-nav.has-center .hc-global-bottom-item,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-item {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.hc-global-bottom-item::before,
.hc-global-bottom-item::after {
    pointer-events: none !important;
}

/*
| El botón individual se dibuja solo como una cápsula interna. Esto evita que
| aparezca un rectángulo ocupando toda la celda del grid.
*/
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
.hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
}

.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
.hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
.hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after {
    inset: 8px 7px !important;
    border-radius: var(--hc-bottom-btn-radius, 16px) !important;
    background: var(--hc-bottom-btn-bg, transparent) !important;
    border: 1px solid var(--hc-bottom-btn-border, transparent) !important;
    box-shadow: var(--hc-bottom-btn-shadow, none) !important;
}

/*
| Si un botón individual está en modo glass y tiene opacidad 0, debe quedar
| completamente limpio, no como una caja oscura.
*/
.hc-global-bottom-track .hc-global-bottom-item.has-individual-visual[data-hc-button-mode="glass"]::after {
    backdrop-filter: blur(var(--hc-bottom-btn-blur, 0px)) !important;
    -webkit-backdrop-filter: blur(var(--hc-bottom-btn-blur, 0px)) !important;
}

@media (max-width: 720px) {
    .hc-global-bottom-track,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
    .hc-global-bottom-nav.has-center .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after,
    .hc-global-bottom-nav:not(.has-center) .hc-global-bottom-track .hc-global-bottom-item.has-individual-visual::after {
        inset: 7px 5px !important;
        border-radius: var(--hc-bottom-btn-radius-mobile, 15px) !important;
    }
}

/*
|--------------------------------------------------------------------------
| Diseño diferenciado para menú lateral del constructor
|--------------------------------------------------------------------------
| Categorías más potentes.
| Enlaces internos más livianos e indentados.
*/

.hc-global-drawer-category {
    margin-bottom: 14px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-left: 3px solid rgba(37, 208, 166, 0.72) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.20) !important;
}

/* Cabecera de categoría */
.hc-global-category-toggle {
    min-height: 74px !important;
    padding: 14px 16px !important;
    background:
        linear-gradient(135deg, rgba(13, 47, 75, 0.72), rgba(9, 20, 32, 0.88)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Ícono de categoría */
.hc-global-category-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 17px !important;
    background:
        linear-gradient(135deg, rgba(37, 208, 166, 0.28), rgba(91, 192, 222, 0.14)) !important;
    border: 1px solid rgba(37, 208, 166, 0.28) !important;
    color: #25d0a6 !important;
    font-size: 1.1rem !important;
}

/* Texto de categoría */
.hc-global-category-copy strong {
    color: #ffffff !important;
    font-size: 0.96rem !important;
    font-weight: 900 !important;
}

.hc-global-category-copy small {
    color: rgba(244, 248, 251, 0.58) !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
}

/* Contador de categoría */
.hc-global-category-count {
    min-width: 34px !important;
    height: 34px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.82rem !important;
}

/* Contenedor de enlaces internos */
.hc-global-drawer-links {
    padding: 10px 12px 12px 22px !important;
    background: rgba(0, 0, 0, 0.18) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Enlaces internos */
.hc-global-drawer-link {
    min-height: 54px !important;
    margin: 7px 0 !important;
    padding: 10px 12px !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Iconos internos más pequeños */
.hc-global-drawer-link-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 13px !important;
    background: rgba(37, 208, 166, 0.12) !important;
    border: 1px solid rgba(37, 208, 166, 0.16) !important;
    color: #25d0a6 !important;
    font-size: 0.92rem !important;
}

/* Texto de enlaces internos */
.hc-global-drawer-link strong {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 0.86rem !important;
    font-weight: 850 !important;
}

/* Hover solo para opciones internas */
.hc-global-drawer-link:hover {
    background: rgba(37, 208, 166, 0.12) !important;
    border-color: rgba(37, 208, 166, 0.24) !important;
    transform: translateX(3px) !important;
}

/* Flecha final de enlaces internos más sutil */
.hc-global-drawer-link::after {
    opacity: 0.55 !important;
}

/* Scrollbar del drawer más integrada */
.hc-global-drawer-body::-webkit-scrollbar {
    width: 8px !important;
}

.hc-global-drawer-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 999px !important;
}

.hc-global-drawer-body::-webkit-scrollbar-thumb {
    background: rgba(37, 208, 166, 0.42) !important;
    border-radius: 999px !important;
}

.hc-global-drawer-body::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 208, 166, 0.62) !important;
}
/*
|===============================================================================
| HC Layout 2.7.0 · Menú lateral diferenciado: categorías vs enlaces
|-------------------------------------------------------------------------------
| Esta capa usa los nombres REALES del motor:
| - Categoría: .hc-global-category-toggle
| - Panel abierto: .hc-global-category-panel
| - Contenedor interno: .hc-global-category-inner
| - Enlace interno: .hc-global-drawer-link
|===============================================================================
*/

.hc-global-drawer .hc-global-drawer-body {
    padding: 18px 14px 22px !important;
}

.hc-global-drawer .hc-global-drawer-category {
    position: relative !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(5, 15, 25, 0.56) !important;
    border: 1px solid rgba(255, 255, 255, 0.085) !important;
    border-left: 3px solid rgba(37, 208, 166, 0.78) !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24) !important;
}

.hc-global-drawer .hc-global-drawer-category::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 208, 166, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(13, 47, 75, 0.18), rgba(4, 12, 21, 0.08)) !important;
    pointer-events: none !important;
}

.hc-global-drawer .hc-global-category-toggle {
    position: relative !important;
    z-index: 2 !important;
    min-height: 76px !important;
    padding: 14px 15px !important;
    background: linear-gradient(135deg, rgba(11, 36, 58, 0.84), rgba(6, 17, 29, 0.94)) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hc-global-drawer .hc-global-category-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 18px !important;
    color: #28e0b4 !important;
    background: linear-gradient(135deg, rgba(37, 208, 166, 0.28), rgba(20, 184, 255, 0.12)) !important;
    border: 1px solid rgba(37, 208, 166, 0.30) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    font-size: 1.04rem !important;
}

.hc-global-drawer .hc-global-category-copy strong {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    letter-spacing: -0.025em !important;
}

.hc-global-drawer .hc-global-category-copy small {
    color: rgba(226, 238, 247, 0.54) !important;
    font-size: 0.73rem !important;
    font-weight: 800 !important;
}

.hc-global-drawer .hc-global-category-count {
    min-width: 36px !important;
    height: 36px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    background: rgba(255, 255, 255, 0.095) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.82rem !important;
}

.hc-global-drawer .hc-global-category-chevron {
    width: 26px !important;
    height: 26px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(226, 238, 247, 0.76) !important;
}

/* Panel real donde aparecen los enlaces internos */
.hc-global-drawer .hc-global-category-panel {
    position: relative !important;
    z-index: 2 !important;
    background: rgba(0, 0, 0, 0.16) !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel {
    grid-template-rows: 1fr !important;
    padding: 12px 14px 14px 72px !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before {
    content: '' !important;
    position: absolute !important;
    left: 48px !important;
    top: 14px !important;
    bottom: 18px !important;
    width: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(37, 208, 166, 0.58), rgba(37, 208, 166, 0.08)) !important;
}

.hc-global-drawer .hc-global-category-inner {
    min-height: 0 !important;
    display: grid !important;
    gap: 8px !important;
    overflow: visible !important;
}

/* Enlaces internos: más pequeños, planos e indentados */
.hc-global-drawer .hc-global-drawer-link {
    position: relative !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    gap: 9px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    background: rgba(255, 255, 255, 0.028) !important;
    border: 1px solid rgba(255, 255, 255, 0.055) !important;
    border-left: 2px solid rgba(37, 208, 166, 0.32) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    transform: none !important;
}

.hc-global-drawer .hc-global-drawer-link::before {
    content: '' !important;
    position: absolute !important;
    left: -25px !important;
    top: 50% !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(37, 208, 166, 0.40) !important;
    transform: translateY(-50%) !important;
}

.hc-global-drawer .hc-global-drawer-link-icon {
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    border-radius: 11px !important;
    color: #28e0b4 !important;
    background: rgba(37, 208, 166, 0.10) !important;
    border: 1px solid rgba(37, 208, 166, 0.13) !important;
    font-size: 0.82rem !important;
}

.hc-global-drawer .hc-global-drawer-link strong {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    letter-spacing: -0.012em !important;
}

.hc-global-drawer .hc-global-drawer-link small {
    color: rgba(226, 238, 247, 0.50) !important;
    font-size: 0.66rem !important;
}

.hc-global-drawer .hc-global-drawer-link > .fa-arrow-right {
    color: rgba(226, 238, 247, 0.46) !important;
    font-size: 0.68rem !important;
}

.hc-global-drawer .hc-global-drawer-link:hover,
.hc-global-drawer .hc-global-drawer-link:focus-visible {
    color: #ffffff !important;
    background: rgba(37, 208, 166, 0.10) !important;
    border-color: rgba(37, 208, 166, 0.22) !important;
    border-left-color: rgba(37, 208, 166, 0.78) !important;
    transform: translateX(4px) !important;
    outline: none !important;
}

.hc-global-drawer .hc-global-drawer-link:hover .hc-global-drawer-link-icon,
.hc-global-drawer .hc-global-drawer-link:focus-visible .hc-global-drawer-link-icon {
    color: #06111d !important;
    background: #28e0b4 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 520px) {
    .hc-global-drawer .hc-global-drawer-body {
        padding: 16px 12px 20px !important;
    }

    .hc-global-drawer .hc-global-category-toggle {
        min-height: 72px !important;
        padding: 13px 13px !important;
        gap: 10px !important;
    }

    .hc-global-drawer .hc-global-category-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border-radius: 16px !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel {
        padding: 11px 12px 13px 62px !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before {
        left: 42px !important;
    }

    .hc-global-drawer .hc-global-drawer-link::before {
        left: -20px !important;
        width: 14px !important;
    }
}
/*
|===============================================================================
| HC Layout 2.8.0 · Menú lateral profesional amigable
|-------------------------------------------------------------------------------
| Capa visual final para el drawer del constructor.
| No cambia HTML, PHP ni JS: solo mejora la apariencia del menú lateral.
|===============================================================================
*/

.hc-global-drawer {
    --hc-drawer-bg-1: #07111f;
    --hc-drawer-bg-2: #0b1830;
    --hc-drawer-panel: rgba(255, 255, 255, 0.055);
    --hc-drawer-panel-strong: rgba(255, 255, 255, 0.095);
    --hc-drawer-line: rgba(255, 255, 255, 0.12);
    --hc-drawer-soft-text: rgba(232, 241, 250, 0.68);
    --hc-drawer-bright-text: #ffffff;
    width: min(94vw, 428px) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background:
        radial-gradient(circle at 12% 7%, rgba(34, 211, 238, 0.22), transparent 30%),
        radial-gradient(circle at 94% 22%, rgba(168, 85, 247, 0.20), transparent 34%),
        linear-gradient(180deg, rgba(8, 19, 34, 0.98), rgba(3, 8, 18, 0.985)) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 22px 0 72px rgba(0, 0, 0, 0.52) !important;
    transition: transform 380ms cubic-bezier(.22, .9, .25, 1), box-shadow 280ms ease !important;
}

.hc-global-drawer.is-right {
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-right: 0 !important;
    box-shadow: -22px 0 72px rgba(0, 0, 0, 0.52) !important;
}

.hc-global-drawer::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -2 !important;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent 44%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px) !important;
    opacity: 0.42 !important;
    pointer-events: none !important;
}

.hc-global-drawer::after {
    content: '' !important;
    position: absolute !important;
    inset: auto 24px 0 24px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.65), rgba(168, 85, 247, 0.55), transparent) !important;
    pointer-events: none !important;
}

.hc-global-drawer-overlay {
    background:
        radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.12), transparent 34%),
        rgba(2, 8, 16, 0.74) !important;
    backdrop-filter: blur(10px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(125%) !important;
}

.hc-global-drawer-head {
    position: relative !important;
    min-height: 112px !important;
    padding: 24px 20px 19px !important;
    align-items: flex-start !important;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(168, 85, 247, 0.11) 48%, rgba(16, 185, 129, 0.075)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.hc-global-drawer-head::before {
    content: '' !important;
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    bottom: -1px !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.70), rgba(168, 85, 247, 0.62), transparent) !important;
}

.hc-global-drawer-kicker {
    min-height: 26px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    color: #67e8f9 !important;
    background: rgba(34, 211, 238, 0.10) !important;
    border: 1px solid rgba(34, 211, 238, 0.18) !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.095em !important;
}

.hc-global-drawer-head h2 {
    margin-top: 10px !important;
    color: #ffffff !important;
    font-size: clamp(1.36rem, 3.6vw, 1.72rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
    text-shadow: 0 14px 30px rgba(0, 0, 0, 0.34) !important;
}

.hc-global-drawer-head p {
    max-width: 290px !important;
    color: rgba(232, 241, 250, 0.68) !important;
    font-size: 0.80rem !important;
    font-weight: 800 !important;
}

.hc-global-drawer-close {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border-radius: 16px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    background: rgba(255, 255, 255, 0.075) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(0, 0, 0, 0.18) !important;
}

.hc-global-drawer-close:hover,
.hc-global-drawer-close:focus-visible {
    color: #06111d !important;
    background: linear-gradient(135deg, #67e8f9, #a78bfa) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    transform: translateY(-2px) rotate(4deg) !important;
}

.hc-global-drawer-body {
    padding: 18px 16px 24px !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(103, 232, 249, 0.46) rgba(255, 255, 255, 0.05) !important;
}

.hc-global-drawer-body::-webkit-scrollbar {
    width: 8px !important;
}

.hc-global-drawer-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.045) !important;
    border-radius: 999px !important;
}

.hc-global-drawer-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(103, 232, 249, 0.72), rgba(167, 139, 250, 0.52)) !important;
    border-radius: 999px !important;
}

.hc-global-drawer .hc-global-drawer-category {
    --hc-drawer-accent: #22d3ee;
    --hc-drawer-accent-rgb: 34, 211, 238;
    position: relative !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background:
        linear-gradient(145deg, rgba(var(--hc-drawer-accent-rgb), 0.13), rgba(255, 255, 255, 0.045) 46%, rgba(3, 9, 19, 0.72)) !important;
    border: 1px solid rgba(255, 255, 255, 0.105) !important;
    border-left: 4px solid rgba(var(--hc-drawer-accent-rgb), 0.78) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
    transform: translateZ(0) !important;
}

.hc-global-drawer .hc-global-drawer-category:nth-of-type(2) {
    --hc-drawer-accent: #a78bfa;
    --hc-drawer-accent-rgb: 167, 139, 250;
}

.hc-global-drawer .hc-global-drawer-category:nth-of-type(3) {
    --hc-drawer-accent: #f472b6;
    --hc-drawer-accent-rgb: 244, 114, 182;
}

.hc-global-drawer .hc-global-drawer-category:nth-of-type(4) {
    --hc-drawer-accent: #34d399;
    --hc-drawer-accent-rgb: 52, 211, 153;
}

.hc-global-drawer .hc-global-drawer-category:nth-of-type(5) {
    --hc-drawer-accent: #fbbf24;
    --hc-drawer-accent-rgb: 251, 191, 36;
}

.hc-global-drawer .hc-global-drawer-category:nth-of-type(6) {
    --hc-drawer-accent: #60a5fa;
    --hc-drawer-accent-rgb: 96, 165, 250;
}

.hc-global-drawer .hc-global-drawer-category:nth-of-type(7) {
    --hc-drawer-accent: #fb7185;
    --hc-drawer-accent-rgb: 251, 113, 133;
}

.hc-global-drawer .hc-global-drawer-category:nth-of-type(8) {
    --hc-drawer-accent: #2dd4bf;
    --hc-drawer-accent-rgb: 45, 212, 191;
}

.hc-global-drawer .hc-global-drawer-category::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--hc-drawer-accent-rgb), 0.25), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 54%) !important;
    opacity: 0.82 !important;
    pointer-events: none !important;
}

.hc-global-drawer .hc-global-drawer-category:hover {
    border-color: rgba(var(--hc-drawer-accent-rgb), 0.26) !important;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(var(--hc-drawer-accent-rgb), 0.08) inset !important;
}

.hc-global-drawer .hc-global-category-toggle {
    position: relative !important;
    z-index: 2 !important;
    min-height: 76px !important;
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    gap: 12px !important;
    padding: 14px 15px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hc-global-drawer .hc-global-category-toggle:hover,
.hc-global-drawer .hc-global-category-toggle:focus-visible {
    background: rgba(var(--hc-drawer-accent-rgb), 0.075) !important;
    outline: none !important;
}

.hc-global-drawer .hc-global-category-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 18px !important;
    color: var(--hc-drawer-accent) !important;
    background:
        linear-gradient(145deg, rgba(var(--hc-drawer-accent-rgb), 0.23), rgba(255, 255, 255, 0.055)) !important;
    border: 1px solid rgba(var(--hc-drawer-accent-rgb), 0.28) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 12px 24px rgba(var(--hc-drawer-accent-rgb), 0.10) !important;
    font-size: 1.05rem !important;
}

.hc-global-drawer .hc-global-category-copy strong {
    color: #ffffff !important;
    font-size: 0.96rem !important;
    font-weight: 950 !important;
    line-height: 1.14 !important;
    letter-spacing: -0.027em !important;
}

.hc-global-drawer .hc-global-category-copy small {
    margin-top: 4px !important;
    color: rgba(232, 241, 250, 0.58) !important;
    font-size: 0.72rem !important;
    font-weight: 790 !important;
    line-height: 1.28 !important;
}

.hc-global-drawer .hc-global-category-count {
    min-width: 34px !important;
    height: 34px !important;
    padding-inline: 8px !important;
    color: #ffffff !important;
    background: rgba(var(--hc-drawer-accent-rgb), 0.18) !important;
    border: 1px solid rgba(var(--hc-drawer-accent-rgb), 0.24) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    font-size: 0.78rem !important;
}

.hc-global-drawer .hc-global-category-chevron {
    width: 29px !important;
    height: 29px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 11px !important;
    color: rgba(255, 255, 255, 0.76) !important;
    background: rgba(255, 255, 255, 0.055) !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] {
    background: rgba(var(--hc-drawer-accent-rgb), 0.092) !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] .hc-global-category-chevron {
    color: #06111d !important;
    background: var(--hc-drawer-accent) !important;
    transform: rotate(180deg) !important;
}

.hc-global-drawer .hc-global-category-panel {
    position: relative !important;
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel {
    grid-template-rows: 1fr !important;
    padding: 13px 14px 14px 72px !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before {
    content: '' !important;
    position: absolute !important;
    left: 48px !important;
    top: 16px !important;
    bottom: 18px !important;
    width: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(var(--hc-drawer-accent-rgb), 0.62), rgba(var(--hc-drawer-accent-rgb), 0.05)) !important;
}

.hc-global-drawer .hc-global-category-inner {
    display: grid !important;
    gap: 8px !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.hc-global-drawer .hc-global-drawer-link {
    position: relative !important;
    min-height: 49px !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    gap: 10px !important;
    border-radius: 16px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-left: 2px solid rgba(var(--hc-drawer-accent-rgb), 0.34) !important;
    box-shadow: none !important;
    transform: none !important;
}

.hc-global-drawer .hc-global-drawer-link::before {
    content: '' !important;
    position: absolute !important;
    left: -25px !important;
    top: 50% !important;
    width: 17px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(var(--hc-drawer-accent-rgb), 0.42) !important;
    transform: translateY(-50%) !important;
}

.hc-global-drawer .hc-global-drawer-link-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 12px !important;
    color: var(--hc-drawer-accent) !important;
    background: rgba(var(--hc-drawer-accent-rgb), 0.12) !important;
    border: 1px solid rgba(var(--hc-drawer-accent-rgb), 0.18) !important;
    font-size: 0.84rem !important;
}

.hc-global-drawer .hc-global-drawer-link strong {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.83rem !important;
    font-weight: 860 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.012em !important;
}

.hc-global-drawer .hc-global-drawer-link small {
    margin-top: 3px !important;
    color: rgba(232, 241, 250, 0.52) !important;
    font-size: 0.66rem !important;
    font-weight: 740 !important;
}

.hc-global-drawer .hc-global-drawer-link > .fa-arrow-right {
    color: rgba(232, 241, 250, 0.46) !important;
    font-size: 0.68rem !important;
    transition: transform 220ms ease, color 220ms ease !important;
}

.hc-global-drawer .hc-global-drawer-link:hover,
.hc-global-drawer .hc-global-drawer-link:focus-visible {
    color: #ffffff !important;
    background: rgba(var(--hc-drawer-accent-rgb), 0.115) !important;
    border-color: rgba(var(--hc-drawer-accent-rgb), 0.28) !important;
    border-left-color: rgba(var(--hc-drawer-accent-rgb), 0.86) !important;
    transform: translateX(5px) !important;
    outline: none !important;
}

.hc-global-drawer .hc-global-drawer-link:hover .hc-global-drawer-link-icon,
.hc-global-drawer .hc-global-drawer-link:focus-visible .hc-global-drawer-link-icon {
    color: #06111d !important;
    background: var(--hc-drawer-accent) !important;
    border-color: rgba(255, 255, 255, 0.20) !important;
    box-shadow: 0 10px 20px rgba(var(--hc-drawer-accent-rgb), 0.22) !important;
}

.hc-global-drawer .hc-global-drawer-link:hover > .fa-arrow-right,
.hc-global-drawer .hc-global-drawer-link:focus-visible > .fa-arrow-right {
    color: var(--hc-drawer-accent) !important;
    transform: translateX(3px) !important;
}

.hc-global-drawer .hc-global-empty-category {
    margin: 0 !important;
    padding: 14px 12px !important;
    border-radius: 16px !important;
    color: rgba(232, 241, 250, 0.58) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px dashed rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 520px) {
    .hc-global-drawer {
        width: min(94vw, 390px) !important;
    }

    .hc-global-drawer-head {
        min-height: 104px !important;
        padding: 22px 17px 17px !important;
    }

    .hc-global-drawer-body {
        padding: 15px 12px 20px !important;
    }

    .hc-global-drawer .hc-global-drawer-category {
        border-radius: 21px !important;
        margin-bottom: 12px !important;
    }

    .hc-global-drawer .hc-global-category-toggle {
        min-height: 72px !important;
        padding: 13px 12px !important;
        gap: 10px !important;
    }

    .hc-global-drawer .hc-global-category-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border-radius: 16px !important;
    }

    .hc-global-drawer .hc-global-category-copy strong {
        font-size: 0.89rem !important;
    }

    .hc-global-drawer .hc-global-category-copy small {
        font-size: 0.67rem !important;
    }

    .hc-global-drawer .hc-global-category-count {
        min-width: 30px !important;
        height: 30px !important;
        font-size: 0.72rem !important;
    }

    .hc-global-drawer .hc-global-category-chevron {
        width: 27px !important;
        height: 27px !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel {
        padding: 11px 11px 13px 61px !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before {
        left: 42px !important;
    }

    .hc-global-drawer .hc-global-drawer-link {
        min-height: 46px !important;
        padding: 8px 9px !important;
        border-radius: 14px !important;
    }

    .hc-global-drawer .hc-global-drawer-link::before {
        left: -20px !important;
        width: 14px !important;
    }

    .hc-global-drawer .hc-global-drawer-link-icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-global-drawer,
    .hc-global-drawer *,
    .hc-global-drawer-overlay {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/*
|===============================================================================
| HC Layout 2.8.5 · Drawer Aurora Command Center
|-------------------------------------------------------------------------------
| Sorpresa visual para el menú lateral. Solo afecta el drawer:
| cabecera, categorías y enlaces internos. No modifica cabecera superior ni menú inferior.
|===============================================================================
*/

.hc-global-drawer {
    --hc-drawer-bg-1: #08111f;
    --hc-drawer-bg-2: #11112d;
    --hc-drawer-ink: #f8fbff;
    --hc-drawer-soft: rgba(226, 238, 247, 0.66);
    --hc-drawer-card: rgba(255, 255, 255, 0.072);
    --hc-drawer-card-strong: rgba(255, 255, 255, 0.118);
    --hc-drawer-border: rgba(255, 255, 255, 0.14);
    --hc-drawer-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
    width: min(94vw, 448px) !important;
    overflow: hidden !important;
    color: var(--hc-drawer-ink) !important;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 92, 205, 0.22), transparent 27%),
        radial-gradient(circle at 88% 24%, rgba(20, 184, 255, 0.23), transparent 30%),
        radial-gradient(circle at 65% 92%, rgba(255, 193, 7, 0.15), transparent 30%),
        linear-gradient(155deg, var(--hc-drawer-bg-1), var(--hc-drawer-bg-2) 48%, #06121d 100%) !important;
    box-shadow: var(--hc-drawer-shadow) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    isolation: isolate !important;
}

.hc-global-drawer.is-left {
    border-radius: 0 34px 34px 0 !important;
}

.hc-global-drawer.is-right {
    border-radius: 34px 0 0 34px !important;
}

.hc-global-drawer::before,
.hc-global-drawer::after {
    content: '' !important;
    position: absolute !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.hc-global-drawer::before {
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.07), transparent 14%, transparent 86%, rgba(255,255,255,0.055)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.032) 0 1px, transparent 1px 16px) !important;
    opacity: 0.72 !important;
}

.hc-global-drawer::after {
    width: 230px !important;
    height: 230px !important;
    right: -88px !important;
    top: 118px !important;
    border-radius: 999px !important;
    background: radial-gradient(circle, rgba(20, 184, 255, 0.18), transparent 68%) !important;
    filter: blur(2px) !important;
}

.hc-global-drawer-overlay {
    background:
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.18), transparent 32%),
        rgba(2, 8, 15, 0.74) !important;
    backdrop-filter: blur(11px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(11px) saturate(115%) !important;
}

.hc-global-drawer-head,
.hc-global-drawer-body {
    position: relative !important;
    z-index: 2 !important;
}

.hc-global-drawer-head {
    min-height: 146px !important;
    padding: 25px 22px 24px !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035)),
        radial-gradient(circle at 16% 18%, rgba(37, 208, 166, 0.28), transparent 32%) !important;
}

.hc-global-drawer-head > div {
    position: relative !important;
    padding-left: 64px !important;
    min-height: 56px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.hc-global-drawer-head > div::before {
    content: 'HC' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: grid !important;
    place-items: center !important;
    transform: translateY(-50%) !important;
    border-radius: 18px !important;
    color: #06111d !important;
    background: linear-gradient(135deg, #34f5c5, #2aa7ff 52%, #ff6bd6) !important;
    box-shadow: 0 18px 38px rgba(52, 245, 197, 0.26), inset 0 1px 0 rgba(255,255,255,0.55) !important;
    font-size: 0.82rem !important;
    font-weight: 1000 !important;
    letter-spacing: -0.06em !important;
}

.hc-global-drawer-kicker {
    width: max-content !important;
    max-width: 100% !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    color: #06111d !important;
    background: linear-gradient(135deg, #34f5c5, #2aa7ff) !important;
    box-shadow: 0 10px 22px rgba(42, 167, 255, 0.19) !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.075em !important;
}

.hc-global-drawer-head h2 {
    margin-top: 10px !important;
    color: #ffffff !important;
    font-size: clamp(1.38rem, 3vw, 1.72rem) !important;
    letter-spacing: -0.055em !important;
    text-shadow: 0 10px 32px rgba(0,0,0,0.32) !important;
}

.hc-global-drawer-head p {
    max-width: 270px !important;
    color: rgba(248, 251, 255, 0.66) !important;
    font-size: 0.78rem !important;
}

.hc-global-drawer-close {
    width: 45px !important;
    height: 45px !important;
    flex-basis: 45px !important;
    border-radius: 16px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10) !important;
}

.hc-global-drawer-close:hover,
.hc-global-drawer-close:focus-visible {
    color: #07111d !important;
    background: linear-gradient(135deg, #fff, #ffd1f1) !important;
    transform: rotate(6deg) scale(1.04) !important;
}

.hc-global-drawer-body {
    padding: 18px 16px 24px !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.24)) !important;
}

.hc-global-drawer .hc-global-drawer-category {
    --hc-card-hue: 165;
    --hc-card-accent: hsl(var(--hc-card-hue), 92%, 61%);
    --hc-card-accent-2: hsl(calc(var(--hc-card-hue) + 42), 96%, 64%);
    position: relative !important;
    margin: 0 0 15px !important;
    padding: 1px !important;
    border: 0 !important;
    border-radius: 26px !important;
    background:
        linear-gradient(135deg, hsla(var(--hc-card-hue), 92%, 61%, 0.88), hsla(calc(var(--hc-card-hue) + 42), 96%, 64%, 0.52) 42%, rgba(255,255,255,0.10) 100%) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.02) !important;
    overflow: hidden !important;
}

.hc-global-drawer .hc-global-drawer-category:nth-child(1) { --hc-card-hue: 168; }
.hc-global-drawer .hc-global-drawer-category:nth-child(2) { --hc-card-hue: 214; }
.hc-global-drawer .hc-global-drawer-category:nth-child(3) { --hc-card-hue: 285; }
.hc-global-drawer .hc-global-drawer-category:nth-child(4) { --hc-card-hue: 22; }
.hc-global-drawer .hc-global-drawer-category:nth-child(5) { --hc-card-hue: 132; }
.hc-global-drawer .hc-global-drawer-category:nth-child(6) { --hc-card-hue: 338; }
.hc-global-drawer .hc-global-drawer-category:nth-child(7) { --hc-card-hue: 52; }
.hc-global-drawer .hc-global-drawer-category:nth-child(8) { --hc-card-hue: 190; }
.hc-global-drawer .hc-global-drawer-category:nth-child(9) { --hc-card-hue: 258; }
.hc-global-drawer .hc-global-drawer-category:nth-child(10) { --hc-card-hue: 95; }

.hc-global-drawer .hc-global-drawer-category::before {
    content: '' !important;
    position: absolute !important;
    inset: 1px !important;
    border-radius: 25px !important;
    background:
        radial-gradient(circle at 12% 16%, hsla(var(--hc-card-hue), 92%, 61%, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(9, 20, 35, 0.94), rgba(6, 12, 23, 0.86)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.hc-global-drawer .hc-global-drawer-category::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 18px !important;
    bottom: 18px !important;
    width: 5px !important;
    border-radius: 0 999px 999px 0 !important;
    background: linear-gradient(180deg, var(--hc-card-accent), var(--hc-card-accent-2)) !important;
    box-shadow: 0 0 20px hsla(var(--hc-card-hue), 92%, 61%, 0.46) !important;
    z-index: 3 !important;
}

.hc-global-drawer .hc-global-category-toggle {
    position: relative !important;
    z-index: 2 !important;
    min-height: 78px !important;
    padding: 14px 15px 14px 18px !important;
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 25px !important;
}

.hc-global-drawer .hc-global-category-toggle:hover,
.hc-global-drawer .hc-global-category-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.055) !important;
    outline: none !important;
}

.hc-global-drawer .hc-global-category-icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 18px !important;
    color: #07111d !important;
    background: linear-gradient(135deg, var(--hc-card-accent), var(--hc-card-accent-2)) !important;
    border: 1px solid rgba(255,255,255,0.32) !important;
    box-shadow: 0 15px 28px hsla(var(--hc-card-hue), 92%, 61%, 0.25), inset 0 1px 0 rgba(255,255,255,0.46) !important;
    font-size: 1.04rem !important;
}

.hc-global-drawer .hc-global-category-copy strong {
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: 0.98rem !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
}

.hc-global-drawer .hc-global-category-copy small {
    margin-top: 4px !important;
    color: rgba(235, 244, 255, 0.58) !important;
    font-size: 0.72rem !important;
    font-weight: 780 !important;
}

.hc-global-drawer .hc-global-category-count {
    min-width: 36px !important;
    height: 36px !important;
    color: #07111d !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.60)) !important;
    border: 1px solid rgba(255,255,255,0.34) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19) !important;
    font-size: 0.82rem !important;
    font-weight: 1000 !important;
}

.hc-global-drawer .hc-global-category-chevron {
    width: 32px !important;
    height: 32px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    color: rgba(255,255,255,0.74) !important;
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.072) !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] .hc-global-category-chevron {
    color: #07111d !important;
    background: linear-gradient(135deg, var(--hc-card-accent), var(--hc-card-accent-2)) !important;
    transform: rotate(180deg) !important;
}

.hc-global-drawer .hc-global-category-panel {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    border: 0 !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel {
    padding: 4px 14px 16px 76px !important;
    grid-template-rows: 1fr !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before {
    left: 49px !important;
    top: 6px !important;
    bottom: 21px !important;
    width: 2px !important;
    background: linear-gradient(180deg, var(--hc-card-accent), rgba(255,255,255,0.06)) !important;
    box-shadow: 0 0 14px hsla(var(--hc-card-hue), 92%, 61%, 0.34) !important;
}

.hc-global-drawer .hc-global-category-inner {
    display: grid !important;
    gap: 9px !important;
    overflow: visible !important;
}

.hc-global-drawer .hc-global-drawer-link {
    position: relative !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 10px !important;
    color: rgba(255,255,255,0.88) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.085), rgba(255,255,255,0.032)) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-left: 2px solid hsla(var(--hc-card-hue), 92%, 61%, 0.48) !important;
    border-radius: 17px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.055) !important;
    transform: none !important;
}

.hc-global-drawer .hc-global-drawer-link::before {
    content: '' !important;
    left: -27px !important;
    width: 19px !important;
    height: 2px !important;
    background: linear-gradient(90deg, hsla(var(--hc-card-hue), 92%, 61%, 0.78), transparent) !important;
}

.hc-global-drawer .hc-global-drawer-link-icon {
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
    border-radius: 12px !important;
    color: var(--hc-card-accent) !important;
    background: hsla(var(--hc-card-hue), 92%, 61%, 0.11) !important;
    border: 1px solid hsla(var(--hc-card-hue), 92%, 61%, 0.20) !important;
    font-size: 0.82rem !important;
}

.hc-global-drawer .hc-global-drawer-link strong {
    color: rgba(255,255,255,0.89) !important;
    font-size: 0.84rem !important;
    font-weight: 870 !important;
    letter-spacing: -0.018em !important;
}

.hc-global-drawer .hc-global-drawer-link small {
    color: rgba(235,244,255,0.52) !important;
    font-size: 0.66rem !important;
}

.hc-global-drawer .hc-global-drawer-link > .fa-arrow-right {
    color: rgba(255,255,255,0.34) !important;
}

.hc-global-drawer .hc-global-drawer-link:hover,
.hc-global-drawer .hc-global-drawer-link:focus-visible {
    color: #ffffff !important;
    background: linear-gradient(135deg, hsla(var(--hc-card-hue), 92%, 61%, 0.20), rgba(255,255,255,0.075)) !important;
    border-color: hsla(var(--hc-card-hue), 92%, 61%, 0.32) !important;
    border-left-color: var(--hc-card-accent) !important;
    transform: translateX(6px) !important;
    box-shadow: 0 14px 28px rgba(0,0,0,0.20), 0 0 0 1px hsla(var(--hc-card-hue), 92%, 61%, 0.11) !important;
    outline: none !important;
}

.hc-global-drawer .hc-global-drawer-link:hover .hc-global-drawer-link-icon,
.hc-global-drawer .hc-global-drawer-link:focus-visible .hc-global-drawer-link-icon {
    color: #07111d !important;
    background: linear-gradient(135deg, var(--hc-card-accent), var(--hc-card-accent-2)) !important;
    border-color: rgba(255,255,255,0.28) !important;
    box-shadow: 0 12px 24px hsla(var(--hc-card-hue), 92%, 61%, 0.26) !important;
}

.hc-global-drawer .hc-global-drawer-link:hover > .fa-arrow-right,
.hc-global-drawer .hc-global-drawer-link:focus-visible > .fa-arrow-right {
    color: var(--hc-card-accent) !important;
    transform: translateX(4px) !important;
}

.hc-global-drawer .hc-global-empty-category {
    color: rgba(255,255,255,0.66) !important;
    background: rgba(255,255,255,0.055) !important;
    border: 1px dashed rgba(255,255,255,0.18) !important;
}

.hc-global-drawer.is-visible .hc-global-drawer-category {
    animation: hcDrawerAuroraIn 420ms cubic-bezier(.2,.8,.2,1) both !important;
}

.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(1) { animation-delay: 35ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(2) { animation-delay: 70ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(3) { animation-delay: 105ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(4) { animation-delay: 140ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(5) { animation-delay: 175ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(6) { animation-delay: 210ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(7) { animation-delay: 245ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(8) { animation-delay: 280ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(9) { animation-delay: 315ms !important; }
.hc-global-drawer.is-visible .hc-global-drawer-category:nth-child(10) { animation-delay: 350ms !important; }

@keyframes hcDrawerAuroraIn {
    from {
        opacity: 0;
        transform: translateX(-16px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 520px) {
    .hc-global-drawer {
        width: min(94vw, 392px) !important;
        border-radius: 0 26px 26px 0 !important;
    }

    .hc-global-drawer.is-right {
        border-radius: 26px 0 0 26px !important;
    }

    .hc-global-drawer-head {
        min-height: 132px !important;
        padding: 22px 17px 20px !important;
    }

    .hc-global-drawer-head > div {
        padding-left: 58px !important;
    }

    .hc-global-drawer-head > div::before {
        width: 46px !important;
        height: 46px !important;
        border-radius: 16px !important;
    }

    .hc-global-drawer-body {
        padding: 15px 12px 20px !important;
    }

    .hc-global-drawer .hc-global-drawer-category {
        border-radius: 23px !important;
        margin-bottom: 12px !important;
    }

    .hc-global-drawer .hc-global-drawer-category::before {
        border-radius: 22px !important;
    }

    .hc-global-drawer .hc-global-category-toggle {
        min-height: 72px !important;
        padding: 12px 12px 12px 16px !important;
        gap: 9px !important;
    }

    .hc-global-drawer .hc-global-category-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border-radius: 16px !important;
    }

    .hc-global-drawer .hc-global-category-copy strong {
        font-size: 0.88rem !important;
    }

    .hc-global-drawer .hc-global-category-copy small {
        font-size: 0.65rem !important;
    }

    .hc-global-drawer .hc-global-category-count {
        min-width: 30px !important;
        height: 30px !important;
        font-size: 0.72rem !important;
    }

    .hc-global-drawer .hc-global-category-chevron {
        width: 28px !important;
        height: 28px !important;
        border-radius: 10px !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel {
        padding: 3px 10px 13px 62px !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before {
        left: 43px !important;
    }

    .hc-global-drawer .hc-global-drawer-link::before {
        left: -20px !important;
        width: 13px !important;
    }
}

/*
|===============================================================================
| HC Layout 2.8.6 · Aurora Orbit Border para categoría activa
|-------------------------------------------------------------------------------
| Cuando una categoría del drawer queda abierta, todo su contenedor recibe una
| luz orbital multicolor que gira alrededor del borde. El JS V5 deja una sola
| categoría activa a la vez para que el efecto viaje a la categoría seleccionada.
|===============================================================================
*/

@property --hc-drawer-orbit-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.hc-global-drawer .hc-global-drawer-category {
    isolation: isolate !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) {
    border-color: rgba(255, 255, 255, 0.16) !important;
    border-left-color: transparent !important;
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(37, 208, 166, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected::after,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"])::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 8 !important;
    padding: 2px !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    background:
        conic-gradient(
            from var(--hc-drawer-orbit-angle),
            #25d0a6 0deg,
            #14b8ff 58deg,
            #8b5cf6 124deg,
            #ec4899 188deg,
            #ffd166 252deg,
            #25d0a6 360deg
        ) !important;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    animation:
        hcDrawerOrbitBorder 2.75s linear infinite,
        hcDrawerOrbitHue 6.2s ease-in-out infinite alternate !important;
    filter: drop-shadow(0 0 9px rgba(37, 208, 166, 0.54)) drop-shadow(0 0 16px rgba(20, 184, 255, 0.28)) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected::before,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"])::before {
    opacity: 1 !important;
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 209, 102, 0.18), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(236, 72, 153, 0.16), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(20, 184, 255, 0.13), transparent 38%),
        linear-gradient(180deg, rgba(13, 47, 75, 0.22), rgba(4, 12, 21, 0.10)) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected > .hc-global-category-toggle,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) > .hc-global-category-toggle {
    background:
        linear-gradient(135deg, rgba(18, 54, 84, 0.96), rgba(10, 21, 38, 0.96)) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected > .hc-global-category-toggle .hc-global-category-icon,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) > .hc-global-category-toggle .hc-global-category-icon {
    color: #ffffff !important;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 28%),
        linear-gradient(135deg, #25d0a6, #14b8ff 54%, #8b5cf6) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.10),
        0 12px 26px rgba(20, 184, 255, 0.24),
        0 0 22px rgba(37, 208, 166, 0.20) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected > .hc-global-category-toggle .hc-global-category-copy strong,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) > .hc-global-category-toggle .hc-global-category-copy strong {
    color: #ffffff !important;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.14) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected > .hc-global-category-toggle .hc-global-category-count,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) > .hc-global-category-toggle .hc-global-category-count {
    color: #061523 !important;
    background: linear-gradient(135deg, #ffd166, #25d0a6) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 10px 22px rgba(37, 208, 166, 0.24) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-category-panel,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-category-panel {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

@keyframes hcDrawerOrbitBorder {
    to { --hc-drawer-orbit-angle: 360deg; }
}

@keyframes hcDrawerOrbitHue {
    0% { filter: drop-shadow(0 0 9px rgba(37, 208, 166, 0.52)) drop-shadow(0 0 16px rgba(20, 184, 255, 0.28)) hue-rotate(0deg); }
    100% { filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.42)) drop-shadow(0 0 22px rgba(255, 209, 102, 0.24)) hue-rotate(36deg); }
}

@media (max-width: 640px) {
    .hc-global-drawer .hc-global-drawer-category.is-hc-category-selected::after,
    .hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"])::after {
        padding: 1.5px !important;
        animation-duration: 3.1s, 6.8s !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-global-drawer .hc-global-drawer-category.is-hc-category-selected::after,
    .hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"])::after {
        animation: none !important;
        filter: drop-shadow(0 0 10px rgba(37, 208, 166, 0.38)) !important;
    }
}

/*
|===============================================================================
| HC Layout 2.8.7 · Aurora Halo 360 + subcategorías cromáticas
|-------------------------------------------------------------------------------
| Refuerzo visual del drawer:
| - La categoría abierta recibe un borde completo, grueso y animado 360°.
| - Las subcategorías reciben acentos de color diferenciados.
| - Se conserva el acordeón del JS V5: solo una categoría queda activa.
|===============================================================================
*/

@property --hc-drawer-halo-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.hc-global-drawer .hc-global-drawer-category {
    --hc-sub-a: #25d0a6;
    --hc-sub-b: #14b8ff;
    border-width: 1px !important;
}

/* Categoría abierta: borde real, completo y mucho más visible */
.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) {
    position: relative !important;
    border: 4px solid transparent !important;
    border-left: 4px solid transparent !important;
    border-radius: 30px !important;
    background:
        linear-gradient(145deg, rgba(5, 16, 29, 0.98), rgba(9, 19, 35, 0.94)) padding-box,
        conic-gradient(
            from var(--hc-drawer-halo-angle),
            #39ffcf 0deg,
            #14b8ff 48deg,
            #7c5cff 105deg,
            #ff4ecb 166deg,
            #ffd166 228deg,
            #36ff7f 286deg,
            #39ffcf 360deg
        ) border-box !important;
    box-shadow:
        0 26px 62px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.10),
        0 0 34px hsla(var(--hc-card-hue, 168), 94%, 62%, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
    animation:
        hcDrawerHalo360 2.2s linear infinite,
        hcDrawerHaloBreath 4.8s ease-in-out infinite alternate !important;
}

/* Apagamos la vieja barra lateral en la categoría activa para que el halo mande */
.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected::after,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"])::after {
    content: '' !important;
    position: absolute !important;
    inset: 2px !important;
    width: auto !important;
    top: 2px !important;
    bottom: 2px !important;
    left: 2px !important;
    right: 2px !important;
    z-index: 1 !important;
    padding: 0 !important;
    border-radius: 25px !important;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 16% 8%, rgba(57, 255, 207, 0.18), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(255, 78, 203, 0.16), transparent 28%),
        radial-gradient(circle at 48% 100%, rgba(20, 184, 255, 0.16), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.006)) !important;
    -webkit-mask: none !important;
    mask: none !important;
    animation: none !important;
    filter: none !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected::before,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"])::before {
    inset: 4px !important;
    border-radius: 24px !important;
    z-index: 0 !important;
    opacity: 1 !important;
    background:
        linear-gradient(135deg, rgba(7, 22, 38, 0.76), rgba(4, 10, 20, 0.38)) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected > .hc-global-category-toggle,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) > .hc-global-category-toggle {
    z-index: 3 !important;
    margin: 1px !important;
    border-radius: 23px 23px 18px 18px !important;
    background:
        radial-gradient(circle at 10% 0%, hsla(var(--hc-card-hue, 168), 100%, 64%, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(13, 40, 65, 0.82), rgba(7, 16, 31, 0.76)) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected > .hc-global-category-toggle::before,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) > .hc-global-category-toggle::before {
    content: '' !important;
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-category-panel,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-category-panel {
    z-index: 3 !important;
    margin: 0 4px 5px !important;
    border-radius: 0 0 22px 22px !important;
    background:
        radial-gradient(circle at 0% 0%, hsla(var(--hc-card-hue, 168), 95%, 60%, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.025)) !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel,
.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-category-panel {
    padding: 14px 14px 16px 72px !important;
}

.hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before,
.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-category-panel::before {
    left: 47px !important;
    top: 12px !important;
    bottom: 16px !important;
    width: 3px !important;
    background:
        linear-gradient(
            180deg,
            #39ffcf,
            #14b8ff 32%,
            #ff4ecb 66%,
            rgba(255, 209, 102, 0.22)
        ) !important;
    box-shadow:
        0 0 14px rgba(57, 255, 207, 0.42),
        0 0 22px rgba(255, 78, 203, 0.16) !important;
}

/* Paleta por subcategoría */
.hc-global-drawer .hc-global-category-inner .hc-global-drawer-link:nth-child(6n + 1) { --hc-sub-a: #39ffcf; --hc-sub-b: #14b8ff; }
.hc-global-drawer .hc-global-category-inner .hc-global-drawer-link:nth-child(6n + 2) { --hc-sub-a: #7c5cff; --hc-sub-b: #14b8ff; }
.hc-global-drawer .hc-global-category-inner .hc-global-drawer-link:nth-child(6n + 3) { --hc-sub-a: #ff4ecb; --hc-sub-b: #8b5cf6; }
.hc-global-drawer .hc-global-category-inner .hc-global-drawer-link:nth-child(6n + 4) { --hc-sub-a: #ffd166; --hc-sub-b: #ff8c42; }
.hc-global-drawer .hc-global-category-inner .hc-global-drawer-link:nth-child(6n + 5) { --hc-sub-a: #36ff7f; --hc-sub-b: #25d0a6; }
.hc-global-drawer .hc-global-category-inner .hc-global-drawer-link:nth-child(6n + 6) { --hc-sub-a: #22d3ee; --hc-sub-b: #4d7cff; }

/* Subcategorías: más vivas, con color diferenciador sin ensuciar */
.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link {
    min-height: 48px !important;
    padding: 8px 11px 8px 10px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-left: 3px solid var(--hc-sub-a) !important;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hc-sub-a) 13%, rgba(255,255,255,0.035)), rgba(255, 255, 255, 0.028)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 9px 18px rgba(0, 0, 0, 0.16) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link::before,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link::before {
    left: -25px !important;
    width: 18px !important;
    height: 2px !important;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), var(--hc-sub-a)) !important;
    box-shadow: 0 0 12px color-mix(in srgb, var(--hc-sub-a) 55%, transparent) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link-icon,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link-icon {
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
    color: #061523 !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,0.42), transparent 28%),
        linear-gradient(135deg, var(--hc-sub-a), var(--hc-sub-b)) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow:
        0 8px 18px color-mix(in srgb, var(--hc-sub-a) 24%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.28) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link strong,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link strong {
    color: rgba(255, 255, 255, 0.90) !important;
    font-size: 0.84rem !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link small,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link small {
    color: rgba(226, 238, 247, 0.58) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link > .fa-arrow-right,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link > .fa-arrow-right {
    color: var(--hc-sub-a) !important;
    opacity: 0.76 !important;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--hc-sub-a) 38%, transparent)) !important;
}

.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link:hover,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link:hover,
.hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-drawer-link:focus-visible,
.hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) .hc-global-drawer-link:focus-visible {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hc-sub-a) 22%, rgba(255,255,255,0.065)), color-mix(in srgb, var(--hc-sub-b) 10%, rgba(255,255,255,0.035))) !important;
    border-color: color-mix(in srgb, var(--hc-sub-a) 38%, rgba(255,255,255,0.08)) !important;
    border-left-color: var(--hc-sub-a) !important;
    transform: translateX(5px) scale(1.012) !important;
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        0 0 18px color-mix(in srgb, var(--hc-sub-a) 24%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.075) !important;
}

@keyframes hcDrawerHalo360 {
    to { --hc-drawer-halo-angle: 360deg; }
}

@keyframes hcDrawerHaloBreath {
    0% {
        filter: saturate(1.02) brightness(1);
    }
    100% {
        filter: saturate(1.22) brightness(1.08);
    }
}

@media (max-width: 640px) {
    .hc-global-drawer .hc-global-drawer-category.is-hc-category-selected,
    .hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) {
        border-width: 3px !important;
        border-radius: 27px !important;
        animation-duration: 2.6s, 5.4s !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel,
    .hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-category-panel {
        padding: 12px 10px 14px 61px !important;
    }

    .hc-global-drawer .hc-global-category-toggle[aria-expanded="true"] + .hc-global-category-panel::before,
    .hc-global-drawer .hc-global-drawer-category.is-hc-category-selected .hc-global-category-panel::before {
        left: 43px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-global-drawer .hc-global-drawer-category.is-hc-category-selected,
    .hc-global-drawer .hc-global-drawer-category:has(> .hc-global-category-toggle[aria-expanded="true"]) {
        animation: none !important;
    }
}
