.ebook-upsell-wrapper {
	margin-top: 15px;
}

.ebook-upsell-container {
	background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 8px;
}

.ebook-upsell-title {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	margin-bottom: 6px;
}

.ebook-upsell-description {
	font-size: 11px;
	color: #666;
	margin-bottom: 10px;
	line-height: 1.4;
}

.ebook-upsell-content {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.ebook-upsell-image-container {
	flex-shrink: 0;
	width: 80px;
	align-self: stretch;
	display: flex;
}

.ebook-upsell-image {
	width: 100%;
	object-fit: cover;
	object-position: top;
	border-radius: 3px;
}

.ebook-upsell-options {
	flex: 1;
	display: flex;
	gap: 8px;
}

.ebook-upsell-option {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 5px 10px;
	cursor: pointer;
	transition: all 0.15s ease;
	background: #fff;
}

.ebook-upsell-option:hover {
	border-color: #bbb;
}

.ebook-upsell-option.selected {
	/*border-color: green;
	background: #f2faf0;*/
}

.ebook-upsell-option-header {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
}

.ebook-upsell-radio {
	width: 14px;
	height: 14px;
	border: 1px solid #bbb;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ebook-upsell-option.selected .ebook-upsell-radio {
	border-color: #5a5;
}

.ebook-upsell-radio-inner {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: transparent;
}

.ebook-upsell-option.selected .ebook-upsell-radio-inner {
	background: #5a5;
}

.ebook-upsell-option-title {
	font-weight: 500;
	font-size: 12px;
	color: #444;
}

.ebook-upsell-option.selected .ebook-upsell-option-title {
	color: #5a5;
}

.ebook-upsell-price-rows {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ebook-upsell-price-row {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
}

.ebook-upsell-price-row.total {
	font-weight: 600;
	margin-top: 4px;
	padding-top: 5px;
	border-top: 1px solid #eee;
	font-size: 11px;
}

.ebook-upsell-price-label {
	color: #777;
}

.ebook-upsell-price-value {
	font-weight: 500;
	color: #444;
}

/*.ebook-upsell-option.selected .ebook-upsell-price-value {
	color: #5a5;
}*/

.ebook-upsell-price-value.highlight {
	font-weight: 600;
}

.ebook-upsell-more-info {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	font-size: 10px;
	color: #888;
}

.ebook-upsell-more-info a {
	color: #666;
	text-decoration: underline;
	cursor: pointer;
}

.ebook-upsell-more-info a:hover {
	color: #333;
}

.ebook-description-slide {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #eee;
}

.ebook-description-slide .ebook-upsell-description {
	margin-bottom: 0;
}

.ebook-upsell-info-icon {
	font-size: 10px;
	color: #888;
}

/* Hidden radio input */
.ebook-upsell-input {
	display: none;
}

/* Free badge */
.ebook-upsell-option[data-value="yes"] {
	position: relative;
}


.highlight {
	/*background-color: #55aa56;
    color: white;*/
    padding: 2px 5px;
    border-radius: 5px;
	font-weight: 700;
}

.highlight-semi{
	/*color: #55aa57;*/
	font-weight: 700;
}

@media only screen and (max-width: 576px) {
	.ebook-upsell-content {
		flex-direction: row;
		align-items: stretch;
	}

	.ebook-upsell-image-container {
		width: 55px;
		flex-shrink: 0;
		align-self: flex-start;
	}

	.ebook-upsell-image {
		height: auto;
		object-fit: contain;
	}

	.ebook-upsell-options {
		flex: 1;
		flex-direction: column;
		gap: 6px;
	}

	.ebook-upsell-option {
		padding: 8px;
	}

	.ebook-upsell-price-row {
		font-size: 10px;
	}

	.ebook-upsell-price-row.total {
		font-size: 11px;
	}
}
