/* ─── Cabinet Solutions Widget ──────────────────────────────────────────── */

.hbc-csol-wrap {
	padding: 60px 4%;
	background: #ffffff;
}

.hbc-csol-list {
	display: flex;
	flex-direction: column;
	gap: 70px;
}

.hbc-csol-item {
	display: flex;
	align-items: center;
}

.hbc-csol-image {
	flex: 0 0 60%;
	height: 340px;
	overflow: hidden;
	background: #f4f4f4;
}

.hbc-csol-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.hbc-csol-item:hover .hbc-csol-image img {
	transform: scale(1.03);
}

.hbc-csol-card {
	position: relative;
	flex: 1 1 auto;
	z-index: 2;
	box-sizing: border-box;
	padding: 36px 34px 40px;
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.hbc-csol-left .hbc-csol-image {
	order: 2;
}

.hbc-csol-left .hbc-csol-card {
	order: 1;
}

.hbc-csol-title {
	margin: 0;
	padding: 0;
	color: #111111;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.18;
}

.hbc-csol-line {
	height: 1px;
	margin: 22px 0 28px;
	background: #9a9a9a;
}

.hbc-csol-right .hbc-csol-line {
	width: 70%;
	margin-left: auto;
}

.hbc-csol-left .hbc-csol-line {
	width: calc(70% + 30px);
	margin-left: -30px;
}

.hbc-csol-desc {
	margin-bottom: 28px;
	color: #777777;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
}

.hbc-csol-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 122px;
	padding: 12px 22px;
	background: #e6ad55;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hbc-csol-btn:hover {
	opacity: 0.88;
	transform: translateY(-2px);
}

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

@media (max-width: 1024px) {
	.hbc-csol-list {
		gap: 54px;
	}

	.hbc-csol-image {
		flex-basis: 58%;
		height: 290px;
	}

	.hbc-csol-card {
		padding: 28px 26px 30px;
	}

	.hbc-csol-title {
		font-size: 20px;
	}

	.hbc-csol-desc {
		font-size: 13px;
	}
}

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

@media (max-width: 767px) {
	.hbc-csol-wrap {
		padding: 40px 18px;
	}

	.hbc-csol-list {
		gap: 36px;
	}

	.hbc-csol-item {
		flex-direction: column;
		align-items: stretch;
	}

	.hbc-csol-image {
		flex: 0 0 auto;
		width: 100%;
		height: 220px;
	}

	.hbc-csol-card {
		flex: 0 0 auto;
		width: 100%;
		margin: -28px 18px 0;
		padding: 24px 22px 26px;
	}

	.hbc-csol-left .hbc-csol-image,
	.hbc-csol-left .hbc-csol-card {
		order: unset;
	}

	.hbc-csol-title {
		font-size: 19px;
	}

	.hbc-csol-line,
	.hbc-csol-right .hbc-csol-line,
	.hbc-csol-left .hbc-csol-line {
		width: 100%;
		margin: 16px 0 22px;
	}

	.hbc-csol-desc {
		font-size: 13px;
		line-height: 1.55;
	}
}

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

@media (max-width: 480px) {
	.hbc-csol-image {
		height: 200px;
	}

	.hbc-csol-title {
		font-size: 18px;
	}
}
