:root {
	--mh-brand: #1c69d4;
	--mh-brand-deep: #1a1a1a;
	--mh-accent: #1c69d4;
}

.mh-header,
.mh-header *,
.mh-catbar,
.mh-catbar * {
	box-sizing: border-box;
}

.mh-header {
	background: #fff;
}

.mh-header a {
	text-decoration: none;
}

/* wider header containers so the category row fits on one line */
.mh-topbar > .container,
.mh-mainbar > .container,
.mh-catbar > .container {
	max-width: 1440px;
}

/* topbar */

.mh-topbar {
	background: var(--mh-brand-deep);
	color: #fff;
	font-size: 12px;
}

.mh-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 7px 0;
}

.mh-topbar__badge {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mh-topbar__badge-text--short {
	display: none;
}

.mh-topbar__right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.mh-topbar__perk {
	display: flex;
	align-items: center;
	gap: 6px;
	opacity: .9;
}

.mh-topbar__contact {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 6px;
}

.mh-topbar__contact:hover {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.mh-topbar__perk--hide-mobile {
		display: none;
	}
}

/* main bar */

.mh-mainbar {
	background: #fff;
	border-bottom: 1px solid #eef1f4;
}

.mh-mainbar__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	padding: 14px 0;
}

.mh-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	max-width: 230px;
}

.mh-logo__img {
	height: 46px;
	width: auto;
	display: block;
}

.mh-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	font-family: 'Saira Condensed', sans-serif;
}

.mh-logo__title {
	font-weight: 700;
	font-size: 15px;
	color: var(--mh-brand-deep);
	text-transform: uppercase;
	letter-spacing: .5px;
}

