/* Shop Leaflets - frontend styles */

.llp-leaflet-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem;
}

.llp-header .llp-shop {
	color: #666;
	font-size: 1.1rem;
	margin-top: -0.5rem;
}

.llp-body-text {
	margin: 1.5rem 0;
	line-height: 1.6;
}

.llp-featured {
	margin: 2rem 0;
}

.llp-featured__heading,
.llp-grid-heading {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid #eee;
	padding-bottom: 0.5rem;
}

.llp-grid-section {
	margin: 2.5rem 0;
}

.llp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1.25rem;
}

.llp-grid-item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	padding: 0; 
	text-align: left;
	font: inherit;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.llp-grid-item-arch {
	padding: 0.75rem !important; 
}

.llp-grid-item:hover,
.llp-grid-item:focus-visible {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.llp-grid-item img {
	width: 100% !important;
	height: 220px !important;
	object-fit: contain !important;
	display: block !important;
	background: #ffffff !important;
	object-position: center !important;
}

.llp-grid-item__title {
	padding: 0.6rem 0.75rem;
	font-weight: 500;
	font-size: 0.95rem;
}

.llp-grid-item__title-arch {
	padding: 0 !important;
}

.llp-grid-section--archive .llp-grid-item {
	opacity: 0.85;
}

.llp-footer-text {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
	color: #555;
	font-size: 0.95rem;
}

/* Lightbox (hidden gallery source content, never shown directly) */
.llp-lightbox-content {
	display: none;
}

/* Fullscreen overlay */
.llp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: auto;
	padding: 2.5rem 1rem 1rem;
}

.llp-lightbox[hidden] {
	display: none;
}

.llp-lightbox__inner {
	max-width: 1000px;
	width: 100%;
	max-height: 100%;
	overflow: auto;
	background: #fff;
	border-radius: 4px;
	padding: 1rem;
}

.llp-lightbox__close {
	position: fixed;
	top: 0.75rem;
	right: 1rem;
	font-size: 2.5rem;
	line-height: 1;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	z-index: 100001;
}

body.llp-lightbox-open {
	overflow: hidden;
}
