.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #ffffff;
	backdrop-filter: blur(8px);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.site-header .container {
	max-width: 1200px;
	width: 100%;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px 0;
	flex-wrap: wrap;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	font-size: 18px;
	color: #0f172a;
	flex-shrink: 0;
}

.logo img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.header-center {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.nav-pill {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	background: #f5f7fb;
	border: 1px solid #e5e8ef;
	border-radius: 999px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 20px rgba(15, 23, 42, 0.06);
	font-weight: 600;
	color: #4b5563;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.nav-pill::-webkit-scrollbar {
	display: none;
}

.nav-pill a {
	padding: 10px 14px;
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.nav-pill a:hover,
.nav-pill a:focus {
	color: #0f172a;
}

.nav-pill a.active {
	background: #ffffff;
	border: 1px solid #e5e8ef;
	color: #0f172a;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid #e5e8ef;
	background: #ffffff;
	font-weight: 700;
	color: #1f2937;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.lang-toggle img {
	width: 18px;
	height: 18px;
}

@media (max-width: 1100px) {
	.nav-pill {
		padding: 6px 8px;
		gap: 6px;
	}
}

@media (max-width: 900px) {
	.header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.header-center {
		justify-content: flex-start;
		width: 100%;
	}

	.nav-pill {
		width: 100%;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.nav-actions {
		/* width: 100%; */
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.logo {
		font-size: 16px;
	}

	.logo img {
		width: 38px;
		height: 38px;
	}

	.nav-pill a {
		padding: 8px 10px;
		font-size: 14px;
	}

	.header-inner {
		align-items: stretch;
	}

	.nav-pill {
		gap: 8px;
		padding: 8px 10px;
	}

	.nav-actions {
		justify-content: flex-end;
		/* width: 100%; */
	}
}

@media (max-width: 768px) {
	.site-header {
		box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
	}

	.header-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 12px 0;
		width: 100%;
		gap: 12px;
	}

	.header-center {
		display: none;
	}

	.logo img {
		width: 42px;
		height: 42px;
	}

	.logo span {
		font-size: 17px;
		font-weight: 700;
	}

	.lang-toggle {
		padding: 8px 14px;
		gap: 8px;
		font-size: 14px;
		border-radius: 12px;
		box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
		margin-left: auto;
	}

	.lang-toggle img {
		width: 16px;
		height: 16px;
	}
}
