/**
 * Twenty Twenty-Three — theme palette → widget tokens.
 *
 * Cascade rung and specificity rationale: includes/skins/global-design.php.
 *
 * Measured on this install — the theme's five theme.json slots:
 *   --wp--preset--color--base       #ffffff  page background
 *   --wp--preset--color--contrast   #000000  headings + body text
 *   --wp--preset--color--primary    #9DFF20  bright lime (its button fill)
 *   --wp--preset--color--secondary  #345C00  dark green
 *   --wp--preset--color--tertiary   #F6F6F6  light surface
 *
 * The two accents are split by what each has to sit on, which is how the theme
 * itself uses them. `primary` is a light lime: as a badge fill it works because
 * the badge text goes to `contrast` — the same pairing the rendered add-to-cart
 * button uses (measured: lime fill, black label). As a 2px selection ring on a
 * white card it would be near-invisible, so the ring and the radio take
 * `secondary` instead.
 *
 * Deliberately not mapped
 * The muted text tokens and `--wffn-bundles-border`: this palette has no muted grey and
 * no border slot, and `contrast` for small print would make the description
 * indistinguishable from the title.
 */
body.wffn-bundles-theme-twentytwentythree .wffn-bundles,
body.wffn-bundles-theme-twentytwentythree .wffn-bundles-portal,
body.wffn-bundles-theme-twentytwentythree .wffn-bundles-variant-modal {
	--wffn-bundles-bg: var(--wp--preset--color--base, #fff);
	--wffn-bundles-bg-active: var(--wp--preset--color--tertiary, #fafafa);
	--wffn-bundles-step-bg: var(--wp--preset--color--tertiary, #f1f2f9);
	--wffn-bundles-thumb-bg: var(--wp--preset--color--tertiary, #fafafa);

	--wffn-bundles-border-active: var(--wp--preset--color--secondary, #353030);
	--wffn-bundles-radio-active: var(--wp--preset--color--secondary, #353030);
	--wffn-bundles-control-accent: var(--wp--preset--color--secondary, #353030);
	--wffn-bundles-progress-fill: var(--wp--preset--color--secondary, #353030);
	--wffn-bundles-connector: var(--wp--preset--color--secondary, #353030);

	--wffn-bundles-badge-bg: var(--wp--preset--color--primary, #353030);
	--wffn-bundles-badge-fg: var(--wp--preset--color--contrast, #fff);

	--wffn-bundles-heading-color: var(--wp--preset--color--contrast, #353030);
	--wffn-bundles-title-color: var(--wp--preset--color--contrast, #353030);
	--wffn-bundles-sale-price-color: var(--wp--preset--color--contrast, #353030);
	--wffn-bundles-control-fg: var(--wp--preset--color--contrast, #353030);
	--wffn-bundles-control-bg: var(--wp--preset--color--base, #fff);
}
