/**
 * ReviveHub product comparison.
 */
.rvh-compare-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 5px 9px;
	border: 1px solid var(--rvh-line, #dfe6e0);
	border-radius: 7px;
	background: transparent;
	color: var(--rvh-muted, #5d6d64);
	font: inherit;
	font-size: 0.68rem;
	font-weight: 700;
	cursor: pointer;
}

.rvh-compare-btn:hover,
.rvh-compare-btn.is-added {
	border-color: var(--rvh-primary, #0b5d3b);
	background: var(--rvh-primary-soft, #e7f2eb);
	color: var(--rvh-primary, #0b5d3b);
}

.rvh-compare-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 85;
	background: #fff;
	border-top: 1px solid var(--rvh-line, #dfe6e0);
	box-shadow: 0 -10px 30px rgba(14, 57, 38, 0.08);
	padding: 10px 0;
}

.rvh-compare-bar[hidden] {
	display: none;
}

.rvh-compare-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.rvh-compare-bar__label {
	font-size: 0.8rem;
	font-weight: 700;
}

.rvh-compare-bar__label b {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	margin-left: 4px;
	border-radius: 50%;
	background: var(--rvh-primary, #0b5d3b);
	color: #fff;
	font-size: 0.64rem;
}

.rvh-compare-bar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rvh-compare-bar__clear {
	border: 0;
	background: transparent;
	color: var(--rvh-muted, #5d6d64);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	cursor: pointer;
}

.rvh-compare-bar .rvh-btn {
	min-height: 36px;
	padding: 7px 13px;
	font-size: 0.72rem;
}

body.rvh-compare-active .rvh-whatsapp-float {
	bottom: 80px;
}

.rvh-compare-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--rvh-line, #dfe6e0);
	border-radius: 14px;
	background: #fff;
}

.rvh-compare-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	font-size: 0.82rem;
}

.rvh-compare-table th,
.rvh-compare-table td {
	padding: 14px;
	border-bottom: 1px solid var(--rvh-line, #dfe6e0);
	text-align: left;
	vertical-align: top;
}

.rvh-compare-table tr:last-child td,
.rvh-compare-table tr:last-child th {
	border-bottom: 0;
}

.rvh-compare-table th {
	width: 140px;
	background: #f7f5ef;
	color: var(--rvh-muted, #5d6d64);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rvh-compare-product {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--rvh-ink, #14211a);
	text-decoration: none;
}

.rvh-compare-product img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	background: #f1f4ef;
}

.rvh-compare-product strong {
	font-size: 0.86rem;
	line-height: 1.3;
}

.rvh-compare-table .rvh-btn {
	min-height: 34px;
	padding: 6px 10px;
	font-size: 0.7rem;
}

@media (max-width: 620px) {
	.rvh-compare-bar__inner {
		display: block;
	}

	.rvh-compare-bar__actions {
		justify-content: space-between;
		margin-top: 7px;
	}

	body.rvh-compare-active .rvh-whatsapp-float {
		bottom: 112px;
	}
}
