/* ============================================================
 * OM HEADER - estilos
 * ============================================================ */

.omh-wrap {
    --omh-primary: #29108F;
    --omh-primary-2: #3F2161;
    --omh-primary-3: #5C1F9E;
    --omh-accent: #C33FBC;
    --omh-accent-2: #EC199C;
    --omh-text: #1A1A2E;
    --omh-text-soft: #4A4A5E;
    --omh-text-mute: #7A7A8E;
    --omh-bg-soft: #F8F6FC;
    --omh-bg-soft-2: #F2EDFA;
    --omh-border: #EBE7F4;
    --omh-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    font-family: var(--omh-font);
    color: var(--omh-text);
    line-height: 1.4;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 1px 3px rgba(41, 16, 143, 0.06);
}

.omh-wrap *,
.omh-wrap *::before,
.omh-wrap *::after {
    box-sizing: border-box;
}

.omh-wrap a {
    text-decoration: none;
}

/* ============================================================
 * TOPBAR
 * ============================================================ */
.omh-topbar {
    background: linear-gradient(90deg, #29108F 0%, #5C1F9E 100%);
    color: #fff;
    padding: 9px 0;
    font-size: 12.5px;
    font-weight: 500;
}
.omh-topbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.omh-topbar__left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.omh-topbar__label {
    letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11.5px;
}
.omh-topbar__sep { opacity: 0.4; font-weight: 300; }
.omh-topbar__phone,
.omh-topbar__link {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}
.omh-topbar__phone:hover,
.omh-topbar__link:hover {
    color: #fff;
}
.omh-topbar__phone svg,
.omh-topbar__link svg {
    flex-shrink: 0;
}

/* ============================================================
 * HEADER PRINCIPAL
 * ============================================================ */
.omh-header {
    background: #fff;
}
.omh-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.omh-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.omh-logo__img {
    height: 80px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}
.omh-logo:hover .omh-logo__img {
    opacity: 0.85;
}

/* Menú principal */
.omh-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
.omh-nav__item {
    position: relative;
    padding: 8px 9px;
    color: var(--omh-text);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.omh-nav__item:hover {
    background: var(--omh-bg-soft);
    color: var(--omh-primary);
}
.omh-nav__item.is-active {
    color: var(--omh-primary);
}
.omh-nav__item.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 9px;
    right: 9px;
    height: 2px;
    background: linear-gradient(90deg, var(--omh-primary), var(--omh-accent));
    border-radius: 2px;
}
.omh-nav__fire { font-size: 14px; }
.omh-nav__badge {
    background: linear-gradient(135deg, #FFA94D, #FF6B35);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    margin-left: 2px;
}

/* Acciones derecha */
.omh-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Link "Iniciar sesión" */
.omh-link {
    color: var(--omh-primary);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    border-radius: 8px;
    transition: background 0.15s;
    white-space: nowrap;
}
.omh-link:hover { background: var(--omh-bg-soft); }
.omh-link svg { flex-shrink: 0; }

/* Botones */
.omh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
}
.omh-btn svg { flex-shrink: 0; }
.omh-btn--primary {
    background: linear-gradient(135deg, var(--omh-primary) 0%, var(--omh-primary-3) 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(41, 16, 143, 0.3);
}
.omh-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(41, 16, 143, 0.4);
    color: #fff;
}

/* User pill (agencia logueada) */
.omh-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--omh-bg-soft);
    border: 1px solid var(--omh-border);
    padding: 5px 12px 5px 5px;
    border-radius: 100px;
    cursor: pointer;
    color: inherit;
    transition: all 0.15s;
    max-width: 200px;
}
.omh-user:hover {
    background: var(--omh-bg-soft-2);
    border-color: var(--omh-accent);
}
.omh-user__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--omh-primary), var(--omh-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.omh-user__info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}
.omh-user__name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--omh-primary);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.omh-user__agency {
    font-size: 10px;
    color: var(--omh-text-mute);
    font-weight: 600;
    margin-top: 1px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botón logout */
.omh-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--omh-bg-soft);
    border: 1px solid var(--omh-border);
    color: var(--omh-text-soft);
    transition: all 0.15s;
}
.omh-logout:hover {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #DC2626;
}
.omh-logout svg { flex-shrink: 0; }

/* ============================================================
 * HAMBURGUESA + MOBILE MENU
 * ============================================================ */
.omh-burger {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--omh-bg-soft);
    border: 1px solid var(--omh-border);
    color: var(--omh-primary);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}
.omh-burger:hover {
    background: var(--omh-bg-soft-2);
}
.omh-burger__icon-close { display: none; }
.omh-burger.is-open .omh-burger__icon-open { display: none; }
.omh-burger.is-open .omh-burger__icon-close { display: block; }

