/* Shared front-end CTA palette. No changes to icon buttons, text links, swatches or payment-provider buttons. */
:root{--iota-action-primary:#303747;--iota-action-hover:#000;--iota-action-text:#fff}
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) :is(.iota-cx-button,.woocommerce-cart-form button[name=update_cart],.checkout-button,#place_order,.woocommerce-MyAccount-content button[type=submit],.woocommerce-form-login button[type=submit],.woocommerce-form-register button[type=submit],.woocommerce-ResetPassword button[type=submit],.woocommerce-form-pay button[type=submit],.woocommerce-MyAccount-content a.button.pay,.woocommerce-MyAccount-content a.button.add-payment-method):not(.iota-cx-secondary):where(:not([name=update_cart],.iota-cx-notice-link)),
body.iota-cx #yith-ywgc-add-new-gift-card-modal-container .iota-cx-button,
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-content a.button[href*="add-payment-method"],
body.iota-commerce-buttons :is(#grve-theme-wrapper,#iota-commerce-root) #grve-product-area form.cart button.single_add_to_cart_button,
body.iota-commerce-buttons #yith-ywgc-gift-this-product-modal-container button.single_add_to_cart_button,
body.iota-commerce-buttons #iota-edit-gift button.iota-edit-save,
body #iota-edit-gift button.iota-edit-save,
body #yith-ywgc-gift-this-product-modal-container .gift_card_template_button button.single_add_to_cart_button,
body:is(.postid-123561,.iota-gc-product,.yith-ywgc-gift-this-product-modal-opened) #ui-datepicker-div.ywgc-date-picker .ui-datepicker-buttonpane.ui-widget-content button:not(.ui-datepicker-current),
body #grve-cart-area .grve-buttons-wrapper a.grve-checkout-btn,
body.iota-theme-preview .iota-basket-panel .woocommerce-mini-cart__buttons a.checkout,
body.iota-theme-preview .iota-account-panel a.iota-button,
body.iota-theme-preview .iota-product-area .summary form.cart .single_add_to_cart_button,
body.iota-theme-preview :is(#iota-commerce-root,.iota-editorial-page) :is(.wpcf7 input.wpcf7-submit,.gform_wrapper :is(input,button).gform_button),
body.iota-theme-preview :is(.woocommerce-form-track-order,.track_order) button[type=submit],
body.iota-theme-preview .woocommerce :is(.return-to-shop a.button,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button){background-color:var(--iota-action-primary)!important;color:var(--iota-action-text)!important;border-color:var(--iota-action-primary)!important;}
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) :is(.iota-cx-button,.woocommerce-cart-form button[name=update_cart],.checkout-button,#place_order,.woocommerce-MyAccount-content button[type=submit],.woocommerce-form-login button[type=submit],.woocommerce-form-register button[type=submit],.woocommerce-ResetPassword button[type=submit],.woocommerce-form-pay button[type=submit],.woocommerce-MyAccount-content a.button.pay,.woocommerce-MyAccount-content a.button.add-payment-method):not(.iota-cx-secondary):where(:not([name=update_cart],.iota-cx-notice-link)):not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-cx #yith-ywgc-add-new-gift-card-modal-container .iota-cx-button:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-content a.button[href*="add-payment-method"]:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-commerce-buttons :is(#grve-theme-wrapper,#iota-commerce-root) #grve-product-area form.cart button.single_add_to_cart_button:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-commerce-buttons #yith-ywgc-gift-this-product-modal-container button.single_add_to_cart_button:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-commerce-buttons #iota-edit-gift button.iota-edit-save:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body #iota-edit-gift button.iota-edit-save:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body #yith-ywgc-gift-this-product-modal-container .gift_card_template_button button.single_add_to_cart_button:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body:is(.postid-123561,.iota-gc-product,.yith-ywgc-gift-this-product-modal-opened) #ui-datepicker-div.ywgc-date-picker .ui-datepicker-buttonpane.ui-widget-content button:not(.ui-datepicker-current):not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body #grve-cart-area .grve-buttons-wrapper a.grve-checkout-btn:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-theme-preview .iota-basket-panel .woocommerce-mini-cart__buttons a.checkout:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-theme-preview .iota-account-panel a.iota-button:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-theme-preview .iota-product-area .summary form.cart .single_add_to_cart_button:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-theme-preview :is(#iota-commerce-root,.iota-editorial-page) :is(.wpcf7 input.wpcf7-submit,.gform_wrapper :is(input,button).gform_button):not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-theme-preview :is(.woocommerce-form-track-order,.track_order) button[type=submit]:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-theme-preview .woocommerce :is(.return-to-shop a.button,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button):not(:disabled):not([aria-disabled="true"]):is(:hover,:active){background-color:var(--iota-action-hover)!important;color:var(--iota-action-text)!important;border-color:var(--iota-action-hover)!important;}
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) :is(.iota-cx-secondary,.order-again a.button,.iota-cx-content :is(.woocommerce-info,.woocommerce-message)>a.button):not(#place_order):where(:not(.woocommerce-info *,.woocommerce-message *,.woocommerce-error *,.iota-notice-inline *,.iota-notice-actions *,.wc-block-components-notice-banner *)),
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-cart-actions button[name=update_cart],
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-cart-actions .coupon button,
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) :is(.woocommerce-cart-form,form.checkout_coupon,form.woocommerce-form-coupon,.ywgc-enter-code-form,.ywgc-gift-card-form) :is(button[name=apply_coupon],button[name=ywgc_apply_gift_card],button.ywgc_apply_gift_card_button),
body.iota-commerce-buttons :is(#grve-theme-wrapper,#iota-commerce-root) #gift-this-product #give-as-present,
body.single-product #gift-this-product #give-as-present,
body:is(.postid-123561,.iota-gc-product,.yith-ywgc-gift-this-product-modal-opened) #ui-datepicker-div.ywgc-date-picker .ui-datepicker-buttonpane.ui-widget-content button.ui-datepicker-current,
body.iota-commerce-links #grve-cart-area .grve-buttons-wrapper a.grve-view-cart-btn,
body #grve-cart-area .grve-buttons-wrapper a.grve-view-cart-btn,
body.iota-theme-preview .iota-basket-panel .woocommerce-mini-cart__buttons a:not(.checkout){background-color:transparent!important;color:var(--iota-action-primary)!important;border-color:var(--iota-action-primary)!important;}
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) :is(.iota-cx-secondary,.order-again a.button,.iota-cx-content :is(.woocommerce-info,.woocommerce-message)>a.button):not(#place_order):where(:not(.woocommerce-info *,.woocommerce-message *,.woocommerce-error *,.iota-notice-inline *,.iota-notice-actions *,.wc-block-components-notice-banner *)):not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-cart-actions button[name=update_cart]:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-cart-actions .coupon button:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) :is(.woocommerce-cart-form,form.checkout_coupon,form.woocommerce-form-coupon,.ywgc-enter-code-form,.ywgc-gift-card-form) :is(button[name=apply_coupon],button[name=ywgc_apply_gift_card],button.ywgc_apply_gift_card_button):not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-commerce-buttons :is(#grve-theme-wrapper,#iota-commerce-root) #gift-this-product #give-as-present:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.single-product #gift-this-product #give-as-present:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body:is(.postid-123561,.iota-gc-product,.yith-ywgc-gift-this-product-modal-opened) #ui-datepicker-div.ywgc-date-picker .ui-datepicker-buttonpane.ui-widget-content button.ui-datepicker-current:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-commerce-links #grve-cart-area .grve-buttons-wrapper a.grve-view-cart-btn:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body #grve-cart-area .grve-buttons-wrapper a.grve-view-cart-btn:not(:disabled):not([aria-disabled="true"]):is(:hover,:active),
body.iota-theme-preview .iota-basket-panel .woocommerce-mini-cart__buttons a:not(.checkout):not(:disabled):not([aria-disabled="true"]):is(:hover,:active){background-color:var(--iota-action-primary)!important;color:var(--iota-action-text)!important;border-color:var(--iota-action-primary)!important;}
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-cart-actions button[name=update_cart].iota-cx-button:not(#place_order):not(.iota-cx-secondary){background-color:transparent!important;color:var(--iota-action-primary)!important;border-color:var(--iota-action-primary)!important}
body.iota-cx :is(#grve-theme-wrapper,#iota-commerce-root) .iota-cx-cart-actions button[name=update_cart].iota-cx-button:not(#place_order):not(.iota-cx-secondary):not(:disabled):hover{background-color:var(--iota-action-primary)!important;color:#fff!important}
/* Selection is not a CTA, but the selected gift denomination uses the same ink. */
:is(body:is(.postid-123561,.iota-gc-product),#yith-ywgc-gift-this-product-modal-container) .gift-cards-list>button.ywgc-amount-buttons.selected_button{background-color:var(--iota-action-primary)!important;border-color:var(--iota-action-primary)!important;color:#fff!important}
