/* Marsden Header — isolated front-end styles */

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

.mrl-header {
	width: 100%;
	background: #ffffff;
	color: #0b3158;
	position: relative;
	z-index: 50;
}

.mrl-header__wrap {
	width: min(1340px, calc(100% - 44px));
	margin: 0 auto;
}

.mrl-header__trustbar {
	background: linear-gradient(90deg, #0b3158 0%, #0e496c 58%, #0b3158 100%);
	color: #ffffff;
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.mrl-header__trustbar-inner {
	min-height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .085em;
	line-height: 1.3;
}

.mrl-header__trustdot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #20c7c9;
	box-shadow: 0 0 0 4px rgba(32,199,201,.13);
	flex: 0 0 auto;
}

.mrl-header__main {
	background: rgba(255,255,255,.98);
	border-bottom: 1px solid #e7edf2;
	box-shadow: 0 8px 24px rgba(9,49,87,.055);
}

.mrl-header__row {
	min-height: 82px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
}

.mrl-header__brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
	min-width: 0;
}

.mrl-header__logo-img {
	display: block;
	width: 305px;
	max-width: 100%;
	height: auto;
	max-height: 64px;
	object-fit: contain;
	object-position: left center;
}

.mrl-header__brand--text {
	flex-direction: column;
	align-items: flex-start;
	line-height: 1;
	color: #0b3158;
}

.mrl-header__brand--text strong {
	font-size: 26px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.mrl-header__brand--text span {
	margin-top: 5px;
	font-size: 11px;
	letter-spacing: .28em;
	text-transform: uppercase;
}

.mrl-header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(13px, 1.15vw, 21px);
	min-width: 0;
}

.mrl-header__nav-link {
	position: relative;
	color: #15283b;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.mrl-header__nav-link:not(.mrl-header__nav-link--access)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -8px;
	height: 2px;
	background: #0aa7a8;
	transition: right .2s ease;
}

.mrl-header__nav-link:not(.mrl-header__nav-link--access):hover::after,
.mrl-header__nav-link:not(.mrl-header__nav-link--access):focus-visible::after {
	right: 0;
}

.mrl-header__nav-link--access {
	padding: 9px 13px;
	border: 1px solid #b9d9dd;
	border-radius: 999px;
	background: #f4fbfb;
	color: #0b3158;
	font-weight: 700;
}

.mrl-header__tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mrl-header__search {
	width: clamp(165px, 14vw, 215px);
	height: 40px;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 10px;
	border: 1px solid #d4e0e8;
	border-radius: 999px;
	background: #fbfcfd;
	color: #15283b;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mrl-header__search:hover,
.mrl-header__search:focus-within {
	border-color: #75cfd0;
	background: #f7fbfc;
	box-shadow: 0 0 0 3px rgba(10,167,168,.10);
}

.mrl-header__search input[type="search"],
.mrl-header__mobile-search input[type="search"] {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #15283b !important;
	font: inherit !important;
	font-size: 13px !important;
	line-height: 1 !important;
	outline: none !important;
	appearance: none;
	-webkit-appearance: none;
}

.mrl-header__search input[type="search"]::placeholder,
.mrl-header__mobile-search input[type="search"]::placeholder {
	color: #7d8b98;
	opacity: 1;
}

.mrl-header__go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 50%;
	color: #0b6676 !important;
	cursor: pointer;
}

.mrl-header__go:hover,
.mrl-header__go:focus-visible {
	color: #008f88 !important;
	outline: none;
}

.mrl-header__go svg,
.mrl-header__icon-link svg,
.mrl-header__menu-button svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mrl-header__icon-link,
.mrl-header__menu-button {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #15283b;
	text-decoration: none;
	cursor: pointer;
}

.mrl-header__icon-link:hover,
.mrl-header__icon-link:focus-visible,
.mrl-header__menu-button:hover,
.mrl-header__menu-button:focus-visible {
	background: #eef7f8;
	color: #0b6676;
}

