/* Price Splicerz — small hand-written layer on top of theme.json. Keep this file tiny. */

/* Skip link: hidden until focused (WCAG 2.4.1). */
.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
}
.skip-link.screen-reader-text:focus {
	left: 1rem;
	top: 1rem;
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-weight: 700;
	clip: auto;
	width: auto;
	height: auto;
}

/* Visible focus on everything interactive (WCAG 2.4.7 / 2.4.11). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 2px;
}

/* Minimum 24×24 px target size (WCAG 2.5.8). */
:where(button, .wp-element-button, input[type="checkbox"], input[type="radio"], .wp-block-navigation-item__content) {
	min-height: 24px;
	min-width: 24px;
}

/* Respect reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Reserve image space to prevent layout shift (CLS). */
img { height: auto; max-width: 100%; }
