/* Product page: "You may also like" row (Home Sections). */
/* The product page is a grid: span the full width and never let the card row stretch the page. */
.single-product div.product > .hprel, .hprel { grid-column: 1 / -1; min-width: 0; max-width: 100%; width: 100%; }
.hprel-row { min-width: 0; }
.hprel.is-after { margin-top: clamp(36px, 5vw, 64px); }
.hprel { clear: both; margin: clamp(30px, 5vw, 56px) 0 clamp(26px, 4vw, 44px); font-family: var(--f-body, Jost, Arial, sans-serif); color: var(--ink, #1E1A16); }
.hprel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hprel-label { margin: 0 0 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep, #8E6A2E); }
.hprel-title { margin: 0; font: 400 clamp(26px, 3vw, 36px)/1.1 var(--f-display, Marcellus, serif); color: var(--ink, #1E1A16); }
.hprel-nav { display: flex; gap: 8px; }
.hprel-arrow {
	display: grid; place-items: center; width: 42px; height: 42px; min-height: 0; padding: 0; margin: 0; border-radius: 50%; cursor: pointer;
	border: 1px solid rgba(30, 26, 22, .22); background: transparent; color: var(--ink, #1E1A16); box-shadow: none;
	transition: background-color .3s ease, color .3s ease, opacity .3s ease;
}
.hprel-arrow:hover { background: var(--ink, #1E1A16); color: var(--sand, #F3ECE3); }
.hprel-arrow[disabled] { opacity: .3; cursor: default; background: transparent; color: var(--ink, #1E1A16); }
.hprel-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hprel-row {
	list-style: none; margin: 0; padding: 4px 2px 14px; display: flex; gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hprel-row::-webkit-scrollbar { display: none; }
.hprel-card { flex: 0 0 calc((100% - 48px) / 4); min-width: 200px; margin: 0; scroll-snap-align: start; }
.hprel-card a { display: flex; flex-direction: column; gap: 4px; height: 100%; text-decoration: none !important; color: inherit !important; }
.hprel-pic { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper, #FAF6F0); margin-bottom: 8px; }
.hprel-pic img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.hprel-badge { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 999px; background: var(--ink, #1E1A16); color: var(--sand, #F3ECE3); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.hprel-cat { font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep, #8E6A2E); }
.hprel-name { font: 400 16px/1.3 var(--f-display, Marcellus, serif); color: var(--ink, #1E1A16); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hprel-price { font-size: 14.5px; font-weight: 500; color: var(--ink, #1E1A16); }
.hprel-price del { color: #9a9088; font-weight: 400; font-size: 13px; margin-right: 6px; }
.hprel-price ins { text-decoration: none; color: var(--gold-deep, #8E6A2E); }
@media (hover: hover) and (pointer: fine) {
	.hprel-card a:hover .hprel-pic img { transform: scale(1.05); }
	.hprel-card a:hover .hprel-name { color: var(--gold-deep, #8E6A2E); }
}

/* phones: two cards and a peek of the next, swipe to see more */
@media (max-width: 640px) {
	.hprel-head { margin-bottom: 14px; }
	.hprel-nav { display: none; }
	.hprel-row { gap: 12px; margin-right: -16px; padding-right: 16px; }
	.hprel-card { flex-basis: 42%; min-width: 0; }
	.hprel-pic { border-radius: 12px; margin-bottom: 6px; }
	.hprel-name { font-size: 14.5px; }
	.hprel-price { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.hprel-row { scroll-behavior: smooth !important; }
}
