/* AJ Cart Drawer 1.3.0 — warstwa stabilizująca. */

/* CTA ma właściwy wygląd także przed hoverem. */
html body .nectar-slide-in-cart .ajdc-checkout-button,
html body .nectar-slide-in-cart a[href*="/zamowienie/"].button,
html body .nectar-slide-in-cart a.checkout.wc-forward {
    background: #15363D !important;
    background-color: #15363D !important;
    background-image: none !important;
    border-color: #15363D !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
}
html body .nectar-slide-in-cart .ajdc-checkout-button:hover,
html body .nectar-slide-in-cart .ajdc-checkout-button:focus,
html body .nectar-slide-in-cart .ajdc-checkout-button:active,
html body .nectar-slide-in-cart a[href*="/zamowienie/"].button:hover,
html body .nectar-slide-in-cart a[href*="/zamowienie/"].button:focus,
html body .nectar-slide-in-cart a[href*="/zamowienie/"].button:active {
    background: #15363D !important;
    background-color: #15363D !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Popup: prawdziwy biały znak ×, niezależny od ikon i pseudo-elementów Salient. */
html body .ajdc-gratis-popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #15363D !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: none !important;
}
html body .ajdc-gratis-popup-close > span {
    display: block !important;
    position: static !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 27px !important;
    font-weight: 400 !important;
    line-height: 32px !important;
    transform: none !important;
    opacity: 1 !important;
}
html body .ajdc-gratis-popup-close::before,
html body .ajdc-gratis-popup-close::after {
    content: none !important;
    display: none !important;
}

/* Mobile zachowuje wyśrodkowany układ znany z pierwotnego snippetu. */
@media (max-width: 767px) {
    html body .nectar-slide-in-cart li.mini_cart_item {
        text-align: center !important;
    }
    html body .nectar-slide-in-cart li.mini_cart_item img {
        object-position: center center !important;
    }
    html body .nectar-slide-in-cart li.mini_cart_item .product-price,
    html body .nectar-slide-in-cart li.mini_cart_item .ajdc-mobile-actions .product-price {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Na desktopie mobilny panel nie może tworzyć drugiej ceny. */
@media (min-width: 768px) {
    html body .nectar-slide-in-cart li.mini_cart_item .ajdc-mobile-actions > .product-price,
    html body .nectar-slide-in-cart li.mini_cart_item .ajdc-line-price {
        display: none !important;
    }
}
