.ghestihub-embed--compare {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	clear: both;
	float: none;
	container-type: inline-size;
	container-name: gh-compare;
}

.ghestihub-compare {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 14px 0 18px;
	padding: 16px;
	border: 1px solid var(--gh-border, #cde5df);
	border-radius: 16px;
	background: var(--gh-surface, #fff);
	color: var(--gh-text, #134e4a);
	box-shadow: 0 10px 28px rgba(var(--gh-primary-rgb, 15, 118, 110), 0.08);
	font-size: 14px;
	line-height: 1.6;
}

.ghestihub-compare h3.ghestihub-compare__title {
	margin: 0 0 12px;
	max-width: 100%;
	font-size: 16px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.ghestihub-compare table.ghestihub-compare__table {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 8px;
	table-layout: auto;
}

.ghestihub-compare table.ghestihub-compare__table th {
	padding: 0 10px 4px;
	border: 0;
	color: var(--gh-muted, #5b6f6b);
	font-size: 12px;
	font-weight: 600;
	text-align: right;
	white-space: normal;
}

.ghestihub-compare table.ghestihub-compare__table td {
	padding: 12px 10px;
	border: 0;
	background: var(--gh-bg-soft, #f7fbfa);
	vertical-align: middle;
	white-space: normal;
	overflow-wrap: break-word;
}

.ghestihub-compare__row td:first-child {
	border-radius: 0 12px 12px 0;
}

.ghestihub-compare__row td:last-child {
	border-radius: 12px 0 0 12px;
}

.ghestihub-compare__row.is-best td {
	background: var(--gh-hint-bg, #e7f4f1);
}

.ghestihub-compare__method {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
	font-weight: 700;
}

.ghestihub-compare__method img {
	display: block;
	width: 28px !important;
	max-width: 28px !important;
	height: 28px !important;
	max-height: 28px !important;
	object-fit: contain;
	flex: 0 0 auto;
	margin: 0;
}

.ghestihub-compare__badge {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--gh-primary, #0f766e);
	color: var(--gh-on-primary, #fff);
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
}

.ghestihub-compare__total {
	font-weight: 800;
	white-space: nowrap;
}

.ghestihub-compare__row.is-campaign .ghestihub-compare__total {
	white-space: normal;
}

.ghestihub-compare__prices {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4em;
}

.ghestihub-compare__was,
.ghestihub-compare__was .woocommerce-Price-amount {
	color: var(--gh-muted, #5b6f6b);
	font-size: 12px;
	font-weight: 500;
	text-decoration: line-through;
}

.ghestihub-compare__now,
.ghestihub-compare__now .woocommerce-Price-amount {
	font-weight: 800;
}

.ghestihub-compare__detail {
	color: var(--gh-muted, #5b6f6b);
	font-size: 12.5px;
}

.ghestihub-compare__row[data-kind="cash"] .ghestihub-compare__detail::before {
	content: attr(data-label);
	display: block;
	margin-bottom: 2px;
	color: var(--gh-muted, #5b6f6b);
	font-size: 11px;
	font-weight: 600;
}

.ghestihub-compare__note {
	margin: 8px 0 0;
	color: var(--gh-muted, #5b6f6b);
	font-size: 12px;
}

@container gh-compare (max-width: 560px) {
	.ghestihub-compare table.ghestihub-compare__table > thead {
		display: none !important;
	}

	.ghestihub-compare table.ghestihub-compare__table,
	.ghestihub-compare table.ghestihub-compare__table > tbody,
	.ghestihub-compare tr.ghestihub-compare__row,
	.ghestihub-compare tr.ghestihub-compare__row > td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.ghestihub-compare tr.ghestihub-compare__row > td.ghestihub-compare__method {
		display: flex !important;
		flex-wrap: wrap;
	}

	.ghestihub-compare__row {
		margin: 0 0 8px;
	}

	.ghestihub-compare__row td {
		border-radius: 0;
	}

	.ghestihub-compare__total {
		white-space: normal;
	}

	.ghestihub-compare__row td:first-child {
		border-radius: 12px 12px 0 0;
		padding-bottom: 4px;
	}

	.ghestihub-compare__row td:last-child {
		border-radius: 0 0 12px 12px;
		padding-top: 4px;
	}

	.ghestihub-compare__total::before,
	.ghestihub-compare__detail::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--gh-muted, #5b6f6b);
		font-size: 11px;
		font-weight: 600;
	}
}

@media (max-width: 640px) {
	.ghestihub-compare table.ghestihub-compare__table > thead {
		display: none !important;
	}

	.ghestihub-compare table.ghestihub-compare__table,
	.ghestihub-compare table.ghestihub-compare__table > tbody,
	.ghestihub-compare tr.ghestihub-compare__row,
	.ghestihub-compare tr.ghestihub-compare__row > td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.ghestihub-compare tr.ghestihub-compare__row > td.ghestihub-compare__method {
		display: flex !important;
		flex-wrap: wrap;
	}

	.ghestihub-compare__row {
		margin: 0 0 8px;
	}

	.ghestihub-compare__row td {
		border-radius: 0;
	}

	.ghestihub-compare__total {
		white-space: normal;
	}

	.ghestihub-compare__row td:first-child {
		border-radius: 12px 12px 0 0;
		padding-bottom: 4px;
	}

	.ghestihub-compare__row td:last-child {
		border-radius: 0 0 12px 12px;
		padding-top: 4px;
	}

	.ghestihub-compare__total::before,
	.ghestihub-compare__detail::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--gh-muted, #5b6f6b);
		font-size: 11px;
		font-weight: 600;
	}
}
