.pickler-shelf {
	padding: 32px 0 60px;
}

/* Compact hero, so listings start above the fold (the theme's banner is 150px+ of padding each side) */
.pickler-shelf-hero .theme-banner-content.theme-breadcrumb-banner {
	padding: 56px 0 52px;
}

.pickler-shelf-hero .theme-banner-content.theme-breadcrumb-banner h1.pickler-shelf__title {
	margin: 0;
	line-height: 1.25;
}

.pickler-shelf-hero .pickler-shelf__intro {
	max-width: 760px;
	margin: 12px auto 0;
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.pickler-shelf-hero .pickler-shelf__intro p {
	margin: 0;
}

.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs {
	margin-top: 12px;
}

.pickler-shelf__sponsor {
	margin-bottom: 32px;
}

.pickler-shelf__group {
	margin-bottom: 40px;
}

.pickler-shelf__group-title {
	margin: 0 0 16px;
	font-size: 22px;
}

.pickler-shelf__group-title a {
	color: inherit;
}

.pickler-shelf__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 8px 0 48px;
}

.pickler-shelf__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
}

.pickler-shelf__pagination .page-numbers.current {
	border-color: var(--directorist-color-primary, #111827);
	background: var(--directorist-color-primary, #111827);
	color: #fff;
}

.pickler-shelf__related {
	padding-top: 28px;
	margin-top: 28px;
	border-top: 1px solid #e5e7eb;
}

.pickler-shelf__related-title {
	margin: 0 0 16px;
	font-size: 20px;
}

.pickler-shelf__related-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The theme's active crumb color is a light grey with poor contrast on the overlay */
.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs span.pickler-shelf__crumb-current {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs span.pickler-shelf__crumb-plain,
.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs a span,
.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs ul li::after {
	color: #fff;
}

.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs a:hover span,
.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs a:focus-visible span {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media only screen and (max-width: 991px) {
	.pickler-shelf-hero .theme-banner-content.theme-breadcrumb-banner {
		padding: 40px 0 36px;
	}
}

@media only screen and (max-width: 767px) {
	.pickler-shelf {
		padding: 16px 0 40px;
	}

	.pickler-shelf-hero .theme-banner-content.theme-breadcrumb-banner {
		padding: 24px 0 20px;
	}

	.pickler-shelf-hero .theme-banner-content.theme-breadcrumb-banner h1.pickler-shelf__title {
		font-size: 1.5rem;
	}

	/* Two lines at most, so the intro doesn't push the listings down */
	.pickler-shelf-hero .pickler-shelf__intro {
		margin-top: 8px;
		font-size: 14px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		overflow: hidden;
	}

	.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs {
		margin-top: 8px;
	}

	.pickler-shelf-hero .main-breadcrumb.pickler-shelf__breadcrumbs ul li {
		font-size: 13px;
	}

	.pickler-shelf__group {
		margin-bottom: 28px;
	}

	.pickler-shelf__group-title {
		margin-bottom: 12px;
		font-size: 18px;
	}
}
