﻿/*!
 * Native homepage module styles.
 * Every rule is scoped to .htw-m-<module> so sections never affect the
 * Flatsome header, footer, shop or product pages.
 */

/* 01 路 Hero */
.htw-m-hero {
	height: 800px;
	background: #7a1220;
}

.htw-hero__media,
.htw-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.htw-hero__img {
	object-fit: cover;
	object-position: center;
}

.htw-hero__img--mobile {
	display: none;
}

.htw-hero__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	text-align: center;
	color: #fff;
}

.htw-hero__eyebrow {
	font-size: 24px;
	font-weight: 900;
	line-height: 20px;
	text-transform: capitalize;
	margin-bottom: 20px;
}

.htw-hero__display {
	font-family: var(--htw-display);
	font-size: 110px;
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: 1.1px;
	margin: 0 0 26px;
	color: #fff;
	max-width: 980px;
}

.htw-hero__promo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 26px;
	padding: 7px 18px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--htw-red);
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.htw-hero__cta.htw-btn {
	min-height: 58px;
	padding: 15px 30px;
	border-color: #000;
	background: #fff;
	color: #000;
}

.htw-hero__cta.htw-btn:hover,
.htw-hero__cta.htw-btn:focus-visible {
	background: #000;
	color: #fff;
}

@media (max-width: 849px) {
	.htw-m-hero {
		height: 760px;
	}

	.htw-hero__img--desktop {
		display: none;
	}

	.htw-hero__img--mobile {
		display: block;
	}

	.htw-hero__eyebrow {
		font-size: 20px;
		line-height: 20px;
		margin-bottom: 14px;
	}

	.htw-hero__display {
		font-size: 55px;
		line-height: 52px;
		letter-spacing: -0.55px;
		margin-bottom: 20px;
	}

	.htw-hero__promo {
		font-size: 15px;
		padding: 6px 14px;
		margin-bottom: 20px;
	}

	.htw-hero__cta.htw-btn {
		min-height: 54px;
		padding: 14px 22px;
	}
}

/* 02 路 Best sellers */
.htw-m-bestsellers {
	padding: 42px 0 54px;
}

.htw-bestsellers__inner .htw-section-head--center {
	margin-bottom: 28px;
}

/* 03 路 Benefits strip */
.htw-m-marquee {
	height: 56px;
	border-top: 1px solid var(--htw-line);
	border-bottom: 1px solid var(--htw-line);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #fff;
}

.htw-marquee {
	display: flex;
	width: 100%;
	padding: 16px 28.8px;
	overflow: hidden;
}

.htw-marquee__track {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 57.6px;
	padding-right: 57.6px;
	animation: htw-marquee-scroll 34s linear infinite;
	will-change: transform;
}

.htw-marquee__item {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.htw-marquee__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #000;
}

.htw-marquee__icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

.htw-marquee__text {
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	white-space: nowrap;
}

.htw-marquee:hover .htw-marquee__track,
.htw-marquee:focus-within .htw-marquee__track {
	animation-play-state: paused;
}

@keyframes htw-marquee-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100%);
	}
}

/* 04 路 Tabbed collections */
.htw-m-tabs {
	padding: 36px 0 24px;
}

.htw-m-tabs .htw-section-foot {
	padding-top: 34px;
}

/* 05 路 Shop by category */
.htw-m-categories {
	padding: 36px 0 60px;
	background: #fff;
}

.htw-categories__inner {
	max-width: 1440px;
	padding: 0 72px;
}

.htw-m-categories .htw-section-head {
	max-width: 1000px;
	margin-bottom: 74px;
}

.htw-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 30px;
}

.htw-cats__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.htw-cats__media {
	display: block;
	width: 100%;
	aspect-ratio: 390 / 513;
	overflow: hidden;
	background: var(--htw-grey);
	margin-bottom: 24px;
}

.htw-cats__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
}

.htw-cats__item:hover .htw-cats__img {
	transform: scale(1.03);
}

