.wckit-form .wckit-group-front {
	margin-bottom: 22px;
	padding-bottom: 14px;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	flex: none !important;
}
.wckit-required { color: #b32d2e; }
.wckit-group-items { display: flex; flex-wrap: wrap; gap: 12px; max-width: 100% !important; flex: 1 1 auto; min-width: 0 !important; }
.wckit-item-front {
	position: relative;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 10px;
	min-width: 180px;
	max-width: 100% !important;
	box-sizing: border-box !important;
	flex: 1 1 200px;
}
.wckit-item-front label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.wckit-item-front img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.wckit-items-list { display: flex; flex-wrap: wrap; gap: 12px; }
.wckit-items-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 12px;
}
.wckit-items-grid .wckit-item-front {
	text-align: center;
	padding: 8px;
}
.wckit-items-grid .wckit-item-front label {
	flex-direction: column;
	gap: 4px;
}
.wckit-items-grid .wckit-item-front img { width: 70px; height: 70px; }
.wckit-item-front.wckit-selected {
	border-color: var( --color-add-to-cart-background, #7f54b3 );
	box-shadow: 0 0 0 2px var( --color-add-to-cart-background, #7f54b3 ) inset;
	background: color-mix( in srgb, var( --color-add-to-cart-background, #7f54b3 ) 6%, transparent );
}
.wckit-items-dropdown {
	display: inline-block !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 36px !important;
	float: none !important;
	box-sizing: border-box !important;
}
.wckit-item-name { flex: 1; }
.wckit-item-price { color: #666; font-size: 0.9em; white-space: nowrap; }
.wckit-item-qty-input { width: 55px; margin-top: 6px; }
.wckit-variation-attrs { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.wckit-variation-msg { color: #b32d2e; font-size: 0.85em; }
.wckit-total-wrap {
	font-size: 1.2em;
	margin: 16px 0;
	padding: 10px 14px;
	background: #f8f8f8;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.wckit-add-to-cart {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	flex-wrap: nowrap !important;
}
.wckit-add-to-cart .quantity {
	flex: 0 0 auto !important;
	width: auto !important;
	align-self: center !important;
}
.wckit-add-to-cart .single_add_to_cart_button.button {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	align-self: center !important;
	text-align: center !important;
}
.wckit-error { margin-top: 8px; }
.wckit-empty { color: #b32d2e; }

/* Choice groups vs. fixed (included, no selection needed) groups */
.wckit-kit-box {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
}
.wckit-choice-hint {
	font-size: 0.8em;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin: 0 0 12px;
}
.wckit-included-box {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	margin-top: 16px;
}
.wckit-included-title {
	background: #e2e2e2;
	color: #333;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 10px 16px;
}
.wckit-included-box .wckit-preview-container {
	padding: 14px 16px;
	margin: 0;
}
.wckit-group-row-flex {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
}
.wckit-group-title {
	display: inline-block !important;
	margin: 0 !important;
	font-size: 0.92em;
	font-weight: 500;
	white-space: nowrap !important;
	flex: 0 0 auto !important;
	width: auto !important;
	float: none !important;
}
.wckit-item-fixed {
	background: transparent;
	border: none;
	padding: 4px 0;
	flex: 1 1 100%;
	display: flex;
	align-items: center;
	gap: 10px;
}
.wckit-fixed-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #3c9a3c;
	color: #fff;
	font-size: 12px;
	flex: 0 0 auto;
}
.wckit-item-qty-badge {
	color: #666;
	font-weight: 600;
	font-size: 0.85em;
	margin-left: 4px;
}

/* Choice icon: gray arrow by default, green check once selected */
.wckit-item-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wckit-choice-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #b8b8b8;
	color: #fff;
	font-size: 11px;
	flex: 0 0 auto;
}
.wckit-choice-icon .wckit-icon-check { display: none; }
.wckit-item-front.wckit-selected .wckit-choice-icon {
	background: #3c9a3c;
}
.wckit-item-front.wckit-selected .wckit-icon-arrow { display: none; }
.wckit-item-front.wckit-selected .wckit-icon-check { display: inline; }

/* Group-level status icon: gray by default, green check once the group is complete */
.wckit-group-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #b8b8b8;
	color: #fff;
	font-size: 12px;
	flex: 0 0 auto;
}
.wckit-group-complete .wckit-group-status { background: #3c9a3c; }

/* Disabled add-to-cart button (native WooCommerce style, until selections complete) */
.wckit-form .single_add_to_cart_button:disabled,
.wckit-form .single_add_to_cart_button.wckit-disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

/* Force the page builder's "Add to Cart" wrapper visible on kit pages,
   at every screen size — this overrides ANY breakpoint-level hide setting
   configured in the page builder, no matter which breakpoint it's on. */
body.wckit-kit-page #brxe-uojmde {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
}
