/* KingSoft — czerwone przyciski jako zwykłe prostokąty */
body a.button,
body button.button,
body input.button,
body input[type="submit"],
body .btn,
body .btn-primary,
body a.btn,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce-page a.button,
body .woocommerce-page button.button,
body .woocommerce-page input.button,
body .ftc-account .btn,
body .ftc-account button,
body .woocommerce-MyAccount-content a.button,
body .woocommerce-MyAccount-content button.button,
body .woocommerce-MyAccount-content input.button,
body .single_add_to_cart_button,
body #place_order,
body .checkout-button,
body .ftc-button,
body .button-primary {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    border-radius: 0 !important;
}

body a.button::before,
body a.button::after,
body button.button::before,
body button.button::after,
body input.button::before,
body input.button::after,
body input[type="submit"]::before,
body input[type="submit"]::after,
body .btn::before,
body .btn::after,
body .btn-primary::before,
body .btn-primary::after,
body a.btn::before,
body a.btn::after,
body .woocommerce a.button::before,
body .woocommerce a.button::after,
body .woocommerce button.button::before,
body .woocommerce button.button::after,
body .woocommerce input.button::before,
body .woocommerce input.button::after,
body .single_add_to_cart_button::before,
body .single_add_to_cart_button::after,
body #place_order::before,
body #place_order::after,
body .checkout-button::before,
body .checkout-button::after,
body .ftc-button::before,
body .ftc-button::after,
body .button-primary::before,
body .button-primary::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
}

body a.button > span,
body button.button > span,
body .btn > span,
body .btn-primary > span,
body a.btn > span,
body .woocommerce a.button > span,
body .woocommerce button.button > span,
body .single_add_to_cart_button > span,
body #place_order > span,
body .checkout-button > span,
body .ftc-button > span,
body .button-primary > span {
    display: inline-block !important;
    transform: none !important;
    -webkit-transform: none !important;
}

body .btn-primary,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce-page a.button,
body .woocommerce-page button.button,
body .woocommerce-page input.button,
body .ftc-account .btn,
body .ftc-account button,
body .woocommerce-MyAccount-content a.button,
body .woocommerce-MyAccount-content button.button,
body .woocommerce-MyAccount-content input.button,
body .single_add_to_cart_button,
body #place_order,
body .checkout-button,
body .ftc-button,
body .button-primary {
    background: #e30624 !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
}

body .woocommerce-orders-table a.button.view,
body .woocommerce-form-login button,
body .woocommerce-form-register button,
body .woocommerce-EditAccountForm button,
body .woocommerce-checkout #place_order,
body .ftc-account .login-submit button,
body .ftc-account .btn-primary {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    border-radius: 0 !important;
}

/* KingSoft v1.0.2 — naprawa konfliktu hover przycisku „Kupuję i płacę”.
 * Motyw Osapa ustawia na hover przezroczyste tło i oczekuje tła z ::before,
 * natomiast ta wtyczka celowo usuwa ::before. Dlatego stan hover musi mieć
 * jawne tło na samym przycisku.
 */
body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order,
body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order:focus,
body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order:active {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #e30624 !important;
    background-color: #e30624 !important;
    background-image: none !important;
    border-color: #e30624 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order:hover {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #111b4c !important;
    background-color: #111b4c !important;
    background-image: none !important;
    border-color: #111b4c !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Ten przycisk ma być zwykłym prostokątem, więc pseudo-tła motywu pozostają wyłączone. */
body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order::before,
body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order::after,
body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order:hover::before,
body.woocommerce-checkout
#payment.woocommerce-checkout-payment
#place_order:hover::after {
    display: none !important;
    content: none !important;
}