.mh-logo__subtitle {
	font-size: 11px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.mh-search {
	flex: 1 1 320px;
	order: 2;
}

.mh-search__form {
	display: flex;
	align-items: stretch;
	height: 56px;
	border: 2px solid var(--mh-brand);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.mh-search__select {
	border: 0;
	border-right: 1px solid #e5e7eb;
	background: #f8f9fa;
	padding: 0 10px;
	font-size: 13px;
	max-width: 190px;
	color: #333;
}

.mh-search__input-wrapper {
	flex: 1;
	display: flex;
}

/* reset old .input-search styles so text + placeholder show */
.mh-search__input,
.mh-search__input.input-search {
	border: 0 !important;
	flex: 1;
	width: 100% !important;
	height: 100%;
	padding: 0 14px !important;
	margin: 0 !important;
	font-size: 15px !important;
	color: #333 !important;
	background: #fff !important;
	background-image: none !important;
	text-indent: 0 !important;
	display: block !important;
	outline: none;
}

.mh-search__input::placeholder {
	color: #8a97a3 !important;
	opacity: 1 !important;
}

.mh-search__submit {
	border: 0;
	background: var(--mh-brand);
	color: #fff;
	width: 56px;
	flex: 0 0 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mh-search__submit i {
	color: #fff;
}

.mh-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
	order: 3;
}

.mh-actions__account {
	display: flex;
}

/* account + cart as equal, centred icon+label columns */
.mh-actions__btn,
.mh-cart {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 62px;
	height: 52px;
	background: none;
	border: 0;
	padding: 0;
	color: var(--mh-brand-deep);
	cursor: pointer;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .2px;
}

.mh-actions__icon,
.mh-cart__icon {
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
}

.mh-cart {
	position: relative;
}

.mh-cart::after {
	content: "Koszyk";
}

.mh-cart__count {
	position: absolute;
	top: -2px;
	right: 4px;
	background: var(--mh-accent);
	color: #fff;
	font-size: 11px;
	line-height: 1;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	font-weight: 600;
}

/* CTA "Zapytaj o części" — secondary action, brand blue (red is reserved for shop CTAs) */
.mh-actions__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	background: var(--mh-brand);
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .3px;
	padding: 13px 22px;
	line-height: 1;
	white-space: nowrap;
}

.mh-actions__cta:hover,
.mh-actions__cta:focus {
	background: var(--mh-brand);
	color: #fff;
	opacity: .92;
}

/* category bar + mega menu */

.mh-catbar {
	background: var(--mh-brand);
	position: relative;
	overflow: visible;
}

.mh-catbar__inner {
	display: flex;
	align-items: stretch;
	padding-left: 0;
	overflow: visible;
}

.mh-catbar__panel {
	display: contents;
}

.mh-catbar__toggle {
	background: rgba(255, 255, 255, .12);
	border: 0;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	font-family: 'Saira Condensed', sans-serif;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .5px;
	cursor: pointer;
	flex: 0 0 auto;
}

.mh-catbar__toggle-icon {
	display: none;
	flex-direction: column;
	gap: 3px;
	width: 18px;
}

.mh-catbar__toggle-icon span {
	display: block;
	height: 2px;
	background: #fff;
	border-radius: 1px;
}

.mh-catbar__list {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
	width: 100%;
	overflow: visible;
}

.mh-cat-close-row {
	display: none;
}

.mh-cat-item {
	position: relative;
}

.mh-cat-link {
	display: flex;
	align-items: center;
	gap: 3px;
	color: #fff;
	padding: 0 6px;
	line-height: 40px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0;
	white-space: nowrap;
}

.mh-catbar .mh-cat-link:hover,
.mh-catbar .mh-cat-item:hover > .mh-cat-link,
.mh-catbar .mh-cat-item.mh-open > .mh-cat-link {
	background: rgba(255, 255, 255, .14);
	color: #1a1a1a !important;
}
/* neutralizacja niebieskiego a:hover Bootstrapa w pasku kategorii */
.mh-catbar a:hover{color:#1a1a1a !important}
/* hover ikon Logowanie/Koszyk -> czerwień marki */
.mh-actions__item:hover,.mh-actions__btn:hover,.mh-cart:hover{color:var(--mh-brand) !important}


.mh-mega {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	width: 640px;
	max-width: 92vw;
	background: #fff;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
	border-top: 3px solid var(--mh-accent);
	z-index: 60;
}

.mh-mega--right {
	left: auto;
	right: 0;
}

.mh-mega__inner {
	display: block;
	padding: 22px 24px;
}

.mh-mega__cols {
	column-count: 3;
	column-gap: 26px;
}

@media (min-width: 992px) and (max-width: 1150px) {
	.mh-mega {
		width: 460px;
	}

	.mh-mega__cols {
		column-count: 2;
	}
}

.mh-mega__col {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	display: block;
	margin: 0 0 16px;
}

.mh-mega__col-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 13.5px;
	color: var(--mh-brand-deep);
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 2px solid #eef1f4;
}

.mh-mega__col-title--link {
	border-bottom: 0;
	margin-bottom: 6px;
	padding-bottom: 0;
}

.mh-mega__col-title--link:hover {
	color: var(--mh-brand);
}

.mh-mega__col-title-caret {
	display: none;
}

.mh-mega__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mh-mega__link {
	display: block;
	padding: 6px 0;
	color: #333;
	font-size: 13.5px;
	line-height: 1.35;
}

.mh-mega__link:hover {
	color: var(--mh-brand);
}

.mh-mega__link--all {
	font-weight: 600;
}

.mh-mega__back {
	display: none;
}

.mh-mega__promo {
	flex: 0 0 200px;
}

.mh-mega__promo-tile {
	display: flex;
	align-items: flex-end;
	height: 100%;
	min-height: 160px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--mh-brand), var(--mh-brand-deep));
	padding: 16px;
}

.mh-mega__promo-label {
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-family: 'Saira Condensed', sans-serif;
	letter-spacing: .5px;
}

@media (min-width: 992px) {
	.mh-cat-item:hover > .mh-mega,
	.mh-cat-item.mh-open > .mh-mega {
		display: block;
	}
}

/* < 992px: one-line top row, full-width search + CTA, full-screen category overlay */

