/* ==========================================================================
   LANDING PAGE COLLECTION — STYLES
   Template: Landing page collection sample 1
   Matches the "Landing Page Layout" mockup design
   ========================================================================== */

/* ---------- Base & Container ---------- */
.lpc-page {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #1a1a1a;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.lpc-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}


/* ==========================================================================
   SECTION 1: HERO BANNER
   Full-width with background image, gradient overlay, left-aligned text
   ========================================================================== */

.lpc-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	background-size: cover;
	background-position: center;
	background-color: #1a2a1a;
	overflow: hidden;
}

.lpc-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right,
			rgba(0, 0, 0, 0.7) 0%,
			rgba(0, 0, 0, 0.4) 50%,
			rgba(0, 0, 0, 0.1) 100%);
	z-index: 1;
}

.lpc-hero__content {
	position: relative;
	z-index: 2;
	text-align: left;
	padding: 60px 40px;
	max-width: 700px;
}

/* Breadcrumbs */
.lpc-breadcrumbs {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 18px;
	letter-spacing: 0.3px;
}

.lpc-breadcrumbs a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.2s ease;
}

.lpc-breadcrumbs a:hover {
	color: #fff;
}

.lpc-breadcrumbs__sep {
	margin: 0 8px;
	opacity: 0.5;
}

/* H1 Title */
.lpc-hero__title {
	font-size: 52px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 14px;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	line-height: 1.1;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.lpc-hero__subtitle {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 32px;
	font-weight: 400;
	line-height: 1.5;
	font-style: italic;
}

/* CTA Button */
.lpc-hero__cta {
	display: inline-block;
	padding: 13px 36px;
	background: #2e7d32;
	color: #fff !important;
	border-radius: 50px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
}

.lpc-hero__cta:hover {
	background: #1b5e20;
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(46, 125, 50, 0.45);
}


/* ==========================================================================
   SECTION 2: SEO CONTENT BLOCK (Collapsible)
   Centered text with read more toggle
   ========================================================================== */

.lpc-seo-content {
	padding: 50px 0 30px;
	background: #fff;
}

.lpc-seo-content__wrapper {
	position: relative;
	max-height: 120px;
	overflow: hidden;
	transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lpc-seo-content__wrapper.is-expanded {
	max-height: 2000px;
}

.lpc-seo-content__fade {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.lpc-seo-content__wrapper.is-expanded .lpc-seo-content__fade {
	opacity: 0;
}

.lpc-seo-content__text {
	max-width: 800px;
	margin: 0 auto;
	text-align: left;
	font-size: 15px;
	color: #555;
	line-height: 1.8;
}

.lpc-seo-content__text p {
	margin-bottom: 12px;
}

.lpc-seo-content__text strong {
	color: #2e7d32;
}

.lpc-seo-content__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 16px auto 0;
	padding: 8px 24px;
	background: none;
	border: 1px solid #ddd;
	border-radius: 50px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #2e7d32;
	transition: all 0.25s ease;
	font-family: inherit;
}

.lpc-seo-content__toggle:hover {
	background: #f1f8f1;
	border-color: #2e7d32;
}

.lpc-seo-toggle__icon {
	transition: transform 0.3s ease;
}

.lpc-seo-content__toggle[aria-expanded="true"] .lpc-seo-toggle__icon {
	transform: rotate(180deg);
}


/* ==========================================================================
   SECTION 3–4: FILTER SIDEBAR + PRODUCT GRID
   ========================================================================== */

.lpc-products {
	padding: 40px 0 50px;
	background: #ffffff;
}

/* Layout: sidebar + grid */
.lpc-products__layout {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	position: relative;
}

.lpc-products__main {
	flex: 1;
	min-width: 0;
	position: relative;
	transition: opacity 0.3s ease;
}

.lpc-products__main.lpc-loading {
	opacity: 0.5;
	pointer-events: none;
}

.lpc-products__main.lpc-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 32px;
	height: 32px;
	border: 3px solid rgba(46, 125, 50, 0.2);
	border-top-color: #2e7d32;
	border-radius: 50%;
	animation: lpc-spin 0.7s linear infinite;
	z-index: 5;
}

/* Result count */
.lpc-products__result-count {
	font-size: 13px;
	color: #999;
	margin-bottom: 16px;
}

/* Without filter — full width */
.lpc-products:not(.has-filter) .lpc-products__layout {
	display: block;
}

.lpc-products .products {
	margin: 0;
}

.lpc-no-products {
	text-align: center;
	padding: 60px 0;
	color: #999;
	font-size: 16px;
}

/* ── Filter Sidebar (Shop-style) ── */
.lpc-filter {
	flex: 0 0 240px;
	position: sticky;
	top: 100px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e8e8e8;
	overflow: hidden;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

/* Scrollbar styling for filter sidebar */
.lpc-filter::-webkit-scrollbar {
	width: 4px;
}

.lpc-filter::-webkit-scrollbar-track {
	background: transparent;
}

.lpc-filter::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 2px;
}

/* Integrate Shop filter classes inside LPC sidebar */
.lpc-filter .filter-section {
	border-bottom: 1px solid #eee;
}

.lpc-filter .filter-section:last-of-type {
	border-bottom: none;
}

.lpc-filter .filter-section-body {
	padding: 4px 18px 16px;
}

.lpc-filter .filter-color-list {
	padding: 4px 18px 16px;
}

/* Active filters inside LPC sidebar */
.lpc-filter .active-filters {
	padding: 12px 18px;
	background: #f8f9fa;
	border-bottom: 1px solid #eee;
}

/* Hide old lpc-filter elements that are no longer used */
.lpc-filter__header {
	display: none;
}

.lpc-filter__reset {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 12px;
	border: none;
	border-top: 1px solid #eee;
	background: none;
	color: #999;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
}

.lpc-filter__reset:hover {
	background: #fdf2f2;
	color: #c62828;
}

/* Mobile filter toggle */
.lpc-filter-toggle {
	display: none;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	cursor: pointer;
	margin-bottom: 14px;
	font-family: inherit;
	transition: all .2s;
}

.lpc-filter-toggle:hover {
	border-color: #2e7d32;
	color: #2e7d32;
}

.lpc-filter-toggle__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: #2e7d32;
	color: #fff;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
}

