/* Vulcan mobile/tablet off-canvas navigation. */

:root {
	--vmm-orange: #fe5100;
	--vmm-panel: #171d25;
	--vmm-panel-soft: #222a34;
	--vmm-text: #f7f7f8;
	--vmm-muted: #b8bdc4;
	--vmm-line: rgba(255, 255, 255, .2);
	--vmm-focus: #fff;
	--vmm-admin-offset: 0px;
	--vmm-sticky-header-offset: 0px;
}

body.admin-bar {
	--vmm-admin-offset: 32px;
	--vmm-sticky-header-offset: 32px;
}

/*
 * Keep the responsive header in normal document flow while pinning it during
 * page scroll. The drawer and its pinned close control remain above this
 * stacking layer.
 */
@media screen and (max-width: 1024px) {
	html.vmm-header-transitioning,
	html.vmm-header-transitioning body {
		overflow-anchor: none;
	}

	#wrapper {
		height: auto;
		min-height: 100%;
	}

	#header {
		position: sticky !important;
		top: var(--vmm-sticky-header-offset);
		z-index: 9000;
		background-color: #fff;
	}
}

/* Keep the phone account and wishlist glyphs centred in their 32px controls. */
@media screen and (max-width: 763px) {
	#header,
	#header #account-controls,
	#header #branding {
		transition-duration: 260ms;
		transition-timing-function: cubic-bezier(.22, .61, .36, 1);
	}

	#header {
		transition-property: padding-bottom;
	}

	#header #account-controls {
		padding-top: 3px;
		padding-bottom: 3px;
		transition-property: margin-bottom;
	}

	#header #branding {
		max-height: var(--vmm-branding-height, 50px);
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition:
			max-height 260ms cubic-bezier(.22, .61, .36, 1),
			opacity 200ms ease,
			transform 260ms cubic-bezier(.22, .61, .36, 1),
			visibility 0s linear 0s;
	}

	html.vmm-header-compact #header {
		padding-bottom: 0 !important;
	}

	html.vmm-header-compact #header #account-controls {
		margin-bottom: 0;
	}

	html.vmm-header-compact #header #branding {
		max-height: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-.5rem);
		pointer-events: none;
		transition:
			max-height 260ms cubic-bezier(.22, .61, .36, 1),
			opacity 200ms ease,
			transform 260ms cubic-bezier(.22, .61, .36, 1),
			visibility 0s linear 260ms;
	}

	#header #account-controls #account,
	#header #account-controls #favorites {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
	}

	#header #account-controls #account .fa,
	#header #account-controls #favorites .fa {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2rem;
		height: 2rem;
		line-height: 1;
		vertical-align: middle;
	}

	#header #account-controls #basket-toggle .fa {
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		line-height: 44px;
	}

	#header #account-controls #basket-toggle .count {
		top: -2px;
		right: -2px;
		left: auto;
		width: 18px;
		height: 18px;
		font-size: 11px;
		line-height: 18px;
	}
}

/* Tablet controls live in the orange pre-header, so pin both header rows. */
@media screen and (min-width: 764px) and (max-width: 1024px) {
	#pre-header {
		position: sticky !important;
		top: var(--vmm-sticky-header-offset) !important;
		z-index: 9001;
	}

	#header {
		top: calc(var(--vmm-sticky-header-offset) + 54px);
		max-height: var(--vmm-logo-row-height, 72px);
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		transition:
			max-height 260ms cubic-bezier(.22, .61, .36, 1),
			opacity 180ms ease,
			visibility 0s linear 0s;
	}

	html.vmm-header-compact #header {
		max-height: 0;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition:
			max-height 260ms cubic-bezier(.22, .61, .36, 1),
			opacity 180ms ease,
			visibility 0s linear 260ms;
	}
}

html:not(.js) #nav-controls.vmm-toggle {
	display: none !important;
}

.vmm {
	position: relative;
	z-index: 9990;
	font-family: inherit;
}

.vmm__overlay {
	display: none;
	opacity: 0;
	visibility: hidden;
}

