/**
 * Structural fallbacks only. The Purple Llama theme carries the full design.
 * These rules apply when a different theme is active, so the widgets stay usable.
 */

body:not(.pl-theme) .pl-container {
	width: min(1280px, 92vw);
	margin-inline: auto;
}

body:not(.pl-theme) .pl-section {
	padding-block: clamp(4rem, 9vw, 8rem);
}

body:not(.pl-theme) .pl-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

body:not(.pl-theme) .pl-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.65;
	margin-bottom: 0.9rem;
}

body:not(.pl-theme) .pl-lead {
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 52ch;
}

body:not(.pl-theme) .pl-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.95rem 1.6rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	background: #8b3a9e;
	color: #fff;
}

body:not(.pl-theme) .pl-btn--ghost {
	background: transparent;
	border: 1px solid currentColor;
	color: inherit;
}

body:not(.pl-theme) .pl-btn__icon svg {
	width: 1em;
	height: 1em;
	display: block;
}

body:not(.pl-theme) .pl-marquee {
	overflow: hidden;
	padding-block: 1.2rem;
	border-block: 1px solid rgba(0, 0, 0, 0.12);
}

body:not(.pl-theme) .pl-marquee__track {
	display: flex;
	gap: 2.5rem;
	width: max-content;
	animation: pl-marquee-fallback 40s linear infinite;
}

body:not(.pl-theme) .pl-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	white-space: nowrap;
}

body:not(.pl-theme) .pl-services__list {
	display: grid;
}

body:not(.pl-theme) .pl-service {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.1fr) 40px;
	align-items: center;
	gap: 1.5rem;
	padding-block: 1.6rem;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	text-decoration: none;
	color: inherit;
}

body:not(.pl-theme) .pl-service__desc {
	margin: 0;
	opacity: 0.7;
}

body:not(.pl-theme) .pl-service__preview-src {
	display: none;
}

body:not(.pl-theme) .pl-work__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.6rem;
}

body:not(.pl-theme) .pl-work__card {
	display: block;
	text-decoration: none;
	color: inherit;
}

body:not(.pl-theme) .pl-work__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	background: #120a18;
}

body:not(.pl-theme) .pl-work__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body:not(.pl-theme) .pl-work__body {
	padding-top: 1rem;
}

body:not(.pl-theme) .pl-work__title {
	margin: 0.3rem 0 0.5rem;
	font-size: 1.15rem;
}

body:not(.pl-theme) .pl-work__play {
	display: none;
}

body:not(.pl-theme) .pl-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
}

body:not(.pl-theme) .pl-stat__num {
	font-size: 2.4rem;
	font-weight: 800;
}

body:not(.pl-theme) .pl-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.4rem;
}

body:not(.pl-theme) .pl-product {
	display: block;
	text-decoration: none;
	color: inherit;
}

body:not(.pl-theme) .pl-product__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 14px;
	background: #120a18;
}

body:not(.pl-theme) .pl-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body:not(.pl-theme) .pl-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

body:not(.pl-theme) .pl-form__field {
	display: grid;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

body:not(.pl-theme) .pl-form input,
body:not(.pl-theme) .pl-form select,
body:not(.pl-theme) .pl-form textarea {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	font: inherit;
}

body:not(.pl-theme) .pl-hp {
	position: absolute;
	left: -9999px;
}

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