/*
Theme Name: Best Dealinhere 15
Theme URI: https://example.com/best-classifieds-child
Template: best-classifieds
Author: Project "best-themes"
Author URI: https://example.com
Description: A polished, fully-responsive child theme for Best Classifieds that turns the parent theme into a complete marketplace website with six ready-made pages — Home, Products List, About Us, Contact Us, Login and Register. Inherits the parent's editorial Western typography (Playfair Display + Inter) and emerald / cream / gold palette, and layers a refined design system on top. Global responsive layout, built-in user registration & login, contact form, and an automatic one-click setup that creates pages, menu and demo listings on activation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: best-classifieds-child-15
Tags: blog, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, threaded-comments, translation-ready, theme-options, block-styles, wide-blocks, accessibility-ready
*/

/* ==========================================================================
   Best Classifieds Child — design system & page styles
   Inherits parent tokens (--bc-*) and adds a refined, boutique marketplace look.
   ========================================================================== */

:root {
	/* Refined palette — a touch deeper ink for a more premium Western feel. */
	--bc-primary: #0F4C3A;
	--bc-primary-dark: #0A3528;
	--bc-accent: #C9A961;
	--bc-accent-dark: #A8893F;
	--bc-bg: #FAF8F4;
	--bc-bg-alt: #F3EEE3;
	--bc-ink: #16181C;
	--bc-ink-soft: #3A3F46;
	--bc-surface: #FFFFFF;

	/* Child-specific tokens */
	--bcc-gold-soft: #F1E6CC;
	--bcc-green-soft: #E7F0EB;
	--bcc-radius: 10px;
	--bcc-radius-lg: 16px;
	--bcc-shadow: 0 18px 44px rgba(22, 24, 28, 0.08);
	--bcc-shadow-sm: 0 8px 22px rgba(22, 24, 28, 0.07);
	--bcc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Global typography & motion ---------- */
html { scroll-behavior: smooth; }

body {
	background: var(--bc-bg);
	letter-spacing: 0.01em;
}

::selection { background: var(--bc-accent); color: #fff; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }

.bc-container { max-width: 1240px; }

/* Buttons — refined, lifted */
.bc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.82em 1.55em;
	font-family: var(--bc-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.22s var(--bcc-ease), box-shadow 0.22s var(--bcc-ease), background 0.2s, color 0.2s, border-color 0.2s;
	border: 1.5px solid transparent;
}
.bc-btn:hover { text-decoration: none; transform: translateY(-2px); }
.bc-btn:active { transform: translateY(0); }

.bc-btn-primary {
	background: var(--bc-primary);
	color: #fff;
	box-shadow: 0 10px 24px rgba(15, 76, 58, 0.28);
}
.bc-btn-primary:hover { background: var(--bc-primary-dark); color: #fff; box-shadow: 0 14px 30px rgba(15, 76, 58, 0.34); }

.bc-btn-gold {
	background: var(--bc-accent);
	color: var(--bc-ink);
	box-shadow: 0 10px 24px rgba(201, 169, 97, 0.32);
}
.bc-btn-gold:hover { background: var(--bc-accent-dark); color: #fff; box-shadow: 0 14px 30px rgba(201, 169, 97, 0.4); }

.bc-btn-outline {
	background: transparent;
	color: var(--bc-primary);
	border-color: var(--bc-primary);
}
.bc-btn-outline:hover { background: var(--bc-primary); color: #fff; }

.bc-btn-lg { padding: 1.05em 2.1em; font-size: 1rem; }
.bc-btn-block { width: 100%; }

/* ---------- Top utility bar ---------- */
.bcc-topbar {
	background: var(--bc-primary);
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
}
.bcc-topbar .bc-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
}
.bcc-topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.bcc-topbar a:hover { color: var(--bc-accent); text-decoration: underline; text-underline-offset: 3px; }
.bcc-topbar-left, .bcc-topbar-right { display: flex; align-items: center; gap: 18px; }
.bcc-topbar-left .ti { color: var(--bc-accent); margin-right: 4px; }

/* ---------- Header refinements ---------- */
.bc-site-header {
	background: rgba(250, 248, 244, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--bc-border-soft);
	position: sticky;
	top: 0;
	z-index: 1000;
}
.bc-header-inner { min-height: 78px; }

.bc-site-title a { color: var(--bc-ink); font-weight: 600; text-decoration: none; }
.bc-site-title { font-size: 1.45rem; letter-spacing: -0.02em; }

/* Nav is right-aligned now that header actions live in the top bar. */
.bc-primary-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}
.bc-primary-nav > div > ul, .bc-primary-nav > ul, #primary-menu.menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.bc-primary-nav li { margin: 0; }
.bc-primary-nav a {
	display: inline-block;
	padding: 0.5em 0.9em;
	color: var(--bc-ink-soft);
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 999px;
	transition: color 0.18s, background 0.18s;
}
.bc-primary-nav a:hover,
.bc-primary-nav li.current-menu-item > a {
	color: var(--bc-primary);
	background: var(--bcc-green-soft);
}

.bc-header-actions { display: flex; align-items: center; gap: 10px; }
.bc-header-actions .bc-link-text {
	color: var(--bc-ink-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.4em 0.9em;
	border-radius: 999px;
	transition: background 0.18s, color 0.18s;
}
.bc-header-actions .bc-link-text:hover { color: var(--bc-primary); background: var(--bcc-green-soft); }

/* ---------- Page hero (inner pages) ---------- */
.bcc-page-hero {
	position: relative;
	padding: 92px 0 96px;
	background:
		radial-gradient(1100px 480px at 88% -20%, rgba(201, 169, 97, 0.16), transparent 60%),
		radial-gradient(900px 420px at 4% 110%, rgba(15, 76, 58, 0.12), transparent 60%),
		linear-gradient(180deg, #F6F1E6, var(--bc-bg));
	border-bottom: 1px solid var(--bc-border-soft);
}
.bcc-page-hero .bc-eyebrow { color: var(--bc-accent-dark); }
.bcc-page-hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	max-width: 760px;
	margin-bottom: 0.35em;
	line-height: 1.08;
}
.bcc-page-hero p.bcc-page-hero-sub {
	font-size: 1.18rem;
	color: var(--bc-text-muted);
	max-width: 640px;
	margin: 0;
}
.bcc-page-hero-center { text-align: center; }
.bcc-page-hero-center h1, .bcc-page-hero-center p { margin-left: auto; margin-right: auto; }

.bc-breadcrumbs {
	font-size: 0.85rem;
	color: var(--bc-text-subtle);
	margin-bottom: 2.2rem;
}
.bc-breadcrumbs a { color: var(--bc-primary); text-decoration: none; }
.bc-breadcrumbs a:hover { text-decoration: underline; }
.bc-breadcrumb-sep { margin: 0 0.4em; color: var(--bc-accent-dark); }

/* ---------- Section helpers ---------- */
.bc-section { padding: 84px 0; }
.bcc-section-tight { padding: 56px 0; }
.bc-eyebrow {
	font-family: var(--bc-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bc-accent-dark);
}
.bc-section-header { margin-bottom: 2.4rem; }
.bc-section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 0.45em; }

/* ---------- Homepage: hero ---------- */
.bc-hero {
	padding: 96px 0 110px;
	background:
		radial-gradient(1200px 560px at 85% -30%, rgba(201, 169, 97, 0.2), transparent 60%),
		radial-gradient(1000px 500px at 0% 120%, rgba(15, 76, 58, 0.14), transparent 60%),
		linear-gradient(180deg, #F6F1E6, var(--bc-bg)) !important;
	border-bottom: 1px solid var(--bc-border-soft);
}
.bc-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.bc-hero-title {
	font-size: clamp(2.5rem, 6vw, 4.1rem);
	line-height: 1.04;
	margin: 0.35em 0 0.4em;
}
.bc-hero-subtitle { font-size: 1.2rem; color: var(--bc-text-muted); max-width: 620px; margin: 0 auto 2.2em; }

/* Homepage hero — the parent styles the live-search box fully; we add a
   subtle shadow lift and refine the submit pill without fighting the parent. */
.bc-hero-search.bc-live-search {
	box-shadow: var(--bcc-shadow);
	border: 1px solid var(--bc-border-soft);
}
.bc-hero-search .bc-hero-search-input { min-width: 0; }
.bc-hero-search button[type="submit"] {
	border-radius: 999px;
	white-space: nowrap;
}

.bc-hero-popular { margin-top: 1.6em; font-size: 0.92rem; color: var(--bc-text-subtle); }
.bc-hero-popular a { color: var(--bc-primary); text-decoration: none; font-weight: 500; }
.bc-hero-popular a:hover { text-decoration: underline; }

/* Trust strip */
.bc-trust-strip { padding: 0; margin-top: -1px; }
.bc-trust-row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	padding: 26px 0;
}
.bc-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: center;
	font-size: 0.92rem;
	color: var(--bc-text-muted);
}
.bc-trust-item .ti { font-size: 1.5rem; color: var(--bc-primary); }
.bc-trust-num { color: var(--bc-ink); font-size: 1.05rem; }

/* Category cards */
.bc-categories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.bc-category-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	padding: 26px 22px;
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius);
	text-decoration: none;
	transition: transform 0.25s var(--bcc-ease), box-shadow 0.25s var(--bcc-ease), border-color 0.25s;
}
.bc-category-card:hover { transform: translateY(-5px); box-shadow: var(--bcc-shadow-sm); border-color: var(--bcc-gold-soft); text-decoration: none; }
.bc-category-card .ti {
	font-size: 1.7rem;
	color: var(--bc-primary);
	background: var(--bcc-green-soft);
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
}
.bc-category-name { font-family: var(--bc-font-heading); font-size: 1.15rem; color: var(--bc-ink); font-weight: 500; }
.bc-category-count { font-size: 0.85rem; color: var(--bc-text-subtle); }

