.cbbe-app {
	--cbbe-primary: #193a43;
	--cbbe-accent: #31a66a;
	--cbbe-border: #dfe8e6;
	--cbbe-text: #172226;
	--cbbe-muted: #607176;
	color: var(--cbbe-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	max-width: 980px;
	margin: 0 auto;
}

.cbbe-shell {
	background: #fff;
	border: 1px solid rgba(20, 53, 60, .1);
	border-radius: 6px;
	box-shadow: 0 18px 50px rgba(13, 43, 48, .12);
	padding: clamp(20px, 4vw, 42px);
}

.cbbe-logo img {
	max-height: 54px;
	max-width: 220px;
	margin-bottom: 20px;
}

.cbbe-progress {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
	color: var(--cbbe-muted);
	font-size: 14px;
}

.cbbe-progress div {
	background: #eef4f2;
	border-radius: 999px;
	height: 9px;
	overflow: hidden;
	flex: 1;
}

.cbbe-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--cbbe-primary), var(--cbbe-accent));
	border-radius: inherit;
	transition: width .35s ease;
}

.cbbe-step {
	animation: cbbeFade .22s ease;
}

.cbbe-intro {
	min-height: 320px;
	display: grid;
	align-content: center;
	gap: 18px;
}

.cbbe-header {
	margin-bottom: 22px;
}

.cbbe-header h2,
.cbbe-intro h2,
.cbbe-success h2 {
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.08;
	margin: 0 0 12px;
	letter-spacing: 0;
	color: var(--cbbe-primary);
}

.cbbe-header p,
.cbbe-intro p,
.cbbe-success p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--cbbe-muted);
	max-width: 720px;
	margin: 0;
}

.cbbe-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.cbbe-card {
	background: #fff;
	border: 1px solid var(--cbbe-border);
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(20, 45, 48, .07);
	cursor: pointer;
	display: grid;
	gap: 10px;
	min-height: 210px;
	padding: 18px;
	text-align: left;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
	width: 100%;
	color: var(--cbbe-text);
	min-width: 0;
	overflow-wrap: anywhere;
	white-space: normal;
	word-break: normal;
}

.cbbe-card:hover,
.cbbe-card:focus {
	border-color: var(--cbbe-accent);
	box-shadow: 0 16px 32px rgba(20, 45, 48, .12);
	transform: translateY(-2px);
	outline: none;
}

.cbbe-card.is-selected {
	border-color: var(--cbbe-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--cbbe-accent) 20%, transparent), 0 16px 32px rgba(20, 45, 48, .12);
}

.cbbe-card strong {
	font-size: 18px;
	color: var(--cbbe-primary);
	line-height: 1.25;
	min-width: 0;
	overflow-wrap: anywhere;
}

.cbbe-card span,
.cbbe-card em {
	font-size: 14px;
	line-height: 1.45;
	color: var(--cbbe-muted);
	font-style: normal;
	min-width: 0;
	overflow-wrap: anywhere;
	white-space: normal;
}

.cbbe-media {
	width: 82px;
	height: 82px;
	border-radius: 12px;
	background: #eff6f3;
	display: grid;
	place-items: center;
	overflow: visible;
	padding: 6px;
}

.cbbe-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cbbe-measure-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cbbe-card-icon {
	font-size: 24px;
	font-weight: 800;
	color: var(--cbbe-primary);
}

.cbbe-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.cbbe-form-grid label,
.cbbe-quantity label {
	display: grid;
	gap: 7px;
	font-weight: 700;
	color: var(--cbbe-primary);
}

.cbbe-form-grid input,
.cbbe-form-grid select,
.cbbe-form-grid textarea,
.cbbe-quantity input {
	border: 1px solid var(--cbbe-border);
	border-radius: 10px;
	color: var(--cbbe-text);
	font: inherit;
	min-height: 46px;
	padding: 11px 13px;
	width: 100%;
}

