/* LOOKSLIKEFILM photographer map. Colours and fonts are variables so a new theme can restyle it. */
/* Shared design tokens for every plugin component (map, cards, profiles, location pages, plans). */
.llf-dir,
.llf-featured,
.llf-location,
.llf-profile,
.llf-credit,
.llf-plans,
.llf-products,
.llf-search-wrap,
.llf-marquee,
.llf-places,
.llf-stats,
.llf-hero--slides,
.llf-pstory {
	--llf-ink: #000;
	--llf-paper: #fff;
	--llf-gold: #b59e5e;
	--llf-mist: #f7f7f7;
	--llf-line: #d8d8d8;
	--llf-muted: #6f6f6f;
}

.llf-dir {
	--llf-ink: #000;
	--llf-paper: #fff;
	--llf-gold: #b59e5e;
	--llf-mist: #f7f7f7;
	--llf-line: #d8d8d8;
	--llf-muted: #6f6f6f;
	--llf-serif: "Plantin Std Semibold", "Plantin", Georgia, "Times New Roman", serif;
	--llf-mono: "Fabrikat Mono Medium", "Fabrikat Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--llf-sans: "Sailec", "Maison Neue", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--llf-sticky-top: 90px;
	--llf-gutter: clamp(16px, 3vw, 40px);

	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: clamp(32px, 5vw, 64px) var(--llf-gutter) 48px;
	background: var(--llf-paper);
	color: var(--llf-ink);
	font-family: var(--llf-sans);
	font-size: 15px;
	line-height: 1.5;
}

.llf-dir *,
.llf-dir *::before,
.llf-dir *::after {
	box-sizing: border-box;
}

.llf-dir [hidden] {
	display: none !important;
}

.llf-dir button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.llf-dir .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Header */
.llf-dir__head {
	max-width: 640px;
	margin: 0 auto 32px;
	text-align: center;
}

.llf-dir__title {
	margin: 0 0 12px;
	font-family: var(--llf-display, var(--llf-serif));
	font-size: clamp(34px, 4.5vw, 56px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: none !important;
}

.llf-dir__subtitle {
	margin: 0;
	color: var(--llf-muted);
	font-size: 16px;
}

/* Toolbar */
.llf-dir__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 14px;
}

.llf-dir__search {
	position: relative;
	display: flex;
	flex: 1 1 280px;
	max-width: 420px;
	align-items: center;
	margin: 0;
}

.llf-dir__search svg {
	position: absolute;
	left: 14px;
	color: var(--llf-muted);
	pointer-events: none;
}

.llf-dir .llf-dir__search input {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 14px 0 42px;
	border: 1px solid var(--llf-ink);
	border-radius: 0;
	background: var(--llf-paper);
	color: var(--llf-ink);
	font: 15px/1 var(--llf-sans);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.llf-dir .llf-dir__search input:focus {
	outline: 2px solid var(--llf-gold);
	outline-offset: 1px;
}

.llf-dir__btn,
.llf-chip,
.llf-dir__views button,
.llf-dir__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	border: 1px solid var(--llf-ink);
	border-radius: 0;
	background: var(--llf-paper);
	font-family: var(--llf-mono) !important;
	font-size: 11px !important;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.llf-dir__btn {
	height: 44px;
	padding: 0 16px;
}

.llf-dir__btn:hover,
.llf-dir__btn.is-active {
	background: var(--llf-ink);
	color: var(--llf-paper);
}

.llf-dir__btn.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.llf-dir__styles {
	display: flex;
	flex: 1 1 100%;
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: none;
}

.llf-dir__styles::-webkit-scrollbar {
	display: none;
}

.llf-chip {
	flex: 0 0 auto;
	padding: 9px 12px;
	border-color: var(--llf-line);
	white-space: nowrap;
}

.llf-chip:hover {
	border-color: var(--llf-ink);
}

.llf-chip.is-active {
	border-color: var(--llf-ink);
	background: var(--llf-ink);
	color: var(--llf-paper);
}

.llf-dir__btn:focus-visible,
.llf-chip:focus-visible,
.llf-dir__views button:focus-visible,
.llf-dir__more:focus-visible,
.llf-card__link:focus-visible {
	outline: 2px solid var(--llf-gold);
	outline-offset: 2px;
}

/* Status row */
.llf-dir__status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--llf-line);
}

