/* Modules for Presta default css */
.body-desktop-header-style-w-1 .header-top,
.body-desktop-header-style-w-2 .header-top,
.body-desktop-header-style-w-3 .header-top,
.body-desktop-header-style-w-4 .header-top,
.body-desktop-header-style-w-5 .header-top {
    margin-top:0 !important;
}
body:not(.body-desktop-header-style-w-1 ) #header,
body:not(.body-desktop-header-style-w-2 ) #header,
body:not(.body-desktop-header-style-w-3 ) #header,
body:not(.body-desktop-header-style-w-4 ) #header,
body:not(.body-desktop-header-style-w-5 ) #header {
    margin-top:0 !important;
}
#uninstall-popup .modal-content {
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#uninstall-popup .modal-header {
    background-color: #dc3545;
    color: #fff;
    border-bottom: none;
}

#uninstall-popup .modal-footer {
    border-top: none;
}

#uninstall-popup .modal-footer button {
    border-radius: 0;
}

#uninstall-popup .modal-footer button.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

#uninstall-popup .modal-footer button.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* -- Modules for Presta default css -- */


/* CUSTOM WAREHOUSE THEMRE*/
.body-desktop-header-style-w-1 .m4p_barinfofree,
.body-desktop-header-style-w-2 .m4p_barinfofree,
.body-desktop-header-style-w-3 .m4p_barinfofree,
.body-desktop-header-style-w-4 .m4p_barinfofree,
.body-desktop-header-style-w-5 .m4p_barinfofree {
    z-index: 111 !important;
}

    /* -- CUSTOM WAREHOUSE THEMRE*/

.m4p_barinfofree {
    position: fixed;
    z-index: 1030;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.m4p_barinfofree--content {
    text-align: center;
    padding: 10px;
}
.m4p_barinfofree--content p {
    margin-bottom: 0;
}
#close-display-top-bar-m4p {
    position: absolute;
    right: 20px;
    top: 10px;
    background: transparent;
    outline: 0;
    border: 0;
    cursor: pointer;
}

/* Usuwam stare margin-top z headerów, bo powodowały podwójne przesunięcie */
.body-desktop-header-style-w-1 .header-top,
.body-desktop-header-style-w-2 .header-top,
.body-desktop-header-style-w-3 .header-top,
.body-desktop-header-style-w-4 .header-top,
.body-desktop-header-style-w-5 .header-top,
body:not(.body-desktop-header-style-w-1 ) #header,
body:not(.body-desktop-header-style-w-2 ) #header,
body:not(.body-desktop-header-style-w-3 ) #header,
body:not(.body-desktop-header-style-w-4 ) #header,
body:not(.body-desktop-header-style-w-5 ) #header {
    margin-top: 0 !important;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .m4p_barinfofree--content p {
        font-size: 12px !important;
        line-height: 1.3;
    }
    
    .m4p_barinfofree--content {
        padding: 6px 10px;
    }
    
    #close-display-top-bar-m4p {
        right: 10px;
        top: 6px;
        font-size: 12px !important;
    }
    
    #close-display-top-bar-m4p svg {
        width: 0.8em !important;
        height: 0.8em !important;
    }
}

@media (max-width: 480px) {
    .m4p_barinfofree--content p {
        font-size: 11px !important;
        line-height: 1.2;
    }
    
    .m4p_barinfofree--content {
        padding: 4px 8px;
    }
    
    #close-display-top-bar-m4p {
        right: 8px;
        top: 4px;
        font-size: 11px !important;
    }
    
    #close-display-top-bar-m4p svg {
        width: 0.7em !important;
        height: 0.7em !important;
    }
}