.cbbe-form-grid small {
	color: var(--cbbe-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.cbbe-fixed-dimensions {
	align-items: center;
	background: #f7faf9;
	border: 1px solid var(--cbbe-border);
	border-radius: 10px;
	color: var(--cbbe-primary);
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	font-weight: 800;
	gap: 10px;
	padding: 12px 14px;
}

.cbbe-form-grid textarea {
	resize: vertical;
}

.cbbe-span-2,
.cbbe-guidance {
	grid-column: 1 / -1;
}

.cbbe-guidance {
	background: #f7faf9;
	border: 1px solid var(--cbbe-border);
	border-radius: 14px;
	padding: 16px;
}

.cbbe-guidance p {
	margin: 0;
	color: var(--cbbe-muted);
}

.cbbe-measure-image {
	max-height: 180px;
	border-radius: 10px;
	margin-bottom: 12px;
}

.cbbe-info-panel {
	align-items: center;
	background: #f4faf7;
	border: 1px solid color-mix(in srgb, var(--cbbe-accent) 30%, #dfe8e6);
	border-radius: 14px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-top: 18px;
	padding: 18px;
}

.cbbe-info-panel p {
	margin: 0;
	color: var(--cbbe-muted);
}

.cbbe-secondary-link {
	color: var(--cbbe-primary);
	font-weight: 800;
	white-space: nowrap;
}

.cbbe-quantity {
	display: grid;
	gap: 16px;
}

.cbbe-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cbbe-preset {
	background: #f7faf9;
	border: 1px solid var(--cbbe-border);
	border-radius: 999px;
	color: var(--cbbe-primary);
	cursor: pointer;
	font-weight: 800;
	padding: 10px 16px;
}

.cbbe-preset.is-selected {
	background: var(--cbbe-primary);
	border-color: var(--cbbe-primary);
	color: #fff;
}

.cbbe-check {
	align-items: center;
	display: flex !important;
	flex-direction: row;
	font-weight: 600 !important;
	gap: 10px;
}

.cbbe-check input {
	width: auto;
	min-height: auto;
}

.cbbe-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 28px;
}

.cbbe-button {
	background: var(--cbbe-primary);
	border: 0;
	border-radius: var(--cbbe-radius, 8px);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	min-height: 48px;
	padding: 13px 22px;
	transition: transform .18s ease, opacity .18s ease;
}

.cbbe-button:hover,
.cbbe-button:focus {
	opacity: .92;
	transform: translateY(-1px);
}

.cbbe-button-ghost {
	background: #edf4f2;
	color: var(--cbbe-primary);
}

.cbbe-error {
	background: #fff4f2;
	border: 1px solid #f4b7ae;
	border-radius: 10px;
	color: #9b271d;
	margin-bottom: 16px;
	padding: 12px 14px;
}

.cbbe-review {
	display: grid;
	gap: 12px;
}

.cbbe-review div {
	align-items: center;
	border: 1px solid var(--cbbe-border);
	border-radius: 12px;
	display: grid;
	grid-template-columns: minmax(110px, .5fr) 1fr auto;
	gap: 12px;
	padding: 14px;
}

.cbbe-review dt {
	font-weight: 800;
	color: var(--cbbe-primary);
}

.cbbe-review dd {
	margin: 0;
	color: var(--cbbe-muted);
}

.cbbe-review button {
	background: transparent;
	border: 0;
	color: var(--cbbe-primary);
	cursor: pointer;
	font-weight: 800;
}

.cbbe-loading,
.cbbe-success {
	align-content: center;
	display: grid;
	justify-items: center;
	min-height: 300px;
	text-align: center;
}

.cbbe-loading span {
	width: 52px;
	height: 52px;
	border: 5px solid #edf4f2;
	border-top-color: var(--cbbe-accent);
	border-radius: 50%;
	animation: cbbeSpin .8s linear infinite;
}

.cbbe-loading p {
	color: var(--cbbe-muted);
	font-weight: 800;
}

.cbbe-success {
	background: #f7fbf9;
	border: 1px solid var(--cbbe-border);
	border-radius: 16px;
	padding: 34px;
}

.cbbe-success strong {
	color: var(--cbbe-primary);
	margin-top: 18px;
}

.cbbe-price-table {
	background: #fff;
	border: 1px solid var(--cbbe-border);
	border-radius: 8px;
	margin-top: 24px;
	text-align: left;
	width: 100%;
}

.cbbe-price-table__header {
	display: grid;
	gap: 6px;
	padding: 18px 18px 0;
}

.cbbe-price-table h3 {
	color: var(--cbbe-primary);
	font-size: 22px;
	line-height: 1.2;
	margin: 0;
}

.cbbe-price-table p,
.cbbe-price-table span {
	color: var(--cbbe-muted);
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
}

.cbbe-price-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 14px 18px 0;
}

.cbbe-price-specs span {
	background: #f7faf9;
	border: 1px solid var(--cbbe-border);
	border-radius: 999px;
	font-weight: 700;
	padding: 6px 10px;
}

.cbbe-price-summary {
	background: #f7faf9;
	border: 1px solid var(--cbbe-border);
	border-radius: 8px;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	margin: 16px 18px 0;
	overflow: hidden;
}

.cbbe-price-summary div {
	background: #fff;
	display: grid;
	gap: 4px;
	min-width: 0;
	padding: 12px;
}

.cbbe-price-summary span {
	color: var(--cbbe-muted);
	font-size: 12px;
	font-weight: 700;
}

.cbbe-price-summary strong {
	color: var(--cbbe-primary);
	font-size: 17px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.cbbe-price-scroll {
	overflow-x: auto;
	padding: 18px;
	-webkit-overflow-scrolling: touch;
}

.cbbe-price-table table {
	border-collapse: collapse;
	min-width: 520px;
	width: 100%;
}

.cbbe-price-table th,
.cbbe-price-table td {
	border-bottom: 1px solid var(--cbbe-border);
	padding: 12px;
	vertical-align: top;
}

.cbbe-price-table thead th {
	color: var(--cbbe-primary);
	font-size: 13px;
	text-transform: uppercase;
}

.cbbe-price-table tbody th {
	color: var(--cbbe-primary);
	font-size: 15px;
}

.cbbe-price-table td {
	background: #fff;
	color: var(--cbbe-primary);
}

.cbbe-price-choice {
	appearance: none;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 8px;
	color: var(--cbbe-primary);
	cursor: pointer;
	display: block;
	font: inherit;
	padding: 10px;
	text-align: left;
	width: 100%;
}

.cbbe-price-choice:hover,
.cbbe-price-choice:focus,
.cbbe-price-choice.is-active {
	background: #f1faf6;
	border-color: color-mix(in srgb, var(--cbbe-accent) 48%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cbbe-accent) 34%, transparent);
	outline: none;
}

.cbbe-price-choice strong {
	display: block;
	font-size: 18px;
	margin: 0 0 4px;
}

.cbbe-price-choice span {
	display: block;
}

.cbbe-price-note {
	color: var(--cbbe-muted);
	font-size: 13px;
	font-weight: 700;
	padding: 0 18px 18px;
}

.cbbe-cart-panel {
	align-items: center;
	border-top: 1px solid var(--cbbe-border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin: 0 18px;
	padding: 18px 0;
}

.cbbe-cart-panel p {
	color: var(--cbbe-muted);
	font-size: 13px;
	font-weight: 700;
	margin: 0;
}

.cbbe-countdown {
	background: #fff;
	border: 1px solid var(--cbbe-border);
	border-radius: 6px;
	display: grid;
	gap: 8px;
	margin-top: 22px;
	min-width: min(100%, 360px);
	padding: 18px;
}

.cbbe-countdown span {
	color: var(--cbbe-muted);
	font-weight: 700;
}

.cbbe-countdown b {
	color: var(--cbbe-primary);
	font-size: clamp(36px, 8vw, 64px);
	line-height: 1;
}

.cbbe-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

@keyframes cbbeFade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes cbbeSpin {
	to { transform: rotate(360deg); }
}

@media (max-width: 680px) {
	.cbbe-shell {
		border-radius: 6px;
		padding: 18px;
	}

	.cbbe-form-grid,
	.cbbe-review div {
		grid-template-columns: 1fr;
	}

	.cbbe-info-panel,
	.cbbe-nav {
		align-items: stretch;
		flex-direction: column;
	}

	.cbbe-nav .cbbe-button {
		width: 100%;
	}
}

@media (max-width: 820px) {
	.cbbe-price-table__header {
		padding: 16px 14px 0;
	}

	.cbbe-price-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: 14px 14px 0;
	}

	.cbbe-price-summary div:last-child {
		grid-column: 1 / -1;
	}

	.cbbe-price-specs {
		padding: 12px 14px 0;
	}

	.cbbe-price-scroll {
		padding: 14px;
	}

	.cbbe-price-table table,
	.cbbe-price-table thead,
	.cbbe-price-table tbody,
	.cbbe-price-table tr,
	.cbbe-price-table th,
	.cbbe-price-table td {
		display: block;
		min-width: 0;
		width: 100%;
	}

	.cbbe-price-table thead {
		display: none;
	}

	.cbbe-price-table tr {
		border: 1px solid var(--cbbe-border);
		border-radius: 8px;
		margin-bottom: 12px;
		overflow: hidden;
	}

	.cbbe-price-table tbody th {
		background: #f7faf9;
		border-bottom: 1px solid var(--cbbe-border);
		font-size: 14px;
		padding: 10px 12px;
	}

	.cbbe-price-table td {
		align-items: stretch;
		border-bottom: 1px solid var(--cbbe-border);
		display: grid;
		gap: 8px;
		padding: 10px 12px;
	}

	.cbbe-price-table td::before {
		color: var(--cbbe-muted);
		content: attr(data-label);
		font-size: 12px;
		font-weight: 800;
		text-transform: uppercase;
	}

	.cbbe-price-table td:last-child {
		border-bottom: 0;
	}

	.cbbe-price-choice {
		padding: 10px 0;
	}

	.cbbe-cart-panel {
		align-items: stretch;
		margin: 0 14px;
	}

	.cbbe-cart-panel .cbbe-button {
		width: 100%;
	}
}
