/*
 * GRZ Gaming — unified adaptive header system.
 *
 * Authoritative last-loaded layer for Home, Product, Cart, Checkout, Account,
 * Thank You, informational and special category pages. Page atmosphere may
 * change; geometry, contrast and interaction never do.
 */

body.grz-adaptive-header {
	--grz-ah-accent: var(--grz-blue, #0868f2);
	--grz-ah-accent-rgb: 8, 104, 242;
	--grz-ah-ink: #0e1930;
	--grz-ah-line: rgba(255, 255, 255, var(--grz-ah-border-alpha, .15));
	--grz-ah-surface-left: var(--grz-home-palette-left, var(--grz-ah-accent));
	--grz-ah-surface-right: var(--grz-home-palette-deep, rgb(var(--grz-ah-rgb, 8, 19, 38)));
}

body.grz-adaptive-header.grz-brand-razer-gold {
	--grz-ah-accent: #39f229;
	--grz-ah-accent-rgb: 57, 242, 41;
	--grz-ah-rgb: 0, 28, 14;
}

body.grz-adaptive-header.grz-brand-steam {
	--grz-ah-accent: #31aaf7;
	--grz-ah-accent-rgb: 49, 170, 247;
	--grz-ah-rgb: 3, 22, 40;
}

body.grz-adaptive-header.grz-brand-nintendo {
	--grz-ah-accent: #f12a35;
	--grz-ah-accent-rgb: 241, 42, 53;
	--grz-ah-rgb: 48, 5, 8;
}

body.grz-adaptive-header.grz-brand-xbox {
	--grz-ah-accent: #5bcf33;
	--grz-ah-accent-rgb: 91, 207, 51;
	--grz-ah-rgb: 8, 33, 14;
}

/* Product-led commerce screens inherit their generated palette. */
body.grz-adaptive-header:is(.grz-header-context-product, .grz-header-context-cart, .grz-header-context-checkout, .grz-header-context-thankyou) {
	--grz-ah-rgb: var(--grz-atmo-deep-rgb, 8, 19, 38);
}

/* The blue store-value strip is the stable top edge in every mode. */
body.grz-adaptive-header .grz-top-strip {
	position: relative;
	z-index: 3;
	border: 0;
	border-radius: 0;
	background: linear-gradient(112deg, #0753cd 0%, #0878ff 58%, #0a83ff 100%) !important;
	box-shadow: none;
	color: #fff;
}

body.grz-adaptive-header .grz-top-strip::before,
body.grz-adaptive-header .grz-top-strip::after {
	inset: 0;
	width: auto;
	background: repeating-linear-gradient(118deg, transparent 0 188px, rgba(255, 255, 255, .18) 189px 190px, transparent 191px 260px);
	opacity: 1;
	transform: none;
}

body.grz-adaptive-header .grz-top-strip::after {
	display: none;
}

body.grz-adaptive-header .grz-top-strip__track {
	box-sizing: border-box;
	width: min(100%, var(--grz-container, 1440px));
	max-width: 1440px;
	min-height: 28px;
	padding-inline: var(--grz-gutter, 24px);
}

body.grz-adaptive-header .grz-top-strip__item {
	gap: 7px;
	padding: 4px 12px;
	font-size: 10px;
}

body.grz-adaptive-header .grz-top-strip__item .grz-icon {
	width: 12px;
	height: 12px;
}

body.grz-adaptive-header .grz-top-strip__item strong {
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .02em;
	text-transform: uppercase;
}

body.grz-adaptive-header .grz-top-strip__item span {
	color: rgba(255, 255, 255, .8);
}

/* One continuous storefront surface below the blue strip. */
body.grz-adaptive-header .grz-header,
body.grz-adaptive-header .grz-header__shell,
body.grz-adaptive-header .grz-main-header {
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.grz-adaptive-header .grz-header {
	position: relative;
	z-index: 100;
	width: 100%;
	margin: 0;
	padding: 0 !important;
	background: transparent !important;
}

body.grz-adaptive-header .grz-header__shell {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.grz-adaptive-header .grz-header::before,
body.grz-adaptive-header .grz-header::after,
body.grz-adaptive-header .grz-main-header::before,
body.grz-adaptive-header .grz-main-header::after {
	display: none !important;
}

body.grz-adaptive-header .grz-utility,
body.grz-adaptive-header .grz-main-header {
	-webkit-backdrop-filter: saturate(1.22) blur(var(--grz-ah-blur, 24px));
	backdrop-filter: saturate(1.22) blur(var(--grz-ah-blur, 24px));
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

body.grz-adaptive-header .grz-utility {
	position: relative !important;
	inset: auto !important;
	z-index: 2;
	display: block !important;
	height: auto !important;
	min-height: 42px;
	border: 0;
	border-bottom: 1px solid var(--grz-ah-line);
}

body.grz-adaptive-header .grz-mobile-menu-button,
body.grz-adaptive-header .grz-mobile-search-button {
	display: none !important;
}

body.grz-adaptive-header .grz-utility__inner {
	box-sizing: border-box;
	width: min(100%, var(--grz-container, 1440px));
	max-width: 1440px;
	min-height: 42px;
	gap: 18px;
	margin-inline: auto;
	padding-inline: var(--grz-gutter, 24px);
}

body.grz-adaptive-header .grz-utility__links,
body.grz-adaptive-header .grz-utility__meta {
	display: flex !important;
	align-items: center;
	gap: 7px;
}

body.grz-adaptive-header .grz-locale-slot {
	display: flex;
	align-items: center;
}

body.grz-adaptive-header .grz-utility__links a,
body.grz-adaptive-header .grz-app-link,
body.grz-adaptive-header .grz-locale-indicator {
	min-height: 32px;
	gap: 6px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 10px;
	transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.grz-adaptive-header .grz-utility__meta .grz-locale-indicator {
	display: inline-flex;
	box-sizing: border-box;
	height: 32px;
	min-height: 32px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0 5px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

body.grz-adaptive-header .grz-utility__meta .grz-locale-indicator--currency {
	min-width: 0;
}

body.grz-adaptive-header .grz-utility__meta .grz-locale-indicator--language {
	min-width: 0;
}

body.grz-adaptive-header .grz-locale-indicator > .grz-icon {
	width: 14px;
	height: 14px;
}

body.grz-adaptive-header .grz-locale-chevron {
	display: inline-flex;
	align-items: center;
	opacity: .72;
}

body.grz-adaptive-header .grz-locale-chevron .grz-icon {
	width: 10px;
	height: 10px;
}

body.grz-adaptive-header .grz-utility__meta .grz-locale-country-flag {
	display: inline-flex;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	overflow: hidden;
	border-radius: 50%;
}

body.grz-adaptive-header .grz-utility__meta .grz-flag-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.grz-adaptive-header .grz-utility__links a:first-child,
body.grz-adaptive-header .grz-utility__meta > *:first-child {
	padding-inline-start: 9px;
}

body.grz-adaptive-header .grz-utility__links a + a::before,
body.grz-adaptive-header .grz-utility__meta > * + *::before {
	display: none;
}

body.grz-adaptive-header .grz-utility__links em {
	min-height: 0;
	border-radius: 999px;
	background: var(--grz-ah-accent);
	color: #fff;
	font-size: 9px;
	font-weight: 900;
	padding: 2px 6px;
}

body.grz-adaptive-header .grz-main-header {
	position: relative;
	border: 0;
	border-bottom: 1px solid var(--grz-ah-line) !important;
}

body.grz-adaptive-header .grz-main-header__inner {
	display: grid !important;
	box-sizing: border-box;
	width: min(100%, var(--grz-container, 1440px)) !important;
	max-width: 1440px !important;
	min-height: 70px !important;
	grid-template-columns: 104px minmax(380px, 1fr) minmax(230px, 300px) auto !important;
	align-items: center;
	gap: clamp(12px, 1.35vw, 21px) !important;
	margin-inline: auto !important;
	padding-inline: var(--grz-gutter, 24px) !important;
}

body.grz-adaptive-header .grz-brand {
	display: inline-flex;
	width: 104px !important;
	min-width: 0;
	align-items: center;
	text-decoration: none;
}

body.grz-adaptive-header .grz-brand__image {
	display: block;
	width: auto;
	max-width: 94px !important;
	max-height: var(--grz-logo-max-h, 42px) !important;
	object-fit: contain;
}

body.grz-adaptive-header .grz-primary-nav {
	min-width: 0;
}

body.grz-adaptive-header .grz-primary-menu {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 4px !important;
	margin: 0;
	padding: 0;
}

body.grz-adaptive-header .grz-primary-menu > li > a {
	position: relative;
	display: flex;
	min-height: 38px !important;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	border: 1px solid transparent;
	border-radius: 8px !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 760;
	padding: 6px 10px !important;
	text-decoration: none;
	transform: none;
	transition: background 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
	white-space: nowrap;
}

body.grz-adaptive-header .grz-primary-menu > li > a:is(:hover, :focus-visible),
body.grz-adaptive-header .grz-primary-menu > li.current-menu-item > a,
body.grz-adaptive-header .grz-primary-menu > li.current-menu-ancestor > a {
	border-color: rgba(var(--grz-ah-accent-rgb), .34) !important;
	background: rgba(var(--grz-ah-accent-rgb), .14) !important;
	box-shadow: none !important;
	color: var(--grz-ah-accent) !important;
	transform: translateY(-1px);
}

body.grz-adaptive-header .grz-primary-menu > li.current-menu-item > a::after,
body.grz-adaptive-header .grz-primary-menu > li.current-menu-ancestor > a::after {
	position: absolute;
	inset-inline: 9px;
	bottom: -17px;
	display: block !important;
	height: 2px;
	border: 0;
	border-radius: 999px;
	background: var(--grz-ah-accent) !important;
	box-shadow: 0 0 14px rgba(var(--grz-ah-accent-rgb), .78) !important;
	content: "";
}

/* Branded category pages always keep Gift cards visibly selected. */
body.grz-adaptive-header.grz-brand-landing-page .grz-primary-menu > li:has(> a[href*="gift-card"]) > a,
body.grz-adaptive-header.grz-brand-landing-page .grz-primary-menu > li:has(> a[href*="game-card"]) > a {
	border-color: rgba(var(--grz-ah-accent-rgb), .34) !important;
	background: rgba(var(--grz-ah-accent-rgb), .14) !important;
	color: #fff !important;
}

body.grz-adaptive-header.grz-brand-landing-page .grz-primary-menu > li:has(> a[href*="gift-card"]) > a::after,
body.grz-adaptive-header.grz-brand-landing-page .grz-primary-menu > li:has(> a[href*="game-card"]) > a::after {
	position: absolute;
	inset-inline: 9px;
	bottom: -17px;
	display: block !important;
	height: 2px;
	border-radius: 999px;
	background: var(--grz-ah-accent) !important;
	box-shadow: 0 0 14px rgba(var(--grz-ah-accent-rgb), .78) !important;
	content: "";
}

body.grz-adaptive-header .grz-primary-menu .grz-menu-icon {
	width: 15px;
	height: 15px;
}

body.grz-adaptive-header .grz-product-search {
	width: 100% !important;
	max-width: 300px !important;
	justify-self: end;
}

body.grz-adaptive-header .grz-product-search input {
	width: 100%;
	height: 40px !important;
	min-height: 40px !important;
	border-radius: 8px !important;
	box-shadow: none;
	font-size: 12px !important;
	padding: 0 42px 0 14px !important;
	transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

[dir="rtl"] body.grz-adaptive-header .grz-product-search input {
	padding: 0 14px 0 42px !important;
}

body.grz-adaptive-header .grz-product-search button,
body.grz-adaptive-header .grz-header-actions .grz-icon-button {
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.grz-adaptive-header .grz-product-search button {
	inset-inline-end: 5px;
	width: 31px !important;
	height: 31px !important;
}

body.grz-adaptive-header .grz-header-actions {
	position: static !important;
	display: flex;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	padding: 0 !important;
}

body.grz-adaptive-header .grz-header-actions .grz-icon-button {
	width: 36px !important;
	height: 36px !important;
	min-height: 36px !important;
}

body.grz-adaptive-header .grz-header-actions .grz-icon-button .grz-icon,
body.grz-adaptive-header .grz-product-search button .grz-icon {
	width: 18px !important;
	height: 18px !important;
}

body.grz-adaptive-header .grz-product-search button:is(:hover, :focus-visible),
body.grz-adaptive-header .grz-header-actions .grz-icon-button:is(:hover, :focus-visible) {
	border-color: rgba(var(--grz-ah-accent-rgb), .42) !important;
	background: rgba(var(--grz-ah-accent-rgb), .15) !important;
	box-shadow: none !important;
	color: var(--grz-ah-accent) !important;
	transform: translateY(-1px) !important;
}

body.grz-adaptive-header .grz-sign-in {
	min-height: 36px;
	border: 1px solid rgba(var(--grz-ah-accent-rgb), .48) !important;
	border-radius: 8px !important;
	background: rgba(var(--grz-ah-accent-rgb), .08) !important;
	box-shadow: none !important;
	font-size: 11px !important;
	font-weight: 800;
	padding: 6px 10px !important;
}

body.grz-adaptive-header .grz-sign-in:is(:hover, :focus-visible) {
	background: rgba(var(--grz-ah-accent-rgb), .2) !important;
	color: var(--grz-ah-accent) !important;
}

body.grz-adaptive-header .grz-cart-count {
	top: -3px !important;
	inset-inline-end: -3px !important;
	min-width: 17px;
	height: 17px;
	border-width: 2px;
	font-size: 8px;
}

/*
 * Embedded mode deliberately reuses Checkout's architecture: one protected
 * atmospheric glass on the outer shell, with transparent rows inside it.
 * The page owns the atmosphere image; the header never paints a second copy.
 */
body.grz-adaptive-header.grz-header-mode-embedded .grz-header__shell {
	border-bottom: 1px solid var(--grz-ah-line) !important;
	background:
		linear-gradient(90deg, rgba(var(--grz-ah-rgb, 8, 19, 38), .2), rgba(var(--grz-ah-rgb, 8, 19, 38), .58)),
		radial-gradient(ellipse 68% 210% at 0% 50%, color-mix(in srgb, var(--grz-ah-surface-left) 62%, transparent), transparent 72%),
		radial-gradient(ellipse 70% 210% at 100% 50%, color-mix(in srgb, var(--grz-ah-surface-right) 68%, transparent), transparent 74%),
		linear-gradient(90deg, rgba(var(--grz-ah-accent-rgb), .045), transparent 42%),
		rgba(var(--grz-ah-rgb, 8, 19, 38), var(--grz-ah-alpha, .46)) !important;
	box-shadow: 0 16px 34px rgba(3, 10, 23, .08) !important;
	-webkit-backdrop-filter: saturate(1.22) blur(var(--grz-ah-blur, 24px));
	backdrop-filter: saturate(1.22) blur(var(--grz-ah-blur, 24px));
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-utility,
body.grz-adaptive-header.grz-header-mode-embedded .grz-main-header {
	background: transparent !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: #fff !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-utility {
	border-bottom-color: rgba(255, 255, 255, .12) !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-main-header {
	border-bottom: 0 !important;
}

body.grz-adaptive-header.grz-header-mode-embedded :is(.grz-brand, .grz-brand__main, .grz-brand__sub, .grz-primary-menu > li > a, .grz-primary-menu .grz-menu-icon, .grz-product-search button, .grz-header-actions .grz-icon-button, .grz-sign-in) {
	color: #fff !important;
	-webkit-text-fill-color: currentColor;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-brand__main {
	background: none !important;
	-webkit-background-clip: border-box;
	background-clip: border-box;
}

body.grz-adaptive-header.grz-header-mode-embedded.grz-header-logo-automatic .grz-brand__image,
body.grz-adaptive-header.grz-header-logo-white .grz-brand__image {
	filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(var(--grz-ah-accent-rgb), .18)) !important;
}

body.grz-adaptive-header.grz-header-logo-original .grz-brand__image {
	filter: none !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-utility__links a,
body.grz-adaptive-header.grz-header-mode-embedded .grz-app-link,
body.grz-adaptive-header.grz-header-mode-embedded .grz-locale-indicator {
	color: rgba(255, 255, 255, .84) !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-utility__links a:is(:hover, :focus-visible),
body.grz-adaptive-header.grz-header-mode-embedded .grz-app-link:is(:hover, :focus-visible),
body.grz-adaptive-header.grz-header-mode-embedded .grz-locale-indicator:is(:hover, :focus-visible) {
	border-color: rgba(255, 255, 255, .62) !important;
	background: rgba(255, 255, 255, .14) !important;
	color: #fff !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-utility__meta .grz-locale-indicator:is(:hover, :focus-visible) {
	border-color: transparent !important;
	background: transparent !important;
	color: var(--grz-ah-accent) !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-product-search input {
	border-color: rgba(255, 255, 255, .28) !important;
	background: rgba(4, 12, 25, .34) !important;
	color: #fff !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-product-search input::placeholder {
	color: rgba(255, 255, 255, .7) !important;
	opacity: 1;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-product-search:focus-within input {
	border-color: rgba(var(--grz-ah-accent-rgb), .86) !important;
	background: rgba(3, 11, 24, .58) !important;
	box-shadow: 0 0 0 3px rgba(var(--grz-ah-accent-rgb), .14) !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-primary-menu > li > a:is(:hover, :focus-visible),
body.grz-adaptive-header.grz-header-mode-embedded .grz-primary-menu > li.current-menu-item > a,
body.grz-adaptive-header.grz-header-mode-embedded .grz-primary-menu > li.current-menu-ancestor > a {
	color: #fff !important;
}

body.grz-adaptive-header.grz-header-mode-embedded .grz-cart-count {
	border-color: rgba(var(--grz-ah-rgb, 8, 19, 38), .9) !important;
}

/* White mode: neutral and dense for policy or long-form content. */
body.grz-adaptive-header.grz-header-mode-white .grz-utility,
body.grz-adaptive-header.grz-header-mode-white .grz-main-header {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: rgba(255, 255, 255, .98) !important;
	color: var(--grz-ah-ink) !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-utility {
	border-bottom-color: rgba(203, 216, 232, .72) !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-main-header {
	border-bottom-color: rgba(203, 216, 232, .88) !important;
	box-shadow: 0 8px 24px rgba(10, 25, 53, .08) !important;
}

body.grz-adaptive-header.grz-header-mode-white :is(.grz-brand__sub, .grz-primary-menu > li > a, .grz-primary-menu .grz-menu-icon, .grz-product-search button, .grz-header-actions .grz-icon-button) {
	color: #172238 !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-brand__image {
	filter: none !important;
}

body.grz-adaptive-header.grz-header-mode-white.grz-header-logo-white .grz-brand__image {
	filter: brightness(0) invert(1) !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-utility__links a,
body.grz-adaptive-header.grz-header-mode-white .grz-app-link,
body.grz-adaptive-header.grz-header-mode-white .grz-locale-indicator {
	color: #1c2940 !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-utility__meta .grz-locale-indicator {
	border-color: transparent !important;
	background: transparent !important;
	box-shadow: none;
}

body.grz-adaptive-header.grz-header-mode-white .grz-utility__links a:is(:hover, :focus-visible),
body.grz-adaptive-header.grz-header-mode-white .grz-app-link:is(:hover, :focus-visible),
body.grz-adaptive-header.grz-header-mode-white .grz-locale-indicator:is(:hover, :focus-visible) {
	background: rgba(var(--grz-ah-accent-rgb), .08) !important;
	color: var(--grz-ah-accent) !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-utility__meta .grz-locale-indicator:is(:hover, :focus-visible) {
	background: transparent !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-product-search input {
	border-color: #cbd8e8 !important;
	background: #fbfdff !important;
	color: #172238 !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-product-search input::placeholder {
	color: #718096 !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-sign-in {
	color: var(--grz-ah-accent) !important;
}

body.grz-adaptive-header.grz-header-mode-white .grz-cart-count {
	border-color: #fff !important;
}

/* Secure checkout uses the same contrast, shell width and row height. */
body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header {
	position: relative;
	z-index: 100;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--grz-ah-line);
	background:
		linear-gradient(90deg, rgba(var(--grz-ah-accent-rgb), .045), transparent 42%),
		rgba(var(--grz-ah-rgb, 8, 19, 38), var(--grz-ah-alpha, .46)) !important;
	box-shadow: 0 16px 34px rgba(3, 10, 23, .08) !important;
	color: #fff;
	-webkit-backdrop-filter: saturate(1.22) blur(var(--grz-ah-blur, 24px));
	backdrop-filter: saturate(1.22) blur(var(--grz-ah-blur, 24px));
}

body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__inner {
	box-sizing: border-box;
	width: min(100%, var(--grz-container, 1440px)) !important;
	max-width: 1440px !important;
	min-height: 70px !important;
	grid-template-columns: 1fr auto 1fr;
	gap: 22px;
	margin-inline: auto !important;
	padding-inline: var(--grz-gutter, 24px) !important;
	border: 0;
	border-bottom: 0;
	background: transparent !important;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__brand .grz-brand__image {
	max-width: 94px !important;
	filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(var(--grz-ah-accent-rgb), .18)) !important;
}

body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__locale a {
	border-color: rgba(255, 255, 255, .2) !important;
	border-radius: 8px !important;
	background: rgba(4, 12, 25, .22) !important;
	color: #fff !important;
}

body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__locale a:is(:hover, :focus-visible) {
	border-color: rgba(var(--grz-ah-accent-rgb), .42) !important;
	background: rgba(var(--grz-ah-accent-rgb), .15) !important;
}

/* Keep dropdowns readable regardless of the page atmosphere. */
body.grz-adaptive-header .grz-primary-menu .sub-menu {
	border-color: #d7e1ee !important;
	background: rgba(255, 255, 255, .98) !important;
	color: #172238 !important;
}

body.grz-adaptive-header .grz-primary-menu .sub-menu a {
	color: #42516b !important;
}

body.grz-adaptive-header .grz-primary-menu .sub-menu a:is(:hover, :focus-visible),
body.grz-adaptive-header .grz-primary-menu .sub-menu .current-menu-item > a {
	background: rgba(var(--grz-ah-accent-rgb), .09) !important;
	color: var(--grz-ah-accent) !important;
}

@media (max-width: 1260px) and (min-width: 1121px) {
	body.grz-adaptive-header .grz-main-header__inner {
		grid-template-columns: 94px minmax(310px, 1fr) minmax(210px, 270px) auto !important;
		gap: 10px !important;
	}

	body.grz-adaptive-header .grz-brand,
	body.grz-adaptive-header .grz-brand__image {
		max-width: 86px !important;
		width: 86px !important;
	}

	body.grz-adaptive-header .grz-primary-menu > li > a {
		padding-inline: 7px !important;
		font-size: 11px !important;
	}

	body.grz-adaptive-header .grz-sign-in {
		display: none !important;
	}
}

@media (max-width: 1120px) {
	body.grz-adaptive-header .grz-utility {
		display: none !important;
	}

	body.grz-adaptive-header .grz-main-header__inner {
		width: min(100%, var(--grz-container, 1440px)) !important;
		min-height: 62px !important;
		grid-template-columns: auto 94px minmax(0, 1fr) auto !important;
		gap: 9px !important;
	}

	body.grz-adaptive-header .grz-primary-nav,
	body.grz-adaptive-header .grz-product-search,
	body.grz-adaptive-header .grz-sign-in {
		display: none !important;
	}

	body.grz-adaptive-header .grz-mobile-menu-button,
	body.grz-adaptive-header .grz-mobile-search-button {
		display: inline-grid !important;
	}

	body.grz-adaptive-header .grz-brand {
		width: 94px !important;
	}

	body.grz-adaptive-header .grz-brand__image {
		max-width: 86px !important;
	}

	body.grz-adaptive-header.grz-header-mode-embedded .grz-header__shell,
	body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header {
		background:
			linear-gradient(90deg, rgba(var(--grz-ah-accent-rgb), .055), transparent 40%),
			rgba(var(--grz-ah-rgb, 8, 19, 38), var(--grz-ah-mobile-alpha, .38)) !important;
	}

	body.grz-adaptive-header.grz-header-mode-embedded .grz-header__shell {
		background:
			linear-gradient(90deg, rgba(var(--grz-ah-rgb, 8, 19, 38), .24), rgba(var(--grz-ah-rgb, 8, 19, 38), .58)),
			radial-gradient(ellipse 84% 220% at 0% 50%, color-mix(in srgb, var(--grz-ah-surface-left) 54%, transparent), transparent 74%),
			radial-gradient(ellipse 88% 220% at 100% 50%, color-mix(in srgb, var(--grz-ah-surface-right) 62%, transparent), transparent 76%),
			rgba(var(--grz-ah-rgb, 8, 19, 38), var(--grz-ah-mobile-alpha, .38)) !important;
	}

	body.grz-adaptive-header.grz-header-mode-embedded .grz-main-header {
		background: transparent !important;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	body.grz-adaptive-header .grz-mobile-search {
		border-top: 1px solid var(--grz-ah-line);
	}
}

@media (max-width: 620px) {
	body.grz-adaptive-header .grz-top-strip__track {
		display: flex;
		min-height: 27px;
		overflow: hidden;
		padding-inline: 14px;
	}

	body.grz-adaptive-header .grz-top-strip__item {
		display: none;
		min-width: 100%;
		justify-content: center;
		padding: 4px 8px;
	}

	body.grz-adaptive-header .grz-top-strip__item:first-child {
		display: flex;
	}

	body.grz-adaptive-header .grz-main-header__inner {
		min-height: 58px !important;
		grid-template-columns: 38px minmax(80px, 1fr) auto !important;
		gap: 7px !important;
		padding-inline: 14px !important;
	}

	body.grz-adaptive-header .grz-brand {
		width: 86px !important;
	}

	body.grz-adaptive-header .grz-brand__image {
		max-width: 80px !important;
	}

	body.grz-adaptive-header .grz-header-actions {
		grid-column: 3;
		gap: 1px;
	}

	body.grz-adaptive-header .grz-header-actions .grz-icon-button {
		width: 32px !important;
		height: 32px !important;
		min-height: 32px !important;
	}

	body.grz-adaptive-header .grz-header-actions .grz-account-icon {
		display: none !important;
	}

	body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__inner {
		min-height: 62px !important;
		grid-template-columns: 92px 1fr auto;
		gap: 8px;
		padding-inline: 14px !important;
	}

	body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__secure .grz-icon {
		display: none;
	}

	body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__secure small,
	body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__locale a:last-child,
	body.grz-adaptive-header.grz-header-mode-secure .grz-checkout-site-header__locale-separator {
		display: none !important;
	}
}
