/*
 * GYA shared tokens.
 *
 * Deliberately almost empty of opinion. Slots and a reset, nothing else. A theme that
 * wants a serif, a 4px grid and square corners gets that; a theme that wants a geometric
 * sans, an 8px grid and pill buttons gets that. Neither fights this file.
 *
 * The values below are FALLBACKS only — every theme overrides them on :root.
 */

:root {
	--gya-accent: #1d4ed8;
	--gya-accent-ink: #ffffff;
	--gya-ink: #16191d;
	--gya-ink-muted: #5b636d;
	--gya-surface: #f4f6f8;
	--gya-surface-alt: #ffffff;
	--gya-border: #d3d9df;
	--gya-success: #059669;
	--gya-danger: #dc2626;
	--gya-radius: 0;
	--gya-container: 1200px;
	--gya-gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }

img, svg, video { max-width: 100%; height: auto; }

/* Visible focus. Trade customers use keyboards, and gloves. Non-negotiable. */
:focus-visible {
	outline: 3px solid var( --gya-accent );
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip-path: inset( 50% );
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: .75rem 1rem;
	background: var( --gya-accent );
	color: var( --gya-accent-ink );
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Platform-rendered fragments. Unstyled on purpose — themes own their appearance. */
.gya-sku { display: block; }
.gya-lead-time { margin: .5rem 0; }
.gya-gst-note { font-weight: 400; }

@media ( prefers-reduced-motion: reduce ) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
