/*
Theme Name: Componon
Theme URI: https://componon.com
Description: Thème de la boutique Componon — composants électroniques, cartes de développement et modules. Thème enfant de Twenty Twenty-Five, entièrement piloté par theme.json.
Author: Componon
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Template: twentytwentyfive
Text Domain: componon
Tags: e-commerce, block-patterns, full-site-editing, wide-blocks, accessibility-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Design tokens live in theme.json, not here. This file only carries the few
 * rules that theme.json cannot express: focus behaviour and reduced motion.
 * WooCommerce styling is in assets/css/woocommerce.css, loaded only on shop
 * pages.
 */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var( --wp--preset--color--primary );
	outline-offset: 2px;
	border-radius: 2px;
}

.skip-link:focus {
	background-color: var( --wp--preset--color--base );
	color: var( --wp--preset--color--contrast );
}

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