/* ─── Compare Feature Widget ─────────────────────────────────────────────── */

.hbc-cf-wrap {
	display: flex;
	align-items: flex-start;
	gap: 60px;
	width: 100%;
}

/* ─── Left column ────────────────────────────────────────────────────────── */

.hbc-cf-col-left {
	width: 55%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}

.hbc-cf-top-label {
	font-size: 14px;
	color: #333;
	line-height: 1.5;
	margin-bottom: 20px;
}

/* ─── Comparison slider ──────────────────────────────────────────────────── */

.hbc-cf-slider {
	position: relative;
	width: 100%;
	height: 420px;
	overflow: hidden;
	border-radius: 12px;
	cursor: ew-resize;
	user-select: none;
	-webkit-user-select: none;
}

.hbc-cf-after-layer,
.hbc-cf-before-layer {
	position: absolute;
	inset: 0;
}

.hbc-cf-after-layer  { z-index: 1; }
.hbc-cf-before-layer { z-index: 2; }

.hbc-cf-after-layer img,
.hbc-cf-before-layer img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

/* ─── Image labels ───────────────────────────────────────────────────────── */

.hbc-cf-img-label {
	position: absolute;
	bottom: 16px;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.55);
	pointer-events: none;
	white-space: nowrap;
	z-index: 3;
}

.hbc-cf-label-left  { left: 16px; }
.hbc-cf-label-right { right: 16px; z-index: 2; }

/* ─── Drag handle ────────────────────────────────────────────────────────── */

.hbc-cf-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translateX(-50%);
	cursor: ew-resize;
}

.hbc-cf-handle-line {
	flex: 1;
	width: 2px;
	background: rgba(255, 255, 255, 0.85);
}

.hbc-cf-handle-knob {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	font-size: 18px;
	color: #444;
	line-height: 1;
}

/* ─── Right column ───────────────────────────────────────────────────────── */

.hbc-cf-col-right {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.hbc-cf-heading-main {
	font-size: 36px;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
	margin: 0 0 8px;
	padding: 0;
}

.hbc-cf-heading-sub {
	font-size: 28px;
	font-weight: 600;
	font-style: italic;
	color: #b5a090;
	line-height: 1.2;
	margin: 0 0 24px;
}

.hbc-cf-desc {
	font-size: 14px;
	line-height: 1.75;
	color: #555;
	margin-bottom: 28px;
	word-break: break-word;
}

/* ─── Feature list ───────────────────────────────────────────────────────── */

.hbc-cf-features {
	width: 100%;
	margin-bottom: 28px;
}

.hbc-cf-feat-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #e0e0e0;
}

.hbc-cf-feat-item:first-child {
	border-top: 1px solid #e0e0e0;
}

.hbc-cf-feat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: #555;
}

.hbc-cf-feat-icon i,
.hbc-cf-feat-icon svg {
	font-size: 15px;
	width: 15px;
	height: 15px;
}

.hbc-cf-feat-text {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	line-height: 1.4;
}

/* ─── Button ─────────────────────────────────────────────────────────────── */

.hbc-cf-btn-link {
	text-decoration: none;
	display: inline-block;
}

.hbc-cf-btn {
	display: inline-block;
	padding: 12px 28px;
	background-color: #a09080;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	border-radius: 4px;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.25s ease;
}

.hbc-cf-btn-link:hover .hbc-cf-btn,
.hbc-cf-btn:hover {
	background-color: #3688ED !important;
	border-color: #3688ED !important;
	color: #ffffff !important;
	opacity: 1;
	text-decoration: none;
}

/* ─── Tablet (≤1024px) ───────────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.hbc-cf-wrap {
		gap: 36px;
	}
	.hbc-cf-col-left {
		width: 50%;
	}
	.hbc-cf-heading-main {
		font-size: 28px;
	}
	.hbc-cf-heading-sub {
		font-size: 22px;
	}
}

/* ─── Mobile (≤767px) ────────────────────────────────────────────────────── */

@media (max-width: 767px) {
	.hbc-cf-wrap {
		flex-direction: column;
		gap: 28px;
	}
	.hbc-cf-col-left {
		width: 100% !important;
	}
	.hbc-cf-col-right {
		width: 100%;
	}
	.hbc-cf-heading-main {
		font-size: 24px;
	}
	.hbc-cf-heading-sub {
		font-size: 18px;
		margin-bottom: 16px;
	}
	.hbc-cf-desc {
		font-size: 13px;
		margin-bottom: 20px;
	}
	.hbc-cf-feat-text {
		font-size: 13px;
	}
}

/* ─── Small mobile (≤480px) ─────────────────────────────────────────────── */

@media (max-width: 480px) {
	.hbc-cf-heading-main {
		font-size: 20px;
	}
	.hbc-cf-heading-sub {
		font-size: 16px;
	}
	.hbc-cf-btn {
		font-size: 12px;
		padding: 10px 18px;
	}
}
