/* Recently viewed horizontal strip */

.clarke-recent-strip {
	margin: 2rem auto 1.5rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid var(--clarke-surface-low, #e8e9ec);
}

.clarke-recent-strip__heading {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.clarke-recent-strip__track {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.clarke-recent-card {
	flex: 0 0 auto;
	width: 140px;
	scroll-snap-align: start;
}

.clarke-recent-card__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.5rem;
	text-decoration: none;
	color: inherit;
	background: var(--clarke-surface, #fff);
	border: 1px solid var(--clarke-surface-low, #e8e9ec);
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.clarke-recent-card__link:hover,
.clarke-recent-card__link:focus-visible {
	border-color: var(--clarke-surface-variant, #cfd0d4);
	box-shadow: 0 2px 8px rgba(27, 27, 28, 0.06);
	outline: none;
}

.clarke-recent-card__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 4px;
	background: var(--clarke-bg, #fafafa);
}

.clarke-recent-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.clarke-recent-card__title {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.clarke-recent-card__price {
	font-size: 0.8125rem;
}

.clarke-recent-card__price .woocommerce-Price-amount {
	font-weight: 700;
}

/* Empty cart: strip above return button */
.woocommerce-cart .clarke-recent-strip {
	margin-top: 1rem;
}