.lpc-filter-toggle__count:empty {
	display: none;
}

.lpc-view-all {
	text-align: center;
	margin-top: 40px;
	padding-top: 10px;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.lpc-view-all.is-hidden {
	opacity: 0;
	transform: translateY(-10px);
}

.lpc-view-all__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 40px;
	background: #2e7d32;
	color: #fff !important;
	border-radius: 50px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25);
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.lpc-view-all__btn:hover {
	background: #1b5e20;
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(46, 125, 50, 0.35);
}

.lpc-view-all__arrow {
	display: inline-block;
	transition: transform 0.3s ease;
	font-size: 18px;
}

.lpc-view-all__btn:hover .lpc-view-all__arrow {
	transform: translateX(4px);
}

/* Load More count text */
.lpc-load-more__count {
	font-size: 12px;
	opacity: 0.8;
	font-weight: 400;
}

/* Loading spinner */
.lpc-load-more__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: lpc-spin 0.7s linear infinite;
}

.lpc-view-all__btn.is-loading .lpc-load-more__text {
	display: none;
}

.lpc-view-all__btn.is-loading .lpc-load-more__count {
	display: none;
}

.lpc-view-all__btn.is-loading .lpc-load-more__spinner {
	display: inline-block;
}

.lpc-view-all__btn.is-loading {
	pointer-events: none;
	padding: 14px 48px;
}

.lpc-view-all__btn.is-loading::after {
	content: 'Loading...';
	font-weight: 500;
	margin-left: 8px;
}

@keyframes lpc-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Product fade-in animation for newly loaded items */
.lpc-product-fadein {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.lpc-product-fadein.is-visible {
	opacity: 1;
	transform: translateY(0);
}


/* ==========================================================================
   SECTION 5: EDITORIAL / STORY SECTION
   Split layout: image left (45%), content right (55%)
   Feature items with icon boxes matching the mockup
   ========================================================================== */

.lpc-editorial {
	padding: 70px 0;
	background: #fff;
}

.lpc-editorial__wrapper {
	display: flex;
	gap: 50px;
	align-items: center;
}

.lpc-editorial__image {
	flex: 0 0 45%;
}

.lpc-editorial__image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
	object-fit: cover;
	aspect-ratio: 3 / 4;
}

.lpc-editorial__content {
	flex: 1;
}

