/*
Theme Name:        Elecadi
Description:       Block theme for the Elecadi storefront. Arabic-first (RTL) showroom design; store behaviour lives in inc/.
Author:            XTND
Version:           0.1.0
Requires at least: 6.9
Tested up to:      7.1
Requires PHP:      8.1
Text Domain:       elecadi
*/

/* Global rules that theme.json can't express. Keep component styling in assets/css/. */

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

::selection {
	background: var(--wp--preset--color--gold-soft);
	color: var(--wp--preset--color--ink);
}

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

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