/**
 * Cuzgem site fixes.
 *
 * Theme and marketplace layout corrections that would otherwise live in the
 * theme's Additional CSS, where a Botiga update could remove them.
 */

/* Hide the WooCommerce product tag list in the product meta block. */
.product_meta .tagged_as {
	display: none !important;
}

/*
 * Botiga caps .container at a fixed width per breakpoint, which squeezes the
 * WCFM vendor dashboard into a narrow column. Release the cap, but only on
 * the dashboard, so the storefront keeps its intended reading width.
 */
body.wcfm-dashboard-page.botiga-site-layout-default .container,
body.wcfm-dashboard-page.botiga-site-layout-boxed .container,
body.wcfm-dashboard-page.botiga-site-layout-padded .container {
	max-width: 100%;
	margin: 0;
}

/*
 * Botiga's breakpoint caps live inside media queries, so they must be released
 * at the same breakpoints or they win again at large widths.
 */
@media (min-width: 768px) {
	body.wcfm-dashboard-page .container,
	body.wcfm-dashboard-page .container-sm,
	body.wcfm-dashboard-page .container-md,
	body.wcfm-dashboard-page .container-lg,
	body.wcfm-dashboard-page .container-xl {
		max-width: 100%;
	}
}

/* Remove the theme's large vertical gap above and below the dashboard. */
body.wcfm-dashboard-page .content-wrapper {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
	padding-right: 0;
}

/* Let tall WCFM tab panels scroll instead of being clipped. */
.wcfm-tabWrap {
	overflow-y: auto !important;
	overflow-x: hidden;
}
