/* ---------- Ticker ---------- */
.hphs-ticker {
	--hphs-bg: #EADFD0;
	--hphs-fg: #1E1A16;
	--hphs-speed: 35s;
	position: relative;
	overflow: hidden;
	background: var(--hphs-bg);
	color: var(--hphs-fg);
	border-top: 1px solid rgba(176, 138, 74, .45);
	border-bottom: 1px solid rgba(176, 138, 74, .45);
	font-family: var(--f-body, "Jost", Arial, sans-serif);
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1;
	padding: 15px 0;
	white-space: nowrap;
}
.hphs-ticker-track {
	display: flex;
	width: max-content;
	animation: hphs-scroll var(--hphs-speed) linear infinite;
}
/* Always keep scrolling, even when the phone has "Reduce motion" on or the theme pauses animations. */
.hphs-ticker .hphs-ticker-track {
	animation-name: hphs-scroll !important;
	animation-duration: var(--hphs-speed, 35s) !important;
	animation-timing-function: linear !important;
	animation-iteration-count: infinite !important;
	animation-play-state: running !important;
}
/* Pause on hover only where a real mouse exists (taps on phones would leave it stuck). */
@media (hover: hover) and (pointer: fine) {
	.hphs-ticker:hover .hphs-ticker-track { animation-play-state: paused !important; }
}
.hphs-ticker ul {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hphs-tick { padding: 0 26px; }
.hphs-tick strong { font-weight: 500; color: var(--gold-deep, #8E6A2E); }
.hphs-tick span { color: var(--ink-soft, #5A5048); }
.hphs-sep { color: var(--gold, #B08A4A); font-size: 10px; }

@keyframes hphs-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ---------- Collection circles ---------- */
.hphs-circles {
	padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
	text-align: center;
	font-family: var(--f-body, "Jost", Arial, sans-serif);
}
.hphs-circles-title {
	font-family: var(--f-display, "Marcellus", serif);
	font-weight: 400;
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1.12;
	margin: 0 0 clamp(28px, 4vw, 44px);
	color: var(--ink, #1E1A16);
}
.hphs-circles-row {
	list-style: none;
	margin: 0 auto;
	padding: 6px 24px 10px;
	max-width: 1500px;
	display: flex;
	justify-content: center;
	gap: clamp(16px, 2.2vw, 36px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 24px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.hphs-circles-row::-webkit-scrollbar { display: none; }
.hphs-circles-row li { flex: 0 0 auto; scroll-snap-align: start; }

.hphs-circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: clamp(110px, 10.5vw, 170px);
	text-decoration: none !important;
	color: var(--ink, #1E1A16) !important;
}
.hphs-circle-img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--gold, #B08A4A);
	padding: 4px;
	background: var(--paper, #FAF6F0);
	transition: transform .5s var(--ease, ease), box-shadow .5s var(--ease, ease);
}
.hphs-circle-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	transition: transform 1s var(--ease, ease);
}
/* Hover lift only where a real mouse exists (on phones a tap would leave it stuck). */
@media (hover: hover) and (pointer: fine) {
	.hphs-circle:hover .hphs-circle-img { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30, 26, 22, .15); }
	.hphs-circle:hover .hphs-circle-img img { transform: scale(1.08); }
}
.hphs-circle-name {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.3;
}

@media (max-width: 1100px) {
	.hphs-circles-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
	.hphs-ticker { font-size: 11.5px; letter-spacing: .1em; padding: 12px 0; }
	.hphs-tick { padding: 0 18px; }

	/* Phones: every collection visible at once in a tidy 4 x 2 grid (no sideways scrolling). */
	.hphs-circles { padding: 40px 0 4px; }
	.hphs-circles-title { font-size: 1.75rem; margin: 0; }
	.hphs-circles-title::after {
		content: "";
		display: block;
		width: 44px;
		height: 1px;
		margin: 14px auto 0;
		background: var(--gold, #B08A4A);
	}
	.hphs-circles-row {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px 10px;
		max-width: 460px;
		padding: 24px 16px 0;
		overflow: visible;
		scroll-snap-type: none;
	}
	/* Keep the first and last column clear of the floating social icons on the left edge. */
	body:has(.hprs-social:not(.hprs-no-mobile)) .hphs-circles-row { padding-left: 36px; padding-right: 36px; }
	.hphs-circle { width: auto; gap: 8px; -webkit-tap-highlight-color: transparent; }
	.hphs-circle-img {
		border-width: 1px;
		padding: 3px;
		box-shadow: 0 8px 18px -10px rgba(30, 26, 22, .45);
		transition: transform .2s var(--ease, ease);
	}
	.hphs-circle:active .hphs-circle-img { transform: scale(.94); }
	.hphs-circle-name { font-size: 10px; font-weight: 500; letter-spacing: .05em; line-height: 1.35; }

	/* Less empty space before the "Shop by collection" section that follows. */
	.hphs-circles-wrap + .collections { padding-top: 56px; }
}
/* Small Android phones (360px): keep every name on two lines at most. */
@media (max-width: 380px) {
	.hphs-circles-row { column-gap: 6px; }
	body:has(.hprs-social:not(.hprs-no-mobile)) .hphs-circles-row { padding-left: 34px; padding-right: 34px; }
	.hphs-circle-name { letter-spacing: .03em; }
}
