/* Bohemian 2026: shop, category and collection archives */

/* ------------------------------------------------ banner */

.bl-banner {
	background: var(--bl-bg);
	border-bottom: 1px solid var(--bl-line);
}

.bl-banner__text {
	padding: 40px 15px;
	text-align: center;
}

.bl-banner__title {
	margin: 0;
	color: var(--bl-nav);
	font: 400 32.04px/41.652px var(--bl-serif);
}

.bl-banner__desc {
	max-width: 600px;
	margin: 20px auto 0;
}

.bl-banner__desc p {
	margin: 0;
}

.bl-banner__desc p + p {
	margin-top: 20px;
}

.bl-banner__media {
	display: none;
	background-color: var(--bl-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media (min-width: 960px) {
	.bl-banner {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.bl-banner__text {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 140px var(--bl-gutter);
	}
	.bl-banner__title {
		font-size: 42px;
		line-height: 50.4px;
	}
	.bl-banner__media {
		display: block;
		min-height: 100%;
	}}

/* ------------------------------------------------ product grid */

.bl-grid {
	padding: 40px 0;
	background: linear-gradient(180deg, #f8f5f0 0%, #ffffff 100%);
}

.bl-grid__in {
	padding: 0 15px;
}

body .bl-grid ul.bl-products.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.bl-grid ul.bl-products.products::before,
.bl-grid ul.bl-products.products::after {
	display: none;
	content: none;
}

.bl-grid .bl-grid__empty {
	grid-column: 1 / -1;
	padding: 40px 0;
}

.bl-pager {
	margin-top: 20px;
	text-align: center;
}

@media (min-width: 640px) {
	body .bl-grid ul.bl-products.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}}

@media (min-width: 960px) {
	.bl-grid {
		padding: 70px 0;
	}
	.bl-grid__in {
		padding: 0 var(--bl-gutter);
	}
	body .bl-grid ul.bl-products.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}}

/* ------------------------------------------------ category header (Figma "Products - Sub Category") */
.bl-banner {
	display: block;
	border-top: 1px solid var(--bl-line);
	border-bottom: 1px solid var(--bl-line);
}

.bl-banner__text {
	display: block;
	padding: 32px var(--bl-gutter);
	text-align: left;
}

.bl-banner__title {
	margin: 0;
	color: var(--bl-brand-3);
	font: 400 12px/1.4 var(--bl-sans);
	letter-spacing: 0.04em;
}

.bl-banner.has-text .bl-banner__desc {
	max-width: 527px;
	margin: 8px 0 0;
	color: var(--bl-brand);
	font: 400 24px/32px var(--bl-serif);
}

.bl-banner:not(.has-text) .bl-banner__title {
	color: var(--bl-brand);
	font: 400 32px/41px var(--bl-serif);
	letter-spacing: 0;
}

.bl-banner__media { display: block; padding: 8px; border-top: 1px solid var(--bl-line); background: none; }
.bl-banner__img { display: block; aspect-ratio: 1 / 1; border-radius: 10px; background: center / cover no-repeat; }

@media (min-width: 960px) {
	.bl-banner {
		display: flex;
		align-items: stretch;
		justify-content: space-between;
		min-height: 302px;
		padding-left: 32px;
		padding-right: 32px;
	}
	.bl-banner__text {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		justify-content: center;
		padding: 40px 0;
	}
	.bl-banner__media {
		flex: 0 0 302px;
		width: 302px;
		min-height: 0;
		padding: 8px;
		border-top: 0;
		border-left: 1px solid var(--bl-line);
	}
	.bl-banner__img { width: 100%; height: 100%; aspect-ratio: auto; }
}
.bl-banner.has-text .bl-banner__title { color: var(--bl-brand-2, #8a6f4d); font-size: 13px; }
@media (max-width: 959px) {
	.bl-banner.has-text .bl-banner__desc { font-size: 18px; line-height: 26px; }
	.bl-banner__text { padding: 24px var(--bl-gutter); }
}

/* phones: the text lines up with the filters below (15px), less air above it, and the header's own line is the only one (no double line) */
@media (max-width: 959px) {
	.bl-banner { border-top: 0; }
	.bl-banner__text { padding: 20px 15px 24px; }
}
