/* =========================================================
   Ecomus Child — Custom Dynamic Desktop Header
   Everything scoped to the custom header
   ========================================================= */


/* =========================================================
   HEADER WRAPPER
   ========================================================= */

.sas-custom-header {
	position: absolute;
	top: 34px;
	left: 0;
	width: 100%;
	z-index: 999;
	color: #ffffff;
	background: transparent;

	transition:
		background-color 0.28s ease,
		color 0.28s ease,
		box-shadow 0.28s ease,
		transform 0.28s ease;
}




/* =========================================================
   WIDTH
   > 1400px = 1392px
   <= 1400px = full width + 24px padding
   ========================================================= */

.sas-custom-header .sas-header-container {
	width: min(1392px, calc(100% - 48px));
	margin-inline: auto;
}


/* =========================================================
   STICKY
   ========================================================= */

body.admin-bar .sas-custom-header.is-sticky {
	top: 32px;
}

.sas-custom-header.is-sticky {
	position: fixed;
	top: 0;

	background: #f8f5f0;
	color: #24221f;

	box-shadow: 0 1px 8px rgba(20, 18, 15, 0.05);

	/* Group elements animate their geometry via JS; do not animate the entire fixed header. */
}

@keyframes sasHeaderEnter {

	from {
		transform: translateY(-8px);
	}

	to {
		transform: translateY(0);
	}

}


/* =========================================================
   MAIN ROW
   ========================================================= */

.sas-custom-header .sas-custom-header__main {
	border-bottom: 1px solid rgba(255, 255, 255, 0.58);

	transition:
		border-color 0.28s ease;
}

.sas-custom-header.is-sticky .sas-custom-header__main {
	border-bottom-color: rgba(36, 34, 31, 0.11);
}

.sas-custom-header .sas-custom-header__main-inner {
	min-height: 80px;

	display: grid;

	grid-template-columns:
		minmax(260px, 1fr)
		auto
		minmax(260px, 1fr);

	align-items: center;

	column-gap: 24px;
}


/* =========================================================
   UTILITY MENU
   ========================================================= */

.sas-custom-header .sas-custom-header__utility {
	justify-self: start;
	align-self: stretch;

	display: flex;
	align-items: flex-start;
}

.sas-custom-header .sas-utility-menu {
	list-style: none;

	margin: 0;
	padding: 0;

	display: flex;
	align-items: stretch;

	height: 31px;
}

.sas-custom-header .sas-utility-menu > li {
	margin: 0;
	padding: 0;

	display: flex;
}

