.cpbs-cart-child-label,
.woocommerce-cart tr.cpbs-cart-parent,
.woocommerce-cart tr.cpbs-cart-child {
	--cpbs-accent: #3452ff;
	--cpbs-accent-rgb: 52,82,255;
	--cpbs-accent-soft: #eef1ff;
	--cpbs-deep: #2037c5;
	--cpbs-text: #12191d;
	--cpbs-muted: #65747b;
}

.cpbs-builder {
	--cpbs-text: #12191d;
	--cpbs-muted: #65747b;
	--cpbs-border: #dde6e7;
	--cpbs-soft: #f5f8f8;
	--cpbs-surface: #ffffff;
	--cpbs-warm: #f8b94a;
	--cpbs-accent: #3452ff;
	--cpbs-accent-rgb: 52,82,255;
	--cpbs-accent-soft: #eef1ff;
	--cpbs-deep: #2037c5;
	width: 100%;
	margin: 14px 0;
	color: var(--cpbs-text);
	font-size: 13px;
}

.cpbs-builder * {
	box-sizing: border-box;
}

.cpbs-choice-card,
.cpbs-group-front,
.cpbs-summary,
.cpbs-message {
	border: 1px solid var(--cpbs-border);
	border-radius: 8px;
	background: var(--cpbs-surface);
}

.cpbs-builder-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px;
	align-items: center;
	padding: 0;
	margin: 0 0 6px;
	border: 0;
	background: transparent;
}

