.hpfc {
	--hpfc-gold: var(--gold, #B08A4A);
	--hpfc-gold-deep: var(--gold-deep, #8E6A2E);
	--hpfc-ink: var(--ink, #1E1A16);
	--hpfc-soft: var(--ink-soft, #5A5048);
	--hpfc-paper: var(--paper, #FAF6F0);
	--hpfc-ease: var(--ease, cubic-bezier(.22, .61, .36, 1));
	padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
	overflow: hidden;
	overflow: clip;
	font-family: var(--f-body, "Jost", Arial, sans-serif);
}

.hpfc-head { text-align: center; margin: 0 auto clamp(28px, 4vw, 48px); padding: 0 24px; }
.hpfc-label {
	font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
	color: var(--hpfc-gold-deep); margin: 0 0 14px;
}
.hpfc-title {
	font-family: var(--f-display, "Marcellus", serif); font-weight: 400;
	font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; margin: 0; color: var(--hpfc-ink);
}
.hpfc-line { display: block; width: 56px; height: 1px; background: var(--hpfc-gold); margin: 18px auto 0; }

.hpfc-stage {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	height: clamp(470px, 46vw, 600px);
	perspective: 1400px;
}
.hpfc-track {
	list-style: none; margin: 0; padding: 0;
	position: absolute; inset: 0;
	transform-style: preserve-3d;
	touch-action: pan-y;
	user-select: none; -webkit-user-select: none;
}

.hpfc-card {
	position: absolute;
	top: 0; left: 50%;
	width: clamp(240px, 26vw, 330px);
	margin-left: calc(clamp(240px, 26vw, 330px) / -2);
	transform-origin: center center;
	transition: transform .7s var(--hpfc-ease), opacity .7s var(--hpfc-ease);
	cursor: pointer;
	opacity: 0;
}
.hpfc:not(.is-ready) .hpfc-card:first-child { opacity: 1; }

.hpfc-link {
	display: flex; flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none !important;
	color: var(--hpfc-ink) !important;
	box-shadow: 0 12px 30px rgba(30, 26, 22, .12);
	transition: box-shadow .5s var(--hpfc-ease);
}
.hpfc-card.is-active .hpfc-link { box-shadow: 0 26px 60px rgba(30, 26, 22, .22); }

.hpfc-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--hpfc-paper); overflow: hidden; }
.hpfc-img img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 1.2s var(--hpfc-ease);
	-webkit-user-drag: none;
}
.hpfc-card.is-active:hover .hpfc-img img { transform: scale(1.05); }
.hpfc-badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--hpfc-ink); color: #fff;
	font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 2px;
}

.hpfc-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.hpfc-name {
	font-family: var(--f-display, "Marcellus", serif);
	font-size: 18px; line-height: 1.25;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.5em;
}
.hpfc-price { font-size: 15px; font-weight: 500; color: var(--hpfc-ink); }
.hpfc-price del { color: var(--hpfc-soft); opacity: .7; font-weight: 400; margin-left: 6px; }
.hpfc-price ins { text-decoration: none; }
.hpfc-more {
	display: flex; align-items: center; justify-content: space-between;
	margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(30, 26, 22, .1);
	font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--hpfc-soft);
}
.hpfc-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hpfc-card.is-active .hpfc-more { color: var(--hpfc-gold-deep); }

.hpfc-nav {
	position: absolute; top: 40%; z-index: 20;
	width: 44px; height: 44px; min-height: 0; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50% !important; border: 1px solid rgba(30, 26, 22, .15) !important;
	background: rgba(255, 255, 255, .9) !important; color: var(--hpfc-ink) !important;
	box-shadow: 0 6px 18px rgba(30, 26, 22, .12);
	cursor: pointer; transition: background .3s, transform .3s;
}
.hpfc-nav:hover { background: var(--hpfc-ink) !important; color: #fff !important; }
.hpfc-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hpfc-prev { left: 16px; }
.hpfc-next { right: 16px; }

.hpfc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; padding: 0 24px; flex-wrap: wrap; }
.hpfc-dot {
	width: 8px; height: 8px; min-height: 0; padding: 0;
	border-radius: 50% !important; border: 0 !important;
	background: rgba(30, 26, 22, .2) !important; cursor: pointer;
	transition: width .4s var(--hpfc-ease), background .4s;
}
.hpfc-dot.is-active { width: 24px; border-radius: 4px !important; background: var(--hpfc-gold) !important; }

@media (max-width: 640px) {
	.hpfc-stage { height: 470px; }
	.hpfc-card { width: 230px; margin-left: -115px; }
	.hpfc-nav { width: 38px; height: 38px; top: 36%; }
	.hpfc-prev { left: 8px; }
	.hpfc-next { right: 8px; }
}


/* Phones with "reduce motion" / battery saver: the theme switches every transition off, which made the carousel jump.
   Keep the slide smooth. */
@media (prefers-reduced-motion: reduce) {
	.hpfc .hpfc-card { transition-duration: .7s, .7s !important; }
	.hpfc .hpfc-link { transition-duration: .5s !important; }
	.hpfc .hpfc-img img { transition-duration: 1.2s !important; }
	.hpfc .hpfc-dot { transition-duration: .4s, .4s !important; }
}