.llf-dir__count {
	margin: 0;
	font-family: var(--llf-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.llf-dir__views {
	display: none;
}

.llf-dir__views button {
	padding: 9px 14px;
}

.llf-dir__views button + button {
	margin-left: -1px;
}

.llf-dir__views button.is-active {
	background: var(--llf-ink);
	color: var(--llf-paper);
}

/* Body: list + sticky map */
.llf-dir__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 28px;
	align-items: start;
}

.llf-dir__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-dir__map-wrap {
	position: sticky;
	top: var(--llf-sticky-top);
	height: calc(100vh - var(--llf-sticky-top) - 24px);
	min-height: 420px;
	border: 1px solid var(--llf-line);
}

.llf-dir__map {
	width: 100%;
	height: 100%;
	background: var(--llf-mist);
}

/* Matches the grey sea of the black-and-white tiles, so a zoomed-out world has no light band. */
.llf-dir--mono .llf-dir__map {
	background: #d1d1d1;
}

.llf-dir__empty {
	margin: 24px 0;
	color: var(--llf-muted);
}

.llf-dir__more {
	justify-content: center;
	width: 100%;
	margin-top: 28px;
	padding: 16px;
}

.llf-dir__more:hover {
	background: var(--llf-ink);
	color: var(--llf-paper);
}

/* Cards */
.llf-card {
	margin: 0;
	padding: 0;
}

.llf-card::before {
	content: none !important;
}

.llf-card__link {
	display: block;
	color: inherit !important;
	text-decoration: none !important;
}

.llf-card__media {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 2px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--llf-mist);
}

.llf-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 0.5s ease, opacity 0.3s;
}

.llf-card__media img:first-child {
	grid-row: 1 / span 2;
}

.llf-card__media--1 img:first-child {
	grid-column: 1 / span 2;
}

.llf-card__media--2 img:nth-child(2) {
	grid-row: 1 / span 2;
}

.llf-card__link:hover .llf-card__media img {
	transform: scale(1.03);
}

.llf-card__ph {
	display: flex;
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
	align-items: center;
	justify-content: center;
	color: var(--llf-gold);
	font-family: var(--llf-serif);
	font-size: 44px;
}

