/**
 * Styles shared by both sites. Anything that differs per site stays in style.css.
 */

/* Cart and checkout (also the order received page) have no footer. */
body.woocommerce-cart footer,
body.woocommerce-checkout footer {
    display: none;
}

/* Sliding mini cart: the button spans the full width. */
.widget_shopping_cart .woocommerce-mini-cart__buttons .th-btn {
    display: flex;
    width: 100%;
    margin-right: 0;
    justify-content: center;
    box-sizing: border-box;
}

/* Cart and checkout: large action buttons. */
a.checkout-button, button#place_order {
    padding: 30px 50px;
    font-size: 20px;
}
button#place_order {
    padding: 25px 60px;
    margin-top: 20px;
}

/* Header: panel koszyka i okno wyszukiwania są w motywie ukryte poniżej 992px. */
.sidemenu-wrapper.d-none.d-lg-block,
.popup-search-box.d-none.d-lg-block {
    display: block !important;
}

/* Panel koszyka na wąskich ekranach: nie szerszy niż ekran. */
@media (max-width: 575.98px) {
    .sidemenu-wrapper .sidemenu-content {
        width: min(450px, 100vw);
        box-sizing: border-box;
        padding: 80px 20px;
    }
}

/* Lista kategorii (Elementor): wiersz ma ujemne marginesy, a kontener nie ma paddingu - bez tego strona przewija się w poziomie. */
.elementor-widget-eduracatlist {
    overflow-x: clip;
}
