/**
 * Business Categories page – minimalistic, modern, clean.
 * Loaded only on the Business Categories page (custom frontend).
 */

/* ----- Page wrapper ----- */
body.custom-frontend .standalone-bc-main .bc-page {
	padding: 0;
	max-width: none;
}

/* ----- Hero: revamped with background image + overlay ----- */
body.custom-frontend .standalone-bc-main .bc-hero {
	background-color: #3993d5;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-bottom: none;
	padding: clamp(4rem, 12vw, 6rem) 1.5rem;
	text-align: center;
	animation: bc-fade-in 0.5s ease-out;
	position: relative;
}

body.custom-frontend .standalone-bc-main .bc-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 2px;
}

body.custom-frontend .standalone-bc-main .bc-hero-inner {
	max-width: 680px;
	margin: 0 auto;
	position: relative;
}

body.custom-frontend .standalone-bc-main .bc-hero-breadcrumb {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #fff;
	line-height: 1.4;
}

body.custom-frontend .standalone-bc-main .bc-hero-breadcrumb a {
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

body.custom-frontend .standalone-bc-main .bc-hero-breadcrumb a:hover {
	opacity: 0.85;
	text-decoration: underline;
}

body.custom-frontend .standalone-bc-main .bc-hero-breadcrumb-sep {
	margin: 0 0.5rem;
	color: rgba(255, 255, 255, 0.9);
}

body.custom-frontend .standalone-bc-main .bc-hero-breadcrumb-current {
	color: #fff;
	font-weight: 500;
}

body.custom-frontend .standalone-bc-main .bc-hero-label {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

body.custom-frontend .standalone-bc-main .bc-hero-title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.03em;
	line-height: 1.15;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.custom-frontend .standalone-bc-main .bc-hero-description {
	margin: 0 0 1.75rem;
	font-size: 1.0625rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

body.custom-frontend .standalone-bc-main .bc-hero-subtitle {
	margin: 0 0 1.75rem;
	font-size: 1.0625rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

body.custom-frontend .standalone-bc-main .bc-hero .cf-btn-add {
	border: 2px solid rgba(255, 255, 255, 0.9);
	padding: 0.7rem 1.5rem;
	font-size: 1rem;
}
body.custom-frontend .standalone-bc-main .bc-hero .cf-btn-add:hover {
	border-color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ----- Search: filter categories ----- */
body.custom-frontend .standalone-bc-main .bc-search {
	background: #fff;
	padding: 2rem 1.5rem 2.5rem;
	animation: bc-fade-in 0.5s ease-out 0.08s both;
}

body.custom-frontend .standalone-bc-main .bc-search-inner {
	max-width: 560px;
	margin: 0 auto;
}

body.custom-frontend .standalone-bc-main .bc-search-label {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #374151;
}

body.custom-frontend .standalone-bc-main .bc-search-input {
	width: 100%;
	padding: 0.65rem 1rem 0.65rem 2.75rem;
	font-size: 1rem;
	color: #111827;
	background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 1rem center;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.custom-frontend .standalone-bc-main .bc-search-input::placeholder {
	color: #9ca3af;
}

body.custom-frontend .standalone-bc-main .bc-search-input:focus {
	outline: none;
	border-color: #3993d5;
	box-shadow: 0 0 0 3px rgba(57, 147, 213, 0.15);
}

/* ----- Browse by Category ----- */
body.custom-frontend .standalone-bc-main .bc-browse {
	background: #fafafa;
	border-top: 1px solid #f0f0f0;
	padding: 3rem 1.5rem 4rem;
	animation: bc-fade-in 0.5s ease-out 0.12s both;
}

body.custom-frontend .standalone-bc-main .bc-browse-inner {
	max-width: 1200px;
	margin: 0 auto;
}

body.custom-frontend .standalone-bc-main .bc-browse-title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.35rem, 3vw, 1.6rem);
	font-weight: 600;
	color: #111827;
	letter-spacing: -0.02em;
	text-align: center;
}

body.custom-frontend .standalone-bc-main .bc-list-card {
	background: #fff;
	border-radius: 12px;
	padding: 1.75rem 2rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	border: 1px solid #f0f0f0;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.custom-frontend .standalone-bc-main .bc-list-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	border-color: #e5e7eb;
}

body.custom-frontend .standalone-bc-main .bc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem 2rem;
}

body.custom-frontend .standalone-bc-main .bc-list-item {
	margin: 0;
}

body.custom-frontend .standalone-bc-main .bc-list-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0;
	font-size: 0.9375rem;
	color: #374151;
	text-decoration: none;
	border-radius: 6px;
	transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

body.custom-frontend .standalone-bc-main .bc-list-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1.25em;
	font-size: 1rem;
	color: #6b7280;
	text-align: center;
}

body.custom-frontend .standalone-bc-main .bc-list-link:hover {
	color: #111827;
	background: #f9fafb;
	padding-left: 0.5rem;
}

@media (max-width: 992px) {
	body.custom-frontend .standalone-bc-main .bc-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.4rem 1.5rem;
	}
}

@media (max-width: 576px) {
	body.custom-frontend .standalone-bc-main .bc-list {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}
	body.custom-frontend .standalone-bc-main .bc-list-card {
		padding: 1.25rem 1.5rem;
	}
}

/* ----- Subcategories section ----- */
body.custom-frontend .standalone-bc-main .bc-sub {
	background: #fff;
	border-top: 1px solid #f0f0f0;
	padding: 3rem 1.5rem 4.5rem;
	animation: bc-fade-in 0.5s ease-out 0.16s both;
}

body.custom-frontend .standalone-bc-main .bc-sub-inner {
	max-width: 1200px;
	margin: 0 auto;
}

body.custom-frontend .standalone-bc-main .bc-sub-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 3vw, 1.6rem);
	font-weight: 600;
	color: #111827;
	letter-spacing: -0.02em;
	text-align: center;
}

body.custom-frontend .standalone-bc-main .bc-sub-desc {
	margin: 0 0 2rem;
	font-size: 0.9375rem;
	color: #6b7280;
	text-align: center;
	line-height: 1.5;
}

body.custom-frontend .standalone-bc-main .bc-panels {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

body.custom-frontend .standalone-bc-main .bc-panel {
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

body.custom-frontend .standalone-bc-main .bc-panel:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	border-color: #e5e7eb;
	transform: translateY(-2px);
}

body.custom-frontend .standalone-bc-main .bc-panel-header {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: #3993d5;
	padding: 0.875rem 1.25rem;
}

body.custom-frontend .standalone-bc-main .bc-panel-header a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.01em;
	transition: color 0.2s ease;
}

body.custom-frontend .standalone-bc-main .bc-panel-header-icon {
	display: inline-block;
	font-size: 1.1em;
	opacity: 0.95;
}

body.custom-frontend .standalone-bc-main .bc-panel-header a:hover {
	color: rgba(255, 255, 255, 0.9);
}

body.custom-frontend .standalone-bc-main .bc-panel-body {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	padding: 1.25rem 1.25rem 1.5rem;
}

body.custom-frontend .standalone-bc-main .bc-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.9rem;
	font-size: 0.875rem;
	color: #374151;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.custom-frontend .standalone-bc-main .bc-chip:hover {
	background: #3993d5;
	color: #fff;
	border-color: #3993d5;
	transform: scale(1.02);
}

/* ----- Animations ----- */
@keyframes bc-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