.llf-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 8px 4px;
	background: var(--llf-gold);
	color: var(--llf-paper);
	font-family: var(--llf-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.llf-badge--video {
	right: 10px;
	left: auto;
	background: var(--llf-ink);
}

/* Pro: a small gold seal with a sparkle instead of a text label */
.llf-badge--pro {
	width: 22px;
	height: 22px;
	padding: 0;
	background: url(../img/pro-badge.svg) center / contain no-repeat;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.llf-card__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-top: 12px;
}

.llf-card__name {
	margin: 0 !important;
	font-family: var(--llf-serif) !important;
	font-size: 21px !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

.llf-card__business,
.llf-card__styles {
	color: var(--llf-muted);
	font-family: var(--llf-mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.llf-card__styles i {
	margin: 0 6px;
	font-style: normal;
}

.llf-card__place {
	font-size: 14px;
}

.llf-card__distance {
	margin-left: 8px;
	color: var(--llf-gold);
	font-size: 13px;
}

/* Map pins and clusters */
.llf-pin {
	background: none;
	border: 0;
}

.llf-pin span {
	display: block;
	width: 14px;
	height: 14px;
	margin: 2px;
	border: 2px solid var(--llf-paper);
	border-radius: 50%;
	background: var(--llf-ink);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	transition: transform 0.15s;
}

.llf-pin.is-pro span {
	background: var(--llf-gold);
}

.llf-pin.is-active {
	z-index: 1000 !important;
}

.llf-pin.is-active span,
.llf-pin:hover span {
	transform: scale(1.6);
}

.llf-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--llf-paper);
	border-radius: 50%;
	background: var(--llf-ink);
	color: var(--llf-paper);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	font-family: var(--llf-mono);
	font-size: 12px;
}

.llf-cluster.has-pro {
	box-shadow: 0 0 0 3px var(--llf-gold), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.llf-cluster.is-active {
	z-index: 1000 !important;
	background: var(--llf-gold);
}

.llf-you {
	fill: var(--llf-gold);
	fill-opacity: 1;
	stroke: var(--llf-paper);
	stroke-width: 3;
}

/* Popup */
.llf-popup .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 0;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.llf-popup .leaflet-popup-content {
	width: 220px !important;
	margin: 0;
}

.llf-popup .leaflet-popup-tip {
	box-shadow: none;
}

.llf-popup__link {
	display: block;
	padding-bottom: 14px;
	color: var(--llf-ink) !important;
	text-decoration: none !important;
}

.llf-popup__media {
	position: relative;
	aspect-ratio: 4 / 3;
	margin-bottom: 10px;
	overflow: hidden;
	background: var(--llf-mist);
}

.llf-popup__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.llf-popup__ph {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: var(--llf-gold);
	font-family: var(--llf-serif);
	font-size: 36px;
}

.llf-popup__name,
.llf-popup__place,
.llf-popup__cta {
	display: block;
	padding: 0 14px;
}

.llf-popup__name {
	font-family: var(--llf-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
}

.llf-popup__place {
	margin: 2px 0 8px;
	color: var(--llf-muted);
	font-family: var(--llf-sans);
	font-size: 13px;
}

.llf-popup__cta {
	color: var(--llf-gold);
	font-family: var(--llf-mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.llf-dir .leaflet-container {
	font-family: var(--llf-sans);
}

/* Black-and-white map tiles: calm background that lets the photographs stand out. */
.llf-dir--mono .leaflet-tile-pane {
	filter: grayscale(1) contrast(0.92) brightness(1.06);
}

/* Map credits in the site's muted grey instead of Leaflet's blue (all our maps) */
.leaflet-container .leaflet-control-attribution {
	color: var(--llf-muted, #6f6f6f);
	font-size: 10px;
}

.leaflet-container .leaflet-control-attribution a {
	color: inherit;
}

.llf-dir .leaflet-bar a {
	border-radius: 0 !important;
	color: var(--llf-ink);
}

/* Phones and small tablets: switch between list and map */
@media (max-width: 900px) {
	.llf-dir__views {
		display: flex;
	}

	.llf-dir__body {
		display: block;
	}

	.llf-dir__body[data-view="list"] .llf-dir__map-wrap {
		display: none;
	}

	.llf-dir__body[data-view="map"] .llf-dir__list {
		display: none;
	}

	.llf-dir__map-wrap {
		position: relative;
		top: 0;
		height: 72vh;
	}

	.llf-dir__search {
		max-width: none;
	}

	.llf-dir__cards {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.llf-card__media img,
	.llf-pin span {
		transition: none;
	}
}

/* Location landing pages */
.llf-location__cover {
	margin: 0 0 32px;
}

.llf-location__cover img {
	display: block;
	width: 100%;
	max-height: 70vh;
	object-fit: cover;
}

.llf-location__subtitle {
	font-family: var(--llf-display, var(--llf-serif, Georgia, serif));
	font-size: 24px;
	line-height: 1.3;
}

/* Full width comes from the theme's "alignfull" class (no 100vw trick, which overflows on phones). */
.llf-location {
	box-sizing: border-box;
	margin-top: 64px;
	padding: 64px var(--llf-gutter, clamp(16px, 4vw, 48px)) 72px;
	background: var(--llf-mist, #f7f7f7);
}

.llf-location__inner {
	max-width: 1320px;
	margin: 0 auto;
}

.llf-location__title {
	margin: 0 0 28px !important;
	font-family: var(--llf-display, var(--llf-serif, Georgia, serif)) !important;
	font-size: clamp(30px, 3.6vw, 48px) !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
	text-transform: none !important;
}

.llf-location__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-location__map {
	height: 380px;
	margin-top: 36px;
	border: 1px solid var(--llf-line, #d8d8d8);
	background: #d1d1d1;
}

.llf-location__map:not(.is-colour) .leaflet-tile-pane {
	filter: grayscale(1) contrast(0.92) brightness(1.06);
}

.llf-location__empty {
	max-width: 640px;
	font-size: 17px;
}

.llf-location__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 32px 0 0;
}

/* Featured photographers + community stats (homepage) */
.llf-featured__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
	gap: 36px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 36px;
	justify-content: center;
	margin: 0;
	font-family: var(--llf-mono, var(--wp--preset--font-family--mono, ui-monospace, monospace));
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.llf-stats strong {
	margin-right: 6px;
	color: var(--llf-gold, #b59e5e);
	font-weight: 500;
}

/* Product cards ([llf_products]), same look as journal cards */
.llf-products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 40px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-products li {
	margin: 0;
}

.llf-products a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.llf-products img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--llf-mist);
	transition: transform 0.6s ease;
}

.llf-products__media {
	overflow: hidden;
}

.llf-products a:hover img {
	transform: scale(1.03);
}

.llf-products__cat {
	margin-top: 6px;
	color: #8f7a42;
	font-family: var(--llf-mono, var(--wp--preset--font-family--mono, ui-monospace, monospace));
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.llf-products__name {
	font-family: var(--llf-serif, var(--wp--preset--font-family--serif, Georgia, serif));
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.llf-products__price {
	color: var(--llf-muted);
	font-family: var(--llf-mono, var(--wp--preset--font-family--mono, ui-monospace, monospace));
	font-size: 13px;
	letter-spacing: 0.06em;
}

/* Provider logo (MapTiler free plan) */
.llf-map-logo {
	display: block;
	line-height: 0;
	opacity: 0.85;
}

.llf-map-logo img {
	width: 67px;
	height: 20px;
}

/* ---------- Homepage building blocks ([llf_search], [llf_marquee], [llf_places], carousel, large stats) ---------- */

/* Search box: a white pill that works on photos and on plain backgrounds */
.llf-search {
	display: flex;
	align-items: center;
	max-width: 560px;
	margin: 0;
	padding: 6px 6px 6px 18px;
	border-radius: 999px;
	background: var(--llf-paper);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
	color: var(--llf-ink);
}

.llf-search__icon {
	flex: none;
	color: var(--llf-muted);
}

.llf-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	background: transparent;
	color: var(--llf-ink);
	font: 16px/1 var(--llf-sans);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.llf-search button {
	flex: none;
	height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--llf-ink);
	color: var(--llf-paper);
	font: 12px/1 var(--llf-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}

.llf-search button:hover,
.llf-search button:focus-visible {
	background: var(--llf-gold);
}

.llf-search:focus-within {
	outline: 2px solid var(--llf-gold);
	outline-offset: 3px;
}

.llf-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 16px 0 0;
	font: 11px/1 var(--llf-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.llf-search__chips span {
	margin-right: 4px;
	opacity: 0.7;
}

.llf-search__chips a {
	padding: 8px 12px;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	opacity: 0.9;
	transition: background 0.2s ease, color 0.2s ease;
}

.llf-search__chips a:hover {
	background: var(--llf-paper);
	color: var(--llf-ink);
	opacity: 1;
}

@media (max-width: 600px) {
	.llf-search {
		padding-left: 14px;
	}

	.llf-search button {
		padding: 0 18px;
	}
}

/* Moving band of styles and places */
.llf-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.llf-marquee__track {
	display: flex;
	width: max-content;
	animation: llf-marquee 60s linear infinite;
}

.llf-marquee:hover .llf-marquee__track,
.llf-marquee:focus-within .llf-marquee__track {
	animation-play-state: paused;
}

.llf-marquee__list {
	display: flex;
	flex: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-marquee__list li {
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.llf-marquee__list li::after {
	content: "";
	width: 6px;
	height: 6px;
	margin: 0 28px;
	border-radius: 50%;
	background: var(--llf-gold);
}

.llf-marquee__list a {
	color: inherit;
	font-family: var(--wp--preset--font-family--display, var(--llf-serif));
	font-size: clamp(26px, 3.4vw, 46px);
	line-height: 1.2;
	text-decoration: none;
}

.llf-marquee__list a:hover {
	color: var(--llf-gold);
}

@keyframes llf-marquee {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.llf-marquee {
		overflow-x: auto;
	}

	.llf-marquee__track {
		animation: none;
	}
}

/* Places with the most photographers */
.llf-places {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.llf-places li:nth-child(1),
.llf-places li:nth-child(6) {
	grid-column: span 2;
}

.llf-places a {
	position: relative;
	display: block;
	overflow: hidden;
	height: clamp(220px, 24vw, 340px);
	background: var(--llf-ink);
	color: var(--llf-paper);
	text-decoration: none;
}

.llf-places img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.82;
	transition: transform 0.6s ease, opacity 0.3s ease;
}

.llf-places a::after {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.llf-places a:hover img,
.llf-places a:focus-visible img {
	opacity: 1;
	transform: scale(1.04);
}

.llf-places__name,
.llf-places__count {
	position: absolute;
	left: 20px;
	z-index: 1;
}

.llf-places__name {
	bottom: 40px;
	font-family: var(--wp--preset--font-family--display, var(--llf-serif));
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.1;
}

.llf-places__count {
	bottom: 18px;
	font: 11px/1 var(--llf-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.85;
}

@media (max-width: 900px) {
	.llf-places {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.llf-places a {
		height: clamp(180px, 46vw, 300px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.llf-places img {
		transition: none;
	}
}

/* Swipeable row of featured photographers */
.llf-featured--carousel .llf-featured__cards {
	display: grid;
	grid-auto-columns: min(80vw, 380px);
	grid-auto-flow: column;
	grid-template-columns: none;
	gap: 24px;
	overflow-x: auto;
	padding-bottom: 4px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.llf-featured--carousel .llf-featured__cards::-webkit-scrollbar {
	display: none;
}

.llf-featured--carousel .llf-card {
	scroll-snap-align: start;
}

.llf-carousel__nav {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 22px;
}

.llf-carousel__nav button {
	width: 48px;
	height: 48px;
	border: 1px solid var(--llf-ink);
	border-radius: 50%;
	background: transparent;
	color: var(--llf-ink);
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.llf-carousel__nav button:hover:not(:disabled) {
	background: var(--llf-ink);
	color: var(--llf-paper);
}

.llf-carousel__nav button:disabled {
	opacity: 0.3;
	cursor: default;
}

/* Big figures */
.llf-stats--large {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	text-align: left;
}

.llf-stats--large span {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 6px clamp(16px, 3vw, 40px);
	border-left: 1px solid var(--llf-line);
	color: var(--llf-muted);
}

.llf-stats--large span:first-child {
	border-left: 0;
	padding-left: 0;
}

.llf-stats--large strong {
	margin: 0;
	color: var(--llf-ink);
	font-family: var(--wp--preset--font-family--display, var(--llf-serif));
	font-size: clamp(38px, 5vw, 84px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 0.95;
	text-transform: none;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.llf-stats--large span {
		padding: 0 10px;
		font-size: 10px;
		letter-spacing: 0.06em;
	}

	.llf-stats--large span:first-child {
		padding-left: 0;
	}
}

/* Product cards two by two on phones */
@media (max-width: 600px) {
	.llf-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 14px;
	}

	.llf-products__name {
		font-size: 16px;
	}
}

/* ---------- v2 look for the map's controls: rounded search, pill filters ---------- */
.llf-dir .llf-dir__search input {
	height: 52px;
	padding-left: 46px;
	border-color: var(--llf-line);
	border-radius: 999px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.llf-dir .llf-dir__search svg {
	left: 18px;
}

.llf-dir__btn,
.llf-chip,
.llf-dir__more {
	border-radius: 999px;
}

.llf-dir__btn {
	height: 52px;
	padding: 0 22px;
}

.llf-chip {
	padding: 10px 15px;
}

.llf-dir__views {
	border-radius: 999px;
}

.llf-dir__views button:first-child {
	border-radius: 999px 0 0 999px;
}

.llf-dir__views button:last-child {
	border-radius: 0 999px 999px 0;
}

/* The page's dark header carries the title, so the directory starts with its search */
.llf-head + .llf-dir,
.llf-head + * .llf-dir {
	padding-top: 32px;
}

/* ---------- Homepage hero slideshow (LLF_Homepage, hero-slides.js) ---------- */
.llf-slides {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--llf-ink);
}

.llf-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.6s ease;
}

.llf-slide.is-active {
	opacity: 1;
}

.llf-slide img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transform-origin: 60% 50%;
}

.llf-slide.is-active img {
	animation: llf-slow-zoom var(--llf-slide-time, 8600ms) linear both;
}

.is-paused .llf-slide.is-active img {
	animation-play-state: paused;
}

@keyframes llf-slow-zoom {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.07);
	}
}

.llf-slides__meta {
	display: flex;
	gap: 14px;
	align-items: center;
	color: var(--llf-paper);
	font-size: 11px !important;
}

.llf-slides__count {
	font-variant-numeric: tabular-nums;
	opacity: 0.85;
}

.llf-slides__bar {
	position: relative;
	width: 56px;
	height: 1px;
	background: rgba(255, 255, 255, 0.3);
}

.llf-slides__bar span {
	position: absolute;
	inset: 0;
	background: var(--llf-gold);
	transform: scaleX(0);
	transform-origin: left;
}

.llf-slides__pause {
	position: relative;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.llf-slides__pause::before,
.llf-slides__pause::after {
	content: "";
	position: absolute;
	top: 8px;
	width: 2px;
	height: 8px;
	background: var(--llf-paper);
}

.llf-slides__pause::before {
	left: 10px;
}

.llf-slides__pause::after {
	left: 14px;
}

.is-paused .llf-slides__pause::before {
	top: 7px;
	left: 10px;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid var(--llf-paper);
	background: none;
}

.is-paused .llf-slides__pause::after {
	content: none;
}

.llf-slides__pause:hover,
.llf-slides__pause:focus-visible {
	border-color: var(--llf-gold);
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.llf-slide {
		transition-duration: 0.4s;
	}

	.llf-slide.is-active img {
		animation: none;
	}
}

@media (max-width: 420px) {
	.llf-search input[type="search"] {
		padding: 0 8px;
		font-size: 15px;
	}

	.llf-search button {
		padding: 0 16px;
	}
}
