/* Header v6 — cream row + teal accents */

.nebra-h6-topbar {
	width: 100%;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.nebra-h6-topbar__inner {
	max-width: var(--max_width, 1200px);
	margin: 0 auto;
	padding: 8px 16px;
	direction: rtl;
}

.nebra-h6-wrap {
	position: sticky;
	top: 0;
	z-index: 1002;
	width: 100%;
	background: var(--nebra-h6-main-bg, #fbfaf0);
	color: var(--nebra-h6-accent, #004b49);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.25s ease;
}

.nebra-h6-bar {
	max-width: var(--max_width, 1200px);
	margin: 0 auto;
	width: min(96%, 1120px);
	display: grid;
	align-items: center;
	gap: 12px 20px;
	padding: 14px 16px 10px;
	direction: rtl;
}

.nebra-h6-bar--logo-center {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.nebra-h6-bar--logo-center .nebra-h6-bar__brand {
	justify-self: center;
	grid-column: 2;
}

.nebra-h6-bar--logo-center .nebra-h6-bar__tools--start {
	grid-column: 1;
	justify-self: start;
}

.nebra-h6-bar--logo-center .nebra-h6-bar__tools--end {
	grid-column: 3;
	justify-self: end;
}

.nebra-h6-bar--logo-start,
.nebra-h6-bar--logo-end {
	grid-template-columns: auto minmax(0, 1fr);
}

.nebra-h6-bar--logo-start .nebra-h6-bar__brand {
	justify-self: start;
}

.nebra-h6-bar--logo-start .nebra-h6-bar__tools--all {
	justify-self: end;
}

.nebra-h6-bar--logo-end .nebra-h6-bar__tools--all {
	justify-self: start;
}

.nebra-h6-bar--logo-end .nebra-h6-bar__brand {
	justify-self: end;
}

.nebra-h6-bar__tools {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.nebra-h6-bar__tools--all {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.nebra-h6-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 0;
	background: transparent;
	padding: 4px;
	border-radius: 10px;
	color: var(--nebra-h6-accent, #004b49);
	text-decoration: none;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.nebra-h6-ico:hover {
	background: rgba(0, 75, 73, 0.06);
}

.nebra-h6-ico:focus-visible {
	outline: 2px solid var(--nebra-h6-accent, #004b49);
	outline-offset: 2px;
}

.nebra-h6-ico--cart {
	position: relative;
}

.nebra-h6-ico__count {
	position: absolute;
	top: -2px;
	inset-inline-end: -4px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--nebra-h6-accent, #004b49);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.nebra-h6-bar .header-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nebra-h6-bar .header-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.nebra-h6-bar__brand .header-icon {
	width: auto;
	height: auto;
	max-width: min(48vw, 220px);
	max-height: 44px;
}

.nebra-h6-bar__brand .header-icon img {
	max-width: 100%;
	max-height: 44px;
	width: auto;
	height: auto;
}

.nebra-h6-bar__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.nebra-h6-bar__wordmark {
	font-weight: 800;
	font-size: clamp(1.1rem, 3vw, 1.45rem);
	letter-spacing: 0.04em;
	color: var(--nebra-h6-accent, #004b49);
}

.nebra-h6-lang a {
	font-weight: 700;
	font-size: 13px;
	color: var(--nebra-h6-accent, #004b49);
	text-decoration: none;
	padding: 4px 6px;
	border-radius: 6px;
}

.nebra-h6-lang a:hover {
	text-decoration: underline;
}

.nebra-h6-geo {
	font-size: 12px;
}

.nebra-h6-nav {
	max-width: var(--max_width, 1200px);
	margin: 0 auto;
	width: min(96%, 1120px);
	padding: 4px 16px 14px;
	direction: rtl;
}

.nebra-h6-nav .nebra-h6-nav__menu,
.nebra-h6-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 22px;
	font-size: 14px;
	font-weight: 600;
}

.nebra-h6-nav .header-menu-col {
	width: 100%;
	display: flex;
	justify-content: center;
}

.nebra-h6-nav .header-menu-col ul {
	width: 100%;
	justify-content: center;
}

.nebra-h6-nav a {
	color: var(--nebra-h6-accent, #004b49);
	text-decoration: none;
	padding: 4px 2px;
	transition: opacity 0.2s ease;
}

.nebra-h6-nav a:hover,
.nebra-h6-nav a:focus-visible {
	opacity: 0.75;
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (max-width: 640px) {
	.nebra-h6-bar {
		padding-inline: 12px;
		gap: 8px;
	}

	.nebra-h6-bar__tools {
		gap: 10px;
	}

	.nebra-h6-nav ul,
	.nebra-h6-nav .nebra-h6-nav__menu {
		gap: 6px 12px;
		font-size: 13px;
	}
}
