
/* MyThrifts premium dark header - Astra safe styling */
body.home .site-header,
body.home .main-header-bar,
body.home .ast-primary-header-bar {
	background: #111111 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.home .site-header .ast-container,
body.home .main-header-bar .ast-container,
body.home .ast-primary-header-bar .ast-container {
	max-width: 1320px;
	padding-left: 18px;
	padding-right: 18px;
}

body.home .site-title a,
body.home .site-title,
body.home .ast-site-title-wrap a {
	color: #f6efe4 !important;
	font-weight: 900;
	letter-spacing: -0.03em;
}

body.home .main-header-menu > .menu-item > .menu-link,
body.home .ast-builder-menu-1 .menu-item > .menu-link,
body.home .ast-builder-menu-mobile .menu-item > .menu-link {
	color: rgba(246, 239, 228, 0.78) !important;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

body.home .main-header-menu > .menu-item:hover > .menu-link,
body.home .main-header-menu > .current-menu-item > .menu-link,
body.home .ast-builder-menu-1 .menu-item:hover > .menu-link,
body.home .ast-builder-menu-1 .current-menu-item > .menu-link {
	color: #c89b55 !important;
}

body.home .ast-header-break-point .main-header-menu {
	background: #111111 !important;
}

body.home .ast-button-wrap .menu-toggle,
body.home .ast-mobile-menu-trigger-minimal {
	color: #f6efe4 !important;
}

body.home .site-header a,
body.home .site-header .ast-icon,
body.home .ast-header-account-wrap a,
body.home .ast-header-woo-cart a {
	color: rgba(246, 239, 228, 0.82) !important;
}

body.home .site-header a:hover,
body.home .ast-header-account-wrap a:hover,
body.home .ast-header-woo-cart a:hover {
	color: #c89b55 !important;
}

/* Optional: make Sell / Store Manager style CTA if menu item exists */
body.home .main-header-menu .menu-item a[href*="store-manager"],
body.home .main-header-menu .menu-item a[href*="sell"],
body.home .main-header-menu .menu-item a[href*="vendor"] {
	background: #ff5b16;
	color: #ffffff !important;
	border-radius: 999px;
	padding: 10px 16px !important;
	line-height: 1 !important;
}

body.home .main-header-menu .menu-item a[href*="store-manager"]:hover,
body.home .main-header-menu .menu-item a[href*="sell"]:hover,
body.home .main-header-menu .menu-item a[href*="vendor"]:hover {
	background: #c89b55;
	color: #111111 !important;
}

@media (max-width: 921px) {
	body.home .site-header .ast-container,
	body.home .main-header-bar .ast-container,
	body.home .ast-primary-header-bar .ast-container {
		padding-left: 14px;
		padding-right: 14px;
	}

	body.home .main-header-menu > .menu-item > .menu-link,
	body.home .ast-builder-menu-1 .menu-item > .menu-link {
		color: #f6efe4 !important;
	}
}


/* Milestone 02.1 polish: remove Astra homepage gap and refine CTA */
body.home .site-content,
body.home .ast-container,
body.home #content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.home .site-content {
	background: #111111;
}

body.home .mythrifts-hero {
	margin-top: 0 !important;
}

/* Refine highlighted marketplace CTA menu item */
body.home .main-header-menu .menu-item a[href*="store-manager"],
body.home .main-header-menu .menu-item a[href*="sell"],
body.home .main-header-menu .menu-item a[href*="vendor"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 38px !important;
	height: 38px !important;
	padding: 0 18px !important;
	margin-left: 8px;
	border-radius: 999px !important;
	line-height: 1 !important;
}


/* =========================================================
   Milestone 02.13.1 Header polish
   ========================================================= */

body.home .main-header-bar,
body.home .ast-primary-header-bar,
body.home .ast-builder-grid-row-container {
	min-height: 50px !important;
}

body.home .site-branding,
body.home .ast-site-identity {
	margin: 0 !important;
	padding: 0 !important;
}

body.home .site-title a,
body.home .custom-logo-link {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 50px !important;
}

body.home .main-header-menu > .menu-item > .menu-link {
	min-height: 50px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	display: inline-flex !important;
	align-items: center !important;
	font-size: .62rem !important;
	letter-spacing: .08em !important;
}

body.home .main-header-menu > .menu-item:last-child > .menu-link {
	min-height: 32px !important;
	padding-left: 14px !important;
	padding-right: 14px !important;
	border-radius: 999px !important;
}

/* reduce empty bottom feel under header */
body.home .site-header {
	margin-bottom: 0 !important;
}

/* =========================================================
   Milestone 02.14 Custom compact homepage header
   ========================================================= */

/* Hide Astra header only on homepage */
body.home .site-header,
body.home #masthead {
	display: none !important;
}