.lpc-editorial__content--full {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.lpc-editorial__title {
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 32px;
	color: #1a1a1a;
	line-height: 1.25;
}

.lpc-editorial__features {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.lpc-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.lpc-feature__icon {
	font-size: 26px;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1f8f1;
	border-radius: 12px;
	border: 1px solid #e0ece0;
	transition: all 0.3s ease;
}

.lpc-feature:hover .lpc-feature__icon {
	background: #e0f0e0;
	transform: scale(1.05);
}

.lpc-feature__text h3 {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
}

.lpc-feature__text p {
	margin: 0;
	font-size: 13.5px;
	color: #666;
	line-height: 1.5;
}


/* ==========================================================================
   SECTION 6: SIZE GUIDE CTA BANNER
   Dark green banner with white text and bordered button — matching mockup
   ========================================================================== */

.lpc-size-cta {
	padding: 0;
	background: #2e7d32;
}

.lpc-size-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0;
	gap: 20px;
}

.lpc-size-cta__text {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #fff;
}

.lpc-size-cta__text svg {
	flex-shrink: 0;
	color: #fff;
	opacity: 0.85;
}

.lpc-size-cta__text strong {
	display: block;
	font-size: 18px;
	margin-bottom: 2px;
	color: #fff;
	font-weight: 700;
}

.lpc-size-cta__text span {
	font-size: 14px;
	opacity: 0.88;
	color: #fff;
}

.lpc-size-cta__btn {
	display: inline-flex;
	padding: 10px 24px;
	background: transparent;
	color: #fff !important;
	border: 2px solid #fff;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	transition: all 0.3s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.lpc-size-cta__btn:hover {
	background: #fff;
	color: #2e7d32 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   SECTION 7: FAQ ACCORDION
   Clean bordered items with smooth expand animation
   ========================================================================== */

.lpc-faq {
	padding: 60px 0;
	background: #fafafa;
}

.lpc-faq__title {
	font-size: 26px;
	font-weight: 700;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 28px;
	color: #1a1a1a;
}

.lpc-faq__list {
	max-width: 800px;
}

.lpc-faq__item {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.lpc-faq__item:hover {
	border-color: #ccc;
}

.lpc-faq__item[open] {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	border-color: #bbb;
}

.lpc-faq__question {
	padding: 16px 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	font-size: 14.5px;
	color: #1a1a1a;
	list-style: none;
	transition: background 0.2s ease;
}

.lpc-faq__question::-webkit-details-marker {
	display: none;
}

.lpc-faq__question:hover {
	background: #fafafa;
}

.lpc-faq__arrow {
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 16px;
	color: #888;
}

.lpc-faq__item[open] .lpc-faq__arrow {
	transform: rotate(180deg);
	color: #2e7d32;
}

.lpc-faq__answer {
	padding: 0 20px 18px;
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	border-top: 1px solid #f0f0f0;
	padding-top: 16px;
}

.lpc-faq__answer p {
	margin: 0;
}


/* ==========================================================================
   SECTION 8: RELATED COLLECTIONS
   Card grid with image + name + count — matching mockup style
   ========================================================================== */

.lpc-related {
	padding: 60px 0 70px;
	background: #fff;
}

.lpc-related__title {
	font-size: 26px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 32px;
	color: #1a1a1a;
}

.lpc-related__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.lpc-related__card {
	text-decoration: none;
	color: #1a1a1a;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e8e8e8;
	transition: all 0.3s ease;
	background: #fff;
}

.lpc-related__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
	border-color: #2e7d32;
}

.lpc-related__card-img {
	height: 300px;
	overflow: hidden;
	background: #f5f5f5;
}

.lpc-related__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.lpc-related__card:hover .lpc-related__card-img img {
	transform: scale(1.06);
}

.lpc-related__card-placeholder {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lpc-related__card-name {
	padding: 14px 16px 4px;
	font-weight: 600;
	font-size: 14.5px;
	text-align: center;
}

.lpc-related__card-count {
	padding: 0 16px 14px;
	font-size: 12px;
	color: #888;
	text-align: center;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---------- Tablet (≤991px) ---------- */
@media (max-width: 991px) {
	.lpc-hero {
		min-height: 360px;
	}

	.lpc-hero__title {
		font-size: 38px;
	}

	.lpc-hero__content {
		padding: 50px 30px;
	}

	.lpc-editorial__wrapper {
		flex-direction: column;
		gap: 30px;
	}

	.lpc-editorial__image {
		flex: none;
		max-width: 480px;
		margin: 0 auto;
	}

	.lpc-editorial__image img {
		aspect-ratio: 4 / 3;
	}

	.lpc-editorial__content {
		text-align: center;
	}

	.lpc-editorial__title {
		font-size: 26px;
	}

	.lpc-feature {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.lpc-related__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.lpc-faq__title,
	.lpc-related__title {
		text-align: center;
	}

	.lpc-faq__list {
		max-width: 100%;
	}

	/* Filter sidebar — inline at top on tablet/mobile */
	.lpc-products__layout {
		flex-direction: column;
	}

	.lpc-filter {
		position: relative;
		top: auto;
		flex: none;
		width: 100%;
		max-height: none;
		overflow: visible;
		border-radius: 8px;
		border: 1px solid #e8e8e8;
		display: none;
		margin-bottom: 16px;
	}

	.lpc-filter.is-open {
		display: block;
	}

	.lpc-filter-toggle {
		display: inline-flex;
	}

	body.lpc-filter-open::after {
		display: none;
	}
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
	.lpc-container {
		padding: 0 16px;
	}

	/* Filters */
	.lpc-filter-toggle {
		display: inline-flex;
	}

	/* Product grid — force 2 columns on mobile */
	.lpc-products .products .product,
	.lpc-products .row .col,
	.lpc-products .row .product-small,
	.lpc-products .products>.col,
	.lpc-products .products>li {
		max-width: 100% !important;
		flex: 0 0 50% !important;
		width: 100% !important;
	}

	.lpc-products .products .product:nth-child(3n+1),
	.lpc-products .row .col:nth-child(3n+1) {
		clear: none !important;
	}

	.lpc-products .products .product:nth-child(2n+1),
	.lpc-products .row .col:nth-child(2n+1) {
		clear: both !important;
	}

	/* Hero */
	.lpc-hero {
		min-height: 300px;
		align-items: center;
		justify-content: center;
	}

	.lpc-hero__overlay {
		background: linear-gradient(135deg,
				rgba(0, 0, 0, 0.65) 0%,
				rgba(0, 0, 0, 0.35) 100%);
	}

	.lpc-hero__title {
		font-size: 28px;
	}

	.lpc-hero__subtitle {
		font-size: 14px;
		margin-bottom: 24px;
	}

	.lpc-hero__content {
		padding: 40px 20px;
		text-align: center;
	}

	/* Size CTA — stays horizontal on mobile (matching mockup) */
	.lpc-size-cta__inner {
		flex-direction: row;
		padding: 18px 0;
		gap: 14px;
	}

	.lpc-size-cta__text {
		gap: 0;
	}

	/* Hide the SVG icon and subtitle on mobile for compact look */
	.lpc-size-cta__text svg {
		display: none;
	}

	.lpc-size-cta__text span {
		display: none;
	}

	.lpc-size-cta__text strong {
		font-size: 16px;
		margin-bottom: 0;
	}

	.lpc-size-cta__btn {
		padding: 8px 18px;
		font-size: 12px;
	}

	/* FAQ — full width, clean mobile style */
	.lpc-faq {
		padding: 45px 0;
	}

	.lpc-faq__title {
		font-size: 22px;
		margin-bottom: 20px;
	}

	.lpc-faq__question {
		padding: 14px 16px;
		font-size: 13.5px;
	}

	.lpc-faq__answer {
		padding: 0 16px 14px;
		padding-top: 14px;
		font-size: 13px;
	}

	.lpc-faq__item {
		border-radius: 8px;
		margin-bottom: 8px;
	}

	/* Filters */
	.lpc-filters__bar {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
		gap: 8px;
	}

	.lpc-filter-pill {
		flex-shrink: 0;
		font-size: 12px;
		padding: 7px 16px;
	}

	/* Related */
	.lpc-related__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}

	.lpc-related__card-img {
		height: 120px;
	}

	.lpc-related__card-name {
		font-size: 12.5px;
		padding: 10px 10px 2px;
	}

	.lpc-related__card-count {
		padding: 0 10px 10px;
		font-size: 11px;
	}
}

/* ---------- Small Mobile (≤480px) ---------- */
@media (max-width: 480px) {
	.lpc-hero__title {
		font-size: 24px;
	}

	.lpc-hero__cta {
		padding: 10px 24px;
		font-size: 12px;
	}

	.lpc-related__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.lpc-editorial__title {
		font-size: 22px;
	}

	.lpc-faq__title,
	.lpc-related__title {
		font-size: 20px;
	}

	.lpc-seo-content {
		padding: 30px 0 20px;
	}

	.lpc-editorial,
	.lpc-faq,
	.lpc-related {
		padding: 40px 0;
	}
}