.cks-mloc {
    position: relative;
    z-index: 30
}

.cks-mloc * {
    box-sizing: border-box
}

.cks-mloc-trigger {
    display: inline-flex;
    align-items: center;
    padding: 0px 13px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    color: var(--black);
    font: inherit;
    cursor: pointer;
}

.cks-mloc-trigger img {
    width: 22px;
    height: 22px;
    display: block
}

.cks-mloc-dialog {
    position: relative;
    width: min(520px, 100%);
    max-height: 82vh;
    overflow: auto;
    padding: 24px;
    background: var(--white);
    color: var(--black);
    border-radius: 14px;
}

.cks-mloc-close {
    position: absolute;
    right: 6px;
    top: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cks-mloc-close img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}


.cks-mloc-title {
    margin: 0 45px 18px 0;
    font-size: 22px;
    line-height: 1.3
}

.cks-mloc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.cks-mloc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 50px;
    background: var(--ship);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.25;
}

.cks-mloc-chip:hover,
.cks-mloc-chip:focus {
    background: var(--radical);
}

.cks-mloc-lock {
    overflow: hidden !important
}

@media(max-width:480px) {
    .cks-mloc-dialog {
        padding: 21px 18px
    }

    .cks-mloc-chip {
        flex: 1 1 auto
    }
}

/* Popup global emitido en wp_footer, no anidado en nav-menu-top ni en index. */
.cks-mloc-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2147483647 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .22s ease;
    isolation: isolate
}

.cks-mloc-overlay[hidden] {
    display: none !important
}

.cks-mloc-overlay.is-visible {
    opacity: 1
}

.cks-mloc-dialog {
    transform: translateY(-16px);
    opacity: .98;
    transition: transform .24s ease, opacity .24s ease
}

.cks-mloc-overlay.is-visible .cks-mloc-dialog {
    transform: translateY(0);
    opacity: 1
}

.cks-mloc-lock {
    overflow: hidden !important
}

@media(prefers-reduced-motion:reduce) {

    .cks-mloc-overlay,
    .cks-mloc-dialog {
        transition: none !important;
        transform: none !important
    }
}