/**
 * WCAG AA contrast fixes (4.5:1 minimum for normal text).
 * Loaded after theme.css; targets known Lighthouse failures without a full rebuild.
 */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Warning / disclaimer copy on amber surfaces */
.bg-\[\#FFF1DD\] .text-\[\#AE7018\],
.text-\[\#AE7018\].bg-\[\#FFF1DD\],
.bg-\[\#FFF1DD\] .text-\[\#AE7018\] {
	color: #7a4e0b !important;
}

/* Location / muted meta on white */
.text-\[\#949494\] {
	color: #5f6b7a !important;
}

/* Report seller / subtle UI text */
.text-\[\#9CA1AA\] {
	color: #5f6b7a !important;
}

/* Add-comment CTA text on white */
.text-\[\#7C92B5\] {
	color: #3e557b !important;
}

/* Secondary contact labels */
.text-\[\#A7A7A7\] {
	color: #5f6b7a !important;
}

.text-\[\#7B7B7B\] {
	color: #595959 !important;
}

/* Special seller badge text on translucent amber */
.text-\[\#F4B001\] {
	color: #8a6500 !important;
}

.text-\[\#FFBC29\] {
	color: #8a6500 !important;
}

/* Verified / link blue on white (small text) */
.text-\[\#2196F3\] {
	color: #0b6bcb !important;
}

/* Floating / sticky contact CTA — white text needs darker brand red */
.click-contact,
.omd-cta-contrast,
a.bg-\[\#FF473B\].text-white,
div.bg-\[\#FF473B\].text-white,
button.bg-\[\#FF473B\].text-white,
.ui-slider .ui-slider-handle,
.ui-slider .ui-slider-range {
	background-color: #c62828 !important;
}

.click-contact:hover,
a.bg-\[\#FF473B\].text-white:hover,
div.bg-\[\#FF473B\].text-white:hover {
	background-color: #b71c1c !important;
}

/* Filter chevrons / muted icons */
.text-\[\#999\],
.archive-filter__chevron {
	color: #5f6b7a !important;
}

/* Category rail labels — reinforce primary ink */
.omd-category-rail__label {
	color: #1a1a1a;
}

/* Breadcrumbs + pagination muted text on cream/white */
#breadcrumbs,
#breadcrumbs a,
.pagination,
.pagination a {
	color: #5f6b7a;
}

.pagination a.active,
.pagination a:hover {
	color: #c62828;
}

/* Filter helper / empty states */
.text-\[\#647F8F\],
.text-\[\#7E899B\],
.text-\[\#9FA5AF\] {
	color: #5f6b7a !important;
}

/* Archive product title readability */
.product-card__inner .text-xs {
	color: #1a1a1a;
}

.omd-category-rail__label .text-two-line {
	color: inherit;
}

/* Panel nav muted links */
.user-panel-navigation .nav-link {
	color: #5f6b7a;
}

/* Report modal placeholder-looking textarea text should be readable when typed */
#report-form textarea {
	color: #1a1a1a;
}

#report-form textarea::placeholder {
	color: #5f6b7a;
	opacity: 1;
}
