.cbm-offer {
	--cbm-offer-bg: #fff7d6;
	--cbm-offer-border: #9a6700;
	--cbm-offer-text: #1f2937;
	background: var(--cbm-offer-bg);
	border: 1px solid var(--cbm-offer-border);
	border-radius: 10px;
	color: var(--cbm-offer-text);
	margin: 14px 0;
	padding: 16px;
	transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.cbm-classic-row > td {
	padding: 0 !important;
}

.cbm-offer__label {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 13px;
	margin: 0;
	width: 100%;
}

.cbm-offer-checkbox {
	accent-color: #4f46e5;
	flex: 0 0 auto;
	height: 21px;
	margin: 0;
	width: 21px;
}

.cbm-offer-checkbox:focus-visible {
	box-shadow: 0 0 0 3px rgba( 79, 70, 229, 0.28 );
	outline: 2px solid #4f46e5;
	outline-offset: 2px;
}

.cbm-offer__image {
	border-radius: 8px;
	flex: 0 0 64px;
	height: 64px;
	object-fit: cover;
	width: 64px;
}

.cbm-offer__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.cbm-offer__headline {
	color: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.cbm-offer__description {
	color: inherit;
	font-size: 0.9rem;
	line-height: 1.45;
	opacity: 0.88;
}

.cbm-offer__price {
	color: #13795b;
	font-size: 0.95rem;
	font-weight: 700;
}

.cbm-offer__price del {
	color: var(--cbm-offer-text);
	font-weight: 400;
	opacity: 0.65;
}

.cbm-offer__price ins {
	background: transparent;
	color: inherit;
	text-decoration: none;
}

.cbm-offer__status {
	color: #13795b;
	display: block;
	font-size: 0.82rem;
	line-height: 1.3;
	min-height: 1.3em;
	padding: 7px 0 0 34px;
}

.cbm-offer__status--error {
	color: #b42318;
}

.cbm-offer--busy {
	opacity: 0.72;
}

.cbm-offer--busy .cbm-offer__label {
	cursor: wait;
}

.cbm-modern-checkout.woocommerce-checkout,
.cbm-modern-checkout .wp-site-blocks {
	background-color: var(--cbm-page-bg, #f6f7fb);
}

.cbm-modern-checkout .woocommerce-checkout,
.cbm-modern-checkout .wc-block-checkout {
	font-family: var(--cbm-font-family, inherit);
	font-size: var(--cbm-font-size, 16px);
}

.cbm-modern-checkout .woocommerce-checkout input.input-text,
.cbm-modern-checkout .woocommerce-checkout select,
.cbm-modern-checkout .woocommerce-checkout textarea,
.cbm-modern-checkout .wc-block-checkout input,
.cbm-modern-checkout .wc-block-checkout select,
.cbm-modern-checkout .wc-block-checkout textarea {
	border-radius: var(--cbm-field-radius, 8px);
}

.cbm-modern-checkout #customer_details,
.cbm-modern-checkout #order_review,
.cbm-modern-checkout .wc-block-checkout__main,
.cbm-modern-checkout .wc-block-checkout__sidebar {
	background: var(--cbm-card-bg, #fff);
	border-radius: var(--cbm-card-radius, 12px);
}

.cbm-modern-checkout #customer_details,
.cbm-modern-checkout #order_review {
	padding: var(--cbm-section-space, 16px);
}

.cbm-modern-checkout #place_order,
.cbm-modern-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--cbm-button, #4f46e5);
	border-color: var(--cbm-button, #4f46e5);
	border-radius: var(--cbm-field-radius, 8px);
	color: #fff;
	min-height: 46px;
}

.cbm-modern-checkout #place_order:hover,
.cbm-modern-checkout #place_order:focus,
.cbm-modern-checkout .wc-block-components-checkout-place-order-button:hover,
.cbm-modern-checkout .wc-block-components-checkout-place-order-button:focus {
	filter: brightness( 0.92 );
}

@media ( max-width: 600px ) {
	.cbm-offer {
		padding: 14px;
	}

	.cbm-offer__label {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.cbm-offer__image {
		flex-basis: 52px;
		height: 52px;
		width: 52px;
	}

	.cbm-offer__content {
		flex-basis: calc( 100% - 100px );
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.cbm-offer {
		transition: none;
	}
}