/* Listing cards */
.bc-listings-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.bc-listing-card {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius-lg);
	overflow: hidden;
	transition: transform 0.28s var(--bcc-ease), box-shadow 0.28s var(--bcc-ease);
}
.bc-listing-card:hover { transform: translateY(-6px); box-shadow: var(--bcc-shadow); }
.bc-listing-card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: transparent; }
.bc-listing-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--bcc-ease); }
.bc-listing-card:hover .bc-listing-card-image img { transform: scale(1.05); }
.bc-listing-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--bcc-green-soft), var(--bcc-gold-soft));
	color: var(--bc-primary);
	font-size: 2.6rem;
}

/* Contact Now form inside the single-listing sidebar. */
.bc-listing-contact { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--bc-border-soft); }
.bc-listing-contact-title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 14px; color: var(--bc-ink); }
.bc-listing-contact .bcc-field { margin-bottom: 14px; }
.bc-listing-contact .bcc-field textarea { min-height: 110px; }
.bc-listing-contact .bcc-alert { margin-bottom: 14px; }

.bc-listing-card-price {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--bc-primary);
	margin: 4px 0 6px;
}
.bc-listing-featured-badge {
	position: absolute;
	right: 12px;
	top: 12px;
	background: var(--bc-accent);
	color: var(--bc-ink);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.45em 0.8em;
	border-radius: 999px;
}
.bc-listing-card-body { padding: 20px 20px 22px; }
.bc-listing-card-cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bc-accent-dark); margin-bottom: 6px; }
.bc-listing-card-title { font-size: 1.18rem; margin: 0 0 8px; }
.bc-listing-card-title a { color: var(--bc-ink); text-decoration: none; }
.bc-listing-card-title a:hover { color: var(--bc-primary); }
.bc-listing-card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; color: var(--bc-text-subtle); }

