
   ROJO CAFÉ - INSTALACIÓN PWA
   ======================================== */

.pwa-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    background: rgba(25, 15, 10, .55);
    backdrop-filter: blur(3px);
}

.pwa-overlay.activo {
    display: flex;
}

.pwa-modal {
    width: min(100%, 430px);
    background: #fff;
    border-radius: 26px;
    padding: 24px 20px 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: pwaSubir .25s ease-out;
}

.pwa-icono {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(122,9,9,.20);
}

.pwa-icono img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-modal h2 {
    margin: 0 0 7px;
    color: #2f2018;
    font-size: 24px;
    font-weight: 800;
}

.pwa-modal p {
    margin: 0 auto 18px;
    max-width: 340px;
    color: #78685d;
    font-size: 14px;
    line-height: 1.55;
}

.pwa-btn-instalar {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    background: #7A0909;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.pwa-btn-instalar:active {
    transform: scale(.99);
}

.pwa-btn-ahora {
    width: 100%;
    margin-top: 9px;
    border: 0;
    background: transparent;
    color: #806f64;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pwa-ios-ayuda {
    display: none;
    margin-top: 15px;
    padding: 12px;
    border-radius: 13px;
    background: #f8f1eb;
    color: #5f5047;
    font-size: 12px;
    line-height: 1.5;
}

.pwa-ios-ayuda i {
    color: #7A0909;
    margin-right: 4px;
}

@keyframes pwaSubir {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 700px) {
    .pwa-overlay {
        align-items: center;
    }
}
