/* Selector de sucursal antes de WhatsApp */
.nv-wa {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.nv-wa[hidden] {
    display: none !important;
}

.nv-wa__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
}

.nv-wa__panel {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    max-height: min(86vh, 640px);
    background: #fff;
    color: #12141A;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", "Segoe UI", sans-serif;
}

.nv-wa__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem 0.85rem;
    border-bottom: 1px solid #eee;
}

.nv-wa__head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.nv-wa__head p {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.nv-wa__close {
    border: 0;
    background: #f3f4f6;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.nv-wa__list {
    overflow: auto;
    padding: 0.55rem 0.75rem 1.15rem;
    -webkit-overflow-scrolling: touch;
}

.nv-wa__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    border: 1px solid #ececec;
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    margin: 0 0 0.45rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nv-wa__item:hover,
.nv-wa__item:focus-visible {
    border-color: #25D366;
    background: #f7fef9;
    outline: none;
}

.nv-wa__item i {
    color: #25D366;
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.nv-wa__item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
}

.nv-wa__item span {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.12rem;
}

.nv-wa--informatica .nv-wa__item:hover,
.nv-wa--informatica .nv-wa__item:focus-visible {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

@media (min-width: 641px) {
    .nv-wa {
        align-items: center;
        padding: 1.5rem;
    }

    .nv-wa__panel {
        border-radius: 16px;
        max-height: min(78vh, 620px);
    }
}