.vmm__panel {
	position: fixed;
	left: 0;
	box-sizing: border-box;
	width: 100%;
	max-width: 40rem;
	margin: 0;
	background:
		radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .07), transparent 32%),
		radial-gradient(circle at 82% 38%, rgba(255, 255, 255, .045), transparent 36%),
		linear-gradient(145deg, #202833 0%, var(--vmm-panel) 48%, #121820 100%);
	color: var(--vmm-text);
	transform: translate3d(-102%, 0, 0);
	visibility: hidden;
}

html:not(.js) .vmm__panel {
	position: relative;
	transform: none;
	visibility: visible;
}

.vmm__panel::before {
	position: absolute;
	inset: 0;
	background-image: url("../img/vulcan-bg-mark.svg");
	background-repeat: no-repeat;
	background-position: 115% 18%;
	background-size: 72%;
	opacity: .035;
	pointer-events: none;
	content: "";
}

.vmm__inner {
	position: relative;
	z-index: 1;
	padding: 1.25rem clamp(1rem, 5vw, 2rem) 1.5rem;
}

.vmm__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 4.75rem;
	margin-bottom: 1rem;
}

.vmm__toggle-slot {
	display: flex;
	align-items: center;
	min-width: 3rem;
	min-height: 3rem;
}

.vmm__logo {
	display: block;
	width: clamp(4.2rem, 18vw, 5.7rem);
	margin-left: 1rem;
}

.vmm__logo svg {
	display: block;
	width: 100%;
	height: auto;
}

.vmm__logo svg path,
.vmm__logo svg polygon,
.vmm__logo svg rect {
	fill: var(--vmm-orange);
}

#nav-controls.vmm-toggle {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin-right: auto;
	padding: .4rem;
	border: 0;
	border-radius: .25rem;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: .9rem;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}

.vmm-toggle__icon {
	position: relative;
	display: block;
	width: 1.75rem;
	height: 1.35rem;
}

.vmm-toggle__icon span {
	position: absolute;
	left: 0;
	top: 50%;
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform-origin: center;
	transition: transform 260ms cubic-bezier(.4, 0, .2, 1), opacity 160ms ease;
	will-change: transform, opacity;
}

.vmm-toggle__icon span:nth-child(1) { transform: translateY(-.58rem); }
.vmm-toggle__icon span:nth-child(2) { transform: translateY(-1px); }
.vmm-toggle__icon span:nth-child(3) { transform: translateY(.46rem); }

.vmm-toggle.is-active .vmm-toggle__icon span:nth-child(1) {
	transform: translateY(-1px) rotate(45deg);
}

.vmm-toggle.is-active .vmm-toggle__icon span:nth-child(2) {
	opacity: 0;
	transform: translateY(-1px) scaleX(0);
}

.vmm-toggle.is-active .vmm-toggle__icon span:nth-child(3) {
	transform: translateY(-1px) rotate(-45deg);
}

html.mobile-menu-open #nav-controls.vmm-toggle {
	position: fixed !important;
	top: var(--vmm-toggle-top, 1rem) !important;
	left: var(--vmm-toggle-left, 1rem) !important;
	z-index: 10002 !important;
	width: var(--vmm-toggle-width, 2.75rem);
	height: var(--vmm-toggle-height, 2.75rem);
	margin: 0 !important;
	color: #fff !important;
}

/* Allow the pinned control to sit above the panel without lifting the header bars. */
html.mobile-menu-open #header,
html.mobile-menu-open #pre-header,
html.mobile-menu-open #account-controls {
	position: static !important;
	z-index: auto !important;
}

.vmm-search {
	position: relative;
	margin: 0 0 1.25rem;
}

.vmm-search input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	height: 3.5rem;
	padding: 0 3.75rem 0 1.25rem;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 2rem;
	outline: 0;
	background: rgba(0, 0, 0, .08);
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
}

.vmm-search input[type="search"]::placeholder {
	color: rgba(255, 255, 255, .78);
}

.vmm-search button {
	position: absolute;
	top: 0;
	right: .2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.35rem;
	height: 3.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--vmm-orange);
	font-size: 1.45rem;
	cursor: pointer;
}

.vmm-accordion__heading,
.vmm-newsletter h2 {
	margin: 0;
	padding: 0;
	color: inherit;
}

.vmm-accordion__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 3.7rem;
	margin: 0;
	padding: .8rem .5rem;
	border: 0;
	border-bottom: 1px solid var(--vmm-line);
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.25;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.vmm-contact__toggle {
	min-height: 3.25rem;
	padding-right: .75rem;
	padding-left: .75rem;
	border-bottom: 0;
	color: var(--vmm-orange);
	font-weight: 700;
}