.omh-mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--omh-border);
    padding: 8px 16px 16px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.omh-mobile-menu.is-open {
    display: block;
}
.omh-mobile-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--omh-text);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.15s;
}
.omh-mobile-menu__item:hover {
    background: var(--omh-bg-soft);
    color: var(--omh-primary);
}
.omh-mobile-menu__item--strong {
    color: var(--omh-primary);
    font-weight: 700;
}
.omh-mobile-menu__item--cta {
    background: linear-gradient(135deg, var(--omh-primary), var(--omh-primary-3));
    color: #fff;
    justify-content: center;
    margin-top: 4px;
}
.omh-mobile-menu__item--cta:hover {
    background: linear-gradient(135deg, var(--omh-primary-3), var(--omh-accent));
    color: #fff;
}
.omh-mobile-menu__item--logout {
    color: #DC2626;
}
.omh-mobile-menu__item--soft {
    color: var(--omh-text-mute);
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
}
.omh-mobile-menu__item--blitz {
    font-weight: 700;
}
.omh-mobile-menu__sep {
    height: 1px;
    background: var(--omh-border);
    margin: 8px 14px;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */

/* Tablet */
@media (max-width: 1180px) {
    .omh-nav__item {
        padding: 8px 7px;
        font-size: 12px;
    }
    .omh-user__info { display: none; }
    .omh-user { padding: 5px; }
}

/* Mobile */
@media (max-width: 900px) {
    .omh-nav { display: none; }
    .omh-burger { display: inline-flex; }

    .omh-logo__img { height: 52px; }

    .omh-link__label,
    .omh-btn__label { display: none; }

    .omh-link {
        padding: 8px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        justify-content: center;
    }
    .omh-btn--primary { padding: 9px 14px; font-size: 12px; }

    .omh-user__info { display: none; }
    .omh-user { padding: 4px; border: none; background: transparent; }

    .omh-logout {
        width: 36px;
        height: 36px;
    }

    .omh-topbar { padding: 7px 0; font-size: 11px; }
    .omh-topbar__right { display: none; }
    .omh-topbar__label { font-size: 10.5px; letter-spacing: 0.05em; }
    .omh-topbar__inner { padding: 0 16px; gap: 8px; }

    .omh-header__inner { padding: 10px 16px; gap: 10px; }
}

@media (max-width: 480px) {
    .omh-topbar__label { display: none; }
    .omh-topbar__sep { display: none; }
    .omh-topbar__inner { justify-content: center; }
}


/* ===========================================
   Item del menu: PLATAFORMA DE RESERVAS
   Renderiza con icono y flecha external link.
   =========================================== */
.omh-nav__item--platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(120,53,232,.08) 0%, rgba(195,63,188,.08) 100%);
    border: 1px solid rgba(120,53,232,.25);
    color: var(--omh-primary);
    font-weight: 700;
    padding: 8px 14px !important;
    border-radius: 100px;
    transition: all .2s ease;
}
.omh-nav__item--platform:hover {
    background: linear-gradient(135deg, var(--omh-primary) 0%, var(--omh-primary-3) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(120,53,232,.3);
    transform: translateY(-1px);
}
.omh-nav__platform-icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}
.omh-nav__ext {
    font-size: 11px;
    opacity: .75;
    margin-left: 1px;
    font-weight: 700;
}
.omh-mobile-menu__item--platform {
    background: linear-gradient(135deg, rgba(120,53,232,.08) 0%, rgba(195,63,188,.08) 100%);
    border: 1px solid rgba(120,53,232,.2);
    color: var(--omh-primary);
    font-weight: 700;
}


/* ============================================================
 * BOTON PLATAFORMA ONLINE (CTA en omh-actions para visitantes)
 * Opcion A — Plataforma Online sale del menu principal y vive
 * como CTA en la zona de acciones.
 * ============================================================ */
.omh-btn--platform {
    background: linear-gradient(135deg, var(--omh-primary) 0%, var(--omh-primary-3) 50%, var(--omh-accent) 100%);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(195, 63, 188, 0.25);
    white-space: nowrap;
}
.omh-btn--platform:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(195, 63, 188, 0.35);
    color: #fff;
}
.omh-btn--platform .omh-btn__icon { width: 15px; height: 15px; flex-shrink: 0; }
.omh-btn--platform .omh-btn__ext { font-size: 11px; opacity: 0.85; margin-left: 1px; }

/* Mobile: el item de plataforma para visitantes */
.omh-mobile-menu__item--platform {
    background: linear-gradient(135deg, var(--omh-primary) 0%, var(--omh-accent) 100%);
    color: #fff !important;
    text-align: center;
    border-radius: 12px;
    margin: 4px 0;
    font-weight: 600;
}
.omh-mobile-menu__item--platform:hover { opacity: 0.95; }
