/* Homepage only. Keep the layout independent of shared shop/product styles. */
body.ashlaser-home-active #content > .col-full {
	max-width: none;
	margin: 0;
	padding: 0;
}

.ash-home,
.ash-home * {
	box-sizing: border-box;
}

.ash-home {
	/* Warm outlines and rust accent echo the Gift Packs page. */
	--ash-home-border: #e7ded2;
	--ash-home-accent: #b5502e;
	--ash-home-surface: #f3eee7;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 36px 40px 64px;
	color: var(--ash-ink);
	font-family: Inter, Arial, sans-serif;
}

.ash-home h1,
.ash-home h2,
.ash-home h3,
.ash-home p {
	margin: 0;
	font-family: inherit;
}

.ash-home h1 {
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.035em;
}

.ash-home__intro {
	margin-bottom: 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--ash-home-border);
}

.ash-home__categories,
.ash-home__products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
}

.ash-home a {
	color: inherit;
}

.ash-home__category,
.ash-home__product-link {
	display: block;
	text-decoration: none;
}

.ash-home__category {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ash-home-border);
	border-radius: 8px;
	background: #fff;
}

.ash-home__category:hover,
.ash-home__category:focus-visible {
	border-color: var(--ash-home-accent);
}

.ash-home__category img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 7px 7px 0 0;
}

.ash-home__category span {
	display: block;
	padding: 14px 16px;
	border-top: 1px solid var(--ash-home-border);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.ash-home__category:hover span,
.ash-home__product-link:hover h3 {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ash-home a:focus-visible {
	outline: 2px solid var(--ash-bark);
	outline-offset: 5px;
}

.ash-home__gifts {
	margin-top: 44px;
	padding: 26px;
	border: 1px solid var(--ash-home-border);
	border-radius: 8px;
	background: var(--ash-home-surface);
}

.ash-home__section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ash-home-border);
}

.ash-home h2 {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.025em;
}

.ash-home__text-link {
	display: inline-block;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ash-home a.ash-home__text-link {
	color: #8f3c20;
}

.ash-home__product {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ash-home__product-link {
	flex: 1;
}

.ash-home__product img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 640 / 420;
	object-fit: contain;
	border: 1px solid var(--ash-home-border);
	background: #fff;
	border-radius: 4px;
}

.ash-home__product h3 {
	padding-top: 12px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.ash-home__price {
	padding-top: 6px;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 600;
}

.ash-home__workshop {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 16px 40px;
	margin-top: 32px;
	border: 1px solid var(--ash-home-border);
	border-left: 3px solid var(--ash-home-accent);
	padding: 28px;
	background: #fff;
}

.ash-home__workshop p {
	max-width: 600px;
	font-size: 16px;
	line-height: 1.6;
}

.ash-home__workshop a {
	margin-top: 12px;
}

@media (max-width: 900px) {
	.ash-home {
		padding: 28px 24px 48px;
	}

	.ash-home__categories,
	.ash-home__products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.ash-home {
		padding: 24px 20px 40px;
	}

	.ash-home__categories,
	.ash-home__products {
		gap: 24px 16px;
	}

	.ash-home__category span,
	.ash-home__product h3 {
		font-size: 15px;
	}

	.ash-home__category span {
		padding: 12px 10px;
	}

	.ash-home__gifts {
		padding: 18px 12px;
	}

	.ash-home__products {
		column-gap: 12px;
	}

	.ash-home__gifts,
	.ash-home__workshop {
		margin-top: 28px;
	}

	.ash-home__section-head {
		flex-wrap: wrap;
		gap: 8px 20px;
		margin-bottom: 18px;
	}

	.ash-home__workshop {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 22px 18px;
	}
}
