/* Candy4Less WCAG 2.1 AA contrast remediation — 2026-07-17.
 * Loaded by c4l-ada-remediation.php with a file-modified cache version.
 * Rules are deliberately narrow because Woodmart loads some component CSS
 * after the child theme stylesheet.
 */

/* Menu and product-category labels: #838383/#a5a5a5 -> #6d6d6d. */
ul.wd-sub-menu li > a.woodmart-nav-link,
ul.wd-cat-sub-menu li > a,
.wd-product-cats a {
	color: #6d6d6d !important;
}

/* Homepage trust marquee and neutral banner subtitles on #f6f8f2. */
.wd-marquee-item,
.banner-subtitle.wd-fontsize-xs:not(.subtitle-color-default),
.elementor-element-f56d1b6 .wd-text-block p,
.elementor-element-f56d1b6 .wd-text-block strong {
	color: #6d6d6d !important;
}

/* Inactive mobile-navigation tab label was rgba(51,51,51,.5) on white. */
.wd-nav-mob-tab .nav-link-text {
	color: #595959 !important;
}

/* Small brand-red text: #f03d34 -> #d32f27. */
.banner-subtitle.subtitle-color-default,
a.woocommerce-terms-and-conditions-link,
.form-row a[id^="wc-local-pickup-plus-date-clear"] {
	color: #d32f27 !important;
}

/* Keep the brand-red CTA background; make its label qualify as large bold text. */
a.btn.btn-color-alt .wd-btn-text,
button.btn.btn-color-alt .wd-btn-text {
	font-size: 19px !important;
	font-weight: 700 !important;
}

/* Mini-cart quantity and small cart button both need normal-text contrast. */
.woocommerce-mini-cart-item .quantity {
	color: #6d6d6d !important;
}

a.button.btn.btn-default.btn-cart {
	background-color: #d32f27 !important;
	color: #fff !important;
}

/* Homepage promo-code badge: white small text needs the darker brand red. */
.elementor-element-bb126d4 > .elementor-widget-container {
	background-color: #d32f27 !important;
}

/* Consent button: dark text passes on CookieYes' orange background. */
button.allow_all_btn.cs_action_btn {
	color: #1f1f1f !important;
}

/* Existing checkout targets, reinforced after Woodmart component CSS. */
.woocommerce form .form-row .optional,
.select2-container .select2-selection__placeholder,
.c4l-apple-cart-note,
span.banner-divider {
	color: #6d6d6d !important;
}

/* Checkout review and pickup labels were #777 on white (4.48:1), just under
 * the normal-text threshold. Keep these selectors inside checkout only. */
.woocommerce-checkout .select2-selection__rendered,
.woocommerce-checkout .cart-product-label,
.woocommerce-checkout .pickup-location-address,
.woocommerce-checkout bdi,
.woocommerce-checkout .woocommerce-Price-currencySymbol,
.woocommerce-checkout em,
.woocommerce-checkout small {
	color: #6d6d6d !important;
}

/* Rating stars and count on pale catalog backgrounds. */
.star-rating,
.wd-product-rating .star-rating {
	color: #8a6d00 !important;
}

/* Product, review, and empty-cart helper text on pale backgrounds. */
.woocommerce-product-details__short-description p,
.c4l-helium-note,
.wd-info-msg,
.wd-rating-summary-total,
.wd-rating-count,
.woocommerce-noreviews,
.woocommerce-verification-required,
.wd-empty-block-text {
	color: #6d6d6d !important;
}

/* Two homepage pickup-promo text widgets inherit a light color without a
 * background image, leaving white text on white. */
.elementor-element-e3a9afa .wd-text-block p,
.elementor-element-7c2f41d .wd-text-block p {
	color: #333 !important;
}
