/**
 * MILIMEV BASE
 * Blocksy'nin global değişkenlerini Milimev token'larına bağlar ve temel tipografiyi kurar.
 * Blocksy Customizer'da renk/font ayarlamak yerine buradaki token'lar esas alınır.
 */

:root {
	/* Blocksy global değişken köprüsü */
	--theme-palette-color-1: var(--color-brand);
	--theme-palette-color-2: var(--color-accent);
	--theme-palette-color-3: var(--color-text);
	--theme-palette-color-4: var(--color-text);
	--theme-palette-color-5: var(--color-border);
	--theme-palette-color-6: var(--color-surface-alt);
	--theme-palette-color-7: var(--color-background);
	--theme-palette-color-8: var(--color-surface);

	--theme-text-color: var(--color-text);
	--theme-link-initial-color: var(--color-text);
	--theme-link-hover-color: var(--color-accent);
	--theme-border-color: var(--color-border);
	--theme-headings-color: var(--color-text);

	--theme-font-family: var(--font-primary);
	--theme-normal-container-max-width: var(--container);
	--theme-narrow-container-max-width: var(--content-width);
	--theme-button-border-radius: var(--radius-sm);
	--theme-form-field-border-radius: var(--radius-sm);
	--theme-button-background-initial-color: var(--color-brand);
	--theme-button-background-hover-color: var(--color-text);
	--theme-button-text-initial-color: var(--color-brand-contrast);
	--theme-button-text-hover-color: var(--color-brand-contrast);
}

body {
	background-color: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-primary);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-secondary);
	font-weight: var(--font-weight-medium);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--color-text);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

::selection {
	background: var(--color-brand);
	color: var(--color-brand-contrast);
}

/* Yardımcı: teknik etiket / SKU / overline */
.mv-overline {
	font-size: var(--text-xs);
	font-weight: var(--font-weight-semibold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.mv-mono {
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.mv-container {
	width: min(100% - (var(--gutter) * 2), var(--container));
	margin-inline: auto;
}

.mv-container--wide {
	width: min(100% - (var(--gutter) * 2), var(--container-wide));
	margin-inline: auto;
}