.sas-custom-header .sas-utility-menu > li > a {
	display: inline-flex;

	align-items: center;

	height: 31px;

	padding: 0 13px;

	font-size: 12px;
	line-height: 1;

	font-weight: 600;

	letter-spacing: 0;

	color: currentColor;

	text-decoration: none;

	white-space: nowrap;

	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.sas-custom-header .sas-utility-menu > li.current-menu-item > a,
.sas-custom-header .sas-utility-menu > li.current-menu-ancestor > a,
.sas-custom-header .sas-utility-menu--fallback > li:first-child > a {
	background: #ff625e;
	color: #ffffff;
}

.sas-custom-header
.sas-utility-menu
> li:not(.current-menu-item):not(.current-menu-ancestor)
> a:hover {
	background: rgba(255, 255, 255, 0.12);
}

.sas-custom-header.is-sticky
.sas-utility-menu
> li:not(.current-menu-item):not(.current-menu-ancestor)
> a:hover {
	background: rgba(36, 34, 31, 0.06);
}


/* =========================================================
   LOGO WRAPPER
   ========================================================= */

.sas-custom-header .sas-custom-header__logo {
	justify-self: center;

	display: flex;

	align-items: center;
	justify-content: center;

	position: relative;
}


/* =========================================================
   DEFAULT / TRANSPARENT LOGO
   ========================================================= */

.sas-custom-header .sas-custom-header__logo-default {
	display: flex;

	align-items: center;
	justify-content: center;
}

.sas-custom-header .sas-custom-header__logo-default > a {
	display: flex;

	align-items: center;
	justify-content: center;

	margin: 0;
	padding: 0;

	text-decoration: none;
}

.sas-custom-header .sas-custom-header__logo-default img {
	display: block;

	width: auto;
	height: auto;

	max-width: 170px;
	max-height: 75px;

	object-fit: contain;
}


/* =========================================================
   STICKY GLOBAL LOGO
   ========================================================= */

.sas-custom-header .sas-custom-header__logo-sticky {
	display: none;

	align-items: center;
	justify-content: center;
}

.sas-custom-header
.sas-custom-header__logo-sticky
.header-logo,
.sas-custom-header
.sas-custom-header__logo-sticky
.header-logo > a {
	display: flex;

	align-items: center;
	justify-content: center;

	margin: 0;
}

.sas-custom-header
.sas-custom-header__logo-sticky
.header-logo img,
.sas-custom-header
.sas-custom-header__logo-sticky
img {
	display: block;

	width: auto;
	height: auto;

	max-width: 170px;
	max-height: 75px;

	object-fit: contain;
}

.sas-custom-header
.sas-custom-header__logo-sticky
.header-logo__text,
.sas-custom-header
.sas-custom-header__logo-sticky
.header-logo__svg {
	color: currentColor;
}


/* =========================================================
   LOGO SWITCH
   ========================================================= */

.sas-custom-header.is-sticky
.sas-custom-header__logo-default {
	display: none;
}

.sas-custom-header.is-sticky
.sas-custom-header__logo-sticky {
	display: flex;
}


/* =========================================================
   HEADER ACTIONS
   Smaller + cleaner like reference
   ========================================================= */

.sas-custom-header .sas-custom-header__actions {
	justify-self: end;

	display: flex;

	align-items: center;

	/*
	 * Reference has tighter spacing.
	 * Old value was 25px.
	 */
	gap: 20px;
}


/* Individual icon wrapper */

.sas-custom-header .sas-header-action {
	display: flex;

	align-items: center;
	justify-content: center;

	width: auto;

	margin: 0;
	padding: 0;

	line-height: 1;
}


/* =========================================================
   ACTION LINK
   Important: remove Ecomus button width
   ========================================================= */

.sas-custom-header .sas-header-icon,
.sas-custom-header .sas-header-action > a,
.sas-custom-header .sas-header-action .em-button {
	position: relative;

	display: inline-flex;

	align-items: center;
	justify-content: center;

	/*
	 * Prevent Ecomus button styles from giving
	 * the icons too much width.
	 */
	width: 20px !important;
	min-width: 20px !important;

	height: 30px !important;
	min-height: 30px !important;

	padding: 0 !important;
	margin: 0 !important;

	border: 0 !important;

	background: transparent !important;

	color: currentColor;

	text-decoration: none;

	box-shadow: none !important;

	border-radius: 0;
}


/* Disable width variables coming from Ecomus */

.sas-custom-header .sas-header-action .em-button {
	--em-button-width: 20px !important;
	--em-button-height: 30px !important;
	--em-button-font-size: 18px !important;
}


/* =========================================================
   OUR CUSTOM SVG ICONS
   ========================================================= */

.sas-custom-header .sas-header-icon > svg {
	display: block;

	width: 19px !important;
	height: 19px !important;

	min-width: 19px;

	overflow: visible;

	fill: none !important;

	stroke: currentColor !important;

	stroke-width: 1.7;

	stroke-linecap: round;
	stroke-linejoin: round;

	color: currentColor;

	transition:
		stroke 0.28s ease,
		color 0.28s ease,
		opacity 0.2s ease;
}


/* Search is slightly larger visually */

.sas-custom-header
.sas-header-action--search
.sas-header-icon > svg {
	width: 19px !important;
	height: 19px !important;
}


/* Account */

.sas-custom-header
.sas-header-action--account
.sas-header-icon > svg {
	width: 19px !important;
	height: 19px !important;
}


/* Wishlist */

.sas-custom-header
.sas-header-action--wishlist
.sas-header-icon > svg {
	width: 19px !important;
	height: 19px !important;
}


/* Cart */

.sas-custom-header
.sas-header-action--cart
.sas-header-icon > svg {
	width: 20px !important;
	height: 20px !important;
}


/* Hover */

.sas-custom-header
.sas-header-action
.sas-header-icon:hover {
	opacity: 0.7;
}


/* =========================================================
   REMOVE ECOMUS GENERATED ICON SIZING
   ========================================================= */

.sas-custom-header
.header-search__icon {
	--em-button-font-size: inherit;
}

.sas-custom-header
.header-cart__icon {
	--em-button-font-size: inherit;
}


/*
 * If Ecomus injects additional icon elements,
 * don't allow them to affect our SVG dimensions.
 */

.sas-custom-header
.sas-header-icon
.ecomus-svg-icon {
	font-size: inherit !important;

	width: auto !important;
	height: auto !important;
}


/* =========================================================
   CART COUNTER
   ========================================================= */

.sas-custom-header .header-counter {
	position: absolute;

	top: 1px;
	right: -7px;

	min-width: 13px;
	height: 13px;

	padding: 0 3px;

	border-radius: 999px;

	font-size: 8px;
	font-weight: 600;

	line-height: 13px;

	text-align: center;

	background: #ff625e;

	color: #ffffff;
}

.sas-custom-header .header-counter.empty-counter {
	display: none;
}


/* =========================================================
   NAVIGATION ROW
   ========================================================= */

.sas-custom-header .sas-custom-header__nav {
	border-bottom: 1px solid rgba(255, 255, 255, 0.58);

	transition:
		border-color 0.28s ease;
}

.sas-custom-header.is-sticky
.sas-custom-header__nav {
	border-bottom-color: rgba(36, 34, 31, 0.11);
}

.sas-custom-header .sas-custom-header__nav-inner {
	min-height: 42px;

	display: flex;

	align-items: center;
	justify-content: center;
}


/* Main navigation wrapper */

.sas-custom-header
.sas-custom-header__nav
.main-navigation,
.sas-custom-header
.sas-custom-header__nav
.primary-navigation,
.sas-custom-header
.sas-custom-header__nav
nav {
	width: 100%;

	display: flex;

	justify-content: center;
}


/* =========================================================
   TOP LEVEL MENU
   ========================================================= */

.sas-custom-header
.sas-custom-header__nav
.menu,
.sas-custom-header
.sas-custom-header__nav
.nav-menu {
	list-style: none;

	margin: 0;
	padding: 0;

	display: flex;

	align-items: center;
	justify-content: center;

	gap: 36px;
}

.sas-custom-header
.sas-custom-header__nav
.menu > li,
.sas-custom-header
.sas-custom-header__nav
.nav-menu > li {
	margin: 0;
	padding: 0;
}

/* =========================================================
   TOP LEVEL NAVIGATION LINK STYLING
   Restore the original transparent-header typography/colors
   ========================================================= */

.sas-custom-header
.sas-custom-header__nav
.menu > li > a,
.sas-custom-header
.sas-custom-header__nav
.nav-menu > li > a {
	position: relative;

	display: flex;
	align-items: center;

	min-height: 42px;

	margin: 0;
	padding: 0;

	font-size: 13px !important;
	line-height: 1.2 !important;

	font-weight: 600 !important;
	letter-spacing: 0 !important;

	color: #ffffff !important;

	text-decoration: none !important;
	white-space: nowrap;

	transition:
		opacity 0.2s ease,
		color 0.28s ease;
}

/* Give links with dropdowns dedicated space for the arrow. */
.sas-custom-header
.sas-custom-header__nav
.primary-navigation
.nav-menu
> li.menu-item-has-children
> a,
.sas-custom-header
.sas-custom-header__nav
.menu
> li.menu-item-has-children
> a {
	padding-right: 17px !important;
}

/* Hover/current state on transparent header. */
.sas-custom-header
.sas-custom-header__nav
.menu > li > a:hover,
.sas-custom-header
.sas-custom-header__nav
.nav-menu > li > a:hover,
.sas-custom-header
.sas-custom-header__nav
.menu > li.current-menu-item > a,
.sas-custom-header
.sas-custom-header__nav
.nav-menu > li.current-menu-item > a,
.sas-custom-header
.sas-custom-header__nav
.menu > li.current-menu-ancestor > a,
.sas-custom-header
.sas-custom-header__nav
.nav-menu > li.current-menu-ancestor > a {
	color: #ffffff !important;
	opacity: 0.72;
}

/* Sticky header switches only the top-level links to dark. */
.sas-custom-header.is-sticky
.sas-custom-header__nav
.menu > li > a,
.sas-custom-header.is-sticky
.sas-custom-header__nav
.nav-menu > li > a {
	color: #24221f !important;
}

.sas-custom-header.is-sticky
.sas-custom-header__nav
.menu > li > a:hover,
.sas-custom-header.is-sticky
.sas-custom-header__nav
.nav-menu > li > a:hover,
.sas-custom-header.is-sticky
.sas-custom-header__nav
.menu > li.current-menu-item > a,
.sas-custom-header.is-sticky
.sas-custom-header__nav
.nav-menu > li.current-menu-item > a,
.sas-custom-header.is-sticky
.sas-custom-header__nav
.menu > li.current-menu-ancestor > a,
.sas-custom-header.is-sticky
.sas-custom-header__nav
.nav-menu > li.current-menu-ancestor > a {
	color: #24221f !important;
	opacity: 0.72;
}

/* Keep mega-menu/dropdown content dark regardless of header state. */
.sas-custom-header .sub-menu,
.sas-custom-header .mega-menu,
.sas-custom-header .mega-menu-content,
.sas-custom-header .mega-menu__content,
.sas-custom-header .sub-menu a,
.sas-custom-header .mega-menu a {
	color: #24221f;
}

/* Sticky global color state for actions/logo, without overriding mega links. */
.sas-custom-header.is-sticky,
.sas-custom-header.is-sticky button,
.sas-custom-header.is-sticky .em-button {
	color: #24221f;
}

.sas-custom-header.is-sticky
.sas-utility-menu
> li.current-menu-item
> a,
.sas-custom-header.is-sticky
.sas-utility-menu
> li.current-menu-ancestor
> a,
.sas-custom-header.is-sticky
.sas-utility-menu--fallback
> li:first-child
> a {
	color: #ffffff;
}

/* =========================================================
   RESPONSIVE HEADER RULES
   ========================================================= */

@media (max-width: 1400px) {
	.sas-custom-header .sas-header-container {
		width: 100%;
		padding-inline: 24px;
	}

	.sas-custom-header
	.sas-custom-header__nav
	.menu,
	.sas-custom-header
	.sas-custom-header__nav
	.nav-menu {
		gap: 28px;
	}
}

@media (min-width: 1200px) and (max-width: 1300px) {
	.sas-custom-header .sas-custom-header__main-inner {
		grid-template-columns:
			minmax(225px, 1fr)
			auto
			minmax(225px, 1fr);

		column-gap: 18px;
	}

	.sas-custom-header
	.sas-custom-header__nav
	.menu,
	.sas-custom-header
	.sas-custom-header__nav
	.nav-menu {
		gap: 22px;
	}

	.sas-custom-header
	.sas-custom-header__nav
	.menu > li > a,
	.sas-custom-header
	.sas-custom-header__nav
	.nav-menu > li > a {
		font-size: 12px !important;
	}

	.sas-custom-header .sas-custom-header__actions {
		gap: 17px;
	}
}

@media (max-width: 1199px) {
	.sas-custom-header {
		display: none !important;
	}
}

@media (min-width: 1200px) {
	.sas-native-mobile-header {
		display: none !important;
	}
}

@media (max-width: 782px) {
	body.admin-bar .sas-custom-header.is-sticky {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sas-custom-header,
	.sas-custom-header *,
	.sas-custom-header.is-sticky {
		animation: none !important;
		transition: none !important;
	}
}

/* =========================================================
   ECOMUS MEGA MENU — FINAL CLEAN FIX
   Matches the original Ecomus full-width mega menu UI
   ========================================================= */

/* Allow dropdowns to escape all custom header wrappers. */
.sas-custom-header,
.sas-custom-header .sas-custom-header__main,
.sas-custom-header .sas-custom-header__nav,
.sas-custom-header .sas-custom-header__nav-inner,
.sas-custom-header .main-navigation,
.sas-custom-header .primary-navigation,
.sas-custom-header .nav-menu {
	overflow: visible !important;
}

/* Use the navigation row as the full-width positioning context. */
.sas-custom-header .sas-custom-header__nav {
	position: relative !important;
}

.sas-custom-header .sas-custom-header__nav-inner,
.sas-custom-header .main-navigation,
.sas-custom-header .primary-navigation,
.sas-custom-header .nav-menu {
	position: static !important;
}

/* Full-width Ecomus mega menu items. */
.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-mega.menu-item-static {
	position: static !important;
}

/* Standard/custom-width dropdowns. */
.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-has-children:not(.menu-item-static) {
	position: relative !important;
}

/* Full viewport mega-menu panel. */
.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-mega.menu-item-static
> ul.sub-menu.mega-menu {
	position: absolute !important;
	top: 100% !important;
	left: 50% !important;
	right: auto !important;

	width: 98.7vw !important;
	max-width: none !important;

	margin: 0 !important;
	padding: 28px 0 36px !important;

	transform: translateX(-50%) !important;

	background: #ffffff !important;
	color: #24221f !important;

	border: 0 !important;
	border-radius: 0 !important;

	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);

	z-index: 9999 !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

/* Remove old pseudo-layer behaviour. */
.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-mega.menu-item-static
> ul.sub-menu.mega-menu::before {
	display: none !important;
}

/* Center actual mega-menu content. */
.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-mega.menu-item-static
> ul.sub-menu.mega-menu
> li.mega-menu-container.full-width {
	width: min(1392px, calc(100% - 48px)) !important;
	max-width: 1392px !important;

	margin-left: auto !important;
	margin-right: auto !important;

	padding: 0 !important;

	background: transparent !important;
	box-sizing: border-box !important;
}

/* Row layout. */
.sas-custom-header
ul.sub-menu.mega-menu
.mega-menu__row {
	display: flex !important;
	width: 100% !important;
	align-items: flex-start !important;

	gap: 22px;

	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
}

/* Space between rows. */
.sas-custom-header
ul.sub-menu.mega-menu
.mega-menu__row + .mega-menu__row {
	margin-top: 26px !important;
}

/* Columns. */
.sas-custom-header
ul.sub-menu.mega-menu
.mega-menu__column {
	min-width: 0;

	margin: 0 !important;
	padding: 0 !important;

	box-sizing: border-box;
	background: transparent !important;
}

/* Image widget cards. */
.sas-custom-header
ul.sub-menu.mega-menu
.menu-item--widget-image {
	margin: 0 0 22px !important;
	padding: 0 !important;
}

.sas-custom-header
ul.sub-menu.mega-menu
.menu-item--widget-image > a {
	display: block;
	width: 100%;

	color: #24221f !important;
	text-decoration: none;
}

.sas-custom-header
ul.sub-menu.mega-menu
.menu-widget-image {
	width: 100%;
	overflow: hidden;

	background: #f7f7f7;
}

.sas-custom-header
ul.sub-menu.mega-menu
.menu-widget-image img {
	display: block;

	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;

	object-fit: cover;
}

/* Card titles. */
.sas-custom-header
ul.sub-menu.mega-menu
.menu-widget-image__button {
	display: block;

	margin-top: 10px;

	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;

	text-align: center;

	color: #24221f !important;
}

/* Mega menu text must not inherit transparent-header white. */
.sas-custom-header ul.sub-menu.mega-menu,
.sas-custom-header ul.sub-menu.mega-menu a,
.sas-custom-header ul.sub-menu.mega-menu span {
	color: #24221f;
}

/* View-all row/button. */
.sas-custom-header
ul.sub-menu.mega-menu
.mega-menu__row:last-child {
	justify-content: center !important;
	margin-top: 10px !important;
}

.sas-custom-header
ul.sub-menu.mega-menu
.menu-item--widget-button {
	width: auto !important;
	flex: none !important;

	margin: 0 auto !important;
}

.sas-custom-header
ul.sub-menu.mega-menu
.menu-item--widget-button
.em-button {
	display: inline-flex !important;

	align-items: center;
	justify-content: center;

	width: auto !important;
	min-width: auto !important;

	height: auto !important;
	min-height: 44px !important;

	padding: 0 24px !important;

	background: #000000 !important;
	color: #ffffff !important;

	font-size: 13px;
	font-weight: 600;

	opacity: 1 !important;
}

.sas-custom-header
ul.sub-menu.mega-menu
.menu-item--widget-button
.em-button
svg,
.sas-custom-header
ul.sub-menu.mega-menu
.menu-item--widget-button
.em-button
span {
	color: #ffffff !important;
}

/* Custom-width mega menus such as Pages/Blog retain Ecomus sizing. */
.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-mega:not(.menu-item-static)
> ul.sub-menu.mega-menu {
	top: 100% !important;

	background: #ffffff !important;
	color: #24221f !important;

	z-index: 9999 !important;
}

/* Top-level arrow spacing/fix. */
.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-has-children
> a {
	position: relative;
	padding-right: 17px !important;
}

.sas-custom-header
.primary-navigation
.nav-menu
> li.menu-item-has-children
> a::before {
	content: "" !important;

	position: absolute !important;

	top: 50% !important;
	right: 1px !important;

	width: 6px !important;
	height: 6px !important;

	margin: -4px 0 0 !important;

	background: transparent !important;

	border: 0 !important;
	border-right: 1.2px solid currentColor !important;
	border-bottom: 1.2px solid currentColor !important;

	-webkit-mask: none !important;
	mask: none !important;

	transform: rotate(45deg) !important;

	opacity: 0.85;
	pointer-events: none;
}

/* Nested dropdown arrows. */
.sas-custom-header
.primary-navigation
.nav-menu
> li
ul
li.menu-item-has-children
> a {
	position: relative;
	padding-right: 32px !important; 
}

.sas-custom-header
.primary-navigation
.nav-menu
> li
ul
li.menu-item-has-children
> a::before {
	right: 14px !important;
}

/* <= 1400px width logic. */
@media (max-width: 1400px) {
	.sas-custom-header
	.primary-navigation
	.nav-menu
	> li.menu-item-mega.menu-item-static
	> ul.sub-menu.mega-menu
	> li.mega-menu-container.full-width {
		width: 100% !important;
		max-width: none !important;

		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

/* 1200–1300px tighten mega row spacing slightly. */
@media (min-width: 1200px) and (max-width: 1300px) {
	.sas-custom-header
	ul.sub-menu.mega-menu
	.mega-menu__row {
		gap: 16px;
	}
}

/* =========================================================
   COMPACT STICKY HEADER — reference single-row layout (Oct 2026)
   Normal/transparent desktop header is intentionally unchanged.
   ========================================================= */
@media (min-width: 1200px) {
  .sas-custom-header.is-sticky {
    min-height: 42px;
    background: #f8f5f0;
  }

  /* All three groups share the same 62px sticky row. */
  .sas-custom-header.is-sticky .sas-custom-header__main {
    border-bottom: 0;
  }
  .sas-custom-header.is-sticky .sas-custom-header__main-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
    column-gap: 0;
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 24px;
  }
  .sas-custom-header.is-sticky .sas-custom-header__logo {
    display: none;
  }
  .sas-custom-header.is-sticky .sas-custom-header__utility {
    z-index: 2;
    flex: 0 0 auto;
    align-items: center;
    align-self: center;
  }
  .sas-custom-header.is-sticky .sas-utility-menu,
  .sas-custom-header.is-sticky .sas-utility-menu > li > a {
    height: 35px;
  }
  .sas-custom-header.is-sticky .sas-utility-menu > li > a {
    padding: 0 18px;
    font-size: 16px;
    font-weight: 600;
  }
  .sas-custom-header.is-sticky .sas-custom-header__actions {
    z-index: 2;
    flex: 0 0 auto;
    gap: 27px;
  }
  .sas-custom-header.is-sticky .sas-header-icon > svg {
    width: 20px !important;
    height: 20px !important;
  }
  .sas-custom-header.is-sticky .sas-header-action > a,
  .sas-custom-header.is-sticky .sas-header-action .em-button {
    width: 27px !important;
    min-width: 27px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  /* Keep Ecomus navigation markup intact so dropdown/mega-menu JS works. */
  .sas-custom-header.is-sticky .sas-custom-header__nav {
    position: absolute !important;
    top: 0;
    left: 50%;
    height: 42px;
    width: max-content;
    max-width: calc(100% - 510px);
    transform: translateX(-50%);
    z-index: 1;
  }
  .sas-custom-header.is-sticky .sas-custom-header__nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    width: auto;
    max-width: none;
    padding: 0;
  }
  .sas-custom-header.is-sticky .sas-custom-header__nav .menu,
  .sas-custom-header.is-sticky .sas-custom-header__nav .nav-menu {
    flex-wrap: nowrap;
    gap: 30px;
  }
  .sas-custom-header.is-sticky .sas-custom-header__nav .menu > li > a,
  .sas-custom-header.is-sticky .sas-custom-header__nav .nav-menu > li > a {
    min-height: 42px;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
}

/* Tighter spacing prevents utility, nav and actions from colliding. */
@media (min-width: 1200px) and (max-width: 1650px) {
  .sas-custom-header.is-sticky .sas-custom-header__nav .menu,
  .sas-custom-header.is-sticky .sas-custom-header__nav .nav-menu { gap: 17px; }
  .sas-custom-header.is-sticky .sas-custom-header__nav .menu > li > a,
  .sas-custom-header.is-sticky .sas-custom-header__nav .nav-menu > li > a { font-size: 13px !important; }
  .sas-custom-header.is-sticky .sas-utility-menu > li > a { font-size: 13px; padding-inline: 12px; }
  .sas-custom-header.is-sticky .sas-custom-header__actions { gap: 17px; }
  .sas-custom-header.is-sticky .sas-custom-header__nav { max-width: calc(100% - 410px); }
}
@media (min-width: 1200px) and (max-width: 1350px) {
  .sas-custom-header.is-sticky .sas-custom-header__nav .menu,
  .sas-custom-header.is-sticky .sas-custom-header__nav .nav-menu { gap: 10px; }
  .sas-custom-header.is-sticky .sas-custom-header__nav .menu > li > a,
  .sas-custom-header.is-sticky .sas-custom-header__nav .nav-menu > li > a { font-size: 12px !important; }
  .sas-custom-header.is-sticky .sas-utility-menu > li > a { padding-inline: 9px; font-size: 12px; }
  .sas-custom-header.is-sticky .sas-custom-header__actions { gap: 12px; }
  .sas-custom-header.is-sticky .sas-custom-header__nav { max-width: calc(100% - 335px); }
}

/* =========================================================
   INNER PAGES + SMOOTH STICKY TRANSITION (October 2026)
   ========================================================= */
@media (min-width: 1200px) {
  /* Inner pages begin in normal document flow, not as a hero overlay. */
  .sas-custom-header.sas-header--inner:not(.is-sticky) {
    position: relative;
    top: auto;
    left: auto;
    background: #f8f5f0;
    color: #24221f;
    box-shadow: none;
  }
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__main {
    border-bottom-color: rgba(36,34,31,.12);
  }
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__nav {
    border-bottom-color: rgba(36,34,31,.10);
  }
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__nav .menu > li > a,
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__nav .nav-menu > li > a,
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__nav .menu > li > a:hover,
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__nav .nav-menu > li > a:hover {
    color: #24221f !important;
  }
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__actions,
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-header-icon,
  .sas-custom-header.sas-header--inner:not(.is-sticky) .em-button {
    color: #24221f;
  }
  /* Original transparent logo is light; use the site's standard dark-state logo. */
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__logo-default { display: none; }
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__logo-sticky { display: flex; }
  .sas-custom-header.sas-header--inner:not(.is-sticky) .sas-custom-header__logo-sticky img { max-height: 75px; width: auto; }
  /* Smooth out the color and row-height transitions. */
  .sas-custom-header { transition: background-color .42s ease, color .42s ease, box-shadow .42s ease; }
  .sas-custom-header .sas-custom-header__main-inner,
  .sas-custom-header .sas-custom-header__nav-inner,
  .sas-custom-header .sas-custom-header__nav,
  .sas-custom-header .sas-utility-menu,
  .sas-custom-header .sas-utility-menu > li > a {
    transition: min-height .42s cubic-bezier(.2,.7,.2,1), height .42s cubic-bezier(.2,.7,.2,1), background-color .42s ease, color .42s ease;
  }
  .sas-custom-header .sas-header-icon,
  .sas-custom-header .sas-custom-header__nav .menu > li > a,
  .sas-custom-header .sas-custom-header__nav .nav-menu > li > a {
    transition: color .42s ease, opacity .25s ease;
  }
  .sas-custom-header.is-sticky { will-change: background-color; }
}
@media (prefers-reduced-motion: reduce) {
  .sas-custom-header, .sas-custom-header * { transition: none !important; animation: none !important; }
}
