/* Navegación con iconos. Cargar después de los estilos existentes. */
.cc-home .cc-header-v2 .cc-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 92px;
    padding-block: 14px;
}

.cc-home .cc-header-v2 .cc-brand {
    flex-shrink: 0;
    margin: 0;
}

.cc-home .cc-header-v2 .cc-nav {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
}

.cc-home .cc-header-v2 .cc-nav-main,
.cc-home .cc-header-v2 .cc-nav-session {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cc-home .cc-header-v2 .cc-nav-session {
    gap: 9px;
}

.cc-home .cc-header-v2 .cc-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-height: 44px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #302820;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.cc-home .cc-header-v2 .cc-nav .cc-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.cc-home .cc-header-v2 .cc-nav-main a::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 3px;
    left: 25px;
    height: 2px;
    background: #e66a09;
    transition: right .18s ease;
}

.cc-home .cc-header-v2 .cc-nav-main a:hover::after,
.cc-home .cc-header-v2 .cc-nav-main a:focus-visible::after {
    right: 0;
}

.cc-home .cc-header-v2 .cc-nav a:hover {
    color: #b84e00;
}

.cc-home .cc-header-v2 .cc-nav a:focus-visible,
.cc-home .cc-header-v2 .cc-menu-toggle:focus-visible {
    outline: 3px solid #efad79;
    outline-offset: 4px;
}

.cc-home .cc-header-v2 .cc-nav .cc-nav-reservaciones {
    color: #b84e00;
    font-weight: 600;
    padding-inline: 8px;
}

.cc-home .cc-header-v2 .cc-nav .cc-nav-account {
    justify-content: center;
    padding: 12px 15px;
    border: 1px solid #24211f;
    border-radius: 9px;
    background: #24211f;
    color: #fff;
    font-weight: 600;
}

.cc-home .cc-header-v2 .cc-nav .cc-nav-account:hover {
    background: #40352d;
    border-color: #40352d;
    color: #fff;
}

.cc-home .cc-header-v2 .cc-nav .cc-nav-logout,
.cc-home .cc-header-v2 .cc-nav .cc-nav-register {
    justify-content: center;
    padding: 12px 13px;
    border: 1px solid #f1cfad;
    border-radius: 9px;
    background: #fff4e8;
    color: #a44809;
}

.cc-home .cc-header-v2 .cc-nav .cc-nav-logout:hover,
.cc-home .cc-header-v2 .cc-nav .cc-nav-register:hover {
    border-color: #e6ad7b;
    background: #ffe9d2;
}

.cc-home .cc-header-v2 .cc-menu-toggle,
.cc-home .cc-header-v2 .cc-nav-extra {
    display: none;
}

/* LG y XL: dos filas completas, sin partir los grupos de enlaces. */
@media (min-width: 992px) and (max-width: 1399px) {
    .cc-home .cc-header-v2 .cc-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: end;
        gap: 5px;
    }

    .cc-home .cc-header-v2 .cc-nav-main {
        gap: 22px;
    }
}

/* Menú móvil existente: conserva cc-navegacion, is-open y el botón actual. */
@media (max-width: 991px) {
    .cc-home .cc-header-v2 .cc-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        min-height: 80px;
        padding-block: 12px;
    }

    .cc-home .cc-header-v2 .cc-brand {
        max-width: 100%;
        min-width: 0;
    }

    .cc-home .cc-header-v2 .cc-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
    }

    .cc-home .cc-header-v2 .cc-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-height: calc(100vh - 116px);
        max-height: calc(100dvh - 116px);
        overflow-y: auto;
        padding: 15px 24px 22px;
        border-bottom: 1px solid #ead9c4;
        background: #fffdf9;
        box-shadow: 0 16px 25px #3028200d;
    }

    .cc-home.cc-js .cc-header-v2 .cc-nav:not(.is-open) {
        display: none;
    }

    .cc-home .cc-header-v2 .cc-nav-main,
    .cc-home .cc-header-v2 .cc-nav-extra,
    .cc-home .cc-header-v2 .cc-nav-session {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .cc-home .cc-header-v2 .cc-nav a {
        gap: 10px;
        min-height: 46px;
        white-space: normal;
    }

    .cc-home .cc-header-v2 .cc-nav-main a::after {
        display: none;
    }

    .cc-home .cc-header-v2 .cc-nav-session {
        gap: 9px;
        margin-top: 12px;
        padding-top: 15px;
        border-top: 1px solid #ead9c4;
    }

    .cc-home .cc-header-v2 .cc-nav .cc-nav-reservaciones {
        padding-inline: 0;
    }

    .cc-home .cc-header-v2 .cc-nav .cc-nav-account {
        align-self: stretch;
    }

    .cc-home:not(.cc-js) .cc-header-v2 .cc-nav {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
    }

    .cc-home:not(.cc-js) .cc-header-v2 .cc-menu-toggle {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-home .cc-header-v2 a,
    .cc-home .cc-header-v2 a::after {
        transition: none;
    }
}


@media (min-width: 992px) {
    .cc-home .cc-header-v2 .cc-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: end;
        gap: 5px;
    }

    .cc-home .cc-header-v2 .cc-nav-main {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px 14px;
    }
}