/* NOSSA CASA - PWA OFICIAL V1 */

.topbar-brand#topbar-home {
    cursor: pointer;
    user-select: none;
}

.topbar-brand#topbar-home:focus-visible {
    outline: 3px solid rgba(163, 180, 209, .45);
    outline-offset: 4px;
    border-radius: 14px;
}

.pwa-install-button {
    min-height: 40px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #6c6570;
    background: #edf2f9;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 900;
}

.pwa-install-button b {
    font: inherit;
}

.pwa-install-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(67, 55, 62, .42);
    backdrop-filter: blur(5px);
}

.pwa-install-modal[hidden] {
    display: none !important;
}

.pwa-install-dialog {
    position: relative;
    width: min(430px, 100%);
    padding: 28px;
    color: #625a60;
    background: #fff;
    border: 1px solid #eee5e9;
    border-radius: 25px;
    box-shadow: 0 22px 70px rgba(74, 55, 65, .18);
}

.pwa-install-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: #887b82;
    background: #f7f1f4;
    border-radius: 11px;
    font-size: 22px;
}

.pwa-install-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    display: grid;
    place-items: center;
    background: #f5e8ed;
    border-radius: 20px;
    font-size: 31px;
}

.pwa-install-kicker {
    color: #a87588;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pwa-install-dialog h2 {
    margin: 4px 0 12px;
    color: #765d68;
    font-family: Georgia, serif;
}

.pwa-install-copy {
    line-height: 1.55;
}

.pwa-install-copy p {
    margin: 8px 0;
}

.pwa-install-copy ol {
    margin: 10px 0 0;
    padding-left: 21px;
}

.pwa-install-copy li {
    margin: 7px 0;
}

.pwa-install-ok {
    width: 100%;
    margin-top: 18px;
    min-height: 44px;
    cursor: pointer;
    color: #fff;
    background: var(--primary);
    border-radius: 13px;
    font-weight: 900;
}

@media (min-width: 651px) {
    .desktop-nav {
        position: sticky;
        top: 84px;
        z-index: 45;
        backdrop-filter: blur(16px);
    }
}

@media (max-width: 650px) {
    .pwa-install-button {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .pwa-install-button b {
        display: none;
    }

    .pwa-install-dialog {
        padding: 24px 20px;
        border-radius: 22px;
    }
}
