/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme for local development
 Author:       Local Development
 Template:     woodmart
 Version:      1.1.1
 Text Domain:  woodmart
*/

/* Brand red #a72b2a; doubled :root outranks the Customizer's html:root override. */
html:root:root {
	--wd-primary-color: #a72b2a;
	--wd-link-color-hover: #a72b2a;
	--btn-accented-bgcolor: #a72b2a;
	--btn-accented-bgcolor-hover: #a72b2a;
	/* Cards, covers and sliders share WoodMart's global rounding. */
	--wd-brd-radius: 4px;
}

/* Preserve card geometry; narrow cards keep a single-line overflow fallback. */
.topika-card-title {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* The configured dark badge background needs a light foreground. */
.wd .product-label.out-of-stock {
	color: #fff;
}

/* Status and emphasis reds follow the brand colour; error/validation reds stay distinct. */
.wd p.stock.out-of-stock,
.wd :is(.required, abbr.required) {
	color: var(--wd-primary-color);
}

.wd p.stock.wd-style-bordered.out-of-stock span {
	border-color: var(--wd-primary-color);
}

.wd p.stock.wd-style-bordered.out-of-stock span::before,
.wd .product-label.featured {
	background-color: var(--wd-primary-color);
}
