/*
 * Joe's — Welcome modal "Seguimos en construcción".
 * Ventana flotante centrada; en mobile NO es full-screen.
 * Se cierra con la X superior, el CTA "Ver menú", o click fuera del panel.
 * El CTA se posiciona en absoluto sobre el rectángulo punteado de la imagen.
 */

.joes-mw[hidden] { display: none !important; }

.joes-mw {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: joes-mw-fade .18s ease-out both;
}

.joes-mw__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

.joes-mw__panel {
    position: relative;
    width: min(92vw, 420px);
    max-height: 92vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
    background: #0d1424;
    animation: joes-mw-pop .22s cubic-bezier(.2,.9,.3,1.2) both;
}

.joes-mw__img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.joes-mw__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
    transition: background .15s ease;
}
.joes-mw__close:hover,
.joes-mw__close:focus-visible {
    background: rgba(255, 255, 255, .25);
    outline: none;
}

.joes-mw__cta {
    position: absolute;
    left: 50%;
    bottom: 2.8%;
    transform: translateX(-50%);
    width: 58%;
    max-width: 220px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #e85a1a;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(232, 90, 26, .35);
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.joes-mw__cta:hover,
.joes-mw__cta:focus-visible {
    background: #f06a2a;
    transform: translateX(-50%) translateY(-1px);
    outline: none;
    box-shadow: 0 6px 16px rgba(232, 90, 26, .45);
}
.joes-mw__cta:active {
    transform: translateX(-50%) translateY(0);
}

/* Tablet+: un pelín más generoso. */
@media (min-width: 768px) {
    .joes-mw__panel { width: min(86vw, 460px); }
    .joes-mw__cta   { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .joes-mw,
    .joes-mw__panel { animation: none; }
}

@keyframes joes-mw-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes joes-mw-pop {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: scale(1); }
}

/* Locking scroll mientras está abierto (clase añadida por el JS). */
html.joes-mw-open,
body.joes-mw-open {
    overflow: hidden !important;
}
