/* ==================================================
   KUNI-LANDING-09
   Menú móvil y acciones de evento.
   Logo original intacto.
   ================================================== */

/* PRECIO: DATO INFORMATIVO, NO BOTÓN */

#featuredEvent .featured-bottom #featuredPrice {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

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

    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #2F4C6A !important;
    -webkit-text-fill-color: #2F4C6A !important;

    font-size: clamp(20px,2vw,27px) !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;

    cursor: default !important;
    transform: none !important;
    text-decoration: none !important;
    pointer-events: none !important;
}

#featuredEvent .featured-bottom #featuredPrice::before {
    content: "ENTRADA";
    display: block;

    color: #BE745B !important;
    -webkit-text-fill-color: #BE745B !important;

    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    letter-spacing: .13em !important;
}

/* CONOCER EVENTO: ACCIÓN CLARAMENTE PULSABLE */

#featuredEvent .featured-bottom #featuredLink {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 48px !important;
    box-sizing: border-box !important;

    padding: 12px 18px !important;
    margin: 0 !important;

    background: #BE745B !important;
    border: 2px solid #BE745B !important;
    border-radius: 13px !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;

    text-decoration: none !important;
    opacity: 1 !important;
    white-space: normal !important;

    box-shadow:
      0 7px 16px rgba(190,116,91,.15) !important;

    cursor: pointer !important;
    transition:
      background .2s ease,
      transform .2s ease;
}

@media (hover:hover) and (pointer:fine) {
    #featuredEvent .featured-bottom #featuredLink:hover {
        background: #2F4C6A !important;
        border-color: #2F4C6A !important;
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
        transform: translateY(-2px) !important;
    }
}

#featuredEvent .featured-bottom #featuredLink:focus-visible {
    outline: 3px solid #2F4C6A !important;
    outline-offset: 3px !important;
}

/* ==================================================
   MENÚ MÓVIL · UNA SOLA FILA
   ================================================== */

@media (max-width:699px) {

    .topbar {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 0 !important;
        background: #FFFFFF !important;
    }

    .topbar .shell.topbar-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: calc(100% - 24px) !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 auto !important;
        padding: 0 !important;
        gap: 7px !important;
        box-sizing: border-box !important;
    }

    /* Se conserva exactamente la imagen oficial. */

    .topbar .brand {
        display: flex !important;
        flex: 0 0 68px !important;
        width: 68px !important;
        min-width: 0 !important;
        max-width: 68px !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .topbar .brand img {
        display: block !important;
        width: 68px !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 !important;
    }

    .topbar .nav {
        display: flex !important;
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        justify-content: flex-end !important;
        align-items: center !important;
        gap: 5px !important;

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

    /* Eventos sigue disponible en escritorio. */

    .topbar .nav a[href="#eventos"] {
        display: none !important;
    }

    /* Mantener los enlaces reales, abreviar solo
       la etiqueta visible en el menú móvil. */

    .topbar .nav a[href="/negocios/publica"],
    .topbar .nav a[href="/login/"],
    .topbar .nav a[href="/registro/"] {
        display: inline-flex !important;
        flex: 0 1 auto !important;

        min-width: 0 !important;
        min-height: 44px !important;

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

        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;

        font-size: 0 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transform: none !important;

        border-radius: 9px !important;
        box-shadow: none !important;
    }

    .topbar .nav a[href="/negocios/publica"],
    .topbar .nav a[href="/login/"] {
        background: #FFFFFF !important;
        border: 1px solid #DED6CA !important;
    }

    .topbar .nav a[href="/registro/"] {
        background: #BE745B !important;
        border: 1px solid #BE745B !important;
    }

    .topbar .nav a[href="/negocios/publica"]::after,
    .topbar .nav a[href="/login/"]::after,
    .topbar .nav a[href="/registro/"]::after {
        display: block !important;
        font-family: inherit !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        letter-spacing: -.02em !important;
    }

    .topbar .nav a[href="/negocios/publica"]::after {
        content: "Negocios";
        color: #2F4C6A;
        -webkit-text-fill-color: #2F4C6A;
    }

    .topbar .nav a[href="/login/"]::after {
        content: "Entrar";
        color: #2F4C6A;
        -webkit-text-fill-color: #2F4C6A;
    }

    .topbar .nav a[href="/registro/"]::after {
        content: "Registro";
        color: #FFFFFF;
        -webkit-text-fill-color: #FFFFFF;
    }

    .topbar .nav a:focus-visible {
        outline: 2px solid #2F4C6A !important;
        outline-offset: 2px !important;
    }

    /* Precio y botón del evento en móvil. */

    #featuredEvent .featured-bottom {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
    }

    #featuredEvent .featured-bottom #featuredPrice {
        flex: 0 1 auto !important;
        font-size: 20px !important;
    }

    #featuredEvent .featured-bottom #featuredLink {
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 48px !important;
        padding: 11px 14px !important;
        font-size: 13px !important;
    }
}

/* Teléfonos más estrechos */

@media (max-width:360px) {

    .topbar .shell.topbar-inner {
        width: calc(100% - 16px) !important;
        gap: 4px !important;
    }

    .topbar .brand {
        flex-basis: 56px !important;
        width: 56px !important;
        max-width: 56px !important;
    }

    .topbar .brand img {
        width: 56px !important;
    }

    .topbar .nav {
        gap: 3px !important;
    }

    .topbar .nav a[href="/negocios/publica"],
    .topbar .nav a[href="/login/"],
    .topbar .nav a[href="/registro/"] {
        padding-inline: 5px !important;
    }

    .topbar .nav a[href="/negocios/publica"]::after,
    .topbar .nav a[href="/login/"]::after,
    .topbar .nav a[href="/registro/"]::after {
        font-size: 10px !important;
    }
}

/* Precio y acción en pantallas muy estrechas */

@media (max-width:380px) {

    #featuredEvent .featured-bottom {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #featuredEvent .featured-bottom #featuredPrice {
        align-items: flex-start !important;
    }

    #featuredEvent .featured-bottom #featuredLink {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (prefers-reduced-motion:reduce) {
    #featuredEvent .featured-bottom #featuredLink {
        transition: none !important;
    }
}