.vmm-chevron {
	display: block;
	flex: 0 0 auto;
	width: .72rem;
	height: .72rem;
	margin: 0 .25rem 0 1rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-.12rem, .12rem);
	transition: transform 220ms ease;
}

[aria-expanded="true"] > .vmm-chevron,
[aria-expanded="true"] .vmm-chevron {
	transform: rotate(225deg) translate(-.12rem, .12rem);
}

.js .vmm-accordion__panel,
.js .vmm-submenu {
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height 260ms ease, visibility 0s linear 260ms;
}

.js .vmm-accordion__panel[aria-hidden="false"],
.js .vmm-submenu[aria-hidden="false"] {
	visibility: visible;
	transition: max-height 260ms ease;
}

.vmm-accordion__panel-inner {
	padding: .25rem .5rem 1rem;
}

.vmm-contact {
	margin-bottom: .65rem;
}

.vmm-contact__card {
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 1rem;
}

.vmm-contact__row {
	display: grid;
	grid-template-columns: 1.7rem minmax(0, 1fr);
	gap: .65rem;
	align-items: center;
	min-height: 2.75rem;
	color: var(--vmm-text);
	font-size: .98rem;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.vmm-contact__row .fa {
	color: var(--vmm-orange);
	font-size: 1.15rem;
	text-align: center;
}

.vmm-contact__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 3.4rem;
	margin-top: .75rem;
	padding: .7rem 1rem;
	border: 1px solid var(--vmm-orange);
	border-radius: .55rem;
	color: var(--vmm-orange);
	text-decoration: none;
	text-transform: none;
}

.vmm-arrow {
	display: block;
	width: .62rem;
	height: .62rem;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.vmm__primary {
	border-top: 1px solid var(--vmm-line);
}

.vmm-menu,
.vmm-menu ul,
.vmm-section-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vmm-menu__row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid var(--vmm-line);
}

.vmm-menu__link {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
	min-height: 3.7rem;
	padding: .8rem .55rem;
	color: var(--vmm-text);
	font-size: 1rem;
	line-height: 1.3;
	text-decoration: none;
	text-transform: none;
}

.vmm-menu__item.current-menu-item > .vmm-menu__row > .vmm-menu__link,
.vmm-menu__item.current-menu-ancestor > .vmm-menu__row > .vmm-menu__link,
.vmm-menu__item.current_page_item > .vmm-menu__row > .vmm-menu__link,
.vmm-menu__item.current_page_parent > .vmm-menu__row > .vmm-menu__link {
	color: var(--vmm-orange);
}

.vmm-submenu-toggle {
	display: flex;
	flex: 0 0 3.25rem;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.vmm-submenu {
	margin-left: .75rem !important;
	border-left: 1px solid rgba(254, 81, 0, .55);
}

.vmm-submenu .vmm-menu__link {
	min-height: 3.2rem;
	padding-left: 1rem;
	color: #e0e2e5;
	font-size: .92rem;
}

.vmm-section-menu {
	padding: .3rem .5rem 0;
}

.vmm-section-menu li {
	margin: 0;
	padding: 0;
}

.vmm-section-menu a {
	display: flex;
	align-items: center;
	min-height: 2.9rem;
	padding: .55rem .25rem;
	color: #e5e7ea;
	line-height: 1.35;
	text-decoration: none;
}

.vmm__sections .vmm-accordion__toggle {
	border-bottom: 0;
}

.vmm-newsletter {
	margin-top: .25rem;
	padding: 1.25rem .5rem 1.35rem;
	border-bottom: 1px solid var(--vmm-line);
}

.vmm-newsletter h2 {
	margin-bottom: .7rem;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
}

.vmm-newsletter__field {
	position: relative;
}

.vmm-newsletter__field input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	height: 3.5rem;
	padding: 0 3.7rem 0 1rem;
	border: 1px solid var(--vmm-orange);
	border-radius: .7rem;
	outline: 0;
	background: rgba(0, 0, 0, .08);
	color: #fff;
	font: inherit;
}

.vmm-newsletter__field input[type="email"]::placeholder {
	color: rgba(255, 255, 255, .66);
}

