/**
 * Happy Plants — front page (Everlane-inspired: full bleed, quiet type, space).
 */

/* Prevent horizontal scroll from full-bleed sections (100vw vs scrollbar width). */
body.home.page {
	overflow-x: hidden;
}

@supports (overflow: clip) {
	body.home.page {
		overflow-x: clip;
	}
}

/* ── Storefront: home full width ── */

.home.page #page {
	max-width: 100% !important;
}

.home.page #content,
.home.page .site-content,
.home.page #primary,
.home.page .site-main {
	overflow: visible !important;
}

.home.page #content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.home.page .site-content {
	padding: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.home.page .col-full {
	max-width: 100% !important;
	padding: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.home.page #primary {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
}

.home.page #secondary {
	display: none !important;
}

.home.page .site-main {
	margin: 0 !important;
}

/* Full-bleed within home layout (avoid 100vw — causes edge bleed / horizontal scroll). */
.hp-front-page__breakout {
	position: relative;
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	left: auto;
	transform: none;
	box-sizing: border-box;
}

/* ── Shell ── */

.hp-front-page {
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	color: #111;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
}

.hp-topbar__sep {
	opacity: 0.85;
}

/* ── Homepage banners (full-width rail, square media, in-container controls, dots) ── */

.hp-banner-hero {
	width: 100%;
	max-width: 100%;
	background: #f0f3f0;
	padding: clamp(16px, 2.5vw, 28px) 0 clamp(12px, 2vw, 22px);
	box-sizing: border-box;
}

.hp-banner-hero__inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 clamp(12px, 3vw, 40px);
}

.hp-banner-hero__viewport {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.hp-banner-hero__track-wrap {
	position: relative;
	width: 100%;
}

.hp-banner-hero__track {
	display: flex;
	gap: clamp(12px, 1.5vw, 20px);
	width: 100%;
	padding: 4px 0 2px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-padding-inline: clamp(8px, 2vw, 24px);
}

.hp-banner-hero__track::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
	background: transparent;
}

.hp-banner-hero__nav {
	width: 48px;
	height: 48px;
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition:
		background 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
	border-radius: 999px !important;
	border: 1px solid rgba(28, 58, 40, 0.12);
	background: rgba(255, 255, 255, 0.94);
	color: #1c3a28;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hp-banner-hero__nav--overlay {
	position: absolute;
	top: clamp(160px, 26vw, 260px);
	z-index: 3;
	transform: translateY(-50%);
	opacity: 1;
	pointer-events: auto;
}

.hp-banner-hero__nav--overlay.hp-banner-hero__nav--prev {
	left: clamp(4px, 1.5vw, 14px);
}

.hp-banner-hero__nav--overlay.hp-banner-hero__nav--next {
	right: clamp(4px, 1.5vw, 14px);
}

.hp-banner-hero__nav--overlay:hover,
.hp-banner-hero__nav--overlay:focus-visible {
	background: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-50%) scale(1.04);
	outline: none;
}

.hp-banner-hero__nav--overlay:active {
	transform: translateY(-50%) scale(0.98);
}

.hp-banner-hero__nav-icon {
	display: block;
	width: 10px;
	height: 10px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.hp-banner-hero__nav--prev .hp-banner-hero__nav-icon {
	transform: rotate(45deg);
	margin-left: 4px;
}

.hp-banner-hero__nav--next .hp-banner-hero__nav-icon {
	transform: rotate(-135deg);
	margin-right: 4px;
}

.hp-banner-hero__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 0 0;
	min-height: 0;
}

.hp-banner-hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 999px !important;
	background: rgba(28, 58, 40, 0.22);
	cursor: pointer;
	transition:
		transform 0.25s ease,
		background 0.25s ease,
		box-shadow 0.25s ease;
}

.hp-banner-hero__dot:hover,
.hp-banner-hero__dot:focus-visible {
	background: rgba(28, 58, 40, 0.45);
	transform: scale(1.15);
	outline: none;
}

.hp-banner-hero__dot--active {
	width: 9px;
	height: 9px;
	background: #1c3a28;
	box-shadow: 0 0 0 1px rgba(28, 58, 40, 0.25);
}

