/* UP 2.4.9 — padrão global. Também pode ser usado no CSS global do Elementor.
   up-keep-style no widget/container preserva os botões daquela área.
   up-button permite aplicar o padrão a um botão personalizado.
*/
:root {
  --up-button-color: #585D39;
  --up-button-hover: #008f6d;
  --up-button-radius: 4px;
}
@media screen {
html body :is(
  .elementor .elementor-widget-button .elementor-button,
  .elementor .elementor-form .elementor-button,
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
  .woocommerce ul.products li.product .button,
  .single_add_to_cart_button, .add_to_cart_button,
  .jet-woo-products .jet-woo-product-button .button,
  .jet-woo-builder .button,
  .wc-block-components-button:not(.is-link),
  .wp-block-button .wp-block-button__link,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-new,
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-update,
  .up-cart-quote-button, .b2bking_add_cart_to_purchase_list_button,
  .up-favorite-actions .up-favorite-buy,
  .up-button
):not(:where(
  .remove, .cancel, .up-action-delete, .up-action-clear,
  .show-password-input, .up-favorite-button,
  .b2bking_purchase_list_button_href, .b2bking_download_list_button,
  .up-keep-style, .up-keep-style *
)) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 18px !important;
  background: var(--up-button-color) !important;
  background-image: none !important;
  border: 1px solid var(--up-button-color) !important;
  border-radius: var(--up-button-radius) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  transition: background-color .18s ease, border-color .18s ease;
}
html body :is(
  .elementor .elementor-widget-button .elementor-button,
  .elementor .elementor-form .elementor-button,
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
  .woocommerce ul.products li.product .button,
  .single_add_to_cart_button, .add_to_cart_button,
  .jet-woo-products .jet-woo-product-button .button,
  .jet-woo-builder .button,
  .wc-block-components-button:not(.is-link),
  .wp-block-button .wp-block-button__link,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-new,
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-update,
  .up-cart-quote-button, .b2bking_add_cart_to_purchase_list_button,
  .up-favorite-actions .up-favorite-buy,
  .up-button
):not(:where(
  .remove, .cancel, .up-action-delete, .up-action-clear,
  .show-password-input, .up-favorite-button,
  .b2bking_purchase_list_button_href, .b2bking_download_list_button,
  .up-keep-style, .up-keep-style *
)):hover {
  background: var(--up-button-hover) !important;
  border-color: var(--up-button-hover) !important;
  color: #fff !important;
}
html body :is(
  .elementor .elementor-widget-button .elementor-button,
  .elementor .elementor-form .elementor-button,
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
  .woocommerce ul.products li.product .button,
  .single_add_to_cart_button, .add_to_cart_button,
  .jet-woo-products .jet-woo-product-button .button,
  .jet-woo-builder .button,
  .wc-block-components-button:not(.is-link),
  .wp-block-button .wp-block-button__link,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-new,
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-update,
  .up-cart-quote-button, .b2bking_add_cart_to_purchase_list_button,
  .up-favorite-actions .up-favorite-buy,
  .up-button
):not(:where(
  .remove, .cancel, .up-action-delete, .up-action-clear,
  .show-password-input, .up-favorite-button,
  .b2bking_purchase_list_button_href, .b2bking_download_list_button,
  .up-keep-style, .up-keep-style *
)):focus-visible {
  outline: 3px solid #00634c !important;
  outline-offset: 3px;
}
html body :is(
  .elementor .elementor-widget-button .elementor-button,
  .elementor .elementor-form .elementor-button,
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
  .woocommerce ul.products li.product .button,
  .single_add_to_cart_button, .add_to_cart_button,
  .jet-woo-products .jet-woo-product-button .button,
  .jet-woo-builder .button,
  .wc-block-components-button:not(.is-link),
  .wp-block-button .wp-block-button__link,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-new,
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-update,
  .up-cart-quote-button, .b2bking_add_cart_to_purchase_list_button,
  .up-favorite-actions .up-favorite-buy,
  .up-button
):not(:where(
  .remove, .cancel, .up-action-delete, .up-action-clear,
  .show-password-input, .up-favorite-button,
  .b2bking_purchase_list_button_href, .b2bking_download_list_button,
  .up-keep-style, .up-keep-style *
)):is(:disabled,[aria-disabled="true"],.disabled) {
  opacity: .55 !important;
  cursor: not-allowed;
}
html body :is(
  .elementor .elementor-widget-button .elementor-button,
  .elementor .elementor-form .elementor-button,
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
  .woocommerce ul.products li.product .button,
  .single_add_to_cart_button, .add_to_cart_button,
  .jet-woo-products .jet-woo-product-button .button,
  .jet-woo-builder .button,
  .wc-block-components-button:not(.is-link),
  .wp-block-button .wp-block-button__link,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-new,
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-update,
  .up-cart-quote-button, .b2bking_add_cart_to_purchase_list_button,
  .up-favorite-actions .up-favorite-buy,
  .up-button
):not(:where(
  .remove, .cancel, .up-action-delete, .up-action-clear,
  .show-password-input, .up-favorite-button,
  .b2bking_purchase_list_button_href, .b2bking_download_list_button,
  .up-keep-style, .up-keep-style *
)) :is(.elementor-button-text,.elementor-button-icon) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body :is(
  .elementor .elementor-widget-button .elementor-button,
  .elementor .elementor-form .elementor-button,
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
  .woocommerce ul.products li.product .button,
  .single_add_to_cart_button, .add_to_cart_button,
  .jet-woo-products .jet-woo-product-button .button,
  .jet-woo-builder .button,
  .wc-block-components-button:not(.is-link),
  .wp-block-button .wp-block-button__link,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-new,
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-update,
  .up-cart-quote-button, .b2bking_add_cart_to_purchase_list_button,
  .up-favorite-actions .up-favorite-buy,
  .up-button
):not(:where(
  .remove, .cancel, .up-action-delete, .up-action-clear,
  .show-password-input, .up-favorite-button,
  .b2bking_purchase_list_button_href, .b2bking_download_list_button,
  .up-keep-style, .up-keep-style *
)) .elementor-button-icon svg {
  fill: currentColor;
}
/* Ocupam a largura disponível somente nas vitrines de produtos. */
html body :is(
  .woocommerce ul.products li.product,
  .jet-woo-products .jet-woo-products__item,
  .e-loop-item .elementor-widget-woocommerce-product-add-to-cart
) :is(a.button,button.button):not(.up-favorite-button) {
  width: 100%;
}
html body :is(
  .price, .woocommerce-Price-amount,
  .jet-woo-product-price,
  .wc-block-components-product-price,
  .wc-block-components-product-price__value,
  .wc-block-components-formatted-money-amount,
  .b2bking_bulkorder_form_container_content_line_subtotal,
  .b2bking_bulkorder_form_container_bottom_total
),
html body.woocommerce-cart .woocommerce-cart-form :is(.product-price,.product-subtotal) .amount,
html body.woocommerce-cart .cart_totals .amount,
html body.woocommerce-cart .cart_totals .order-total :is(td,.amount),
html body.woocommerce-cart .wc-block-cart .wc-block-components-product-price,
html body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item {
  color: var(--up-button-color) !important;
  -webkit-text-fill-color: var(--up-button-color) !important;
}
html body :is(.price,.jet-woo-product-price) {
  font-weight: 700;
}
/* Ação de compra dos favoritos mantém suas dimensões de botão de ícone. */
html body .woocommerce-MyAccount-content .up-favorites-panel .up-favorite-actions .up-favorite-cart {
  background: var(--up-button-color) !important;
  border-color: var(--up-button-color) !important;
  border-radius: var(--up-button-radius) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html body .woocommerce-MyAccount-content .up-favorites-panel .up-favorite-actions .up-favorite-cart:hover {
  background: var(--up-button-hover) !important;
  border-color: var(--up-button-hover) !important;
}
/* Preço anterior continua identificável pelo risco e menor destaque. */
html body .price del { opacity: .6; }
html body .price ins { background: transparent; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
html body :is(
  .elementor .elementor-widget-button .elementor-button,
  .elementor .elementor-form .elementor-button,
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
  .woocommerce ul.products li.product .button,
  .single_add_to_cart_button, .add_to_cart_button,
  .jet-woo-products .jet-woo-product-button .button,
  .jet-woo-builder .button,
  .wc-block-components-button:not(.is-link),
  .wp-block-button .wp-block-button__link,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-new,
  .woocommerce-MyAccount-content .b2bking_bulkorder_form_container .up-action-update,
  .up-cart-quote-button, .b2bking_add_cart_to_purchase_list_button,
  .up-favorite-actions .up-favorite-buy,
  .up-button
):not(:where(
  .remove, .cancel, .up-action-delete, .up-action-clear,
  .show-password-input, .up-favorite-button,
  .b2bking_purchase_list_button_href, .b2bking_download_list_button,
  .up-keep-style, .up-keep-style *
)) { transition: none; }
}
}
