
body { 
    --docking-bar-height: 80px;
}
#pix_popup_3215, #pix_popup_3215 .pix-dialog-backdrop  {
    margin-bottom: var(--docking-bar-height) !important;
}


/* Applica l'effetto hover/focus/active sia al pulsante di toggle che a quelli nella modale */
.whatsapp-button.text-white:hover, .whatsapp-button.text-white:focus, .whatsapp-button.text-white:active, .wa-chat-link.text-white:hover, .wa-chat-link.text-white:focus, .wa-chat-link.text-white:active {
    color: #000 !important;
}

#pix_popup_3215 .pix-dialog-inner {
    padding:20px 0
}

#pix_popup_3215 .whatsapp-popup-stores {
    gap:40px
}

#pix_popup_3215 .store {
    position:relative;
    margin-bottom: 30px;
    gap: 10px;
} 

    #pix_popup_3215 .wa-action-wrapper {
        flex-shrink: 0;
        flex-grow: 0;
        width: auto; 
    }


    #pix_popup_3215 .store h6 {
        flex-grow: 1;
        flex-shrink: 1;
        margin-right: 15px; 
        word-wrap: break-word;
    }

    #pix_popup_3215 .store-status-badge {
        right:0;
        font-size: 0.5em;
        letter-spacing: 0;
    }
        #pix_popup_3215 .store-status--closed .store-status-badge::after {
            content: "- lascia un messaggio";
            white-space: nowrap;
        }

@media (max-width: 1024px) {

#pix_popup_3215 .pix-dialog-backdrop  {
    height: 92%;
}

}



@media (min-width: 1025px) {

    body { 
        --docking-bar-height: 61px; 
    }

    header .whatsapp-button {
        position: fixed;
        bottom: 20px;
        right: 23px;
    }

        body:has(dialog[open]) header .whatsapp-button, body:has(dialog.displayed) header .whatsapp-button {
            border-top-lef-radius: 0 !important;
            border-top-right-radius: 0 !important;
        }
    
    #pix_popup_3215 {
         scrollbar-gutter: stable !important;
    }
    #pix_popup_3215 .pix-dialog-container {
        margin: 0;
        position: absolute;
        right: 23px;
        bottom: -0px;
        width: 500px;  
    }


    #pix_popup_3215 .pix-dialog-inner {
        padding: 28px 8px 0;
        border-radius: 20px !important;
        border-bottom-right-radius: 0 !important;
    }

    #pix_popup_3215 .pix-popup-close {
        right: 0;
    }
} 

