:root {
	/* Epazarım v1.0.0 palette — blue / yellow modern e-commerce look. */
	--ep-primary: #1267e8;
	--ep-primary-hover: #0f56c4;
	--ep-primary-dark: #0b2f6b;
	--ep-primary-soft: #eaf3ff;
	--ep-accent: #ffc928;
	--ep-accent-hover: #e6b400;
	--ep-navy: #0b2f6b;
	--ep-navy-light: #1b4d8f;
	--ep-text: #132238;
	--ep-muted: #64748b;
	--ep-background: #f6f9fd;
	--ep-bg: var(--ep-background);
	--ep-bg-soft: #eef4fc;
	--ep-surface: #ffffff;
	--ep-surface-glass: rgba(255, 255, 255, 0.92);
	--ep-border: #d9e4f2;
	--ep-border-light: rgba(255, 255, 255, 0.9);
	--ep-success: #15966f;
	--ep-danger: #dc2626;
	--ep-warning: #92720a;
	--ep-price-secondary: #166534;
	--ep-color-price-secondary: var(--ep-price-secondary);
	--ep-shadow-sm: 0 4px 14px rgba(11, 47, 107, 0.06);
	--ep-shadow-md: 0 14px 35px rgba(11, 47, 107, 0.09);
	--ep-shadow-lg: 0 24px 60px rgba(11, 47, 107, 0.12);
	--ep-radius-sm: 8px;
	--ep-radius-md: 12px;
	--ep-radius-lg: 18px;
	--ep-radius-xl: 24px;
	--ep-container-width: 1560px;
	--ep-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--ep-font-body: Inter, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	/* .ep-header-sticky ≈ main row (76px) + nav row (44px); used to offset sticky elements below it (shop sidebar, etc). */
	--ep-header-height: 128px;

	/*
	 * Legacy variable names used throughout components.css / woocommerce.css
	 * (~6000 lines). Aliasing them to the new palette lets the whole theme
	 * pick up the blue/yellow redesign without a risky file-wide rename.
	 */
	--ep-color-primary: var(--ep-primary);
	--ep-color-primary-hover: var(--ep-primary-hover);
	--ep-color-primary-dark: var(--ep-primary-dark);
	--ep-color-primary-soft: var(--ep-primary-soft);
	--ep-color-secondary: var(--ep-navy-light);
	--ep-color-text: var(--ep-text);
	--ep-color-heading: var(--ep-navy);
	--ep-color-muted: var(--ep-muted);
	--ep-color-background: var(--ep-bg);
	--ep-color-background-soft: var(--ep-bg-soft);
	--ep-color-surface: var(--ep-surface);
	--ep-color-border: var(--ep-border);
	--ep-color-success: var(--ep-success);
	--ep-color-danger: var(--ep-danger);
	--ep-color-warning: var(--ep-warning);
	--ep-color-accent: var(--ep-accent);
	--ep-color-navy: var(--ep-navy);
	--ep-color-navy-soft: var(--ep-navy-light);
}

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

html {
	font-size: 15px;
	-webkit-text-size-adjust: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	overflow-x: hidden;
	background: var(--ep-bg);
	color: var(--ep-text);
	font-family: var(--ep-font-body);
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: 0;
}

body.ep-menu-open,
body.ep-filters-open {
	overflow: hidden;
}

a {
	color: var(--ep-primary-dark);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--ep-primary-hover);
}

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

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

/*
 * Baseline sizing for any input WooCommerce, the theme, or a third-party
 * plugin (e.g. the Bayi Başvurusu form) renders without a more specific
 * theme selector. Excludes checkbox/radio/file/hidden, which must keep
 * their native intrinsic size.
 */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
select,
textarea {
	min-height: 46px;
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--ep-border);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--ep-text);
}

textarea {
	min-height: 100px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--ep-surface);
	border: 1px solid var(--ep-border);
	border-radius: var(--ep-radius-sm);
	box-shadow: var(--ep-shadow-sm);
	color: var(--ep-text);
}

@media (max-width: 767px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
	select,
	textarea {
		min-height: 48px;
		font-size: 16px;
	}
}
