:root {
    --vt-aculco-pwa-accent: #bbc3b1;
    --vt-aculco-pwa-text: #253027;
}

.vt-aculco-pwa-install-btn,
.vt-aculco-pwa-floating {
    appearance: none;
    border: 0;
    cursor: pointer;
    background: var(--vt-aculco-pwa-accent);
    color: var(--vt-aculco-pwa-text);
    font: inherit;
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 18px;
    line-height: 1.2;
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
    transition: transform .15s ease, box-shadow .15s ease;
}

.vt-aculco-pwa-install-btn:hover,
.vt-aculco-pwa-floating:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(0,0,0,.16);
}

.vt-aculco-pwa-floating {
    position: fixed;
    z-index: 99990;
    bottom: 20px;
    right: 20px;
}

.vt-aculco-pwa-floating-left {
    left: 20px;
    right: auto;
}

.vt-aculco-pwa-modal[hidden],
.vt-aculco-pwa-panel[hidden],
.vt-aculco-pwa-installed[hidden] {
    display: none !important;
}

.vt-aculco-pwa-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 18px;
}

.vt-aculco-pwa-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 22, .55);
    backdrop-filter: blur(3px);
}

.vt-aculco-pwa-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: min(90vh, 720px);
    overflow: auto;
    background: #fff;
    color: var(--vt-aculco-pwa-text);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 70px rgba(0,0,0,.25);
}

.vt-aculco-pwa-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

.vt-aculco-pwa-icon {
    text-align: center;
    margin-bottom: 14px;
}

.vt-aculco-pwa-icon img {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    object-fit: cover;
}

.vt-aculco-pwa-dialog h2 {
    margin: 0 30px 10px;
    text-align: center;
    font-size: clamp(22px, 5vw, 30px);
}

.vt-aculco-pwa-message {
    margin: 0 auto 22px;
    text-align: center;
    max-width: 380px;
    opacity: .82;
}

.vt-aculco-pwa-panel {
    border: 1px solid rgba(37,48,39,.12);
    background: #f7f8f6;
    border-radius: 18px;
    padding: 20px;
}

.vt-aculco-pwa-panel h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.vt-aculco-pwa-primary {
    display: block;
    width: 100%;
    border: 0;
    cursor: pointer;
    background: var(--vt-aculco-pwa-accent);
    color: var(--vt-aculco-pwa-text);
    font: inherit;
    font-weight: 800;
    padding: 13px 16px;
    border-radius: 12px;
}

.vt-aculco-pwa-help {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    opacity: .78;
}

.vt-aculco-pwa-steps {
    margin: 0;
    padding-left: 22px;
}

.vt-aculco-pwa-steps li {
    margin-bottom: 10px;
    line-height: 1.45;
}

.vt-aculco-pwa-installed {
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    background: #eef3ec;
}

body.vt-aculco-pwa-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .vt-aculco-pwa-dialog {
        border-radius: 20px;
        padding: 22px 18px;
    }

    .vt-aculco-pwa-floating {
        bottom: 14px;
        right: 14px;
        padding: 11px 15px;
        font-size: 14px;
    }

    .vt-aculco-pwa-floating-left {
        left: 14px;
        right: auto;
    }
}

/* Aislamiento frente a estilos globales del tema/Elementor */
body > .vt-aculco-pwa-floating {
 position:fixed !important; width:auto !important; height:auto !important; min-width:0 !important; max-width:calc(100vw - 40px) !important;
 margin:0 !important; left:20px !important; right:auto !important; bottom:20px !important; top:auto !important;
 display:inline-flex !important; align-items:center !important; justify-content:center !important; box-sizing:border-box !important;
 background:var(--vt-aculco-pwa-accent) !important; color:var(--vt-aculco-pwa-text) !important; border:0 !important; border-radius:999px !important;
 padding:12px 18px !important; font-size:16px !important; font-weight:700 !important; line-height:1.2 !important; text-transform:none !important;
 z-index:2147483000 !important; box-shadow:0 4px 18px rgba(0,0,0,.18) !important; transform:none;
}
@media(max-width:600px){body > .vt-aculco-pwa-floating{left:14px !important;bottom:14px !important;padding:11px 15px !important;font-size:14px !important;}}
