/*
 * Catalog pieces shared by the shop archive (shop.css) and the product page (product.css): the page wrapper of the
 * shop layout (.cw-main--shop), the breadcrumb and the item of a product list (.cw-shop__item). Only design tokens.
 * Breakpoint of the mobile layout: 899px (same as the header and the mobile navigation).
 */
.cw-main--shop {
	padding-top: 24px;
}

/* Breadcrumb */
.cw-breadcrumb {
	color: var(--cw-color-muted);
	font-size: 14px;
}

.cw-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cw-breadcrumb__item + .cw-breadcrumb__item::before {
	content: "/";
	margin-right: 8px;
}

.cw-breadcrumb__link {
	padding-block: 4px;
	color: inherit;
	text-decoration: underline;
}

.cw-breadcrumb__link:hover {
	color: var(--cw-color-ink);
}

.cw-breadcrumb__current {
	color: var(--cw-color-ink);
}

/* Item of a product list (shop grid, related products row) */
.cw-shop__item {
	min-width: 0;
	margin: 0;
	padding: 0;
}

@media (max-width: 899px) {
	.cw-main--shop {
		padding-top: 14px;
	}

	.cw-breadcrumb {
		font-size: 13px;
	}
}
