/* Product-loop cards link to the product page; purchasing happens after configuration. */
:where(.woocommerce ul.products li.product,
	.wc-block-grid__product,
	.wc-block-product,
	.wp-block-post.product) :where(.add_to_cart_button,
	.product_type_simple,
	.product_type_variable,
	.product_type_grouped,
	.product_type_external,
	.wc-block-grid__product-add-to-cart,
	.wp-block-woocommerce-product-button,
	.wc-block-components-product-button) {
	display: none !important;
}

/* Categorized Workwear Bundle Catalog Directory */
.stitch-bundle-catalog {
	width: 100%;
	margin: 24px 0 40px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: #1e293b;
}

.stitch-bundle-catalog__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
	padding-bottom: 8px;
}

.stitch-bundle-catalog__tab {
	appearance: none;
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	background: #fff;
	color: #475569;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: all .2s ease;
}

.stitch-bundle-catalog__tab:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #0f172a;
}

.stitch-bundle-catalog__tab.is-active {
	border-color: #6F1521;
	background: #6F1521;
	color: #fff;
	box-shadow: 0 2px 8px rgba(239, 91, 24, .25);
}

.stitch-bundle-catalog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 24px;
}

.stitch-bundle-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.stitch-bundle-card:hover {
	transform: translateY(-3px);
	border-color: #cbd5e1;
	box-shadow: 0 10px 22px rgba(15, 23, 42, .09);
}

.stitch-bundle-card__image-link {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f8fafc;
}

.stitch-bundle-card__image-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	transition: transform .3s ease;
}

.stitch-bundle-card:hover .stitch-bundle-card__image-link img {
	transform: scale(1.03);
}

.stitch-bundle-card__item-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	padding: 5px 11px;
	border-radius: 9999px;
	background: #0f172a;
	color: #f8fafc;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.stitch-bundle-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 20px;
}

.stitch-bundle-card__category {
	display: inline-block;
	margin-bottom: 6px;
	color: #6F1521;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.stitch-bundle-card__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.stitch-bundle-card__title a {
	color: #0f172a;
	text-decoration: none;
	transition: color .2s ease;
}

.stitch-bundle-card__title a:hover {
	color: #6F1521;
}

.stitch-bundle-card__recommendation {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	color: #64748b;
	font-size: 12.5px;
	font-weight: 500;
}

.stitch-bundle-card__recommendation svg {
	flex-shrink: 0;
	color: #94a3b8;
}

.stitch-bundle-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.stitch-bundle-card__price {
	color: #0f172a;
	font-size: 17px;
	font-weight: 700;
}

.stitch-bundle-card__price del {
	margin-right: 4px;
	color: #94a3b8;
	font-size: 13px;
}

.stitch-bundle-card__price ins {
	text-decoration: none;
}

.stitch-bundle-card__button {
	display: inline-flex !important;
	align-items: center;
	padding: 8px 16px !important;
	border-radius: 8px !important;
	background: #0f172a !important;
	color: #fff !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background-color .2s ease !important;
}

.stitch-bundle-card__button:hover {
	background: #6F1521 !important;
}

.stitch-bundle-catalog--empty {
	padding: 40px 20px;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	text-align: center;
	color: #64748b;
}