/* KBS Featured Bangles — matched to original design tokens */

.kbs-fb-section {
	width: 100%;
	box-sizing: border-box;
	background: hsl(40 33% 97%);
	padding: 48px 0;
}
@media (min-width: 768px) { .kbs-fb-section { padding: 64px 0; } }

.kbs-fb-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/* Header row: heading left, search right */
.kbs-fb-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 48px;
}
@media (min-width: 768px) {
	.kbs-fb-head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
.kbs-fb-badge {
	display: inline-block;
	background: hsl(345 65% 35%);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 9999px;
	margin-bottom: 16px;
}
.kbs-fb-heading {
	font-family: Georgia, "Playfair Display", "Times New Roman", serif;
	font-size: 30px;
	font-weight: 700;
	color: hsl(20 25% 15%);
	margin: 0;
	line-height: 1.2;
}
@media (min-width: 640px) { .kbs-fb-heading { font-size: 36px; } }

/* Search */
.kbs-fb-search {
	position: relative;
	width: 100%;
	max-width: 384px;
}
.kbs-fb-search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px !important;
	height: 18px !important;
	max-width: 18px;
	max-height: 18px;
	flex: none;
	color: hsl(20 15% 55%);
	pointer-events: none;
}
.kbs-fb-search-input {
	width: 100%;
	height: 48px;
	padding: 0 18px 0 46px;
	box-sizing: border-box;
	border: 1px solid hsl(40 20% 82%);
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	line-height: 48px;
	color: hsl(20 25% 15%);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.kbs-fb-search-input::placeholder {
	color: hsl(20 15% 55%);
}
.kbs-fb-search-input:focus {
	border-color: hsl(345 65% 35%);
	box-shadow: 0 0 0 3px hsla(345, 65%, 35%, 0.12);
}

/* Grid: 2 mobile, 3 tablet, 4 desktop */
.kbs-fb-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
@media (min-width: 640px) { .kbs-fb-grid { gap: 24px; } }
@media (min-width: 768px) { .kbs-fb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .kbs-fb-grid { grid-template-columns: repeat(4, 1fr); } }

/* Card */
.kbs-fb-card {
	display: block;
	background: hsl(40 40% 98%);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.08);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.kbs-fb-card.kbs-fb-hidden { display: none; }
.kbs-fb-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 25px 50px -12px rgba(0,0,0,0.22);
}

.kbs-fb-imgwrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: hsl(40 45% 90%);
}
.kbs-fb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.kbs-fb-card:hover .kbs-fb-img { transform: scale(1.06); }

.kbs-fb-new {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(255,255,255,0.9);
	backdrop-filter: blur(4px);
	color: hsl(345 65% 35%);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
}

.kbs-fb-body { padding: 16px; }
.kbs-fb-name {
	font-size: 16px;
	font-weight: 600;
	color: hsl(20 25% 15%);
	margin: 0 0 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kbs-fb-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.kbs-fb-price {
	font-size: 22px;
	font-weight: 700;
	color: hsl(43 74% 42%);
	line-height: 1;
}
.kbs-fb-price .woocommerce-Price-amount { color: inherit; }
.kbs-fb-price del { font-size: 14px; opacity: 0.5; font-weight: 500; margin-right: 4px; }

.kbs-fb-colors {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}
.kbs-fb-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	display: inline-block;
}
.kbs-fb-more {
	font-size: 12px;
	color: hsl(20 15% 45%);
	margin-left: 2px;
}

.kbs-fb-empty {
	text-align: center;
	color: hsl(20 15% 45%);
	font-size: 16px;
	padding: 40px 0;
}

/* Button */
.kbs-fb-btnwrap {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}
.kbs-fb-btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 10px;
	background: linear-gradient(135deg, #f5a623, #f7821b);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(247,130,27,0.35);
	transition: transform 0.2s, box-shadow 0.2s;
}
.kbs-fb-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(247,130,27,0.45);
	color: #fff;
}

/* Mobile tweaks */
@media (max-width: 600px) {
	.kbs-fb-body { padding: 12px; }
	.kbs-fb-name { font-size: 14px; }
	.kbs-fb-price { font-size: 18px; }
	.kbs-fb-dot { width: 16px; height: 16px; }
	.kbs-fb-more { font-size: 10px; }
}