.mrl-header__cart-count {
	position: absolute;
	top: -1px;
	right: -1px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
	border-radius: 999px;
	background: #0aa7a8;
	color: #ffffff;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
}

.mrl-header__cart-count.is-empty {
	display: none;
}

.mrl-header__mobile-find {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 50%;
	color: #0b3158;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.mrl-header__mobile-find:hover,
.mrl-header__mobile-find:focus-visible {
	background: #f6fafb;
	border-color: #c9dbe3;
	color: #008f88;
	outline: none;
}

.mrl-header__mobile-find svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mrl-header__menu-button {
	display: none;
}

.mrl-header__menu-close {
	display: none;
}

.mrl-header__menu-button[aria-expanded="true"] .mrl-header__menu-open {
	display: none;
}

.mrl-header__menu-button[aria-expanded="true"] .mrl-header__menu-close {
	display: inline-flex;
}

.mrl-header__mobile {
	border-top: 1px solid #edf1f4;
	background: #ffffff;
}

.mrl-header__mobile[hidden] {
	display: none !important;
}

.mrl-header__mobile > .mrl-header__wrap {
	padding: 18px 0 22px;
}

.mrl-header__mobile-search {
	width: 100%;
	height: 44px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	border: 1px solid #d4e0e8;
	border-radius: 10px;
	background: #f8fbfc;
	color: #15283b;
}

.mrl-header__mobile-search:hover,
.mrl-header__mobile-search:focus-within {
	border-color: #75cfd0;
	box-shadow: 0 0 0 3px rgba(10,167,168,.10);
	outline: none;
}

.mrl-header__mobile-nav {
	display: grid;
	margin-top: 14px;
	border-top: 1px solid #edf1f4;
}

.mrl-header__mobile-nav a {
	padding: 13px 2px;
	border-bottom: 1px solid #edf1f4;
	color: #15283b;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
}

@media (max-width: 1240px) {
	.mrl-header__row {
		gap: 18px;
	}

	.mrl-header__logo-img {
		width: 255px;
	}

	.mrl-header__nav {
		gap: 14px;
	}

	.mrl-header__nav-link {
		font-size: 13px;
	}

	.mrl-header__search {
		width: 175px;
	}
}

@media (max-width: 1080px) {
	.mrl-header__row {
		grid-template-columns: auto 1fr;
		min-height: 76px;
	}

	.mrl-header__logo-img {
		width: 225px;
		max-height: 52px;
	}

	.mrl-header__nav,
	.mrl-header__search {
		display: none;
	}

	.mrl-header__tools {
		justify-self: end;
	}

	.mrl-header__mobile-find,
	.mrl-header__menu-button {
		display: inline-flex;
	}
}

@media (max-width: 600px) {
	.mrl-header__wrap {
		width: min(100% - 28px, 1240px);
	}

	.mrl-header__trustbar-inner {
		min-height: 32px;
		font-size: 9px;
		letter-spacing: .06em;
	}

	.mrl-header__row {
		min-height: 68px;
		gap: 10px;
	}

	.mrl-header__logo-img {
		width: 190px;
		max-height: 46px;
	}

	.mrl-header__icon-link {
		width: 36px;
		height: 36px;
	}

	.mrl-header__icon-link:first-of-type {
		display: none;
	}
}


/* AJAX compound-search state — v1.1.7 */
.mrl-header-search-panel--loading {
	cursor: progress;
}

.mrl-header-search-ajax-status {
	margin: 16px 0 0;
	padding: 13px 15px;
	background: #f4f9fb;
	border: 1px solid #d4e2ea;
	border-radius: 9px;
	color: #52687a;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
	text-align: center;
}

.mrl-header-search-ajax-status--error {
	background: #fff8f7;
	border-color: #ecd3cf;
	color: #8a3f35;
}
