.creator-woo-cross-sell-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 24, 22, 0.45);
}

.creator-woo-cross-sell-overlay.is-visible {
	display: flex;
}

.creator-woo-cross-sell-modal {
	width: min(680px, 100%);
	max-height: calc(100vh - 32px);
	background: #fff;
	border: 1px solid #e4e7eb;
	border-radius: 4px;
	box-shadow: 0 18px 50px rgba(15, 24, 22, 0.22);
	overflow: auto;
}

.creator-woo-cross-sell-head {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding: 12px 14px 0;
	border-bottom: 1px solid #e4e7eb;
}

.creator-woo-cross-sell-added {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.creator-woo-cross-sell-check {
	display: inline-grid;
	width: 17px;
	height: 17px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #49ad55;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.creator-woo-cross-sell-added-title {
	color: #2d3338;
	font-size: 16px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.creator-woo-cross-sell-close {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #e71f59;
	border-radius: 50%;
	background: #fff;
	color: #e71f59;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.creator-woo-cross-sell-close:hover,
.creator-woo-cross-sell-close:focus {
	background: #fff2f6;
	color: #c91449;
}

.creator-woo-cross-sell-top-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 12px 20px 16px;
}

.creator-woo-cross-sell-top-actions .button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-cart {
	background: #157347;
	border: 2px solid #157347;
	box-shadow: 0 8px 18px rgba(21, 115, 71, 0.22);
	color: #fff;
}

.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-continue {
	background: #fff;
	border: 2px solid #d9e0db;
	color: #303437;
}

.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-cart:hover,
.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-cart:focus {
	background: #0f633b;
	border-color: #0f633b;
	color: #fff;
}

.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-continue:hover,
.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-continue:focus {
	background: #f4f6f5;
	border-color: #c8d0ca;
	color: #111827;
}

.creator-woo-cross-sell-body {
	padding: 8px 20px 20px;
}

.creator-woo-cross-sell-title {
	margin: 0 0 18px;
	color: #2d3338;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
}

.creator-woo-cross-sell-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.creator-woo-cross-sell-card,
.creator-woo-checkout-cross-sell-card {
	min-width: 0;
	border: 1px solid #e4e7eb;
	border-radius: 4px;
	background: #fff;
	text-align: center;
}

.creator-woo-cross-sell-card {
	padding: 18px 14px 16px;
}

.creator-woo-cross-sell-card-image {
	position: relative;
	display: flex;
	min-height: 150px;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	overflow: hidden;
}

.creator-woo-cross-sell-card-image img {
	width: 150px;
	max-width: 100%;
	height: 150px;
	object-fit: cover;
}

.creator-woo-cross-sell-card-image--animated {
	height: 150px;
}

.creator-woo-cross-sell-frame {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 120ms ease;
}

.creator-woo-cross-sell-frame.is-active {
	opacity: 1;
}

.creator-woo-cross-sell-card-kicker {
	margin-bottom: 8px;
	color: #e71f59;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.creator-woo-cross-sell-card-title {
	display: block;
	min-height: 44px;
	margin-bottom: 14px;
	color: #303437;
	font-size: 14px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.creator-woo-cross-sell-card-price {
	display: block;
	margin-bottom: 14px;
	color: #303437;
	font-size: 20px;
	font-weight: 700;
}

.creator-woo-cross-sell-card-price del,
.creator-woo-checkout-cross-sell-card small del {
	color: #9aa3ad;
	font-weight: 400;
}

.creator-woo-cross-sell-card .button {
	width: 100%;
	min-height: 46px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.2;
	white-space: normal;
}

.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-add {
	background: #e71f59;
	border: 2px solid #e71f59;
	box-shadow: 0 10px 20px rgba(231, 31, 89, 0.2);
	color: #fff;
}

.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-add:hover,
.creator-woo-cross-sell-modal .button.creator-woo-cross-sell-add:focus {
	background: #c91449;
	border-color: #c91449;
	color: #fff;
}

.creator-woo-cross-sell-footer {
	display: flex;
	justify-content: center;
	margin: 10px 20px 20px;
	padding-top: 20px;
	border-top: 1px solid #eef0f2;
}

.creator-woo-cross-sell-footer .button {
	min-width: min(320px, 100%);
	min-height: 52px;
	border-radius: 4px;
	background: #157347;
	border: 2px solid #157347;
	box-shadow: 0 12px 24px rgba(21, 115, 71, 0.22);
	color: #fff;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
}

.creator-woo-cross-sell-footer .button:hover,
.creator-woo-cross-sell-footer .button:focus {
	background: #0f633b;
	border-color: #0f633b;
	color: #fff;
}

.creator-woo-checkout-cross-sell-row td {
	padding-top: 28px;
}

.creator-woo-checkout-cross-sell {
	display: block;
	padding-top: 10px;
}

.creator-woo-checkout-cross-sell > strong {
	display: block;
	margin-bottom: 14px;
	color: #2d3338;
	font-size: 15px;
	font-weight: 600;
}

.creator-woo-checkout-cross-sell-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.creator-woo-checkout-cross-sell-card {
	padding: 12px;
}

.creator-woo-checkout-cross-sell-image {
	display: flex;
	min-height: 116px;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.creator-woo-checkout-cross-sell-image img {
	width: 116px;
	max-width: 100%;
	height: 116px;
	object-fit: cover;
}

.creator-woo-checkout-cross-sell-card span {
	display: block;
	min-height: 40px;
	margin-bottom: 8px;
	color: #303437;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.creator-woo-checkout-cross-sell-card small {
	display: block;
	margin-bottom: 10px;
	color: #303437;
	font-size: 14px;
	font-weight: 700;
}

.creator-woo-checkout-cross-sell-card .button {
	width: 100%;
	min-height: 40px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.creator-woo-checkout-cross-sell-card .button.creator-woo-checkout-cross-sell-add {
	background: #e71f59;
	border: 2px solid #e71f59;
	color: #fff;
}

.creator-woo-checkout-cross-sell-card .button.creator-woo-checkout-cross-sell-add:hover,
.creator-woo-checkout-cross-sell-card .button.creator-woo-checkout-cross-sell-add:focus {
	background: #c91449;
	border-color: #c91449;
	color: #fff;
}

.creator-woo-cross-sell-add.is-loading,
.creator-woo-checkout-cross-sell-add.is-loading {
	opacity: 0.65;
	cursor: progress;
}

@media (max-width: 480px) {
	.creator-woo-cross-sell-products,
	.creator-woo-checkout-cross-sell-grid {
		grid-template-columns: 1fr;
	}

	.creator-woo-cross-sell-overlay {
		align-items: flex-start;
		padding: 8px;
	}

	.creator-woo-cross-sell-modal {
		max-height: calc(100dvh - 16px);
	}

	.creator-woo-cross-sell-head {
		padding: 8px 10px 0;
	}

	.creator-woo-cross-sell-close {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	.creator-woo-cross-sell-top-actions {
		gap: 8px;
		padding: 8px 10px 10px;
	}

	.creator-woo-cross-sell-added {
		gap: 8px;
	}

	.creator-woo-cross-sell-added-title {
		font-size: 14px;
		line-height: 1.2;
	}

	.creator-woo-cross-sell-top-actions .button {
		min-height: 40px;
		padding-right: 8px;
		padding-left: 8px;
		font-size: 13px;
	}

	.creator-woo-cross-sell-body {
		padding: 4px 10px 0;
	}

	.creator-woo-cross-sell-title {
		margin-bottom: 8px;
		font-size: 14px;
	}

	.creator-woo-cross-sell-products {
		gap: 10px;
	}

	.creator-woo-cross-sell-card {
		display: grid;
		grid-template-columns: 92px minmax(0, 1fr);
		column-gap: 10px;
		align-items: center;
		padding: 10px;
		text-align: left;
	}

	.creator-woo-cross-sell-card-image {
		grid-row: span 4;
		min-height: 92px;
		margin-bottom: 0;
	}

	.creator-woo-cross-sell-card-image img,
	.creator-woo-cross-sell-card-image--animated {
		width: 92px;
		height: 92px;
	}

	.creator-woo-cross-sell-card-kicker {
		margin-bottom: 3px;
		font-size: 10px;
	}

	.creator-woo-cross-sell-card-title {
		min-height: 0;
		margin-bottom: 5px;
		font-size: 13px;
		line-height: 1.25;
	}

	.creator-woo-cross-sell-card-price {
		margin-bottom: 7px;
		font-size: 16px;
	}

	.creator-woo-cross-sell-card .button {
		min-height: 40px;
		font-size: 13px;
	}

	.creator-woo-cross-sell-footer {
		position: sticky;
		bottom: 0;
		margin: 8px 0 0;
		padding: 10px;
		background: #fff;
		box-shadow: 0 -10px 18px rgba(15, 24, 22, 0.08);
	}

	.creator-woo-cross-sell-footer .button {
		width: 100%;
		min-height: 46px;
		font-size: 15px;
	}
}