/* How it works */
.bc-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bc-how-step {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius-lg);
	padding: 34px 28px;
	text-align: center;
	transition: transform 0.25s var(--bcc-ease), box-shadow 0.25s var(--bcc-ease);
}
.bc-how-step:hover { transform: translateY(-4px); box-shadow: var(--bcc-shadow-sm); }
.bc-how-step-num {
	width: 58px; height: 58px;
	margin: 0 auto 18px;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--bc-font-heading);
	font-size: 1.6rem;
	background: var(--bcc-gold-soft);
	color: var(--bc-accent-dark);
	border-radius: 50%;
}
.bc-how-step h3 { margin-bottom: 10px; }

/* Testimonial */
.bc-testimonial-strip {
	background: var(--bc-primary);
	color: #fff;
	padding: 76px 0;
	text-align: center;
}
.bc-testimonial-quote {
	font-family: var(--bc-font-heading);
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-style: italic;
	line-height: 1.5;
	max-width: 800px;
	margin: 0 auto 0.9em;
}
.bc-testimonial-attribution { color: var(--bc-accent); font-size: 0.95rem; }

/* CTA banner */
.bc-cta-banner {
	background: linear-gradient(135deg, var(--bc-primary), #0A3528);
	padding: 74px 0;
}
.bc-cta-inner { text-align: center; }
.bc-cta-title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.bc-cta-subtitle { color: rgba(255,255,255,0.75); margin-bottom: 1.6em; }

/* ---------- Products List page ---------- */
.bcc-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 30px;
	padding: 18px 20px;
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius);
	box-shadow: var(--bcc-shadow-sm);
}
.bcc-filter-count { font-size: 0.95rem; color: var(--bc-text-muted); }
.bcc-filter-count strong { color: var(--bc-primary); font-size: 1.05rem; }
.bcc-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bcc-filter-pill {
	padding: 0.5em 1.05em;
	border: 1.5px solid var(--bc-border);
	border-radius: 999px;
	color: var(--bc-ink-soft);
	font-size: 0.86rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
}
.bcc-filter-pill:hover { border-color: var(--bc-primary); color: var(--bc-primary); text-decoration: none; }
.bcc-filter-pill.is-active { background: var(--bc-primary); border-color: var(--bc-primary); color: #fff; }

.bcc-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}
.bcc-toolbar .bc-search-field {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: 999px;
	padding: 0 16px;
	color: var(--bc-text-subtle);
	flex: 1 1 260px;
	max-width: 420px;
}
.bcc-toolbar input[type="search"] {
	border: 0; background: transparent; box-shadow: none; outline: none;
	padding: 0.8em 0; font-size: 0.95rem; flex: 1; min-width: 0;
}
.bcc-toolbar .bc-btn { padding: 0.8em 1.4em; }