.cpbs-builder-kicker {
	display: none;
	margin-bottom: 0;
	color: var(--cpbs-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cpbs-builder h3 {
	margin: 0;
	color: var(--cpbs-muted);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.cpbs-builder-head p {
	margin: 4px 0 0;
	color: var(--cpbs-muted);
	font-size: 12px;
	line-height: 1.4;
}

.cpbs-live-pill {
	display: none;
	place-items: center;
	min-width: 58px;
	padding: 7px 8px;
	border-radius: 8px;
	background: var(--cpbs-soft);
	text-align: center;
}

.cpbs-live-pill span {
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
}

.cpbs-live-pill small {
	margin-top: 2px;
	color: var(--cpbs-muted);
	font-size: 11px;
}

.cpbs-choice-grid {
	display: grid;
	gap: 6px;
	margin-bottom: 8px;
}

button.cpbs-choice-card {
	appearance: none;
	-webkit-appearance: none;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 24px;
	gap: 9px;
	align-items: center;
	width: 100%;
	height: auto;
	padding: 9px 10px 9px 11px;
	border: 1px solid var(--cpbs-border);
	border-radius: 8px;
	background: var(--cpbs-surface);
	color: var(--cpbs-text);
	font: inherit;
	letter-spacing: 0;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

button.cpbs-choice-card:hover,
button.cpbs-choice-card.is-active {
	border-color: var(--cpbs-accent);
	box-shadow: 0 0 0 2px rgba(var(--cpbs-accent-rgb), .12);
}

button.cpbs-choice-card:hover {
	transform: translateY(-1px);
}

button.cpbs-choice-card.is-active {
	background: linear-gradient(180deg, rgba(var(--cpbs-accent-rgb), .10), #fff 76%);
}

.cpbs-choice-dot {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border: 1px solid var(--cpbs-border);
	border-radius: 50%;
	background: #fff;
	justify-self: end;
}

.cpbs-choice-card.is-active .cpbs-choice-dot {
	border-color: var(--cpbs-accent);
	background: var(--cpbs-accent);
}

.cpbs-choice-card.is-active .cpbs-choice-dot::after {
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	transform: rotate(45deg);
}

.cpbs-choice-main {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.cpbs-choice-badge {
	width: max-content;
	max-width: 100%;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(var(--cpbs-accent-rgb), .10);
	color: var(--cpbs-accent);
	font-size: 9px;
	font-weight: 900;
	line-height: 1.4;
	text-transform: uppercase;
}

.cpbs-choice-main strong {
	overflow: hidden;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cpbs-choice-main em {
	color: var(--cpbs-muted);
	font-size: 11.5px;
	font-style: normal;
	line-height: 1.3;
}

.cpbs-choice-price {
	display: grid;
	gap: 2px;
	color: var(--cpbs-accent);
	font-size: 12px;
	white-space: nowrap;
	text-align: right;
}

.cpbs-choice-price strong {
	font-size: 14px;
	font-weight: 900;
}

.cpbs-choice-price em {
	color: var(--cpbs-deep);
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
}

.cpbs-choice-card-plain {
	border-style: dashed !important;
	background: #fbfcfc !important;
}

.cpbs-choice-card-plain .cpbs-choice-badge {
	background: #eef2f2;
	color: var(--cpbs-muted);
}

.cpbs-groups-front {
	display: grid;
	gap: 8px;
}

.cpbs-group-front {
	overflow: hidden;
}

.cpbs-group-front[hidden],
.cpbs-group-front:not(.is-active) {
	display: none !important;
}

.cpbs-pack-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 9px 11px;
	border-bottom: 1px solid var(--cpbs-border);
	background: var(--cpbs-soft);
}

.cpbs-pack-title strong,
.cpbs-pack-title b,
.cpbs-pack-title em,
.cpbs-pack-title small {
	display: block;
}

.cpbs-pack-title small {
	width: max-content;
	margin-bottom: 3px;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(var(--cpbs-accent-rgb), .12);
	color: var(--cpbs-accent);
	font-size: 9px;
	font-weight: 900;
	line-height: 1.4;
	text-transform: uppercase;
}

.cpbs-pack-name {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.cpbs-pack-title strong {
	font-size: 14px;
	line-height: 1.25;
}

.cpbs-pack-title b {
	width: max-content;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--cpbs-accent-soft);
	color: var(--cpbs-accent);
	font-size: 9px;
	font-weight: 900;
	line-height: 1.35;
	text-transform: uppercase;
}

.cpbs-pack-title em {
	margin-top: 2px;
	color: var(--cpbs-muted);
	font-size: 11px;
	font-style: normal;
	line-height: 1.3;
}

.cpbs-pack-head i {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	border-radius: 999px;
	background: #fff;
	color: var(--cpbs-accent);
	font-style: normal;
	font-weight: 900;
}

.cpbs-group-panel {
	padding: 8px;
}

.cpbs-group-description {
	margin: 0 0 8px;
	color: var(--cpbs-muted);
	font-size: 12px;
	line-height: 1.4;
}

.cpbs-options-grid {
	display: grid;
	gap: 6px;
}

.cpbs-option {
	position: relative;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto 22px;
	gap: 10px;
	align-items: center;
	min-height: 76px;
	padding: 10px;
	border: 1px solid var(--cpbs-border);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.cpbs-option:hover,
.cpbs-option.is-selected {
	border-color: var(--cpbs-accent);
	box-shadow: 0 0 0 2px rgba(var(--cpbs-accent-rgb), .10);
}

.cpbs-option.is-disabled {
	opacity: .58;
	cursor: not-allowed;
}

.cpbs-option input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cpbs-option-check {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border: 1px solid var(--cpbs-border);
	border-radius: 50%;
	background: #fff;
	justify-self: end;
}

.cpbs-option.is-selected .cpbs-option-check {
	border-color: var(--cpbs-accent);
	background: var(--cpbs-accent);
}

.cpbs-option.is-selected .cpbs-option-check::after {
	width: 5px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	transform: rotate(45deg);
}

.cpbs-option-media img {
	width: 52px;
	height: 52px;
	border-radius: 6px;
	object-fit: cover;
	background: var(--cpbs-soft);
}

.cpbs-option-body,
.cpbs-option-title-row,
.cpbs-option-bottom,
.cpbs-option-info,
.cpbs-option-deal,
.cpbs-option-actions,
.cpbs-qty-control {
	display: flex;
}

.cpbs-option-body {
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding-right: 0;
}

.cpbs-option-title-row {
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.cpbs-option-title-row strong {
	min-width: 0;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.28;
}

.cpbs-option-title-row em {
	flex: 0 0 auto;
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(248, 185, 74, .22);
	color: #8a5600;
	font-size: 9px;
	font-style: normal;
	font-weight: 800;
}

.cpbs-option-note,
.cpbs-option-stock {
	color: var(--cpbs-muted);
	font-size: 10px;
	line-height: 1.35;
}

.cpbs-option-stock {
	color: var(--cpbs-accent);
	font-weight: 800;
}

.cpbs-option.is-disabled .cpbs-option-stock {
	color: #c9352a;
}

.cpbs-option-bottom {
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.cpbs-option-info {
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.cpbs-quick-view {
	color: var(--cpbs-accent);
	font-size: 10px;
	font-weight: 900;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.cpbs-quick-view:hover {
	color: var(--cpbs-deep);
	text-decoration: underline;
}

.cpbs-option-prices {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	justify-content: flex-end;
	white-space: nowrap;
}

.cpbs-option-prices del {
	color: var(--cpbs-muted);
	font-size: 10px;
}

.cpbs-option-prices ins {
	color: var(--cpbs-text);
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.cpbs-saving-line {
	color: var(--cpbs-accent);
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
}

.cpbs-option-deal {
	align-items: flex-end;
	flex-direction: column;
	gap: 10px;
	justify-self: end;
}

.cpbs-option-actions {
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.cpbs-qty-control {
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 0;
	padding-top: 0;
}

.cpbs-qty-control > span:first-child {
	color: var(--cpbs-muted);
	font-size: 10px;
	font-weight: 700;
}

.cpbs-builder .cpbs-qty-stepper {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	width: auto;
	min-height: 26px;
	padding: 2px;
	border: 1px solid #d5e2e2;
	border-radius: 8px;
	background: #f4f8f8;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.cpbs-builder button.cpbs-qty-button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-grid;
	place-items: center;
	width: 23px !important;
	min-width: 23px !important;
	height: 23px !important;
	min-height: 23px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(18, 25, 29, .06) !important;
	color: var(--cpbs-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	line-height: 1 !important;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.cpbs-builder button.cpbs-qty-button:hover:not(:disabled) {
	background: var(--cpbs-accent) !important;
	color: #fff;
}

.cpbs-builder button.cpbs-qty-button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.cpbs-builder .cpbs-qty-control input {
	width: 30px !important;
	min-width: 30px !important;
	height: 23px !important;
	min-height: 23px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
	color: var(--cpbs-text);
	font-size: 12px;
	font-weight: 900;
	line-height: 23px !important;
	text-align: center;
	box-shadow: none !important;
}

.cpbs-qty-control input::-webkit-outer-spin-button,
.cpbs-qty-control input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.cpbs-qty-control input[type="number"] {
	-moz-appearance: textfield;
}

.cpbs-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	margin-top: 8px;
	padding: 9px 11px;
}

.cpbs-summary strong,
.cpbs-summary span,
.cpbs-summary small {
	display: block;
}

.cpbs-summary > div:first-child span {
	margin-top: 2px;
	color: var(--cpbs-muted);
	font-size: 11px;
}

.cpbs-summary-price {
	text-align: right;
}

.cpbs-summary-price span {
	font-size: 15px;
	font-weight: 900;
}

.cpbs-summary-price small {
	min-height: 14px;
	color: var(--cpbs-accent);
	font-size: 10px;
	font-weight: 800;
}

.cpbs-builder.is-product-only .cpbs-summary {
	display: none;
}

.cpbs-message {
	margin-top: 8px;
	padding: 11px 12px;
	border-color: #f0b6ad;
	background: #fff5f3;
	color: #a33a29;
	font-weight: 700;
}

.cpbs-cart-child-label {
	display: inline-flex;
	margin-right: 6px;
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(var(--cpbs-accent-rgb), .12);
	color: var(--cpbs-deep);
	font-size: 11px;
	font-weight: 800;
}

.cpbs-cart-child-qty {
	font-weight: 700;
}

.woocommerce-cart tr.cpbs-cart-parent td {
	border-top: 1px solid rgba(var(--cpbs-accent-rgb), .18);
	background: linear-gradient(180deg, rgba(var(--cpbs-accent-rgb), .04), #fff);
}

.woocommerce-cart tr.cpbs-cart-child td {
	background: #fbfcff;
	border-top-color: rgba(var(--cpbs-accent-rgb), .08);
}

.woocommerce-cart tr.cpbs-cart-child td:first-child {
	box-shadow: inset 3px 0 0 var(--cpbs-accent);
}

.woocommerce-cart tr.cpbs-cart-child + tr:not(.cpbs-cart-child) td,
.woocommerce-cart tr.cpbs-cart-parent + tr:not(.cpbs-cart-child) td {
	border-top: 1px solid rgba(var(--cpbs-accent-rgb), .18);
}

.cpbs-quickview-shell {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

@media (max-width: 680px) {
	.cpbs-builder-head,
	.cpbs-summary {
		grid-template-columns: 1fr;
	}

	button.cpbs-choice-card {
		grid-template-columns: minmax(0, 1fr) 24px;
	}

	.cpbs-live-pill,
	.cpbs-summary-price {
		width: 100%;
		text-align: left;
	}

	.cpbs-choice-price {
		grid-column: 1;
		grid-row: 2;
		justify-self: start;
		text-align: left;
	}

	.cpbs-choice-dot {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.cpbs-option {
		grid-template-columns: 50px minmax(0, 1fr) 22px;
		align-items: flex-start;
	}

	.cpbs-option-media img {
		width: 50px;
		height: 50px;
	}

	.cpbs-option-check {
		margin-top: 14px;
	}

	.cpbs-option-deal {
		grid-column: 2 / 3;
		justify-self: stretch;
	}

	.cpbs-option-bottom,
	.cpbs-option-deal,
	.cpbs-option-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.cpbs-option-actions {
		justify-content: flex-start;
	}

	.cpbs-qty-control {
		justify-content: flex-start;
	}
}

.cpbs-builder .cpbs-pack-board {
	overflow: hidden;
	border: 1px solid #d9e5e5;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(18, 25, 29, .08);
}

.cpbs-builder .cpbs-pack-board .cpbs-options-grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(132px, 1fr);
	gap: 18px;
	align-items: stretch;
	overflow-x: auto;
	padding: 12px 14px 10px;
	scrollbar-width: thin;
}

.cpbs-builder .cpbs-pack-board .cpbs-option {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
}

.cpbs-builder .cpbs-pack-board .cpbs-option:hover,
.cpbs-builder .cpbs-pack-board .cpbs-option.is-selected {
	border-color: transparent;
	box-shadow: none;
}

.cpbs-builder .cpbs-pack-board .cpbs-option:not(:last-child)::after {
	position: absolute;
	top: 38px;
	right: -15px;
	z-index: 1;
	color: var(--cpbs-text);
	content: "+";
	font-size: 23px;
	font-weight: 500;
	line-height: 1;
	pointer-events: none;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-media {
	display: block;
	width: 100%;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-media img {
	display: block;
	width: 100%;
	height: 96px;
	padding: 8px;
	border: 1px solid #edf1f1;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(18, 25, 29, .08);
	object-fit: contain;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-body {
	gap: 2px;
	min-height: 0;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-title-row {
	display: grid;
	gap: 2px;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-title-row strong {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12.5px;
	line-height: 1.18;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-title-row em {
	width: max-content;
	padding: 1px 6px;
	font-size: 9px;
	line-height: 1.6;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-info {
	gap: 0;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-stock,
.cpbs-builder .cpbs-pack-board .cpbs-quick-view {
	font-size: 10px;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-stock {
	color: var(--cpbs-accent);
	font-weight: 800;
}

.cpbs-builder .cpbs-pack-board .cpbs-option.is-disabled .cpbs-option-stock {
	color: #c9352a;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-deal {
	align-items: center;
	gap: 3px;
	width: 100%;
	margin-top: 2px;
	justify-self: auto;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-prices {
	justify-content: center;
	width: 100%;
	min-height: 18px;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-prices ins {
	font-size: 12px;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-actions {
	align-items: center;
	flex-direction: column;
	gap: 3px;
	width: 100%;
}

.cpbs-builder .cpbs-pack-board .cpbs-saving-line {
	display: block;
	width: 100%;
	font-size: 9px;
	line-height: 1.2;
	text-align: center;
}

.cpbs-builder .cpbs-pack-board .cpbs-qty-control {
	align-items: center;
	justify-content: center;
	flex-direction: row;
	gap: 7px;
	width: 100%;
}

.cpbs-builder .cpbs-pack-board .cpbs-qty-control > span:first-child {
	font-size: 9px;
	text-transform: uppercase;
}

.cpbs-builder .cpbs-pack-board .cpbs-option-check {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	border-color: rgba(var(--cpbs-accent-rgb), .3);
	box-shadow: 0 5px 12px rgba(18, 25, 29, .12);
}

.cpbs-builder .cpbs-pack-board .cpbs-option:not(.is-selected) {
	opacity: .58;
}

.cpbs-builder .cpbs-pack-board .cpbs-quick-view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 92%;
	min-height: 30px;
	margin-top: 3px;
	padding: 0 11px;
	border: 1px solid rgba(var(--cpbs-accent-rgb), .24);
	border-radius: 8px;
	background: rgba(var(--cpbs-accent-rgb), .08);
	color: var(--cpbs-accent);
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
}

.cpbs-builder .cpbs-pack-board .cpbs-quick-view:hover {
	border-color: var(--cpbs-accent);
	background: var(--cpbs-accent);
	color: #fff;
	text-decoration: none;
}

.cpbs-builder .cpbs-pack-footer {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	align-items: center;
	padding: 10px 16px 12px;
	border-top: 1px solid #edf1f1;
	background: #fff;
}

.cpbs-builder .cpbs-pack-footer[hidden] {
	display: none !important;
}

.cpbs-builder .cpbs-pack-footer span,
.cpbs-builder .cpbs-pack-footer small,
.cpbs-builder .cpbs-pack-footer strong {
	display: block;
}

.cpbs-builder .cpbs-pack-footer small {
	margin-bottom: 4px;
	color: var(--cpbs-text);
	font-size: 10px;
	font-weight: 900;
	line-height: 1.1;
}

.cpbs-builder .cpbs-pack-footer strong {
	color: var(--cpbs-text);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
}

@media (max-width: 680px) {
	.cpbs-builder .cpbs-pack-board {
		box-shadow: 0 8px 18px rgba(18, 25, 29, .08);
	}

	.cpbs-builder .cpbs-pack-board .cpbs-options-grid {
		grid-auto-columns: minmax(128px, 42%);
		gap: 18px;
		padding: 12px;
	}

	.cpbs-builder .cpbs-pack-board .cpbs-option-media img {
		height: 96px;
	}

	.cpbs-builder .cpbs-pack-footer {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 12px 14px 14px;
	}

}
