/*
 * Theme bridge for the audited Web fixed documents.
 * The original page/header/footer CSS remains unmodified; only the WordPress
 * template shell and the product mega-menu are defined here.
 */

html,
body {
	margin: 0;
	padding: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.wp-site-blocks,
.wp-site-blocks > .ms-theme-shell,
.ms-theme-shell > main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ms-theme-shell > main {
	display: block;
	flex: 1 0 auto;
}

.msp-skip-link {
	position: fixed;
	z-index: 100100;
	top: 8px;
	left: 8px;
	padding: 10px 14px;
	background: #fff;
	color: #130805;
	font: 700 12px/1.2 "Jura", Arial, sans-serif;
	letter-spacing: .08em;
	text-transform: uppercase;
	transform: translateY(-160%);
}

.msp-skip-link:focus {
	transform: translateY(0);
}

/* Product trigger follows the exact typography and spacing of the source nav. */
.wp-site-blocks .ms-page .ms-nav > .msp-products {
	position: static !important;
	display: flex !important;
	align-items: center !important;
	align-self: stretch !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wp-site-blocks .ms-page .msp-products__trigger {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	height: auto !important;
	padding: 10px 0 12px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: rgba(19, 8, 5, .82) !important;
	font-family: "Jura", "Bai Jamjuree", Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
}

.wp-site-blocks .ms-page .msp-products__trigger::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	bottom: 4px !important;
	width: 100% !important;
	height: 1px !important;
	background: currentColor !important;
	opacity: .35 !important;
	transform: scaleX(0) !important;
	transform-origin: left center !important;
	transition: transform .42s cubic-bezier(.22, 1, .36, 1) !important;
}

.wp-site-blocks .ms-page .msp-products__trigger:hover::after,
.wp-site-blocks .ms-page .msp-products.is-open .msp-products__trigger::after {
	transform: scaleX(1) !important;
}

.wp-site-blocks .ms-page .msp-products__trigger:focus-visible {
	outline: 2px solid rgba(109, 40, 217, .38) !important;
	outline-offset: 8px !important;
}

.wp-site-blocks .ms-page .msp-products__trigger svg {
	display: block !important;
	width: 13px !important;
	height: 13px !important;
	max-width: none !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.4 !important;
	transition: transform .2s ease !important;
}

.wp-site-blocks .ms-page .msp-products.is-open .msp-products__trigger svg {
	transform: rotate(180deg) !important;
}

.wp-site-blocks .ms-page .msp-products__panel {
	position: absolute !important;
	z-index: 100001 !important;
	left: 50% !important;
	top: calc(100% - 1px) !important;
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	width: min(1028px, calc(100vw - 40px)) !important;
	height: 216px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	background: #fff !important;
	border: 1px solid rgba(27, 39, 52, .18) !important;
	border-radius: 4px !important;
	box-shadow: 0 18px 42px rgba(10, 18, 28, .2) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: translate(-50%, -8px) !important;
	transition: opacity .2s ease, transform .25s cubic-bezier(.22, 1, .36, 1), visibility .2s ease !important;
}

.wp-site-blocks .ms-page .msp-products__panel::before {
	content: "" !important;
	position: absolute !important;
	z-index: -1 !important;
	left: 50% !important;
	top: -8px !important;
	width: 15px !important;
	height: 15px !important;
	background: #fff !important;
	border-top: 1px solid rgba(27, 39, 52, .18) !important;
	border-left: 1px solid rgba(27, 39, 52, .18) !important;
	transform: translateX(-50%) rotate(45deg) !important;
}

.wp-site-blocks .ms-page .msp-products.is-open .msp-products__panel {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translate(-50%, 0) !important;
}

.wp-site-blocks .ms-page .msp-products__panel > .msp-product-card {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 174px !important;
	gap: 20px !important;
	height: 214px !important;
	margin: 0 !important;
	padding: 24px 30px !important;
	background: #fff !important;
	border: 0 !important;
	border-right: 1px solid rgba(30, 42, 54, .16) !important;
	color: #182637 !important;
	text-decoration: none !important;
	transition: background .2s ease !important;
}

.wp-site-blocks .ms-page .msp-products__panel > .msp-product-card:last-child {
	border-right: 0 !important;
}

.wp-site-blocks .ms-page .msp-products__panel > .msp-product-card:hover {
	background: #fafaf8 !important;
}

.wp-site-blocks .ms-page .msp-product-card__copy {
	display: flex !important;
	min-width: 0 !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

.wp-site-blocks .ms-page .msp-product-card__copy small {
	margin: 0 0 15px !important;
	color: #354252 !important;
	font: 700 10px/1.2 "Jura", Arial, sans-serif !important;
	letter-spacing: .18em !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
}

.wp-site-blocks .ms-page .msp-product-card__copy strong {
	margin: 0 0 11px !important;
	color: #182637 !important;
	font: 400 24px/1 "Bai Jamjuree", Arial, sans-serif !important;
}

.wp-site-blocks .ms-page .msp-product-card__copy > span {
	max-width: 250px !important;
	color: #6a7078 !important;
	font: 400 13px/1.5 "Bai Jamjuree", Arial, sans-serif !important;
}

.wp-site-blocks .ms-page .msp-product-card__copy b {
	display: inline-flex !important;
	align-items: center !important;
	gap: 18px !important;
	margin-top: auto !important;
	color: #294663 !important;
	font: 700 10px/1.2 "Jura", Arial, sans-serif !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
}

.wp-site-blocks .ms-page .msp-product-card__copy i {
	font: 400 17px/1 Arial, sans-serif !important;
	font-style: normal !important;
	transition: transform .2s ease !important;
}

.wp-site-blocks .ms-page .msp-products__panel > .msp-product-card:hover i {
	transform: translateX(4px) !important;
}

.wp-site-blocks .ms-page .msp-product-card__visual {
	display: block !important;
	min-width: 0 !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
}

.ms-mobile-nav-label {
	display: none;
}

@media (max-width: 1100px) {
	.ms-mobile-nav-label {
		display: block;
		padding: 16px 14px 7px;
		color: rgba(19, 8, 5, .48);
		font: 700 10px/1.2 "Jura", Arial, sans-serif;
		letter-spacing: .16em;
		text-transform: uppercase;
	}

	.wp-site-blocks .ms-page .ms-mobile-nav a.ms-mobile-nav-sub {
		min-height: 40px !important;
		padding-left: 28px !important;
		font-size: 11px !important;
	}
}

/* Premium header proportions: more breathing room without compromising mobile space. */
@media (min-width: 1101px) {
	.wp-site-blocks .ms-page .ms-header-inner {
		height: 96px !important;
		width: calc(100% - 64px) !important;
		max-width: 1720px !important;
		gap: 36px !important;
	}

	.wp-site-blocks .ms-page .ms-logo,
	.wp-site-blocks .ms-page .ms-logo img {
		max-width: 222px !important;
	}

	.wp-site-blocks .ms-page .ms-nav {
		column-gap: clamp(24px, 2.25vw, 40px) !important;
	}

	.wp-site-blocks .ms-page .ms-header-actions > a.ms-header-btn {
		min-height: 48px !important;
		padding-inline: 24px !important;
	}
}

@media (min-width: 761px) and (max-width: 1100px) {
	.wp-site-blocks .ms-page .ms-header-inner {
		height: 72px !important;
	}
}

@media (max-width: 760px) {
	.wp-site-blocks .ms-page .ms-header-inner {
		height: 64px !important;
	}
}