.bcc-pagination {
	margin-top: 40px;
	text-align: center;
}
.bcc-pagination .nav-links { display: inline-flex; gap: 6px; }
.bcc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px; height: 42px;
	padding: 0 0.5em;
	border-radius: 999px;
	border: 1.5px solid var(--bc-border);
	color: var(--bc-ink-soft);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s;
}
.bcc-pagination .page-numbers.current { background: var(--bc-primary); border-color: var(--bc-primary); color: #fff; }
.bcc-pagination .page-numbers:hover { border-color: var(--bc-primary); color: var(--bc-primary); }

.bcc-empty {
	text-align: center;
	padding: 70px 20px;
	background: var(--bc-surface);
	border: 1px dashed var(--bc-border);
	border-radius: var(--bcc-radius-lg);
	color: var(--bc-text-muted);
}
.bcc-empty .ti { font-size: 3rem; color: var(--bc-accent-dark); margin-bottom: 14px; }

/* ---------- About page ---------- */
.bcc-about-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.bcc-about-story h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 0.4em; }
.bcc-about-story p { color: var(--bc-text-muted); font-size: 1.05rem; }
.bcc-about-art {
	position: relative;
	border-radius: var(--bcc-radius-lg);
	overflow: hidden;
	background: linear-gradient(135deg, var(--bc-primary), #0A3528);
	color: #fff;
	padding: 60px 44px;
	min-height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.bcc-about-art .ti { font-size: 4rem; color: var(--bc-accent); margin-bottom: 20px; }
.bcc-about-art h3 { color: #fff; font-size: 1.7rem; margin: 0 0 8px; }
.bcc-about-art p { color: rgba(255,255,255,0.8); margin: 0; }

.bcc-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bcc-value-card {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius-lg);
	padding: 32px 28px;
	transition: transform 0.25s var(--bcc-ease), box-shadow 0.25s var(--bcc-ease);
}
.bcc-value-card:hover { transform: translateY(-4px); box-shadow: var(--bcc-shadow-sm); }
.bcc-value-card .ti { font-size: 1.9rem; color: var(--bc-accent-dark); background: var(--bcc-gold-soft); width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 18px; }
.bcc-value-card h3 { margin-bottom: 8px; }
.bcc-value-card p { color: var(--bc-text-muted); margin: 0; }

.bcc-stats-band { background: var(--bc-primary); color: #fff; padding: 64px 0; }
.bcc-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.bcc-stat .bcc-stat-num { font-family: var(--bc-font-heading); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--bc-accent); line-height: 1; }
.bcc-stat .bcc-stat-label { margin-top: 10px; color: rgba(255,255,255,0.82); font-size: 0.95rem; }

.bcc-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bcc-team-card { text-align: center; }
.bcc-team-avatar {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bcc-gold-soft), var(--bcc-green-soft));
	display: flex; align-items: center; justify-content: center;
	font-family: var(--bc-font-heading);
	font-size: 2.4rem;
	color: var(--bc-primary);
	margin-bottom: 18px;
}
.bcc-team-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.bcc-team-card .bcc-team-role { color: var(--bc-accent-dark); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Contact page ---------- */
.bcc-contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.bcc-contact-form {
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius-lg);
	padding: 40px;
	box-shadow: var(--bcc-shadow-sm);
}
.bcc-field { margin-bottom: 20px; }
.bcc-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: var(--bc-ink); }
.bcc-field label .bcc-req { color: #C0392B; }
.bcc-field input[type="text"], .bcc-field input[type="email"], .bcc-field input[type="tel"],
.bcc-field input[type="password"], .bcc-field textarea, .bcc-field select {
	width: 100%;
	border: 1.5px solid var(--bc-border);
	border-radius: var(--bc-radius);
	background: var(--bc-bg);
	padding: 0.9em 1em;
	font-size: 0.98rem;
	color: var(--bc-ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.bcc-field input:focus, .bcc-field textarea:focus, .bcc-field select:focus {
	outline: none;
	border-color: var(--bc-primary);
	box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.12);
	background: #fff;
}
.bcc-field textarea { min-height: 160px; resize: vertical; }
.bcc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bcc-form-note { font-size: 0.85rem; color: var(--bc-text-subtle); margin-top: 6px; }

.bcc-contact-info { display: grid; gap: 16px; }
.bcc-contact-card {
	display: flex;
	gap: 18px;
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius);
	padding: 24px;
	align-items: flex-start;
}
.bcc-contact-card .ti { font-size: 1.5rem; color: var(--bc-primary); background: var(--bcc-green-soft); width: 50px; height: 50px; flex: 0 0 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.bcc-contact-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.bcc-contact-card p { margin: 0; color: var(--bc-text-muted); font-size: 0.95rem; line-height: 1.6; }

.bcc-alert {
	padding: 16px 20px;
	border-radius: var(--bc-radius);
	margin-bottom: 24px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
}
.bcc-alert-success { background: #E7F0EB; color: var(--bc-primary); border: 1px solid #BBDCCB; }
.bcc-alert-error { background: #FBEAE7; color: #A02F22; border: 1px solid #F0C8C0; }

/* ---------- Login / Register ---------- */
.bcc-auth-wrap {
	max-width: 520px;
	margin: 0 auto;
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius-lg);
	padding: 46px 44px;
	box-shadow: var(--bcc-shadow);
}
.bcc-auth-head { text-align: center; margin-bottom: 30px; }
.bcc-auth-head .ti { font-size: 2.6rem; color: var(--bc-primary); background: var(--bcc-green-soft); width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 22px; margin: 0 auto 20px; }
.bcc-auth-head h1 { font-size: 1.9rem; margin: 0 0 6px; }
.bcc-auth-head p { color: var(--bc-text-muted); margin: 0; }
.bcc-auth-form .bcc-field input { background: #fff; }
.bcc-auth-form .bcc-field input:focus { background: #fff; }
.bcc-auth-submit { margin-top: 8px; }
.bcc-auth-footer { text-align: center; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--bc-border-soft); font-size: 0.95rem; color: var(--bc-text-muted); }
.bcc-auth-footer a { font-weight: 600; }
.bcc-auth-links { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.88rem; }
.bcc-auth-links a { color: var(--bc-primary); text-decoration: none; }
.bcc-auth-links a:hover { text-decoration: underline; }
.bcc-auth-terms { font-size: 0.8rem; color: var(--bc-text-subtle); margin-top: 16px; text-align: center; }

.bcc-logged-in {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
	background: var(--bc-surface);
	border: 1px solid var(--bc-border-soft);
	border-radius: var(--bcc-radius-lg);
	padding: 60px 48px;
	box-shadow: var(--bcc-shadow-sm);
}
.bcc-logged-in .ti { font-size: 3.4rem; color: var(--bc-primary); margin-bottom: 18px; }
.bcc-logged-in h1 { margin-bottom: 12px; }
.bcc-logged-in p { color: var(--bc-text-muted); }
.bcc-logged-in .bcc-logged-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Footer ---------- */
.bc-site-footer { margin-top: 0; }
.bc-footer-widgets { padding-top: 30px; }
.bc-footer-bottom-inner { padding: 34px 0; }
.bc-footer-credit { font-size: 0.85rem; color: var(--bc-footer-text); }
.bc-footer-credit a { color: var(--bc-accent); text-decoration: none; }
.bc-footer-nav a { color: var(--bc-footer-text); }
.bc-footer-nav a:hover { color: #fff; }

/* Sticky header shadow (toggled by child.js) */
.bc-site-header.bc-header-scrolled { box-shadow: 0 8px 26px rgba(22, 24, 28, 0.06); }

/* WordPress login form output (wp_login_form) */
.bcc-auth-form .login-username,
.bcc-auth-form .login-password,
.bcc-auth-form .login-remember { margin-bottom: 18px; }
.bcc-auth-form .login-username label,
.bcc-auth-form .login-password label {
	display: block;
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 8px;
	color: var(--bc-ink);
}
.bcc-auth-form .login-username input,
.bcc-auth-form .login-password input {
	width: 100%;
	border: 1.5px solid var(--bc-border);
	border-radius: var(--bc-radius);
	background: #fff;
	padding: 0.9em 1em;
	font-size: 0.98rem;
	color: var(--bc-ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.bcc-auth-form .login-username input:focus,
.bcc-auth-form .login-password input:focus {
	outline: none;
	border-color: var(--bc-primary);
	box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.12);
}
.bcc-auth-form .login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	color: var(--bc-text-muted);
}
.bcc-auth-form .login-remember input { accent-color: var(--bc-primary); width: auto; }
.bcc-auth-form .login-submit { margin-top: 8px; }
.bcc-auth-form #wp-submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1em 1.7em;
	background: var(--bc-primary);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(15, 76, 58, 0.28);
	transition: background 0.2s, transform 0.22s var(--bcc-ease), box-shadow 0.22s var(--bcc-ease);
}
.bcc-auth-form #wp-submit:hover { background: var(--bc-primary-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 76, 58, 0.34); }

/* Sort select on products page */
.bcc-toolbar .bcc-sort-select {
	border: 1.5px solid var(--bc-border);
	border-radius: 999px;
	background: var(--bc-surface);
	padding: 0.78em 1.1em;
	font-size: 0.92rem;
	color: var(--bc-ink);
	cursor: pointer;
	min-width: 220px;
}
.bcc-toolbar .bcc-sort-select:focus { outline: none; border-color: var(--bc-primary); }

/* ==========================================================================
   Responsive — global adaptive layout
   ========================================================================== */

@media (max-width: 1080px) {
	.bc-listings-grid, .bcc-team-grid { grid-template-columns: repeat(2, 1fr); }
	.bc-categories-grid { grid-template-columns: repeat(3, 1fr); }
	.bcc-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.bc-trust-row { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
	.bcc-about-story { grid-template-columns: 1fr; gap: 40px; }
	.bcc-contact-grid { grid-template-columns: 1fr; gap: 36px; }
	.bc-how-grid { grid-template-columns: 1fr; }
	.bcc-values-grid { grid-template-columns: repeat(2, 1fr); }
	.bcc-page-hero, .bc-hero { padding: 64px 0 70px; }
}

@media (max-width: 900px) {
	/* Mobile nav: collapse the menu behind the hamburger toggle. The parent's
	   navigation.js toggles .is-open on .bc-primary-nav; here we define the
	   show/hide so the "☰" actually expands the menu. */
	.bc-header-inner { position: relative; }
	.bc-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-left: auto;
		padding: 9px 12px;
		background: var(--bc-surface);
		border: 1px solid var(--bc-border-soft);
		border-radius: 8px;
		color: var(--bc-primary);
		font-size: 1.5rem;
		line-height: 1;
		cursor: pointer;
	}
	.bc-menu-toggle:hover { background: var(--bcc-green-soft); }
	.bc-primary-nav > div > ul,
	.bc-primary-nav > ul,
	#primary-menu.menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		margin: 0;
		padding: 8px;
		background: var(--bc-surface);
		border: 1px solid var(--bc-border-soft);
		border-radius: var(--bcc-radius);
		box-shadow: var(--bcc-shadow);
		z-index: 999;
	}
	.bc-primary-nav.is-open > div > ul,
	.bc-primary-nav.is-open > ul,
	.bc-primary-nav.is-open #primary-menu.menu {
		display: flex;
	}
	.bc-primary-nav li { margin: 0; }
	.bc-primary-nav a {
		display: block;
		width: 100%;
		padding: 12px 14px;
		border-radius: 8px;
		border-bottom: 1px solid var(--bc-border-soft);
	}
	.bc-primary-nav li:last-child a { border-bottom: none; }
}

@media (max-width: 782px) {
	/* Stack the header — the parent's mobile menu toggle is already active.
	   We keep the actions visible but let the primary nav fold into the toggle. */
	.bc-header-inner { flex-wrap: wrap; min-height: 66px; }
	.bc-categories-grid, .bc-listings-grid, .bcc-team-grid { grid-template-columns: 1fr; }
	.bcc-values-grid { grid-template-columns: 1fr; }
	.bcc-field-row { grid-template-columns: 1fr; }
	.bc-section { padding: 56px 0; }
	.bc-cta-banner { padding: 52px 0; }
}

@media (max-width: 560px) {
	.bc-trust-row { grid-template-columns: repeat(2, 1fr); }
	.bcc-stats-grid { grid-template-columns: 1fr; }
	.bcc-page-hero { padding: 50px 0 54px; }
	.bc-hero { padding: 50px 0 58px; }
	.bc-hero-title { font-size: 2.2rem; }
	.bcc-auth-wrap { padding: 34px 24px; }
	.bcc-contact-form { padding: 26px 20px; }
}

/* -------------------------------------------------------------------------
 * Site-wide scroll-reveal — fade/slide content in as it scrolls into view.
 * Only active when JS is on (html.bcc-js); no-JS visitors always see content.
 * ---------------------------------------------------------------------- */
html.bcc-js .bc-site-main .bc-section,
html.bcc-js .bc-site-main .bc-listing-card,
html.bcc-js .bc-site-main .bc-category-card,
html.bcc-js .bc-site-main .bc-how-step,
html.bcc-js .bc-site-main .bc-trust-item,
html.bcc-js .bc-site-main .bcc-value-card,
html.bcc-js .bc-site-main .bcc-team-card,
html.bcc-js .bc-site-main .bcc-contact-card,
html.bcc-js .bc-site-main .bc-cta-banner {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
	will-change: opacity, transform;
}
html.bcc-js .bc-site-main .is-inview {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html.bcc-js .bc-site-main .bc-section,
	html.bcc-js .bc-site-main .bc-listing-card,
	html.bcc-js .bc-site-main .bc-category-card,
	html.bcc-js .bc-site-main .bc-how-step,
	html.bcc-js .bc-site-main .bc-trust-item,
	html.bcc-js .bc-site-main .bcc-value-card,
	html.bcc-js .bc-site-main .bcc-team-card,
	html.bcc-js .bc-site-main .bcc-contact-card,
	html.bcc-js .bc-site-main .bc-cta-banner {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
