/**
 * Homepage "Shop Preview" section chrome (heading, eyebrow, "Browse
 * Products" link). The product grid itself is a real WooCommerce Product
 * Collection block rendering the same locked .u3ds-product-card markup
 * used on the Shop page — see shop.css for that styling (loaded here too,
 * via the .u3ds-shop class on this section, so the cards match exactly).
 */

.u3ds-shop-preview {
	position: relative;
	background-color: var(--wp--preset--color--bg-primary);
	margin-top: 0;
	padding-top: var(--wp--preset--spacing--4-xl);
	padding-bottom: var(--wp--preset--spacing--4-xl);
	border-top: 1px solid var(--wp--preset--color--border);
}

.u3ds-shop-preview__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--wp--preset--spacing--2-xl);
	margin-bottom: var(--wp--preset--spacing--2-xl);
}

.u3ds-shop-preview__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0 0 var(--wp--preset--spacing--l);
}

.u3ds-shop-preview__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background-color: var(--wp--preset--color--accent);
	flex-shrink: 0;
}

.u3ds-shop-preview__headline {
	margin: 0;
}

.u3ds-shop-preview__link {
	flex-shrink: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.u3ds-shop-preview__link span {
	display: inline-block;
	transition: transform 200ms ease;
}

.u3ds-shop-preview__link:hover span,
.u3ds-shop-preview__link:focus-visible span {
	transform: translateX(4px);
}

@media (max-width: 781px) {
	.u3ds-shop-preview {
		padding-top: var(--wp--preset--spacing--3-xl);
		padding-bottom: var(--wp--preset--spacing--3-xl);
	}

	.u3ds-shop-preview__header {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--wp--preset--spacing--m);
	}
}

@media (prefers-reduced-motion: reduce) {
	.u3ds-shop-preview__link span {
		transition: none;
	}
}
