/* ─── Furniture Spaces Widget ───────────────────────────────────────────── */

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

.hbc-fspc-header {
	max-width: 720px;
}

.hbc-fspc-title {
	margin: 0 0 14px;
	padding: 0;
	color: #222222;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.hbc-fspc-desc {
	margin: 0;
	color: #888888;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.hbc-fspc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 40px;
}

.hbc-fspc-card {
	position: relative;
	display: block;
	height: 270px;
	overflow: hidden;
	background: #d6d6d6;
	text-decoration: none;
}

.hbc-fspc-card-img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.4s ease;
}

.hbc-fspc-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.18);
	transition: background 0.3s ease;
	pointer-events: none;
}

.hbc-fspc-card:hover .hbc-fspc-card-img {
	transform: scale(1.04);
}

.hbc-fspc-card:hover::after {
	background: rgba(0, 0, 0, 0.28);
}

.hbc-fspc-card-title {
	position: absolute;
	top: 22px;
	left: 22px;
	right: 22px;
	z-index: 2;
	display: block;
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.18;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hbc-fspc-card-link {
	position: absolute;
	bottom: 20px;
	left: 22px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

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

@media (max-width: 1024px) {
	.hbc-fspc-grid {
		grid-template-columns: repeat(2, 1fr);
		margin-top: 32px;
	}

	.hbc-fspc-card {
		height: 230px;
	}

	.hbc-fspc-title {
		font-size: 24px;
	}

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

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

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

	.hbc-fspc-grid {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 28px;
	}

	.hbc-fspc-card {
		height: 200px;
	}

	.hbc-fspc-title {
		font-size: 22px;
	}

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

	.hbc-fspc-card-title {
		top: 18px;
		left: 18px;
		right: 18px;
		font-size: 19px;
	}

	.hbc-fspc-card-link {
		bottom: 16px;
		left: 18px;
		font-size: 11px;
	}
}

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

@media (max-width: 480px) {
	.hbc-fspc-card {
		height: 180px;
	}

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