.moos-fsp {
	--moos-fsp-thumb: 64px;
	--moos-fsp-max-height: 320px;
	--moos-fsp-gap: 0.75em;
	--moos-fsp-border: rgba(0, 0, 0, 0.1);
}

.moos-fsp__heading {
	margin: 0 0 0.25em;
}

.moos-fsp__subtext {
	display: block;
	margin: 0 0 0.75em;
	font-size: 0.9em;
	opacity: 0.8;
}

.moos-fsp__list {
	max-height: var(--moos-fsp-max-height);
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--moos-fsp-border);
	border-radius: 4px;
	scrollbar-width: thin;
}

.moos-fsp__list:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.moos-fsp__item {
	display: flex;
	align-items: center;
	gap: var(--moos-fsp-gap);
	padding: var(--moos-fsp-gap);
	border-bottom: 1px solid var(--moos-fsp-border);
}

.moos-fsp__item:last-child {
	border-bottom: 0;
}

.moos-fsp__thumb {
	flex: 0 0 var(--moos-fsp-thumb);
	width: var(--moos-fsp-thumb);
	height: var(--moos-fsp-thumb);
	display: block;
	line-height: 0;
}

.moos-fsp__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 3px;
	display: block;
	margin: 0;
}

.moos-fsp__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15em;
}

.moos-fsp__name {
	font-size: 0.9em;
	line-height: 1.3;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.moos-fsp__price {
	font-size: 0.9em;
	font-weight: 600;
}

.moos-fsp__price del {
	font-weight: 400;
	opacity: 0.6;
}

.moos-fsp__action {
	flex: 0 0 auto;
}

.moos-fsp__button {
	white-space: nowrap;
	cursor: pointer;
}

.moos-fsp__button.is-loading {
	opacity: 0.6;
	cursor: wait;
}

.moos-fsp__button.is-added {
	opacity: 0.85;
}

.moos-fsp__item--cta {
	justify-content: center;
	text-align: center;
}

.moos-fsp__view-all {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-width: 0;
	font-size: 0.9em;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.moos-fsp__view-all:hover .moos-fsp__view-all-label,
.moos-fsp__view-all:focus-visible .moos-fsp__view-all-label {
	text-decoration: underline;
}

.moos-fsp__chevron {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8em;
	height: 1.8em;
	border: 1px solid currentColor;
	border-radius: 50%;
	transition: transform 0.15s ease;
}

.moos-fsp__view-all:hover .moos-fsp__chevron {
	transform: translateX(2px);
}

.moos-fsp__chevron svg {
	width: 0.75em;
	height: 0.75em;
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.moos-fsp--notice {
	padding: 1em;
	border: 1px dashed var(--moos-fsp-border);
	border-radius: 4px;
}

.moos-fsp--editor .moos-fsp__preview {
	pointer-events: none;
}

@media (max-width: 480px) {
	.moos-fsp__item {
		flex-wrap: wrap;
	}

	.moos-fsp__action {
		flex: 1 1 100%;
	}

	.moos-fsp__button {
		width: 100%;
	}
}
