/* FlexPresets — All Products (static page) */
.fp-allp-page { background: #fafaf8; color: #0a0a0a; }
.fp-allp { max-width: 1130px; margin: 0 auto; padding: 32px 16px 80px; }

.fp-allp__head { padding: 8px 0 24px; max-width: 640px; }
.fp-allp__eyebrow { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: #b8976d; }
.fp-allp__title { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }

.fp-allp__grid {
	display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .fp-allp__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .fp-allp__grid { grid-template-columns: repeat(3, 1fr); } }

.fp-allp__card {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0,0,0,.05);
	border-radius: 24px; overflow: hidden;
	text-decoration: none !important; color: inherit !important;
	transition: border-color .3s, box-shadow .3s;
	cursor: pointer;
}
.fp-allp__card:hover {
	border-color: rgba(0,0,0,.1);
	box-shadow: 0 18px 40px -20px rgba(0,0,0,.18);
}
.fp-allp__card:hover .fp-allp__thumb { transform: scale(1.04); }

.fp-allp__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f1f1; }
.fp-allp__thumb {
	width: 100%; height: 100%;
	object-fit: cover; object-position: top;
	transition: transform .6s ease;
	display: block;
}

.fp-allp__hover {
	position: absolute; inset: 0;
	background: rgba(0,0,0,.4);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .3s;
	pointer-events: none;
}
.fp-allp__card:hover .fp-allp__hover { opacity: 1; }
.fp-allp__hover-pill {
	padding: 8px 16px; border-radius: 9999px;
	background: rgba(255,255,255,.9);
	color: #000; font-size: 13px; font-weight: 500;
	backdrop-filter: blur(4px);
}
.fp-allp__card.is-active .fp-allp__hover { display: none; }

/* Before/after slider (replaces .fp-allp__thumb when active) */
.fp-allp__ba {
	position: absolute; inset: 0;
	user-select: none; touch-action: none;
	cursor: ew-resize;
}
.fp-allp__ba img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: top;
	display: block;
	-webkit-user-drag: none;
	pointer-events: none;
}
.fp-allp__ba-after { clip-path: inset(0 var(--fp-clip, 50%) 0 0); }
.fp-allp__ba-handle {
	position: absolute; top: 0; bottom: 0;
	left: var(--fp-pos, 50%);
	width: 2px; background: #fff;
	transform: translateX(-50%);
	box-shadow: 0 0 0 1px rgba(0,0,0,.15);
	pointer-events: none;
}
.fp-allp__ba-knob {
	position: absolute; top: 50%; left: 50%;
	width: 36px; height: 36px;
	border-radius: 9999px;
	background: #fff;
	transform: translate(-50%, -50%);
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
	display: flex; align-items: center; justify-content: center;
	color: #0a0a0a; font-size: 14px; font-weight: 700;
}
.fp-allp__ba-knob::before, .fp-allp__ba-knob::after {
	content: ""; width: 0; height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
}
.fp-allp__ba-knob::before { border-right: 5px solid #0a0a0a; margin-right: 4px; }
.fp-allp__ba-knob::after  { border-left: 5px solid #0a0a0a;  margin-left: 4px; }

.fp-allp__body { padding: 18px 20px 20px; }
.fp-allp__row {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 12px; margin-bottom: 12px;
}
.fp-allp__name { margin: 0 0 4px; font-size: 17px; font-weight: 600; color: #0a0a0a; }
.fp-allp__desc { margin: 0; font-size: 13.5px; color: rgba(0,0,0,.4); line-height: 1.5; }
.fp-allp__count {
	flex-shrink: 0;
	padding: 4px 10px; border-radius: 9999px;
	background: rgba(0,0,0,.05); color: rgba(0,0,0,.5);
	font-size: 12px; font-weight: 500; white-space: nowrap;
}
.fp-allp__cta {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13.5px; font-weight: 500; color: #b8976d;
	transition: color .2s;
}
.fp-allp__cta svg { transition: transform .2s; }
.fp-allp__card:hover .fp-allp__cta { color: #a07d55; }
.fp-allp__card:hover .fp-allp__cta svg { transform: translateX(2px); }
