/* Temporary FR interface palette parity. Disable the trial loader to revert. */
:root {
    --us-trial-green:#2cff73;
    --fs-color-secondary:var(--us-trial-green);
    --secondary-color:var(--us-trial-green);
    --wp--preset--color--secondary:var(--us-trial-green);
}
body.us-uk-checkout-preview,
body.us-ro-checkout-preview,
body.us-checkout-steps { --us-checkout-green:var(--us-trial-green); }

/* Only controls and badges that previously used the green accent. */
body .button.secondary:not(.is-outline):not(.is-link),
body button.secondary:not(.is-outline):not(.is-link),
body .badge-inner.new-bubble,
body .badge-inner.new-bubble-auto,
body .wpforms-submit,
body .us-steps-next,
body .us-steps-shipping-host .packeta-widget-button button,
body .us-steps-mobile-checkout,
body.us-cart-layout .checkout-button,
body.us-cart-layout .cart-cross-sells .us-cs-options[open] .us-cs-add,
body.us-account-polish #main .my-account .button,
body #us-mobile-checkout-bar .us-bar-action,
body:is(.us-ro-checkout-preview,.us-uk-checkout-preview,.us-checkout-steps) #place_order,
body.us-checkout-steps .us-steps-mobile-checkout[data-us-final="true"],
body .woocommerce-mini-cart__buttons .checkout {
    background:var(--us-trial-green) !important;
    border-color:var(--us-trial-green) !important;
    color:#000 !important;
}
body .button.secondary:not(.is-outline):not(.is-link):hover,
body .wpforms-submit:hover,
body .us-steps-next:hover,
body .us-steps-shipping-host .packeta-widget-button button:hover,
body .us-steps-mobile-checkout:hover,
body.us-cart-layout .checkout-button:hover,
body.us-cart-layout .cart-cross-sells .us-cs-options[open] .us-cs-add:hover,
body.us-account-polish #main .my-account .button:hover,
body #us-mobile-checkout-bar .us-bar-action:hover,
body:is(.us-ro-checkout-preview,.us-uk-checkout-preview,.us-checkout-steps) #place_order:hover,
body .woocommerce-mini-cart__buttons .checkout:hover {
    background:var(--us-trial-green) !important;
    border-color:var(--us-trial-green) !important;
    color:#000 !important;
    box-shadow:none;
}
body :is(.us-steps-next,.us-steps-mobile-checkout,.checkout-button,.us-bar-action,#place_order) :is(span,i,.amount),
body .button.secondary:not(.is-outline):not(.is-link) :is(span,i),
body .woocommerce-mini-cart__buttons .checkout :is(span,i) { color:inherit !important; }

/* Keep text on light surfaces legible; green remains the accent. */
body p a:not(.button),
body.us-checkout-steps :is(.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper) a,
body .secondary.is-outline,
body .secondary.is-link,
body .secondary-color,
body .us-steps-note a,
body .us-uk-checkout-preview .us-checkout-preview-note a,
body .us-uk-checkout-preview :is(.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper) a,
body.us-account-polish #main .my-account .woocommerce-Address a.edit,
body .us-sale-countdown--product .us-sale-clock b { color:#000 !important; }
body .dark .is-divider { background:var(--us-trial-green) !important; }
body .dark p a:not(.button),
body .dark .secondary-color,
body .us-sale-countdown--header .us-sale-clock b { color:var(--us-trial-green) !important; }
body .secondary.is-outline { border-color:var(--us-trial-green) !important; }
body .secondary.is-outline:hover { background:var(--us-trial-green) !important; color:#000 !important; }
body .section-bg .is-border[style*="rgb(45, 200, 77)"],
body .section-bg .is-border[style*="#2dc84d"],
body .vi-wpvs-option-tooltip { border-color:var(--us-trial-green) !important; }
body span[style*="color: #50b848"],
body span[style*="color:#50b848"] {
    background:var(--us-trial-green);
    color:#000 !important;
}

/* Footer signup keeps its disabled state while adopting the site accent. */
body #footer .us-newsletter-form { --nl-accent:var(--us-trial-green); }
body #footer .us-newsletter-form .button:not(:disabled),
body #footer .us-newsletter-form .button:not(:disabled):hover {
    background:var(--us-trial-green) !important;
    border-color:var(--us-trial-green) !important;
    color:#000 !important;
}
body .us-newsletter-form ::selection { background:var(--us-trial-green); color:#000; }

/* Selection frames belong to the UI, not to the finish artwork. */
body .us-logo-toggle-row .us-logo-toggle[aria-checked="true"] {
    background:var(--us-trial-green) !important;
    border-color:#111 !important;
    color:#000 !important;
}
body.us-guided-product #wrapper .us-coverage-row .vi-wpvs-option-wrap-selected,
body.us-guided-product #wrapper .us-logo-row .vi-wpvs-option-wrap-selected {
    border-color:#111 !important;
}
body.single-product .product-main form.variations_form
:is(.vi-wpvs-variation-wrap-image,.vi-wpvs-variation-wrap-variation_img)
> .vi-wpvs-option-wrap-selected::after { border-color:#111 !important; }
body.single-product .product-main form.variations_form
:is(.vi-wpvs-variation-wrap-image,.vi-wpvs-variation-wrap-variation_img)
.vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected {
    box-shadow:-7px -7px 0 #111,7px 7px 0 #111 !important;
}
body.single-product .product-main form.variations_form
:is(.vi-wpvs-variation-wrap-button,.vi-wpvs-variation-wrap-color)
.vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected { outline-color:#111 !important; }
@media(max-width:767px) {
    body.single-product .product-main form.variations_form
    :is(.vi-wpvs-variation-wrap-image,.vi-wpvs-variation-wrap-variation_img)
    .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected {
        box-shadow:-4px -4px 0 #111,4px 4px 0 #111 !important;
    }
}

body .us-receipt-confirmation { background:var(--us-trial-green); color:#000; }
body .us-receipt-confirmation :is(h1,p),
body .us-receipt .us-receipt-status-icon { color:#000 !important; }
body .us-receipt .us-receipt-status-icon {
    background:var(--us-trial-green) !important;
    border:1px solid #000;
}
body .us-receipt .us-receipt-status-icon svg [fill="#fff"],
body .us-receipt .us-receipt-status-icon svg [fill="#ffffff"] { fill:#000; }
body .us-receipt .us-receipt-status-icon svg [stroke="#fff"],
body .us-receipt .us-receipt-status-icon svg [stroke="#ffffff"] { stroke:#000; }

body #us-store-prompt :focus-visible,
body #us-checkout-rescue :focus-visible { outline-color:#000; }
body ::selection,
body.us-cart-layout ::selection,
body .us-receipt ::selection,
body #us-store-prompt ::selection,
body #us-checkout-rescue ::selection { background:var(--us-trial-green); color:#000; }

/* Coverage and logo controls retain black strokes in every interaction state. */
body.us-guided-product #wrapper :is(.us-coverage-row,.us-logo-row) .vi-wpvs-option-wrap,
body .us-logo-toggle-row .us-logo-toggle {
    border-color:#111 !important;
    outline-color:#111 !important;
}