/* Custom compact header */
body.home .mythrifts-compact-header {
	background: #111111;
	border-bottom: 0;
	color: var(--mythrifts-paper, #EDDDBC);
	position: relative;
	z-index: 50;
}

body.home .mythrifts-compact-header__inner {
	width: min(1320px, calc(100% - 48px));
	margin-inline: auto;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

body.home .mythrifts-compact-header__brand {
	color: var(--mythrifts-paper, #EDDDBC);
	text-decoration: none;
	font-size: .98rem;
	font-weight: 900;
	letter-spacing: -.035em;
	white-space: nowrap;
}

body.home .mythrifts-compact-header__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

body.home .mythrifts-compact-header__nav a {
	color: rgba(237,221,188,.72);
	text-decoration: none;
	text-transform: uppercase;
	font-size: .58rem;
	font-weight: 900;
	letter-spacing: .09em;
	line-height: 1;
	white-space: nowrap;
	transition: color .22s ease, background .22s ease;
}

body.home .mythrifts-compact-header__nav a:hover,
body.home .mythrifts-compact-header__nav a.is-active {
	color: var(--mythrifts-orange, #E77721);
}

body.home .mythrifts-compact-header__nav .mythrifts-compact-header__cta {
	background: var(--mythrifts-orange, #E77721);
	color: #111111;
	border-radius: 999px;
	padding: 10px 15px;
}

body.home .mythrifts-compact-header__nav .mythrifts-compact-header__cta:hover {
	color: #111111;
	background: var(--mythrifts-paper, #EDDDBC);
}

/* Mobile fallback */
@media (max-width: 760px) {
	body.home .mythrifts-compact-header__inner {
		width: min(100% - 28px, 1320px);
		min-height: 52px;
	}

	body.home .mythrifts-compact-header__nav {
		gap: 10px;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	body.home .mythrifts-compact-header__nav a {
		font-size: .52rem;
	}

	body.home .mythrifts-compact-header__brand {
		font-size: .9rem;
	}
}

/* =========================================================
   Milestone 02.14.1 Ultra compact homepage header
   ========================================================= */

/* Force homepage custom header to be very slim */
body.home .mythrifts-compact-header {
	min-height: 34px !important;
	height: 34px !important;
	background: #111111 !important;
	border: 0 !important;
	overflow: hidden !important;
}

body.home .mythrifts-compact-header__inner {
	min-height: 34px !important;
	height: 34px !important;
	width: min(1320px, calc(100% - 48px)) !important;
	display: flex !important;
	align-items: center !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Brand smaller */
body.home .mythrifts-compact-header__brand {
	font-size: .76rem !important;
	line-height: 1 !important;
	font-weight: 900 !important;
	display: inline-flex !important;
	align-items: center !important;
	height: 34px !important;
}

/* Nav smaller and tighter */
body.home .mythrifts-compact-header__nav {
	height: 34px !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
}

body.home .mythrifts-compact-header__nav a {
	font-size: .48rem !important;
	line-height: 1 !important;
	letter-spacing: .08em !important;
	display: inline-flex !important;
	align-items: center !important;
	height: 34px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* CTA smaller */
body.home .mythrifts-compact-header__nav .mythrifts-compact-header__cta {
	height: 24px !important;
	min-height: 24px !important;
	padding: 0 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 999px !important;
	font-size: .48rem !important;
}

/* Make hero touch compact header with only animated line separator */
body.home .mythrifts-compact-header + .mythrifts-hero,
body.home .mythrifts-hero {
	margin-top: 0 !important;
}

/* Mobile compact header */
@media (max-width: 760px) {
	body.home .mythrifts-compact-header,
	body.home .mythrifts-compact-header__inner {
		min-height: 38px !important;
		height: 38px !important;
	}

	body.home .mythrifts-compact-header__brand {
		height: 38px !important;
		font-size: .72rem !important;
	}

	body.home .mythrifts-compact-header__nav {
		height: 38px !important;
		gap: 10px !important;
	}

	body.home .mythrifts-compact-header__nav a {
		height: 38px !important;
		font-size: .46rem !important;
	}
}