/* ~3 slides visible on large screens; scales with viewport (not squeezed) */
.hp-banner-hero__slide {
	flex: 0 0 clamp(280px, 32vw, 480px);
	width: clamp(280px, 32vw, 480px);
	max-width: 100%;
	scroll-snap-align: center;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-sizing: border-box;
}

.hp-banner-hero__media {
	background: #dbe8df;
	aspect-ratio: 1 / 1;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.hp-banner-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.hp-banner-hero__image--placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(145deg, rgba(28, 58, 40, 0.15), rgba(46, 92, 62, 0.3)),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.25) 0 12px, rgba(255, 255, 255, 0.05) 12px 24px);
}

.hp-banner-hero__caption {
	padding: 16px 16px 18px;
}

.hp-banner-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #637265;
}

.hp-banner-hero__title {
	margin: 0 0 10px;
	font-family: "Cormorant Garamond", serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.08;
	color: #1c3a28;
}

.hp-banner-hero__narration {
	margin: 0;
	max-width: 62ch;
	font-size: 14px;
	line-height: 1.6;
	color: #374238;
}

.hp-banner-hero__actions {
	margin: 12px 0 0;
}

.hp-banner-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #1c3a28;
	border-bottom: 1px solid rgba(28, 58, 40, 0.35);
	padding-bottom: 3px;
}

.hp-banner-hero__cta:hover {
	opacity: 0.85;
}

/* ── Buttons ── */

.hp-button {
	display: inline-block;
	font-family: "DM Sans", sans-serif;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 12px 28px;
	cursor: pointer;
	transition: opacity 0.2s;
	border-radius: 0;
	box-sizing: border-box;
	border: none;
	background: transparent;
}

.hp-button--primary {
	background: #1c3a28;
	color: #fff;
	border: none;
}

.hp-button--primary:hover {
	opacity: 0.8;
}

.hp-button--inverse {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.hp-button--inverse:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ── Filter strip ── */

.hp-filter-strip {
	background: #fff;
	border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
	padding: 14px 48px;
}

.hp-filter-strip__row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.hp-filter-strip__label {
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888;
	flex-shrink: 0;
}

.hp-filter-strip__list {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.hp-filter-strip__item {
	flex-shrink: 0;
}

.hp-filter-strip__pill {
	display: block;
	padding: 6px 16px;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #555;
	text-decoration: none;
	border: 0.5px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	transition: all 0.15s;
}

.hp-filter-strip__pill:hover {
	background: #f0f5f2;
}

.hp-filter-strip__pill--is-active {
	background: #1c3a28;
	color: #fff;
	border-color: #1c3a28;
}

/* ── Section headers ── */

.hp-section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	padding: 0 48px 14px;
	margin-top: 48px;
}

.hp-section-header__intro {
	min-width: 0;
}

.hp-section-header__title {
	font-family: "Cormorant Garamond", serif;
	font-size: 28px;
	font-weight: 300;
	color: #1c3a28;
	margin: 0 0 6px;
	line-height: 1.2;
}

.hp-section-header__sub {
	font-size: 11px;
	color: #888;
	margin: 0;
	line-height: 1.5;
}

.hp-section-header__link {
	font-size: 11px;
	color: #888;
	letter-spacing: 0.06em;
	text-decoration: underline;
	text-underline-offset: 3px;
	flex-shrink: 0;
	align-self: flex-end;
	margin-bottom: 4px;
}

.hp-section-header__link:hover {
	color: #1c3a28;
}

/* ── Featured products ── */

.hp-featured {
	padding: 0 0 48px;
	background: #fff;
}

.hp-featured__empty {
	font-family: "DM Sans", sans-serif;
	color: #888;
	font-size: 12px;
	margin: 0;
	padding: 0 48px;
}

.hp-featured__loop.hp-featured__loop--cols-4 {
	padding: 0 48px;
}

.hp-featured__loop--cols-4 ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px !important;
	background: none !important;
	border: none !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: both !important;
}

.hp-featured__loop--cols-4 ul.products::before,
.hp-featured__loop--cols-4 ul.products::after {
	display: none !important;
}

.hp-featured__loop--cols-4 ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

.hp-featured__loop--cols-4 ul.products li.product a.woocommerce-loop-product__link img {
	width: 100% !important;
	aspect-ratio: 3 / 4 !important;
	object-fit: cover !important;
	display: block !important;
	background: #dbe8df !important;
	margin: 0 0 12px !important;
	border-radius: 0 !important;
}

