/* Roll Kit Core: bundle picker (plan steps 2.1 and 2.2). Brand: #081320 navy, #2B4BBF blue, #12BECE teal. */

.grouped_form .woocommerce-grouped-product-list-item {
	cursor: pointer;
	transition: box-shadow 0.15s ease;
}

.grouped_form .woocommerce-grouped-product-list-item.rk-is-selected {
	box-shadow: inset 0 0 0 2px #2b4bbf;
}

.grouped_form .woocommerce-grouped-product-list-item.product_tag-most-popular {
	border: 3px solid #2b4bbf;
}

.rk-pick__input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #2b4bbf;
	cursor: pointer;
}

.rk-pick__name {
	cursor: pointer;
}

.rk-badge {
	display: inline-block;
	border-radius: 24px;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.rk-badge--tag {
	margin-left: 8px;
	padding: 4px 10px;
	background: #2b4bbf;
	font-size: 10px;
	letter-spacing: 1px;
	vertical-align: middle;
}

/* Phones: no room beside the name, so the tag pill sits on the row's top border. */
@media (max-width: 600px) {
	.grouped_form .woocommerce-grouped-product-list-item {
		position: relative;
	}

	.grouped_form .rk-badge--tag {
		position: absolute;
		top: -10px;
		left: 14px;
		margin: 0;
	}
}

.rk-badge--save {
	display: block;
	width: max-content;
	margin: 0 0 4px auto;
	padding: 4px 8px;
	background: #12bece;
	font-size: 11px;
}

/*
 * The old badges were typed into Additional CSS as ::before / ::after text keyed by product
 * ID. Hide them so only the badges worked out from real prices and tags show. Remove those
 * rules from Additional CSS when this plugin goes live (see README).
 */
.grouped_form .woocommerce-grouped-product-list-item__price::before,
.grouped_form .woocommerce-grouped-product-list-item__label::after {
	content: none !important;
	display: none !important;
}

.single_add_to_cart_button.loading {
	opacity: 0.7;
	pointer-events: none;
}
