/* =========================================================
   MyThrifts Hero - tall premium first impression
   ========================================================= */

/* Keep Astra spacing from creating dead gaps */
body.home .site-content,
body.home #content,
body.home .content-area,
body.home .site-main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Slim header without disturbing layout */
body.home .site-header,
body.home .main-header-bar,
body.home .ast-primary-header-bar {
	border-bottom: 0 !important;
	min-height: 44px !important;
}

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

body.home .main-header-menu > .menu-item > .menu-link,
body.home .ast-builder-menu-1 .menu-item > .menu-link {
	min-height: 44px !important;
	line-height: 44px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-size: .60rem !important;
}

/* Main hero */
.mythrifts-hero {
	position: relative;
	margin-top: 0 !important;
	background:
		radial-gradient(circle at 86% 22%, rgba(231,119,33,.17), transparent 30%),
		linear-gradient(90deg, #111111 0%, #111111 64%, #1A1009 100%);
	color: var(--mythrifts-paper, #EDDDBC);
	overflow: hidden;
	border-top: 0;
	border-bottom: 1px solid rgba(231,119,33,.13);
}

/* One animated line between header and hero */
.mythrifts-hero::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 2px;
	background: rgba(231,119,33,.14);
	pointer-events: none;
	z-index: 9;
}

.mythrifts-hero::after {
	content: "";
	position: absolute;
	right: -30%;
	top: 0;
	width: 30%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--mythrifts-orange, #E77721), transparent);
	box-shadow: 0 0 18px rgba(231,119,33,.78);
	animation: mythrifts-hero-line-right-left 3.4s linear infinite;
	pointer-events: none;
	z-index: 10;
}

@keyframes mythrifts-hero-line-right-left {
	0% {
		right: -30%;
	}
	100% {
		right: 100%;
	}
}

.mythrifts-hero__viewport {
	position: relative;
	min-height: 650px;
}

.mythrifts-hero__slide {
	display: none;
	width: 100%;
	min-height: 650px;
	grid-template-columns: minmax(0, 68%) minmax(320px, 32%);
	gap: 0;
	align-items: stretch;
	padding: 0;
}

.mythrifts-hero__slide.is-active {
	display: grid;
}

/* Large dominant visual */
.mythrifts-hero__image-panel {
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	min-height: 650px;
	padding: 0;
}

.mythrifts-hero__image-placeholder {
	position: relative;
	width: 100%;
	min-height: 650px;
	background:
		radial-gradient(circle at 50% 42%, rgba(237,221,188,.13), transparent 24%),
		radial-gradient(circle at 50% 42%, rgba(231,119,33,.18), transparent 34%),
		linear-gradient(145deg, rgba(237,221,188,.07), transparent 48%),
		linear-gradient(180deg, #2A2723 0%, #17120E 100%);
	border: 0;
	border-right: 1px solid rgba(237,221,188,.10);
	overflow: hidden;
	filter: grayscale(1) contrast(.96) brightness(.92);
	transform-origin: center;
	transition:
		filter .42s ease,
		transform .42s ease,
		box-shadow .42s ease;
}

/* Remove duplicate captions inside image */
.mythrifts-hero__brand,
.mythrifts-hero__image-placeholder strong {
	display: none !important;
}

.mythrifts-hero__image-placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 72%, rgba(0,0,0,.22) 100%),
		linear-gradient(180deg, transparent 0%, rgba(0,0,0,.18) 100%);
	pointer-events: none;
}

.mythrifts-hero__image-placeholder:hover,
.mythrifts-hero__image-placeholder:focus-within {
	filter: grayscale(0) contrast(1.04) brightness(1) saturate(1.08);
	transform: scale(1.012);
	box-shadow: inset 0 0 0 1px rgba(231,119,33,.32);
}

/* Right content: smaller, aligned, spacious */
.mythrifts-hero__content {
	align-self: center;
	max-width: 390px;
	padding: 48px clamp(22px, 3vw, 46px) 58px;
	transform: none;
}

.mythrifts-hero__eyebrow {
	display: block;
	color: var(--mythrifts-orange, #E77721);
	font-size: .64rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .14em;
	margin-bottom: 14px;
}

.mythrifts-hero__content h1 {
	color: var(--mythrifts-paper, #EDDDBC);
	font-size: clamp(2.55rem, 4.15vw, 4.35rem);
	line-height: .92;
	letter-spacing: -.065em;
	margin: 0 0 16px;
	max-width: 390px;
}

.mythrifts-hero__content p {
	color: rgba(237,221,188,.74);
	font-size: .88rem;
	line-height: 1.54;
	max-width: 340px;
	margin: 0 0 20px;
}

.mythrifts-hero__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.mythrifts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 999px;
	padding: 11px 17px;
	font-size: .72rem;
	font-weight: 900;
	line-height: 1;
}

.mythrifts-btn--primary {
	background: var(--mythrifts-orange, #E77721);
	color: #111111;
}

.mythrifts-btn--secondary {
	background: var(--mythrifts-paper, #EDDDBC);
	color: #111111;
}

/* Slider controls */
.mythrifts-hero__dots {
	position: absolute;
	left: 18px;
	bottom: 18px;
	display: flex;
	gap: 9px;
	z-index: 8;
}

.mythrifts-hero__dot {
	width: 38px;
	height: 13px;
	border-radius: 999px;
	border: 0;
	background: rgba(237,221,188,.30);
	cursor: pointer;
}

.mythrifts-hero__dot.is-active {
	background: var(--mythrifts-orange, #E77721);
}

.mythrifts-hero__controls {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: flex;
	gap: 9px;
	z-index: 8;
}

.mythrifts-hero__control {
	width: 42px;
	height: 32px;
	background: rgba(17,17,17,.84);
	border: 1px solid rgba(237,221,188,.14);
	color: var(--mythrifts-paper, #EDDDBC);
	cursor: pointer;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.mythrifts-hero__control:hover,
.mythrifts-hero__dot:hover {
	border-color: rgba(231,119,33,.55);
}

/* Tablet */
@media (max-width: 1100px) {
	.mythrifts-hero__viewport,
	.mythrifts-hero__slide {
		min-height: auto;
	}

	.mythrifts-hero__slide {
		grid-template-columns: 1fr;
	}

	.mythrifts-hero__image-panel,
	.mythrifts-hero__image-placeholder {
		min-height: 500px;
	}

	.mythrifts-hero__image-placeholder {
		border-right: 0;
		border-bottom: 1px solid rgba(237,221,188,.10);
	}

	.mythrifts-hero__content {
		max-width: 760px;
		padding: 40px 24px 82px;
	}

	.mythrifts-hero__content h1,
	.mythrifts-hero__content p {
		max-width: 680px;
	}
}

/* Mobile */
@media (max-width: 560px) {
	.mythrifts-hero__image-panel,
	.mythrifts-hero__image-placeholder {
		min-height: 370px;
	}

	.mythrifts-hero__content {
		padding: 32px 18px 78px;
	}

	.mythrifts-hero__content h1 {
		font-size: clamp(2.55rem, 12vw, 3.8rem);
	}

	.mythrifts-hero__content p {
		font-size: .88rem;
	}

	.mythrifts-hero__dots {
		left: 14px;
	}

	.mythrifts-hero__controls {
		right: 14px;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.mythrifts-hero::after {
		animation: none;
		right: 0;
		width: 100%;
	}

	.mythrifts-hero__image-placeholder {
		transition: none;
	}
}
