/* The Sun Global header and Kadence side panel share one visual language. */
.site-header .site-main-header-wrap,
.site-header .site-header-row-container-inner {
	background: #f1f3f4 !important;
}

.site-header .site-main-header-wrap {
	border-bottom: 1px solid rgba(18, 55, 76, .09) !important;
	box-shadow: 0 10px 32px rgba(18, 55, 76, .06) !important;
}

.site-header .site-branding a.brand img.custom-logo,
.site-header .site-branding img.custom-logo {
	width: auto !important;
	max-width: 112px !important;
	max-height: 70px !important;
	object-fit: contain;
}

@media (min-width: 1025px) {
	.site-header .site-main-header-inner-wrap {
		min-height: 88px;
	}

	.site-header .header-navigation {
		padding: 6px !important;
		border: 1px solid rgba(18, 55, 76, .09) !important;
		border-radius: 19px !important;
		background: rgba(255, 255, 255, .84) !important;
		box-shadow: 0 12px 34px rgba(18, 55, 76, .085) !important;
		backdrop-filter: blur(18px);
		-webkit-backdrop-filter: blur(18px);
	}

	.site-header .header-navigation .header-menu-container > ul {
		align-items: center;
		gap: 2px;
	}

	.site-header .header-navigation .header-menu-container > ul > li > a {
		min-height: 46px;
		padding: 0 16px !important;
		border-radius: 13px !important;
		color: #183d53 !important;
		background: transparent !important;
		box-shadow: none !important;
		font-size: 13px;
		font-weight: 800;
		letter-spacing: -.012em;
		transition: color .18s ease, background-color .18s ease, transform .18s ease;
	}

	.site-header .header-navigation .header-menu-container > ul > li:not(.sgb-account-menu-item) > a:hover,
	.site-header .header-navigation .header-menu-container > ul > li:not(.sgb-account-menu-item) > a:focus-visible {
		color: #095c7e !important;
		background: #edf6f8 !important;
	}

	.site-header .header-navigation .header-menu-container > ul > li.sgb-account-menu-item > a {
		margin-left: 5px;
		padding-inline: 21px !important;
		border: 1px solid rgba(255, 255, 255, .22) !important;
		color: #fff !important;
		background: linear-gradient(125deg, #1c7196, #124767) !important;
		box-shadow: 0 9px 22px rgba(18, 71, 103, .20) !important;
	}

	.site-header .header-navigation .header-menu-container > ul > li.sgb-account-menu-item > a:hover,
	.site-header .header-navigation .header-menu-container > ul > li.sgb-account-menu-item > a:focus-visible {
		background: linear-gradient(125deg, #2489a6, #0f5476) !important;
		transform: translateY(-2px);
	}

	.site-header .header-navigation .header-menu-container > ul > li.sgb-header-cart-item {
		margin-left: 3px;
	}

	.site-header .header-navigation .sgb-header-cart-button {
		min-height: 46px;
		gap: 8px;
		margin: 0 1px;
		padding: 0 12px;
		border: 1px solid #d5e4e8;
		border-radius: 13px;
		background: #f7fbfc;
		font-size: 12px;
	}

	.site-header .header-navigation .sgb-header-cart-button:hover,
	.site-header .header-navigation .sgb-header-cart-button:focus-visible {
		border-color: #88beca;
		background: #ecf7f9;
		transform: translateY(-2px);
	}
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.site-header .header-navigation .header-menu-container > ul > li > a {
		padding-inline: 11px !important;
		font-size: 12px;
	}
	.site-header .header-navigation .header-menu-container > ul > li.sgb-account-menu-item > a {
		padding-inline: 14px !important;
	}
	.site-header .header-navigation .sgb-header-cart-button__label {
		display: none;
	}
}

@media (max-width: 1024px) {
	.site-header #mobile-header .site-main-header-inner-wrap {
		min-height: 76px;
	}

	.site-header #mobile-header .site-branding a.brand img.custom-logo {
		max-width: 86px !important;
		max-height: 62px !important;
	}

	.site-header #mobile-header .menu-toggle-open {
		min-width: 90px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 0 14px;
		border: 1px solid #cbdee5;
		border-radius: 14px;
		color: #153449;
		background: rgba(255, 255, 255, .94);
		box-shadow: 0 7px 21px rgba(18, 55, 76, .075);
	}

	.site-header #mobile-header .menu-toggle-open::after {
		content: 'Menu';
		font-size: 12px;
		font-weight: 850;
		letter-spacing: .015em;
	}

	.site-header #mobile-header .menu-toggle-open:hover,
	.site-header #mobile-header .menu-toggle-open:focus-visible {
		border-color: #71adb9;
		background: #eff9fa;
	}

	#mobile-drawer .drawer-overlay {
		background: rgba(7, 29, 43, .6) !important;
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	#mobile-drawer .drawer-inner {
		width: min(420px, calc(100vw - 18px)) !important;
		max-width: none !important;
		min-height: 100vh;
		min-height: 100dvh;
		color: #153449 !important;
		background: linear-gradient(158deg, #f9fcfd 0%, #f0f7f9 64%, #e8f3f5 100%) !important;
		box-shadow: -25px 0 70px rgba(5, 32, 48, .29) !important;
	}

	#mobile-drawer .drawer-header {
		min-height: 116px;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 23px 22px 18px !important;
		border-bottom: 1px solid #d8e7eb;
		background: rgba(255, 255, 255, .67) !important;
	}

	#mobile-drawer .drawer-header::before {
		content: 'SUN GLOBAL BIO\A RESEARCH CATALOG';
		min-height: 56px;
		display: block;
		padding: 8px 0 0 62px;
		color: #153449;
		background: url('../img/sun-global-favicon.png') left center / 53px 53px no-repeat;
		font-size: 14px;
		font-weight: 900;
		letter-spacing: .055em;
		line-height: 1.55;
		white-space: pre;
	}

	#mobile-drawer .menu-toggle-close {
		width: 43px;
		height: 43px;
		flex: 0 0 43px;
		display: grid !important;
		place-items: center;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #cbdde4;
		border-radius: 13px;
		color: #153449 !important;
		background: #fff !important;
		box-shadow: 0 5px 15px rgba(21, 52, 73, .07);
	}

	#mobile-drawer .menu-toggle-close:hover,
	#mobile-drawer .menu-toggle-close:focus-visible {
		background: #e9f4f6 !important;
	}

	#mobile-drawer .drawer-content {
		padding: 20px 20px calc(34px + env(safe-area-inset-bottom)) !important;
		background: transparent !important;
	}

	#mobile-drawer .site-header-item-mobile-navigation,
	#mobile-drawer .mobile-navigation,
	#mobile-drawer .mobile-menu-container,
	#mobile-drawer .mobile-menu-container > ul {
		width: 100% !important;
		max-width: none !important;
	}

	#mobile-drawer .mobile-navigation::before {
		content: 'EXPLORE';
		display: block;
		margin: 4px 2px 11px;
		color: #2c718c;
		font-size: 10px;
		font-weight: 950;
		letter-spacing: .2em;
	}

	#mobile-drawer .mobile-menu-container > ul {
		display: flex !important;
		flex-direction: column;
		gap: 9px;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	#mobile-drawer .mobile-menu-container > ul > li {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		list-style: none;
	}

	#mobile-drawer .mobile-menu-container > ul > li > a,
	#mobile-drawer .mobile-menu-container > ul > li > button.sgb-header-cart-button {
		box-sizing: border-box;
		width: 100% !important;
		min-height: 62px !important;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		margin: 0 !important;
		padding: 0 18px !important;
		border: 1px solid #d8e7ec !important;
		border-radius: 15px !important;
		color: #153449 !important;
		background: rgba(255, 255, 255, .9) !important;
		box-shadow: 0 8px 22px rgba(21, 52, 73, .055) !important;
		font-size: 15px !important;
		font-weight: 820 !important;
		line-height: 1.25 !important;
		text-decoration: none !important;
		transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
	}

	#mobile-drawer .mobile-menu-container > ul > li > a::after {
		content: '↗';
		color: #4e9cae;
		font-size: 18px;
		font-weight: 400;
	}

	#mobile-drawer .mobile-menu-container > ul > li > a:hover,
	#mobile-drawer .mobile-menu-container > ul > li > a:focus-visible,
	#mobile-drawer .mobile-menu-container > ul > li > button.sgb-header-cart-button:hover,
	#mobile-drawer .mobile-menu-container > ul > li > button.sgb-header-cart-button:focus-visible {
		border-color: #87bdc9 !important;
		background: #fff !important;
		transform: translateX(-2px);
	}

	#mobile-drawer .mobile-menu-container > ul > li.sgb-account-menu-item > a {
		border-color: #1c688c !important;
		color: #fff !important;
		background: linear-gradient(115deg, #1b789a, #124767) !important;
		box-shadow: 0 12px 25px rgba(18, 71, 103, .19) !important;
	}

	#mobile-drawer .mobile-menu-container > ul > li.sgb-account-menu-item > a::after {
		color: #d3edf4;
	}

	#mobile-drawer .mobile-menu-container > ul > li.sgb-account-menu-item > a:hover,
	#mobile-drawer .mobile-menu-container > ul > li.sgb-account-menu-item > a:focus-visible {
		background: linear-gradient(115deg, #258aa8, #105376) !important;
	}

	#mobile-drawer .mobile-menu-container > ul > li.sgb-header-cart-item {
		margin-top: 6px !important;
	}

	#mobile-drawer .mobile-menu-container > ul > li > button.sgb-header-cart-button {
		justify-content: flex-start;
		gap: 12px;
		border-color: #bad5de !important;
		background: #eaf5f7 !important;
		cursor: pointer;
	}

	#mobile-drawer .sgb-header-cart-button__label {
		display: inline !important;
	}

	#mobile-drawer .sgb-header-cart-count {
		margin-left: auto;
		box-shadow: 0 0 0 4px rgba(246, 181, 54, .13);
	}

	#mobile-drawer .mobile-navigation::after {
		content: 'FOR LABORATORY RESEARCH USE ONLY  •  21+';
		display: block;
		margin: 28px 2px 0;
		padding: 18px 16px;
		border: 1px solid #d6e6eb;
		border-left: 3px solid #f6b536;
		border-radius: 12px;
		color: #426174;
		background: rgba(255, 255, 255, .62);
		font-size: 10px;
		font-weight: 850;
		letter-spacing: .07em;
		line-height: 1.6;
	}
}

