/* Baby & Kids — a soft coral palette with separate readable text colors. */
:root {
	--ml-pink: #fcaeac;
	--ml-pink-hover: #e99593;
	--ml-light-pink: #fff1f0;
	--ml-pink-sides: #f9d5d3;
	--ml-pink-text: #824846;
	--ml-pink-ink: #553332;
}

body.ml-shop-theme-baby-kids,
.ml-shop-theme-baby-kids,
:is(.ml-shop-infinite, .ml-filters, .ml-filter-toggle, .ml-filter-popup, .ml-filter-popup__panel):is([data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) {
	--ml-green: var(--ml-pink);
	--ml-green-hover: var(--ml-pink-hover);
	--ml-light-green: var(--ml-light-pink);
	--ml-green-sides: var(--ml-pink-sides);
	--ml-orange: var(--ml-pink-sides);
	--ml-gold: var(--ml-pink-text);
	--ml-primary: var(--ml-pink);
	--ml-primary-hover: var(--ml-pink-hover);
	--ml-primary-light: var(--ml-light-pink);
	--ml-primary-sides: var(--ml-pink-sides);
	--ml-accent: var(--ml-pink-sides);
	--ml-rating: var(--ml-pink-text);
	/* Favorites defines its aliases on :root, where they resolve to green.
	   Rebind them here so header and product hearts follow this storefront. */
	--mlf-primary: var(--ml-pink);
	--mlf-primary-hover: var(--ml-pink-text);
	--mlf-primary-light: var(--ml-light-pink);
	--mlf-border: var(--ml-pink-sides);
}

/* Explicit theme scope beats copied page CSS that hard-codes the blue palette. */
:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) .ml-product-price,
:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) .ml-product-price *,
:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) .ml-product-price ins,
:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) .ml-product-price ins * {
	color: var(--ml-pink-text) !important;
}

:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) :is(.ml-new-badge, .ml-sale-badge, .ml-product-cart-button .button, .ml-qty-control button, .ml-filter-button, .ml-reset-filters, .ml-pagination .current, .ml-pagination .page-numbers:hover) {
	color: var(--ml-pink-ink) !important;
}

:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) :is(.ml-product-cart-button .button, .ml-filter-button, .ml-reset-filters):is(:hover, :focus-visible) {
	background: var(--ml-pink-hover) !important;
	border-color: var(--ml-pink-hover);
	color: var(--ml-pink-ink) !important;
}

:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) .ml-filter-item input {
	accent-color: var(--ml-pink-text) !important;
}

:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) .ml-filter-popup__header {
	background: var(--ml-light-pink);
	border-color: var(--ml-pink-sides);
}

/* Keep borders in step with copied Divi filter and pagination rules. */
:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) :is(.ml-pagination .page-numbers, .ml-filter-button) {
	border-color: var(--ml-pink) !important;
}

/* Copied men's-page rules set these backgrounds directly to --ml-blue. */
:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) :is(.ml-new-badge, .ml-product-cart-button .button, .ml-filter-button, .ml-pagination .page-numbers:hover, .ml-pagination .current) {
	background: var(--ml-pink) !important;
}

:is(body.ml-shop-theme-baby-kids, .ml-shop-theme-baby-kids, [data-config="baby-products"], [data-config="baby-kids"], [data-config="baby-and-kids"]) :is(.ml-product-cart-button .button, .ml-filter-button):is(:hover, :focus-visible) {
	background: var(--ml-pink-hover) !important;
}

body.ml-shop-theme-baby-kids .mlf-header-count,
body.ml-shop-theme-baby-kids .mlf-button {
	color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids .mlf-button:is(:hover, :focus-visible) {
	background: var(--ml-pink-hover) !important;
	border-color: var(--ml-pink-hover) !important;
	color: var(--ml-pink-ink) !important;
}

/* Product Pages consumes the shared palette, with a darker color for links. */
body.ml-shop-theme-baby-kids .mlpp {
	--mlpp-primary: var(--ml-pink);
	--mlpp-primary-hover: var(--ml-pink-text);
	--mlpp-primary-light: var(--ml-light-pink);
	--mlpp-primary-sides: var(--ml-pink-sides);
	--mlpp-line: var(--ml-pink-sides);
	--mlpp-panel: #fff8f7;
	--mlpp-gold: var(--ml-pink-text);
}

body.ml-shop-theme-baby-kids .mlpp__breadcrumb a:is(:hover, :focus-visible) {
	color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids .mlpp .mlpp__cart .button,
body.ml-shop-theme-baby-kids .mlpp .mlpp__cart .single_add_to_cart_button,
body.ml-shop-theme-baby-kids .mlpp .mlpp__accordion-content #review_form .submit,
body.ml-shop-theme-baby-kids .mlpp-made-to-order-dialog__confirm {
	background: var(--ml-pink) !important;
	border-color: var(--ml-pink) !important;
	color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids .mlpp .mlpp__cart .button:is(:hover, :focus-visible),
body.ml-shop-theme-baby-kids .mlpp .mlpp__cart .single_add_to_cart_button:is(:hover, :focus-visible),
body.ml-shop-theme-baby-kids .mlpp .mlpp__accordion-content #review_form .submit:is(:hover, :focus-visible),
body.ml-shop-theme-baby-kids .mlpp-made-to-order-dialog__confirm:is(:hover, :focus-visible) {
	background: var(--ml-pink-hover) !important;
	border-color: var(--ml-pink-hover) !important;
	color: var(--ml-pink-ink) !important;
}

/* Override Divi's fixed footer colors, including nested heading modules. */
body.ml-shop-theme-baby-kids #page-container .footer-hero,
body.ml-shop-theme-baby-kids #page-container #et-boc .footer-hero,
body.ml-shop-theme-baby-kids .footer-hero {
	background-color: var(--ml-pink) !important;
	color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids .footer-hero :is(h1, h2, h3, h4, h5, h6, p, .et_pb_text_inner, .et_pb_module_header) {
	color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids .footer-hero .footer-hero-button,
body.ml-shop-theme-baby-kids #page-container .footer-hero .footer-hero-button,
body.ml-shop-theme-baby-kids #page-container #et-boc .footer-hero .footer-hero-button {
	background: var(--ml-light-pink) !important;
	border-color: var(--ml-light-pink) !important;
	color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids .footer-hero .footer-hero-button:is(:hover, :focus-visible),
body.ml-shop-theme-baby-kids #page-container .footer-hero .footer-hero-button:is(:hover, :focus-visible),
body.ml-shop-theme-baby-kids #page-container #et-boc .footer-hero .footer-hero-button:is(:hover, :focus-visible) {
	background: #fffaf9 !important;
	border-color: #fffaf9 !important;
	color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids #page-container .footer-hero .footer-hero-button:focus-visible,
body.ml-shop-theme-baby-kids #page-container #et-boc .footer-hero .footer-hero-button:focus-visible {
	outline-color: var(--ml-pink-ink) !important;
}

body.ml-shop-theme-baby-kids .footer-social-icon:is(:hover, :focus-visible)::before {
	color: var(--ml-pink-text) !important;
}
