/*
 * Shared frame of the WooCommerce pages rendered by the theme (inc/shop-layout.php):
 * page container and breadcrumb.
 */

/* Hello Elementor only pads .site-main below 576px; the wider max-width below needs its own gutter. */
body.lp-shop .site-main {
	max-width: 1400px;
	padding-inline: clamp(10px, 2vw, 20px);
}

/* One line on mobile: the trail is secondary and must not push the content down. */
.lp-shop .woocommerce-breadcrumb {
	margin: 12px 0;
	overflow: hidden;
	font-size: 0.75rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--lp-text);
}

.lp-shop .woocommerce-breadcrumb a {
	color: var(--lp-muted);
	text-decoration: none;
}

.lp-shop .woocommerce-breadcrumb a:hover {
	color: var(--lp-teal-text);
}

@media (min-width: 768px) {
	.lp-shop .woocommerce-breadcrumb {
		margin: 16px 0;
		font-size: 0.8rem;
		white-space: normal;
	}
}