.htw-cats__title {
	font-size: 40px;
	font-weight: 900;
	line-height: 42px;
	letter-spacing: -0.4px;
	margin-bottom: 10px;
	display: flex;
}

.htw-cats__title a {
	display: inline-flex;
	align-items: center;
	gap: 20px;
}

.htw-cats__title a:hover {
	text-decoration: underline;
}

.htw-cats__arrow {
	display: inline-flex;
	align-items: center;
}

.htw-cats__arrow svg {
	width: 32px;
	height: 24px;
}

.htw-cats__text {
	font-size: 22px;
	font-weight: 350;
	line-height: 28px;
	max-width: 390px;
}

@media (max-width: 849px) {
	.htw-m-categories {
		padding: 36px 0 44px;
	}

	.htw-categories__inner {
		padding: 0 19.5px;
	}

	.htw-m-categories .htw-section-head {
		margin-bottom: 34px;
	}

	.htw-cats {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.htw-cats__media {
		aspect-ratio: 4 / 3;
		margin-bottom: 16px;
	}

	.htw-cats__title {
		font-size: 24px;
		line-height: 28px;
		margin-bottom: 8px;
	}

	.htw-cats__title a {
		gap: 15px;
	}

	.htw-cats__arrow svg {
		width: 24px;
		height: 18px;
	}

	.htw-cats__text {
		font-size: 16px;
		line-height: 22px;
	}
}

/* 06 路 Bundle CTA */
.htw-m-bundle {
	padding: 60px 0 80px;
	text-align: center;
}

.htw-bundle__title {
	font-size: 22px;
	font-weight: 800;
	line-height: 28px;
	max-width: 650px;
	margin: 0 auto 20px;
}

.htw-bundle__cta.htw-btn {
	min-height: 52px;
	padding: 12px 60px;
	font-size: 16.7px;
	font-weight: 700;
	letter-spacing: 0.67px;
}

@media (max-width: 849px) {
	.htw-m-bundle {
		padding: 20px 0 40px;
	}

	.htw-bundle__title {
		font-size: 18px;
		line-height: 22px;
		margin-bottom: 18px;
	}

	.htw-bundle__cta.htw-btn {
		min-height: 52px;
		width: 281px;
		max-width: 100%;
		padding: 12px 16px;
		font-size: 15px;
		letter-spacing: 0.6px;
	}
}

/* 07 路 Collab split media */
.htw-m-collab {
	padding: 20px 0 100px;
}

.htw-collab__inner {
	max-width: 1440px;
	padding: 0 72px;
}

.htw-collab {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	border-radius: 10px;
	overflow: hidden;
	background: #bfe3ef;
}

.htw-collab__media {
	display: block;
	position: relative;
	width: 100%;
	height: 600px;
}

.htw-collab__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.htw-collab__img--mobile {
	display: none;
}

.htw-collab__card {
	position: absolute;
	left: 100px;
	bottom: 100px;
	z-index: 2;
	width: 300px;
	padding: 30px;
	background: #fff;
	color: #000;
}

.htw-collab__logo {
	display: block;
	margin-bottom: 12px;
}

.htw-collab__logo-img {
	width: 150px;
	max-width: 100%;
	height: auto;
}

.htw-collab__eyebrow {
	font-size: 10.8px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 0.54px;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.htw-collab__title {
	font-size: 22px;
	font-weight: 800;
	line-height: 26px;
	margin-bottom: 22px;
}

.htw-collab__cta.htw-btn {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	font-size: 14px;
	letter-spacing: 1px;
}

@media (max-width: 849px) {
	.htw-m-collab {
		padding: 20px 0 40px;
	}

	.htw-collab__inner {
		padding: 0 19.5px;
	}

	.htw-collab__media {
		height: 420px;
	}

	.htw-collab__img--desktop {
		display: none;
	}

	.htw-collab__img--mobile {
		display: block;
	}

	.htw-collab__card {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
		padding: 20px;
	}

	.htw-collab__title {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 16px;
	}
}

/* 08 路 Scent families */
.htw-m-scents {
	background: var(--htw-bg-scent);
	padding: 68px 0;
}

.htw-scents__inner {
	max-width: 1440px;
	padding-left: 72px;
	padding-right: 72px;
}

.htw-m-scents .htw-section-head {
	margin-bottom: 32px;
}

.htw-carousel--scents .htw-carousel__rail {
	gap: 29px;
}

.htw-carousel--scents .htw-carousel__rail > .htw-scent {
	flex: 0 0 calc((100% - 87px) / 4);
	scroll-snap-align: start;
}

.htw-scent {
	display: flex;
	flex-direction: column;
	background: #fff;
	padding: 20px;
	min-width: 0;
	height: auto;
}

.htw-scent__media {
	display: block;
	width: 100%;
	aspect-ratio: 292 / 400;
	overflow: hidden;
	background: #f5f5f5;
	margin-bottom: 22px;
}

.htw-scent__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.htw-scent__title {
	font-size: 40px;
	font-weight: 900;
	line-height: 42px;
	letter-spacing: -0.4px;
	margin-bottom: 14px;
	max-width: 80%;
}

.htw-scent__title a:hover {
	text-decoration: underline;
}

.htw-scent__text {
	font-size: 18px;
	font-weight: 350;
	line-height: 24px;
	margin-bottom: 24px;
}

.htw-scent__btn.htw-btn {
	margin-top: auto;
	width: 100%;
	min-height: 57px;
	padding: 14.5px 5px;
	font-size: 14px;
	letter-spacing: 0.6px;
	white-space: normal;
}

.htw-scent--cta {
	background: #fff;
}

.htw-scent__media--plain {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	color: #fff;
	padding: 24px;
}

.htw-scent__cta-title {
	font-size: 34px;
	font-weight: 900;
	line-height: 38px;
	letter-spacing: -0.4px;
	color: #fff;
}

.htw-m-scents .htw-carousel__progress {
	margin-top: 22px;
	background: rgba(0, 0, 0, 0.18);
}

.htw-m-scents .htw-section-foot {
	padding-top: 30px;
}

@media (max-width: 849px) {
	.htw-m-scents {
		padding: 40px 0;
	}

	.htw-scents__inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.htw-carousel--scents .htw-carousel__rail {
		gap: 14px;
	}

	.htw-carousel--scents .htw-carousel__rail > .htw-scent {
		flex: 0 0 78%;
	}

	.htw-scent {
		padding: 14px;
	}

	.htw-scent__media {
		aspect-ratio: 1 / 1;
		margin-bottom: 16px;
	}

	.htw-scent__title {
		font-size: 28px;
		line-height: 30px;
		margin-bottom: 10px;
		max-width: 100%;
	}

	.htw-scent__text {
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 18px;
	}

	.htw-scent__btn.htw-btn {
		min-height: 48px;
		font-size: 13px;
	}

	.htw-scent__cta-title {
		font-size: 28px;
		line-height: 32px;
	}
}

/* 09 路 Brand story */
.htw-m-story {
	padding: 100px 0 80px;
	text-align: center;
}

.htw-story__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1000px;
	padding: 0 15px;
}

.htw-story__title {
	font-size: 68px;
	font-weight: 900;
	line-height: 72px;
	letter-spacing: -0.02em;
	max-width: 560px;
	margin: 0 auto 26px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 18px;
}

.htw-story__text {
	font-size: 22px;
	font-weight: 350;
	line-height: 28px;
	max-width: 700px;
	margin: 0 auto 34px;
}

.htw-story__cta.htw-btn {
	min-height: 48px;
	padding: 10px 24px;
}

@media (max-width: 849px) {
	.htw-m-story {
		padding: 50px 0 44px;
	}

	.htw-story__title {
		font-size: 38px;
		line-height: 40px;
		margin-bottom: 18px;
	}

	.htw-story__text {
		font-size: 17px;
		line-height: 24px;
		margin-bottom: 24px;
	}
}

/* 10 路 All-time faves */
.htw-m-faves {
	padding: 36px 0 24px;
}

.htw-faves__head {
	display: flex;
	justify-content: center;
	margin-bottom: 52px;
}

.htw-faves__label {
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 25px;
	text-align: center;
}

.htw-faves__label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: #000;
}

