/* Showcase page — hide breadcrumb trail, keep page title */
.woocommerce.archive.post-type-archive-product .breadcrumb-title-wrapper .breadcrumbs {
	display: none !important;
}

/* Hide toolbar items marked for removal */
.woocommerce.archive .before-loop-wrapper .ts-product-columns-selector,
.woocommerce.archive .before-loop-wrapper .product-on-sale-form,
.woocommerce.archive .before-loop-wrapper .woocommerce-ordering,
.woocommerce.archive .before-loop-wrapper .product-per-page-form,
.woocommerce.archive .before-loop-wrapper .woocommerce-result-count,
.woocommerce.archive #ts-filter-widget-area .product-on-sale-form {
	display: none !important;
}

/* Showcase page — 3 products per row */
.woocommerce.archive .page-container.columns-5,
.woocommerce.archive .page-container.columns-4,
.woocommerce.archive .page-container.columns-3 {
	--ts-product-columns: 3;
}

.woocommerce.archive .main-products {
	--ts-product-columns: 3;
}

/* Product image hover zoom */
.woocommerce.archive .product .thumbnail-wrapper > a {
	overflow: hidden;
}

.woocommerce.archive .product .thumbnail-wrapper figure {
	overflow: hidden;
}

.woocommerce.archive .product .thumbnail-wrapper img {
	transition: transform 0.45s ease;
	will-change: transform;
}

.woocommerce.archive .product .thumbnail-wrapper:hover img {
	transform: scale(1.08);
}

/* Top filter rows — pill buttons for custom category groups */
.style-filter-top #ts-filter-widget-area .cc-showcase-category-group-widget .product-categories {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.style-filter-top #ts-filter-widget-area .cc-showcase-category-group-widget .product-categories > .cat-item {
	margin: 0;
	padding: 0;
}

.style-filter-top #ts-filter-widget-area .cc-showcase-category-group-widget .product-categories > .cat-item > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--ts-border);
	border-radius: 40px;
	padding: 6px 20px;
	text-decoration: none;
	transition: 150ms ease;
}

.style-filter-top #ts-filter-widget-area .cc-showcase-category-group-widget .product-categories > .cat-item.current > a,
.style-filter-top #ts-filter-widget-area .cc-showcase-category-group-widget .product-categories > .cat-item > a:hover {
	border-color: var(--ts-text-color);
	color: inherit;
}

@media (max-width: 991px) {
	.woocommerce.archive .main-products {
		--ts-product-columns: 2;
	}
}

@media (max-width: 575px) {
	.woocommerce.archive .main-products {
		--ts-product-columns: 1;
	}
}
