.lph-item-page {
	--lph-primary-color: #1d4ed8;
	--lph-button-color: #1d4ed8;
	background: #f6f8fb;
}

.lph-item-page .content-area,
.lph-item-page .site-main {
	margin: 0;
	padding: 0;
}

.lph-item-main {
	color: #172033;
}

.lph-item-container {
	width: min(100% - 28px, 1080px);
	margin-inline: auto;
}

.lph-item-hero {
	padding: 34px 0 24px;
	background: #fff;
	border-bottom: 1px solid #e5eaf1;
}

.lph-item-eyebrow {
	margin: 0 0 7px;
	color: var(--lph-primary-color);
	font-size: 13px;
	font-weight: 800;
}

.lph-item-logo img {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 72px;
	margin-bottom: 12px;
}

.lph-item-hero h1 {
	margin: 0;
	font-size: 30px;
	line-height: 1.25;
}

.lph-item-intro {
	margin: 10px 0 0;
	color: #566176;
	font-size: 15px;
}

.lph-item-disclosure {
	padding: 10px 0;
	background: #f6f8fb;
}

.lph-item-disclosure p {
	margin: 0;
	padding: 9px 12px;
	border: 1px solid #dbe4f0;
	border-radius: 7px;
	background: #fff;
	color: #596579;
	font-size: 12px;
	line-height: 1.5;
}

.lph-item-tools {
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 14px 0 11px;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid #e5eaf1;
}

.admin-bar .lph-item-tools {
	top: 46px;
}

.lph-item-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px;
	gap: 8px;
}

.lph-item-search input[type="search"] {
	width: 100%;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid #bdc8d7;
	border-radius: 8px;
	background: #fff;
	color: #172033;
	font-size: 16px;
}

.lph-item-search input[type="search"]:focus {
	border-color: var(--lph-primary-color);
	outline: 3px solid rgba(37, 99, 235, 0.15);
}

.lph-item-search button {
	height: 52px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--lph-button-color);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.lph-item-filters {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	margin-top: 11px;
	padding: 1px 0 5px;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
}

.lph-item-filters a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 42px;
	padding: 8px 15px;
	border: 1px solid #d7dee8;
	border-radius: 999px;
	background: #fff;
	color: #445066;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.lph-item-filters a.is-active {
	border-color: var(--lph-primary-color);
	background: var(--lph-primary-color);
	color: #fff;
}

.lph-item-results {
	padding: 26px 0 48px;
}

.lph-item-results-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 15px;
}

.lph-item-results-head h2,
.lph-item-results-head p {
	margin: 0;
}

.lph-item-results-head h2 {
	font-size: 21px;
}

.lph-item-results-head p {
	color: #687386;
	font-size: 14px;
}

.lph-item-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.lph-item-card {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	min-height: 164px;
	overflow: hidden;
	border: 1px solid #dfe5ee;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.lph-item-card:focus-within,
.lph-item-card:hover {
	border-color: #9db7e7;
}

.lph-item-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.lph-item-card-link:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: -3px;
}

.lph-item-card-media {
	min-height: 100%;
	background: #eef3f9;
}

.lph-item-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 164px;
	object-fit: cover;
}

.lph-item-image-placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	min-height: 164px;
	color: #7b879a;
	font-size: 24px;
	font-weight: 800;
}

.lph-item-card-body {
	display: flex;
	min-width: 0;
	padding: 14px;
	flex-direction: column;
}

.lph-item-number {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 7px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #eaf2ff;
	color: var(--lph-primary-color);
	font-size: 12px;
	font-weight: 800;
}

.lph-item-card h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.lph-item-tagline {
	display: -webkit-box;
	overflow: hidden;
	margin: 7px 0 0;
	color: #5b6678;
	font-size: 13px;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.lph-item-category {
	margin: 8px 0 0;
	color: #69758a;
	font-size: 12px;
	font-weight: 700;
}

.lph-item-buy {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 44px;
	margin-top: auto;
	padding: 9px 16px;
	border-radius: 7px;
	background: var(--lph-button-color);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.lph-item-buy:hover,
.lph-item-buy:focus {
	background: #1e40af;
	color: #fff;
}

.lph-item-buy.is-disabled {
	background: #e8edf4;
	color: #6b7280;
}

.lph-item-back {
	display: inline-flex;
	margin-bottom: 14px;
	color: var(--lph-primary-color);
	font-weight: 700;
}

.lph-item-detail {
	display: grid;
	overflow: hidden;
	border: 1px solid #dfe5ee;
	border-radius: 8px;
	background: #fff;
}

.lph-item-detail-media {
	background: #eef3f9;
}

.lph-item-detail-media img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: contain;
}

.lph-item-detail-body {
	display: flex;
	padding: 22px;
	flex-direction: column;
}

.lph-item-detail-body h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.4;
}

.lph-item-detail-body .lph-item-buy {
	margin-top: 22px;
}

.lph-item-empty {
	padding: 44px 20px;
	border: 1px solid #dfe5ee;
	border-radius: 8px;
	background: #fff;
	text-align: center;
}

.lph-item-empty h2,
.lph-item-empty p {
	margin: 0;
}

.lph-item-empty h2 {
	font-size: 20px;
}

.lph-item-empty p {
	margin-top: 8px;
	color: #647084;
}

.lph-item-empty a {
	display: inline-flex;
	margin-top: 16px;
	color: var(--lph-primary-color);
	font-weight: 800;
}

.lph-item-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 26px;
}

.lph-item-pagination a,
.lph-item-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 14px;
	border: 1px solid #d7dee8;
	border-radius: 7px;
	background: #fff;
}

.lph-item-pagination a {
	color: var(--lph-primary-color);
	font-weight: 800;
	text-decoration: none;
}

.lph-item-screen-reader {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	clip-path: inset(50%);
}

@media (min-width: 700px) {
	.admin-bar .lph-item-tools {
		top: 32px;
	}

	.lph-item-container {
		width: min(100% - 40px, 1080px);
	}

	.lph-item-hero {
		padding: 48px 0 30px;
	}

	.lph-item-hero h1 {
		font-size: 38px;
	}

	.lph-item-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.lph-item-detail {
		grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	}
}

@media (min-width: 1024px) {
	.lph-item-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lph-item-card {
		grid-template-columns: 1fr;
	}

	.lph-item-card-media,
	.lph-item-card-media img,
	.lph-item-image-placeholder {
		height: 210px;
		min-height: 210px;
	}

	.lph-item-card-body {
		min-height: 218px;
	}
}
