/* Mayobook unified interactive palette · 2026-11-22
 * Mayobook-owned presentation only. Never style third-party wallet buttons,
 * Stripe payment iframe fields, or WooCommerce transactional logic. */
:root{--mb-brand-emerald:#005b49;--mb-brand-emerald-hover:#00715b;--mb-brand-sage:#eaf5ee;--mb-brand-sage-border:#bddbcc;--mb-brand-gold:#e5b65a;--mb-brand-ink:#153f43;--mb-brand-focus:#14765e}
body.mbpc-preview{--mbpc-accent:#005b49!important;--mbpc-blue-dark:#004d40!important}
body.mbpc-preview :is(.mbpc-filled .cart-collaterals .wc-proceed-to-checkout a.checkout-button,.mbpc-recommendations .mbfe-commerce-card__btn,.mbpc-empty>.woocommerce p.return-to-shop a.button,.mbpc-edition-cta,.mbpc-mobile-checkout>a){
 background:#005b49!important;background-image:none!important;border-color:#005b49!important;color:#fff!important;
 box-shadow:0 6px 16px rgba(0,80,62,.12)!important}
body.mbpc-preview :is(.mbpc-filled .cart-collaterals .wc-proceed-to-checkout a.checkout-button,.mbpc-recommendations .mbfe-commerce-card__btn,.mbpc-empty>.woocommerce p.return-to-shop a.button,.mbpc-edition-cta,.mbpc-mobile-checkout>a):is(:hover,:active){
 background:#00715b!important;border-color:#00715b!important;color:#fff!important}
body.mbpc-preview :is(.mbpc-reco-link,.mbpc-recommendations a:not(.mbfe-commerce-card__btn),.mbpc-preview a.mbpc-link):is(:hover,:focus-visible){
 color:#005b49!important;background-color:#eaf5ee!important}
body.mbpc-preview :is(.mbpc-recommendations .mbfe-commerce-card__btn,.mbpc-filled .cart-collaterals .wc-proceed-to-checkout a.checkout-button):focus-visible{
 outline:2px solid #14765e!important;outline-offset:3px!important}
body.mbpc-preview :is(.woocommerce-cart-form input:not([type=hidden]),.woocommerce-cart-form select,.woocommerce-cart-form button):focus-visible{
 outline:2px solid #14765e!important;outline-offset:2px!important}
body.mbpc-preview .mbpc-recommendations .mbpc-reco-link{color:#075847!important;background:#eaf5ee!important;border-color:#bddbcc!important}
body.mbck-preview{--mbck-blue:#005b49!important;--mbck-deep:#153f43!important}
body.mbck-preview .mbck-checkout-host .wc-block-components-checkout-place-order-button{
 background:#005b49!important;background-image:none!important;border-color:#005b49!important;color:#fff!important;
 box-shadow:0 7px 17px rgba(0,80,62,.13)!important}
body.mbck-preview .mbck-checkout-host .wc-block-components-checkout-place-order-button:is(:hover,:active){
 background:#00715b!important;border-color:#00715b!important;color:#fff!important}
body.mbck-preview :is(.mbck-step--active,.mbck-step--done .mbck-step-bubble,.mbck-overline,.mbck-topline .mbck-progress a.mbck-step--link .mbck-step-bubble){
 color:#005b49!important}
body.mbck-preview .mbck-step--active .mbck-step-bubble{
 background:#005b49!important;border-color:#005b49!important;color:#fff!important}
body.mbck-preview :is(.mbck-topline .mbck-progress a.mbck-step--link:hover,.mbck-topline .mbck-progress a.mbck-step--link:focus-visible){
 color:#005b49!important;background:#eaf5ee!important;border-color:#bddbcc!important}
body.mbck-preview .mbck-shield{color:#005b49!important;background:#eaf5ee!important;border-color:#bddbcc!important}
body.mbck-preview .mbck-shell :is(a,button,input,select,textarea):focus-visible:not(.wc-block-components-express-payment__event-buttons *){
 outline:2px solid #14765e!important;outline-offset:3px!important}
body.mbck-preview .mbck-checkout-host .wc-block-components-payment-methods .wc-block-components-radio-control__option:has(input:checked){
 border-color:#78b49b!important;background:#eff8f1!important;
 box-shadow:0 0 0 1px rgba(0,90,73,.10)!important}
body.mbck-preview .mbck-checkout-host .wc-block-components-sidebar .wc-block-components-checkout-order-summary__title-open-close{
 color:#005b49!important}
body.mbck-preview .mbck-checkout-host :is(.wc-block-components-totals-coupon__button,.wc-block-components-checkout-step__heading-button):not(:disabled):is(:hover,:focus-visible){
 color:#005b49!important;border-color:#bddbcc!important}
body .mbcf-progress strong,body .mbcf-eyebrow,body .mbcf-note svg{color:#005b49!important}
body .mbcf-icon{background:#eaf5ee!important;color:#005b49!important}
body .mbcf-actions .mbcf-primary{
 background:#005b49!important;background-image:none!important;color:#fff!important;
 box-shadow:0 8px 18px rgba(0,80,62,.12)!important}
body .mbcf-actions .mbcf-primary:is(:hover,:focus-visible){
 background:#00715b!important;color:#fff!important}
body :is(.mbcf-actions a,.mbcf-actions button):focus-visible{
 outline:2px solid #14765e!important;outline-offset:3px!important}
/* Shared editorial and shop calls to action, excluding third-party payments.
 * Do not change page content, card thumbnails, navigation or provider branding. */
body:not(.wp-admin):not(.mbpc-preview):not(.mbck-preview) :is(.wp-block-button__link,.gb-button):not(.is-style-outline):not([class*="paypal"]):not([class*="stripe"]):not([class*="amazon"]):not([class*="apple-pay"]):not([class*="google-pay"]){
 background-color:#005b49!important;background-image:none!important;color:#fff!important;
 border-color:#005b49!important}
body:not(.wp-admin):not(.mbpc-preview):not(.mbck-preview) :is(.wp-block-button__link,.gb-button):not(.is-style-outline):not([class*="paypal"]):not([class*="stripe"]):not([class*="amazon"]):not([class*="apple-pay"]):not([class*="google-pay"]):is(:hover,:active){
 background-color:#00715b!important;border-color:#00715b!important;color:#fff!important}
body:not(.wp-admin) :is(.wp-block-button__link,.gb-button):focus-visible{
 outline:2px solid #14765e!important;outline-offset:3px!important}
/* Product purchase controls: limited to the store's own Add-to-Cart / Buy Now. */
body.single-product :is(.single_add_to_cart_button,.mb-product-amazon-buy-now):not(:disabled){
 background-color:#005b49!important;border-color:#005b49!important;color:#fff!important}
body.single-product :is(.single_add_to_cart_button,.mb-product-amazon-buy-now):not(:disabled):hover{
 background-color:#00715b!important;border-color:#00715b!important;color:#fff!important}
@media(prefers-reduced-motion:reduce){
 body.mbpc-preview :is(.mbpc-edition-cta,.mbpc-mobile-checkout>a),
 body.mbck-preview .wc-block-components-checkout-place-order-button{transition:none!important}
}


/* Shared Mayobook editorial CTAs and homepage / archive entry points. */
body:not(.wp-admin) :is(
 .mbfe-premium-hero__actions .mbfe-btn--primary,
 .mb-shop-hero-v2__button--primary,
 .mbca-btn,
 .mbfe-work-card__cta,
 .mbfe-v212-buy-now,
 .mb-product-buy-now,
 .mbfe-btn.mbfe-btn-primary
):not(:disabled){
 background-color:#005b49!important;
 background-image:none!important;
 border-color:#005b49!important;
 color:#fff!important;
}
body:not(.wp-admin) :is(
 .mbfe-premium-hero__actions .mbfe-btn--primary,
 .mb-shop-hero-v2__button--primary,
 .mbca-btn,
 .mbfe-work-card__cta,
 .mbfe-v212-buy-now,
 .mb-product-buy-now,
 .mbfe-btn.mbfe-btn-primary
):not(:disabled):is(:hover,:active){
 background-color:#00715b!important;
 border-color:#00715b!important;
 color:#fff!important;
}
body:not(.wp-admin) :is(
 .mbfe-homepage-section__cta,
 .mbfe-homepage-audiobooks__browse,
 .mb-shop-audio-v2__browse,
 .mbfe-shared-audio__browse,
 .mbca-card-cta,
 .mb-blog-continue-card__link
):is(:hover,:focus-visible){
 color:#005b49!important;
 border-color:#b9d9c7!important;
 background-color:#eaf5ee!important;
}
body:not(.wp-admin) :is(
 .mbfe-premium-hero__actions .mbfe-btn--primary,
 .mb-shop-hero-v2__button--primary,
 .mbca-btn,.mbca-card-cta,
 .mbfe-work-card__cta,.mbfe-v212-buy-now,
 .mb-product-buy-now,.mbfe-btn.mbfe-btn-primary
):focus-visible{
 outline:2px solid #14765e!important;
 outline-offset:3px!important;
}


/* Regression repair: preserve full-height button geometry in homepage book cards.
 * The global palette must never leave CTA links as text-height strips. */
body.home .mbfe-work-card .mbfe-work-card__body > a.mbfe-work-card__cta,
body.home .mbfe-work-card a.mbfe-work-card__cta {
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 box-sizing:border-box!important;
 width:100%!important;
 min-width:0!important;
 min-height:39px!important;
 height:auto!important;
 margin-top:auto!important;
 padding:10px 12px!important;
 border:1px solid #005b49!important;
 border-radius:9px!important;
 background:#005b49!important;
 background-image:none!important;
 color:#fff!important;
 text-align:center!important;
 text-decoration:none!important;
 text-transform:none!important;
 font:750 12px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
 letter-spacing:0!important;
 white-space:normal!important;
 overflow:visible!important;
 box-shadow:none!important;
}
body.home .mbfe-work-card a.mbfe-work-card__cta:is(:hover,:active){
 background:#00715b!important;
 border-color:#00715b!important;
 color:#fff!important;
}
body.home .mbfe-work-card a.mbfe-work-card__cta:focus-visible{
 outline:2px solid #14765e!important;
 outline-offset:3px!important;
}
@media(max-width:650px){
 body.home .mbfe-work-card a.mbfe-work-card__cta {
  min-height:40px!important;
  padding:9px 8px!important;
  font-size:11px!important;
 }
}