.htw-m-faves .htw-section-foot {
	padding-top: 34px;
}

@media (max-width: 849px) {
	.htw-m-faves {
		padding: 24px 0 16px;
	}

	.htw-faves__head {
		margin-bottom: 24px;
	}

	.htw-faves__label {
		font-size: 16px;
		line-height: 22px;
		padding-bottom: 8px;
	}
}

/* 11 路 Two-up collab grid */
.htw-m-grid2 {
	background: var(--htw-bg-grey);
	padding: 80px 0;
}

.htw-grid2__inner {
	max-width: 1200px;
	padding: 0;
}

.htw-grid2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.htw-grid2__item {
	position: relative;
	min-width: 0;
	overflow: hidden;
}

.htw-grid2__media {
	display: block;
	position: relative;
	width: 100%;
	height: 570px;
	overflow: hidden;
}

.htw-grid2__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.htw-grid2__img--mobile {
	display: none;
}

.htw-grid2__card {
	position: absolute;
	left: 20px;
	bottom: 20px;
	z-index: 2;
	width: 352px;
	max-width: calc(100% - 40px);
	padding: 28px 30px;
	background: #fff;
}

.htw-grid2__eyebrow {
	font-size: 16px;
	font-weight: 800;
	line-height: 20px;
	margin-bottom: 12px;
}