@media (max-width: 991px) {
	.mh-header {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding: 0 15px;
	}

	.mh-topbar {
		order: 1;
		flex: 0 0 auto;
		width: 100vw;
		margin: 0 0 12px -15px;
	}

	.mh-topbar__inner {
		justify-content: center;
	}

	.mh-topbar > .container {
		max-width: none;
	}

	.mh-topbar__right {
		display: none;
	}

	.mh-topbar__badge-text--full {
		display: none;
	}

	.mh-topbar__badge-text--short {
		display: inline;
	}

	.mh-mainbar,
	.mh-mainbar__inner,
	.mh-actions,
	.mh-catbar,
	.mh-catbar__inner {
		display: contents;
	}

	.mh-catbar__toggle {
		order: 2;
		background: var(--mh-brand);
		border-radius: 6px;
		padding: 10px 12px;
	}

	.mh-catbar__toggle-label {
		display: none;
	}

	.mh-logo {
		order: 3;
		flex: 1 1 auto;
		max-width: none;
		justify-content: flex-start;
		margin: 0 8px;
	}

	.mh-logo__text {
		display: none;
	}

	.mh-actions__account,
	.mh-actions__btn,
	.mh-cart {
		order: 4;
		height: auto;
		min-width: 0;
	}

	.mh-actions__icon,
	.mh-cart__icon {
		font-size: 24px;
		height: 28px;
	}

	.mh-actions__btn,
	.mh-cart {
		padding: 6px;
	}

	.mh-cart {
		margin-left: 24px;
	}

	.mh-cart__count {
		right: -2px;
	}

	.mh-actions__label {
		display: none;
	}

	.mh-cart::after {
		display: none;
	}

	.mh-search {
		order: 5;
		flex-basis: 100%;
		margin-top: 12px;
	}

	.mh-actions__cta {
		order: 6;
		flex-basis: 100%;
		width: 100%;
		text-align: center;
		margin: 12px 0 2px;
	}

	.mh-catbar__toggle-icon {
		display: flex;
	}

	/* full-screen category overlay */
	.mh-catbar__panel {
		display: none;
	}

	.mh-catbar__panel.mh-open-nav {
		display: flex;
		position: fixed;
		inset: 0;
		z-index: 3000;
		flex-direction: column;
		background: var(--mh-brand-deep);
	}

	.mh-catbar__list {
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: stretch;
		background: var(--mh-brand-deep);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 0 40px;
	}

	body.mh-nav-open {
		overflow: hidden;
	}

	.mh-cat-close-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: 0 0 auto;
		background: var(--mh-brand);
		padding: 14px 18px;
	}

	.mh-cat-close-title {
		font-family: 'Saira Condensed', sans-serif;
		font-weight: 700;
		font-size: 16px;
		text-transform: uppercase;
		letter-spacing: .5px;
		color: #fff;
	}

	.mh-cat-close {
		background: none;
		border: 0;
		color: #fff;
		font-size: 30px;
		line-height: 1;
		cursor: pointer;
		padding: 0 6px;
	}

	.mh-cat-item {
		border-top: 1px solid rgba(255, 255, 255, .15);
	}

	.mh-cat-link {
		justify-content: space-between;
		padding: 15px 18px;
		line-height: 1.2;
		font-size: 14px;
	}

	.mh-mega {
		position: static;
		display: none;
		width: auto;
		max-width: none;
		box-shadow: none;
		border-top: 0;
		background: rgba(0, 0, 0, .12);
	}

	.mh-cat-item.mh-open > .mh-mega {
		display: block;
	}

	.mh-mega__inner {
		flex-direction: column;
		padding: 0;
		gap: 0;
	}

	.mh-mega__cols {
		flex-direction: column;
		flex-wrap: nowrap;
		column-count: 1;
		gap: 0;
	}

	.mh-mega__col {
		min-width: 0;
		border-top: 1px solid rgba(255, 255, 255, .12);
	}

	.mh-mega__col-title {
		color: #fff;
		font-size: 15px;
		margin-bottom: 0;
		padding: 13px 22px;
		border-bottom: 0;
	}

	.mh-mega__col-title--link {
		color: #fff;
	}

	.mh-mega__col-title-caret {
		display: inline-block;
	}

	.mh-mega__list {
		display: none;
		background: rgba(0, 0, 0, .15);
	}

	.mh-mega__col.mh-open-sub > .mh-mega__list {
		display: block;
	}

	.mh-mega__col.mh-open-sub > .mh-mega__col-title {
		display: none;
	}

	.mh-mega__cols.mh-drilled .mh-mega__col:not(.mh-open-sub) {
		display: none;
	}

	.mh-mega__back {
		display: block;
	}

	.mh-mega__back a {
		display: block;
		padding: 13px 22px;
		color: #fff;
		font-weight: 600;
	}

	.mh-mega__link {
		color: #fff;
		padding: 12px 22px;
		font-size: 14.5px;
	}

	.mh-mega__link--all {
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	.mh-mega__promo {
		display: none;
	}
}
