/*
 * Base layer: applies the tokens to Storefront's markup.
 * Mobile first; desktop rules go in min-width media queries.
 */

body {
	background: var(--as-sand);
	color: var(--as-ink);
	font-family: var(--as-font-body);
	font-size: var(--as-text-base);
	line-height: var(--as-leading);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.site-title,
.woocommerce-loop-product__title {
	font-family: var(--as-font-display);
	color: var(--as-forest);
	line-height: var(--as-leading-tight);
	letter-spacing: -0.01em;
}

a { color: var(--as-green); }
a:hover, a:focus { color: var(--as-green-hover); }

:focus-visible {
	outline: none;
	box-shadow: var(--as-focus);
	border-radius: var(--as-radius-sm);
}

/* Header / footer in forest green */
.site-header,
.site-footer {
	background: var(--as-forest);
	color: var(--as-white);
}
.site-header a,
.site-footer a { color: var(--as-white); }

/* Inputs: big enough to tap, 16px to avoid iOS zoom */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="password"], input[type="number"], select, textarea {
	min-height: var(--as-touch);
	font-size: var(--as-text-base);
	border: 1px solid var(--as-line);
	border-radius: var(--as-radius-sm);
	background: var(--as-surface);
	color: var(--as-ink);
	padding: var(--as-space-2) var(--as-space-3);
}

/* Storefront buttons follow the brand */
button, .button, input[type="submit"], .added_to_cart {
	min-height: var(--as-touch);
	border-radius: var(--as-radius-pill);
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