@media (max-width: 360px) {
	#mobile-drawer .drawer-header::before {
		padding-left: 48px;
		background-size: 42px 42px;
		font-size: 12px;
	}
	#mobile-drawer .drawer-content {
		padding-inline: 16px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header .header-navigation a,
	.site-header .header-navigation button,
	#mobile-drawer a,
	#mobile-drawer button {
		transition: none !important;
		transform: none !important;
	}
}

/* 2.0 visual system: the dark control dock and light research drawer. */
.site-header .site-main-header-wrap {
	border-bottom: 1px solid #dbe8eb !important;
	box-shadow: 0 12px 34px rgba(12,43,62,.055) !important;
}
.site-header .site-main-header-wrap .site-container { max-width: 1440px; }
.site-header .site-branding img.custom-logo {
	width: auto !important;
	max-width: 108px !important;
	max-height: 72px !important;
	object-fit: contain;
}
@media (min-width: 1025px) {
	.site-header #main-header .site-main-header-inner-wrap { min-height: 96px; gap: 24px; }
	.site-header #main-header .header-navigation {
		padding: 7px !important;
		border: 1px solid rgba(255,255,255,.16) !important;
		border-radius: 22px !important;
		background: linear-gradient(115deg,#102f44,#153e54 62%,#10455b) !important;
		box-shadow: 0 15px 32px rgba(13,45,64,.19), inset 0 1px rgba(255,255,255,.14) !important;
	}
	.site-header #main-header .header-menu-container > ul { display: flex !important; align-items: center; gap: 2px; }
	.site-header #main-header .header-menu-container > ul > li { margin: 0 !important; }
	.site-header #main-header .header-menu-container > ul > li > a {
		min-height: 48px;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		padding: 0 17px !important;
		border: 1px solid transparent !important;
		border-radius: 15px !important;
		background: transparent !important;
		color: #edf7fa !important;
		box-shadow: none !important;
		font-size: 13px;
		font-weight: 750;
		letter-spacing: -.01em;
		line-height: 1.2;
		white-space: nowrap;
		transition: background-color .2s ease,border-color .2s ease,transform .2s ease;
	}
	.site-header #main-header .header-menu-container > ul > li:not(.sgb-account-menu-item) > a:hover,
	.site-header #main-header .header-menu-container > ul > li:not(.sgb-account-menu-item) > a:focus-visible {
		border-color: rgba(113,220,227,.28) !important;
		background: rgba(122,221,227,.14) !important;
		color: #fff !important;
		transform: translateY(-1px);
	}
	.site-header #main-header .header-menu-container > ul > li.sgb-account-menu-item { margin-left: 9px !important; }
	.site-header #main-header .header-menu-container > ul > li.sgb-account-menu-item > a {
		padding-inline: 21px !important;
		border-color: rgba(255,255,255,.2) !important;
		background: linear-gradient(125deg,#3ab1be,#1688a4) !important;
		box-shadow: 0 7px 18px rgba(1,17,30,.17),inset 0 1px rgba(255,255,255,.25) !important;
		color: #fff !important;
	}
	.site-header #main-header .header-menu-container > ul > li.sgb-account-menu-item > a:hover,
	.site-header #main-header .header-menu-container > ul > li.sgb-account-menu-item > a:focus-visible {
		background: linear-gradient(125deg,#4bc2c9,#1d97ad) !important;
		transform: translateY(-2px);
	}
	.site-header #main-header .sgb-header-cart-item { margin-left: 5px !important; }
	.site-header #main-header .sgb-header-cart-button {
		min-height: 48px;
		gap: 10px;
		margin: 0 !important;
		padding: 0 13px !important;
		border: 1px solid rgba(202,239,243,.35) !important;
		border-radius: 15px !important;
		background: rgba(255,255,255,.12) !important;
		box-shadow: none !important;
		color: #fff !important;
		font-size: 13px;
		font-weight: 800;
	}
	.site-header #main-header .sgb-header-cart-button:hover,
	.site-header #main-header .sgb-header-cart-button:focus-visible {
		background: rgba(255,255,255,.22) !important;
		transform: translateY(-2px);
	}
	.site-header #main-header .sgb-header-cart-button svg { stroke: currentColor; }
	.site-header #main-header .sgb-header-cart-count {
		background: #ffb938 !important;
		color: #143449 !important;
	}
}
@media (min-width: 1025px) and (max-width: 1199px) {
	.site-header #main-header .header-menu-container > ul > li > a { padding-inline: 11px !important; font-size: 12px; }
	.site-header #main-header .header-menu-container > ul > li.sgb-account-menu-item > a { padding-inline: 14px !important; }
	.site-header #main-header .sgb-header-cart-button__label { display: none; }
}
@media (max-width: 1024px) {
	.site-header #mobile-header .site-branding img.custom-logo { max-width: 82px !important; max-height: 62px !important; }
	.site-header #mobile-header .menu-toggle-open {
		min-width: 95px;
		min-height: 48px;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 0 14px !important;
		border: 1px solid #cadfe4 !important;
		border-radius: 15px !important;
		background: #fff !important;
		color: #13364b !important;
		box-shadow: 0 8px 22px rgba(14,48,68,.08) !important;
	}
	.site-header #mobile-header .menu-toggle-open::after { content: 'Menu'; font-size: 12px; font-weight: 850; letter-spacing: .03em; }
	#mobile-drawer.popup-drawer .drawer-overlay {
		background: rgba(4,28,42,.68) !important;
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}
	#mobile-drawer.popup-drawer .drawer-inner {
		box-sizing: border-box;
		width: min(430px,100vw) !important;
		max-width: none !important;
		height: 100vh;
		height: 100dvh;
		overflow-y: auto;
		background: #f3f8f9 !important;
		color: #16384b !important;
		box-shadow: -25px 0 75px rgba(3,27,41,.38) !important;
	}
	#mobile-drawer.popup-drawer .drawer-header {
		box-sizing: border-box;
		min-height: 155px;
		display: flex !important;
		align-items: flex-start;
		justify-content: space-between;
		padding: max(32px,env(safe-area-inset-top)) 24px 24px !important;
		border: 0 !important;
		background: radial-gradient(circle at 78% 115%,rgba(42,177,189,.24),transparent 42%),linear-gradient(125deg,#102f44,#16516a) !important;
	}
	#mobile-drawer.popup-drawer .drawer-header::before {
		content: 'SUN GLOBAL BIO\A RESEARCH CATALOG';
		display: block;
		padding: 10px 0 0;
		color: #fff;
		background: none;
		font-size: 17px;
		font-weight: 900;
		letter-spacing: .035em;
		line-height: 1.65;
		white-space: pre;
	}
	#mobile-drawer.popup-drawer .menu-toggle-close {
		width: 46px;
		height: 46px;
		flex: 0 0 46px;
		border: 1px solid rgba(255,255,255,.3) !important;
		border-radius: 14px;
		background: rgba(255,255,255,.13) !important;
		color: #fff !important;
	}
	#mobile-drawer.popup-drawer .drawer-content {
		box-sizing: border-box;
		width: 100%;
		padding: 26px 20px calc(34px + env(safe-area-inset-bottom)) !important;
		background: transparent !important;
		color: #16384b !important;
	}
	#mobile-drawer .mobile-navigation::before {
		content: 'EXPLORE';
		margin: 0 5px 14px;
		color: #24718c;
		font-size: 11px;
		letter-spacing: .19em;
	}
	#mobile-drawer #mobile-menu {
		counter-reset: sgbnav;
		display: flex !important;
		flex-direction: column;
		gap: 10px;
		width: 100% !important;
	}
	#mobile-drawer #mobile-menu > li { width: 100% !important; }
	#mobile-drawer #mobile-menu > li:not(.sgb-account-menu-item):not(.sgb-header-cart-item) { counter-increment: sgbnav; }
	#mobile-drawer #mobile-menu > li > a,
	#mobile-drawer #mobile-menu > li > button.sgb-header-cart-button {
		box-sizing: border-box;
		width: 100% !important;
		min-height: 66px !important;
		display: flex !important;
		align-items: center;
		gap: 12px;
		margin: 0 !important;
		padding: 0 17px !important;
		border: 1px solid #d5e5e9 !important;
		border-radius: 17px !important;
		background: #fff !important;
		color: #14364a !important;
		box-shadow: 0 7px 18px rgba(14,55,75,.045) !important;
		font-size: 16px !important;
		font-weight: 800 !important;
		line-height: 1.2 !important;
		text-decoration: none !important;
		transition: transform .18s ease,border-color .18s ease;
	}
	#mobile-drawer #mobile-menu > li:not(.sgb-account-menu-item):not(.sgb-header-cart-item) > a::before {
		content: '0' counter(sgbnav);
		width: 34px;
		height: 34px;
		flex: 0 0 34px;
		display: grid;
		place-items: center;
		border-radius: 11px;
		background: #e8f5f6;
		color: #147895;
		font-size: 11px;
		font-weight: 900;
	}
	#mobile-drawer #mobile-menu > li > a::after {
		content: '↗';
		margin-left: auto;
		color: #4c9bab;
		font-size: 20px;
		font-weight: 450;
	}
	#mobile-drawer #mobile-menu > li > a:hover,
	#mobile-drawer #mobile-menu > li > a:focus-visible,
	#mobile-drawer #mobile-menu > li > button.sgb-header-cart-button:hover,
	#mobile-drawer #mobile-menu > li > button.sgb-header-cart-button:focus-visible {
		border-color: #88c9d0 !important;
		transform: translateX(-3px);
	}
	#mobile-drawer #mobile-menu > li.sgb-account-menu-item { margin-top: 12px !important; }
	#mobile-drawer #mobile-menu > li.sgb-account-menu-item > a {
		border-color: #147e9a !important;
		background: linear-gradient(120deg,#1688a4,#155878) !important;
		color: #fff !important;
		box-shadow: 0 13px 25px rgba(16,79,106,.18) !important;
	}
	#mobile-drawer #mobile-menu > li.sgb-account-menu-item > a::after { color: #dbf6f8; }
	#mobile-drawer #mobile-menu > li.sgb-header-cart-item { margin-top: 2px !important; }
	#mobile-drawer #mobile-menu > li > button.sgb-header-cart-button {
		justify-content: flex-start;
		border-color: #b8d7df !important;
		background: #e7f3f6 !important;
	}
	#mobile-drawer .sgb-header-cart-button__label { display: inline !important; }
	#mobile-drawer .sgb-header-cart-count { margin-left: auto; background: #ffb938 !important; color: #153449 !important; }
	#mobile-drawer .mobile-navigation::after {
		content: 'LABORATORY RESEARCH USE ONLY  •  PURCHASERS 21+';
		margin: 24px 2px 0;
		padding: 17px 18px;
		border: 1px solid #d8e7e9;
		border-left: 4px solid #ffb938;
		border-radius: 13px;
		background: #fff;
		color: #476778;
		font-size: 10px;
		font-weight: 850;
		letter-spacing: .08em;
		line-height: 1.6;
	}
}
@media (max-width: 370px) {
	#mobile-drawer.popup-drawer .drawer-header::before { font-size: 14px; }
	#mobile-drawer.popup-drawer .drawer-content { padding-inline: 14px !important; }
	#mobile-drawer #mobile-menu > li > a { font-size: 14px !important; }
}
