/* Chicco Accessibility 0.2.0 — contrast fixes (WCAG 2.0 SC 1.4.3, ת"י 5568 AA). Ratios on white. */

/* Standard WordPress screen-reader-text rule. The Matat theme ships none; WooCommerce prints sale
   prices with <span class="screen-reader-text">המחיר המקורי היה…</span> and relied on WC core CSS
   (wc-blocks-rtl.css) for the clipping — WC 11.x no longer loads it on these pages, so the text
   shows and stretches product cards. :focus un-clips for keyboard users (skip links etc.). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Struck-through "was" price: theme #a9a9a9 = 2.35:1 → #707070 = 5.0:1 */
.price del,
.price del .woocommerce-Price-amount,
.price del bdi {
	color: #707070 !important;
}

/* Red discount-tier lines typed into product short descriptions: #ff0000 = 3.99:1 → #c40000 = 5.9:1, still red */
.woocommerce-product-details__short-description [style*="color: #ff0000"],
.woocommerce-product-details__short-description [style*="color:#ff0000"],
.woocommerce-product-details__short-description [style*="color: #FF0000"] {
	color: #c40000 !important;
}

/* Add-to-cart: white on brand green #81c443 = 2.1:1. Theme dark green text on the same green = 8.9:1.
   Hover/focus left to the theme so its hover state is untouched — review on stg. */
.single_add_to_cart_button:not(:hover):not(:focus) {
	color: #001d01 !important;
	font-weight: 600;
}

/* Skip link: unmistakable when it receives focus. */
#pojo-a11y-skip-content:focus {
	outline: 3px solid #001d01;
	outline-offset: 2px;
}

/* Statement link inside the toolbar: inherits the theme's row padding (10px 15px, 80% font); just make it read as a link. */
#pojo-a11y-toolbar .ca11y-statement-item a {
	text-decoration: underline;
}