.htw-grid2__title {
	font-size: 32px;
	font-weight: 900;
	line-height: 38px;
	letter-spacing: -0.32px;
	margin-bottom: 22px;
}

.htw-grid2__btn.htw-btn {
	min-height: 48px;
	padding: 10px 18px;
	font-size: 14px;
	letter-spacing: 1px;
}

@media (max-width: 849px) {
	.htw-m-grid2 {
		padding: 40px 0;
	}

	.htw-grid2__inner {
		padding: 0 19.5px;
	}

	.htw-grid2 {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.htw-grid2__media {
		height: 380px;
	}

	.htw-grid2__img--desktop {
		display: none;
	}

	.htw-grid2__img--mobile {
		display: block;
	}

	.htw-grid2__card {
		left: 12px;
		bottom: 12px;
		width: 290px;
		max-width: calc(100% - 24px);
		padding: 18px 20px;
	}

	.htw-grid2__eyebrow {
		font-size: 13px;
		margin-bottom: 8px;
	}

	.htw-grid2__title {
		font-size: 24px;
		line-height: 28px;
		margin-bottom: 16px;
	}
}

/* 12 路 UGC stats */
.htw-m-ugc {
	padding: 40px 0 100px;
	overflow: hidden;
}

.htw-ugc__title {
	font-size: 32px;
	font-weight: 900;
	line-height: 34px;
	letter-spacing: -0.32px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 40px;
}

.htw-ugc__marquee {
	display: flex;
	overflow: hidden;
}

.htw-ugc__track {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 80px;
	padding-right: 80px;
	animation: htw-marquee-scroll 46s linear infinite;
	will-change: transform;
}

.htw-ugc__item {
	font-size: 90px;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.htw-ugc__marquee:hover .htw-ugc__track {
	animation-play-state: paused;
}

@media (max-width: 849px) {
	.htw-m-ugc {
		padding: 24px 0 56px;
	}

	.htw-ugc__title {
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 24px;
	}

	.htw-ugc__track {
		gap: 40px;
		padding-right: 40px;
	}

	.htw-ugc__item {
		font-size: 44px;
		line-height: 1.1;
	}
}

/* Motion preferences: keep content readable and static. */
@media (prefers-reduced-motion: reduce) {
	.htw-section *,
	.htw-section *::before,
	.htw-section *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.htw-marquee__track,
	.htw-ugc__track {
		animation: none !important;
		transform: none !important;
	}

	.htw-marquee__track--clone,
	.htw-ugc__track--clone {
		display: none;
	}

	.htw-marquee {
		overflow-x: auto;
	}
}