.hp-featured__loop--cols-4 ul.products li.product .woocommerce-loop-product__title {
	font-family: "DM Sans", sans-serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	color: #111 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.4 !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
	white-space: normal !important;
	word-break: normal !important;
	writing-mode: horizontal-tb !important;
}

.hp-featured__loop--cols-4 ul.products li.product .price {
	font-family: "DM Sans", sans-serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	color: #888 !important;
	margin: 0 0 12px !important;
}

.hp-featured__loop--cols-4 ul.products li.product a.button {
	font-family: "DM Sans", sans-serif !important;
	font-size: 9px !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	padding: 8px 16px !important;
	background: #fff !important;
	color: #1c3a28 !important;
	border: 0.5px solid rgba(0, 0, 0, 0.15) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin-top: auto !important;
	display: block !important;
	text-align: center !important;
}

.hp-featured__loop--cols-4 ul.products li.product a.button:hover {
	background: #1c3a28 !important;
	color: #fff !important;
	border-color: #1c3a28 !important;
}

.hp-easy-care__loop.hp-featured__loop--cols-4 {
	margin-top: 0;
}

.hp-featured__loop .star-rating {
	display: none !important;
}

.hp-featured__loop span.onsale {
	font-size: 9px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	background: #1c3a28 !important;
	color: #fff !important;
	border-radius: 0 !important;
	padding: 3px 8px !important;
	box-shadow: none !important;
	min-height: auto !important;
	min-width: auto !important;
	line-height: 1.4 !important;
}

/* ── Editorial band ── */

.hp-editorial {
	background: #fff;
}

.hp-editorial__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 280px;
}

.hp-editorial__column--visual {
	background: #e8e0d0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}

.hp-editorial__svg {
	width: 100%;
	height: 100%;
	min-height: 280px;
	display: block;
	object-fit: cover;
}

.hp-editorial__column--content {
	background: #fff;
	padding: 48px 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hp-editorial__eyebrow {
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #888;
	margin: 0 0 12px;
}

.hp-editorial__heading {
	font-family: "Cormorant Garamond", serif;
	font-size: 28px;
	font-weight: 300;
	line-height: 1.25;
	color: #111;
	margin: 0 0 12px;
}

.hp-editorial__text {
	font-size: 12px;
	color: #666;
	line-height: 1.8;
	margin: 0 0 18px;
	max-width: 320px;
}

.hp-editorial__actions {
	margin: 0;
}

.hp-editorial__link {
	display: inline-block;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid #111;
	padding-bottom: 2px;
}

.hp-editorial__link:hover {
	opacity: 0.75;
}

/* ── Easy care ── */

.hp-easy-care {
	padding: 0 0 56px;
	background: #fff;
}

.hp-easy-care .hp-section-header {
	margin-top: 24px;
}

.hp-easy-care__empty {
	font-family: "DM Sans", sans-serif;
	color: #888;
	font-size: 12px;
	margin: 0;
	padding: 0 48px;
}

/* ── Plant finder CTA ── */

.hp-plant-finder {
	background: #f0f5f2;
	padding: 64px 48px;
}

.hp-plant-finder__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.hp-plant-finder__column--content {
	text-align: left;
}

.hp-plant-finder__heading {
	font-family: "Cormorant Garamond", serif;
	font-size: 32px;
	font-weight: 300;
	color: #1c3a28;
	line-height: 1.2;
	margin: 0 0 12px;
}

.hp-plant-finder__text {
	font-size: 12px;
	color: #555;
	line-height: 1.75;
	margin: 0 0 24px;
	max-width: 420px;
}

.hp-plant-finder__actions {
	margin: 0;
}

.hp-plant-finder__button.hp-button--primary {
	background: #1c3a28;
	color: #fff;
	border: none;
}

.hp-plant-finder__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	list-style: none;
	margin: 0;
	padding: 0;
	background: rgba(0, 0, 0, 0.06);
	border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.hp-plant-finder__stat {
	background: #f0f5f2;
	padding: 20px 16px;
	text-align: center;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hp-plant-finder__stat-value {
	font-family: "Cormorant Garamond", serif;
	font-size: 22px;
	font-weight: 400;
	color: #1c3a28;
	line-height: 1.2;
}

.hp-plant-finder__stat-label {
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888;
}
