/**
 * Shop, product categories/tags, single product: hide Haru page heading;
 * breadcrumbs: white fill, #b8a67a outline (border on rectangles; drop-shadow on arrow — border + clip-path breaks on diagonals);
 * left edge square, right arrow (except last: full rectangle).
 * Body class: teespace-child-wc-bc.
 */

.teespace-child-wc-bc .haru-page-title__heading {
	display: none !important;
}

.teespace-child-wc-bc .haru-page-title.has-heading {
	padding-top: 14px;
	padding-bottom: 14px;
	margin-top: 0;
	margin-bottom: 24px;
}

@media screen and (max-width: 991px) {
	.teespace-child-wc-bc .haru-page-title {
		margin-top: 0;
	}

	.teespace-child-wc-bc .haru-page-title.has-heading {
		padding-top: 10px;
		padding-bottom: 10px;
		margin-bottom: 16px;
	}
}

.teespace-child-wc-bc .haru-page-title__content {
	text-align: left;
}

.teespace-child-wc-bc.tax-product_cat .woocommerce-products-header .woocommerce-products-header__title,
.teespace-child-wc-bc.tax-product_tag .woocommerce-products-header .woocommerce-products-header__title,
.teespace-child-wc-bc.woocommerce-shop .woocommerce-products-header .woocommerce-products-header__title {
	display: none !important;
}

.teespace-child-wc-bc .haru-page-title__breadcrumbs {
	overflow: visible;
}

.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb {
	--teespace-bc-border: #b8a67a;
	--teespace-bc-tip: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 500;
	color: #333;
}

.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb .delimiter {
	display: none;
}

.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb > span.current {
	--teespace-bc-outline: drop-shadow(1px 0 0 var(--teespace-bc-border))
		drop-shadow(-1px 0 0 var(--teespace-bc-border)) drop-shadow(0 1px 0 var(--teespace-bc-border))
		drop-shadow(0 -1px 0 var(--teespace-bc-border)) drop-shadow(1px 1px 0 var(--teespace-bc-border))
		drop-shadow(-1px -1px 0 var(--teespace-bc-border)) drop-shadow(1px -1px 0 var(--teespace-bc-border))
		drop-shadow(-1px 1px 0 var(--teespace-bc-border));
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	margin: 0;
	padding: 0.45em 1.05em 0.45em 0.85em;
	background: #fff;
	border: none;
	border-radius: 0;
	position: relative;
	isolation: isolate;
}

/* Single crumb: rectangle — real border (no clip-path) */
.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb > span.current:only-child {
	clip-path: none;
	border: 1px solid var(--teespace-bc-border);
	filter: none;
}

/* Intermediate crumbs: arrow shape — outline via drop-shadow (follows clip-path; diagonals included) */
.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb > span.current:not(:last-child):not(:only-child) {
	clip-path: polygon(
		0 0,
		calc(100% - var(--teespace-bc-tip)) 0,
		100% 50%,
		calc(100% - var(--teespace-bc-tip)) 100%,
		0 100%
	);
	filter: var(--teespace-bc-outline);
}

/* Last (when 2+ crumbs): rectangle — real border */
.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb > span.current:last-child:not(:only-child) {
	clip-path: none;
	border: 1px solid var(--teespace-bc-border);
	filter: none;
	font-weight: 600;
	color: #1a1a1a;
}

.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb a {
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}

.teespace-child-wc-bc .haru-page-title__breadcrumbs .haru-breadcrumb a:hover {
	color: #000;
}

.teespace-child-wc-bc .haru-page-title.has-bg-image .haru-page-title__breadcrumbs .haru-breadcrumb > span.current {
	background: #fff;
	color: #333;
}

.teespace-child-wc-bc .haru-page-title.has-bg-image .haru-page-title__breadcrumbs .haru-breadcrumb > span.current:last-child:not(:only-child) {
	color: #1a1a1a;
}

.teespace-child-wc-bc .haru-page-title.has-bg-image .haru-page-title__breadcrumbs .haru-breadcrumb a {
	color: #333;
}

.teespace-child-wc-bc .haru-page-title.has-bg-image .haru-page-title__breadcrumbs .haru-breadcrumb a:hover {
	color: #000;
}
