/**
 * Product Categories — Style 2 (Overlay).
 *
 * Name + count overlaid on the image with a gradient scrim.
 *
 * @package captain-widgets-kit
 * @since   1.3.0
 */

.captwiki-pcats.captwiki-style-2 .captwiki-pcats__card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
}

.captwiki-pcats.captwiki-style-2 .captwiki-pcats__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 18px 16px 14px;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.8 ), rgba( 0, 0, 0, 0 ) );
	color: #fff;
	text-align: center;
}

.captwiki-pcats.captwiki-style-2 .captwiki-pcats__name {
	color: #fff;
}

.captwiki-pcats.captwiki-style-2 .captwiki-pcats__count {
	color: #fff;
	opacity: 0.85;
}