.vmm-newsletter__field button {
	position: absolute;
	top: 0;
	right: .15rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.35rem;
	height: 3.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.vmm-newsletter__field button img {
	display: block;
	width: 1.9rem;
	height: 1.9rem;
	object-fit: contain;
}

.vmm-newsletter .nb-message {
	min-height: 1.2rem;
	margin-top: .45rem;
	font-size: .82rem;
}

.vmm-newsletter__consent {
	margin: .4rem 0 0;
	color: var(--vmm-muted);
	font-size: .75rem;
	line-height: 1.4;
}

.vmm-newsletter__consent a {
	color: #fff;
}

.vmm-social .social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .85rem;
	margin: 1.35rem 0;
	padding: 0;
}

.vmm-social .social dt {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vmm-social .social dd {
	display: block;
	margin: 0;
	padding: 0;
}

.vmm-social .social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.85rem;
	height: 2.85rem;
	border-radius: 50%;
	background: #fff;
	color: #202630;
	font-size: 1.35rem;
	line-height: 1;
	text-decoration: none;
}

.vmm__copyright {
	margin: 0;
	padding: .25rem .25rem 0;
	color: #e1e3e6;
	font-size: .78rem;
	line-height: 1.4;
	text-align: center;
}

.vmm a:hover,
.vmm button:hover {
	color: var(--vmm-orange);
}

.vmm a:focus-visible,
.vmm button:focus-visible,
.vmm input:focus-visible,
#nav-controls.vmm-toggle:focus-visible {
	outline: 3px solid var(--vmm-focus);
	outline-offset: 3px;
}

.vmm-search input[type="search"]:focus-visible,
.vmm-newsletter__field input[type="email"]:focus-visible {
	border-color: var(--vmm-orange);
}

.vn-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.js .vmm__overlay {
	position: fixed;
	top: var(--vmm-admin-offset);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9997;
	display: block;
	background: rgba(4, 9, 15, .7);
	opacity: 0;
	visibility: hidden;
	transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.js .vmm__panel {
	position: fixed;
	top: var(--vmm-admin-offset);
	bottom: 0;
	left: 0;
	z-index: 9998;
	width: min(86vw, 40rem);
	max-width: none;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	box-shadow: .8rem 0 2.4rem rgba(0, 0, 0, .38);
	transform: translate3d(-102%, 0, 0);
	visibility: hidden;
	transition: transform 300ms cubic-bezier(.22, .61, .36, 1), visibility 0s linear 300ms;
}

html.mobile-menu-open .vmm__overlay {
	opacity: 1;
	visibility: visible;
	transition: opacity 260ms ease;
}

html.mobile-menu-open .vmm__panel {
	transform: translate3d(0, 0, 0);
	visibility: visible;
	transition: transform 300ms cubic-bezier(.22, .61, .36, 1);
}

/* Neutralise the legacy full-page translation while the new drawer is active. */
html.mobile-menu-open #wrapper {
	position: static;
	transform: none;
}

body.vmm-scroll-locked {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--vmm-admin-offset: 46px;
		--vmm-sticky-header-offset: 46px;
	}
}

/* WordPress stops fixing its admin bar at phone widths. */
@media screen and (max-width: 600px) {
	body.admin-bar {
		--vmm-sticky-header-offset: 0px;
	}
}

@media screen and (max-width: 360px) {
	.vmm__inner {
		padding-right: .85rem;
		padding-left: .85rem;
	}

	.vmm-menu__link,
	.vmm-accordion__toggle {
		font-size: .93rem;
	}

	.vmm-contact__card {
		padding: .8rem;
	}
}

@media screen and (max-height: 500px) and (orientation: landscape) {
	.vmm__inner {
		padding-top: .7rem;
	}

	.vmm__header {
		min-height: 3.25rem;
		margin-bottom: .5rem;
	}

	.vmm__logo {
		width: 6.5rem;
	}

	.vmm-menu__link,
	.vmm-accordion__toggle {
		min-height: 3.2rem;
	}
}

@media screen and (min-width: 1025px) {
	.vmm {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#header,
	#header #branding,
	#header #account-controls,
	.vmm *,
	.vmm *::before,
	.vmm *::after,
	.vmm__overlay,
	.vmm__panel,
	.vmm-toggle__icon span {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
}
