/**
 * Premium Business Detail Page
 * Modern blue/teal color scheme
 *
 * NOTE: This file depends on design-tokens.css for variables.
 * Colors, fonts, and spacing are defined there for easy customization.
 */

/* Import design tokens (fonts, colors, spacing) */
@import url('design-tokens.css');

:root {
	/* Primary Blues - Now referencing design tokens with fallbacks */
	--bd-primary: var(--bd-primary-600, #0F2A43);
	--bd-primary-dark: var(--bd-primary-700, #0A1F33);
	--bd-primary-light: var(--bd-primary-500, #133453);

	/* Accent Teal */
	--bd-accent: #2CB1BC;
	--bd-accent-dark: #239AA3;
	--bd-accent-light: var(--bd-accent-400, #829AB1);

	/* Legacy variable names (for compatibility) */
	--bd-burgundy: var(--bd-primary);
	--bd-burgundy-dark: var(--bd-primary-dark);
	--bd-burgundy-light: var(--bd-primary-light);
	--bd-gold: var(--bd-accent);
	--bd-gold-dark: var(--bd-accent-dark);
	--bd-gold-light: var(--bd-accent-light);
	--bd-copper: var(--bd-accent);

	/* Neutrals */
	--bd-cream: var(--bd-neutral-100, #F5F7FA);
	--bd-surface: #FFFFFF;
	--bd-surface-warm: var(--bd-neutral-50, #F8FAFC);
	--bd-text: var(--bd-primary);
	--bd-text-light: var(--bd-accent-light);
	--bd-border: var(--bd-neutral-200, #E2E8F0);
}

/* ============================================================================
	GLOBAL RESETS & PAGE SETUP
	========================================================================= */

body.single-bd_business {
	background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%) !important;
}

/* Teal accent bar */
body.single-bd_business::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(135deg, #2CB1BC 0%, #829AB1 50%, #F5F7FA 100%);
	z-index: 10000;
	box-shadow: 0 2px 8px rgba(44, 177, 188, 0.3);
}

/* Hide theme elements */
body.single-bd_business .site-title:not(.entry-title),
body.single-bd_business .page-header .site-title,
body.single-bd_business header h1:not(.entry-title):not(.business-title) {
	display: none !important;
}

/* ============================================================================
	BACK BUTTON - Floating Top Right
	========================================================================= */

.bd-back-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 8px 0 !important;
	margin: 0 0 0 40px !important;
	background: transparent !important;
	border: none !important;
	font-family: var(--bd-font-body) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--bd-primary) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}
.bd-back-link:hover {
	color: var(--bd-accent) !important;
	text-decoration: underline !important;
}
.bd-back-link svg {
	width: 12px !important;
	height: 12px !important;
}
/* Mobile */
@media (max-width: 768px) {
	.bd-back-link {
		margin: 10px 20px 10px auto !important;
		display: flex !important;
		justify-content: flex-end !important;
	}
}

/* ============================================================================
	HERO SECTION - Eye-catching header
	========================================================================= */

.bd-business-hero {
	background: linear-gradient(174deg, var(--bd-primary-600) 0% 40%, var(--bd-accent-400) 100%);
	padding: 80px 0 60px;
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
}

.bd-business-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(44, 177, 188, 0.15) 0%, transparent 70%);
	border-radius: 50%;
}

.bd-business-hero-content {
	max-width: 100vw;
	margin: 0 auto;
	padding: 0 45px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	position: relative;
	z-index: 1;
}

.bd-business-hero-left {
	flex: 1;
}

.bd-business-hero h1 {
	font-family: var(--bd-font-heading) !important;
	font-size: 56px !important;
	font-weight: var(--bd-font-extrabold, 800) !important;
	color: white !important;
	margin: 0 0 24px 0 !important;
	line-height: var(--bd-leading-tight, 1.1) !important;
	text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.bd-business-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.bd-rating-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	padding: 8px 16px;
	border-radius: 24px;
	border: 1px solid rgba(44, 177, 188, 0.3);
}

.bd-rating-number {
	font-size: 20px;
	font-weight: var(--bd-font-bold, 700);
	color: var(--bd-accent);
}

.bd-rating-stars {
	display: flex;
	gap: 2px;
}

.bd-rating-stars .filled {
	color: var(--bd-accent);
	font-size: 18px;
}

.bd-rating-stars .empty {
	color: rgba(255, 255, 255, 0.3);
	font-size: 18px;
}

.bd-review-count {
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--bd-text-base, 14px);
}

.bd-price-badge,
.bd-category-badge {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	padding: 8px 16px;
	border-radius: 24px;
	color: white;
	font-size: var(--bd-text-base, 14px);
	font-weight: var(--bd-font-semibold, 600);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.bd-location-quick {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--bd-text-md, 16px);
}

.bd-location-quick svg {
	color: var(--bd-accent);
}

.bd-business-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 200px;
}

.bd-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 14px 28px !important;
	border-radius: var(--bd-radius-md, 8px) !important;
	font-family: var(--bd-font-body) !important;
	font-size: 15px !important;
	font-weight: var(--bd-font-semibold, 600) !important;
	text-decoration: none !important;
	transition: all var(--bd-transition-slow, 0.3s ease) !important;
	cursor: pointer !important;
	text-align: center !important;
}

.bd-btn-primary {
	background: linear-gradient(135deg, var(--bd-accent) 0%, var(--bd-accent-dark) 100%) !important;
	color: white !important;
	border: none !important;
	box-shadow: 0 4px 16px rgba(44, 177, 188, 0.4) !important;
}

.bd-btn-primary:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(44, 177, 188, 0.5) !important;
}

.bd-btn-secondary {
	background: white !important;
	color: var(--bd-primary) !important;
	border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.bd-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.95) !important;
	border-color: var(--bd-accent) !important;
}

.bd-btn-ghost {
	background: transparent !important;
	color: var(--bd-primary) !important;
	border: 2px solid var(--bd-primary) !important;
}

.bd-btn-ghost:hover {
	background: var(--bd-primary) !important;
	color: white !important;
}

/* Photo Gallery */
.bd-photo-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 8px;
	margin: 0 0 40px 0;
	border-radius: var(--bd-radius-lg, 12px);
	overflow: hidden;
	height: 500px;
}

.bd-gallery-main {
	height: 100%;
	overflow: hidden;
}

.bd-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bd-gallery-grid {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	gap: 8px;
	height: 100%;
}

.bd-gallery-item {
	position: relative;
	overflow: hidden;
	background: #f5f5f5;
	height: 100%;
}

.bd-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--bd-transition-slow, 0.3s ease);
}

.bd-gallery-item:hover img {
	transform: scale(1.05);
}

.bd-gallery-more {
	position: relative;
	cursor: pointer;
}

.bd-gallery-more-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 42, 67, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.bd-gallery-more-overlay span {
	color: white;
	font-size: 28px;
	font-weight: var(--bd-font-bold, 700);
	font-family: var(--bd-font-heading);
}

/* Responsive */
@media (max-width: 968px) {
	.bd-photo-gallery {
		grid-template-columns: 1fr;
		height: auto;
	}

	.bd-gallery-main {
		height: 350px;
	}

	.bd-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 150px);
		height: auto;
	}
}

@media (max-width: 640px) {
	.bd-gallery-main {
		height: 250px;
	}

	.bd-gallery-grid {
		grid-template-rows: repeat(2, 120px);
	}
}

/* ============================================================================
	MAIN CONTENT GRID
	========================================================================= */

.bd-business-content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px 60px;
}

.bd-business-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
}

.bd-info-card {
	background: white;
	border-radius: var(--bd-radius-xl, 16px);
	padding: 32px;
	box-shadow: var(--bd-shadow-sm, 0 2px 12px rgba(15, 42, 67, 0.08));
	margin-bottom: 24px;
	border: 1px solid var(--bd-border);
}

.bd-info-card h2,
.bd-info-card h3 {
	font-family: var(--bd-font-heading);
	color: var(--bd-primary);
	margin: 0 0 20px 0;
}

.bd-info-card h2 {
	font-size: var(--bd-text-3xl, 32px);
	padding-bottom: 16px;
	border-bottom: 2px solid var(--bd-accent-light);
}

.bd-info-card h3 {
	font-size: var(--bd-text-2xl, 24px);
}

/* About Section */
.bd-about-section .bd-description {
	font-size: 17px;
	line-height: var(--bd-leading-relaxed, 1.8);
	color: var(--bd-text);
}

.bd-about-section .bd-description p {
	margin-bottom: 16px;
}

/* Amenities */
.bd-amenities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.bd-amenity-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	background: var(--bd-surface-warm);
	border-radius: var(--bd-radius-md, 8px);
	font-size: var(--bd-text-base, 14px);
	color: var(--bd-text);
}

.bd-amenity-item svg {
	color: var(--bd-accent);
	flex-shrink: 0;
}

/* ============================================================================
	SIDEBAR - Hours, Contact, Map
	========================================================================= */

.bd-business-sidebar {
	position: sticky;
	height: fit-content;
}

/* Hours Card */
.bd-hours-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bd-hours-row {
	display: flex;
	justify-content: space-between;
	padding: 12px;
	border-radius: var(--bd-radius-md, 8px);
	font-size: 15px;
}

.bd-hours-row.bd-today {
	background: linear-gradient(135deg, rgba(15, 42, 67, 0.08) 0%, rgba(44, 177, 188, 0.12) 100%);
	font-weight: var(--bd-font-semibold, 600);
	color: var(--bd-primary);
}

.bd-day {
	color: var(--bd-text);
}

.bd-time {
	color: var(--bd-text-light);
	font-weight: var(--bd-font-medium, 500);
}

.bd-today .bd-time {
	color: var(--bd-primary);
}

/* Contact Card */
.bd-contact-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bd-contact-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.bd-contact-item svg {
	color: var(--bd-accent);
	flex-shrink: 0;
	margin-top: 2px;
}

.bd-contact-item strong {
	display: block;
	font-size: var(--bd-text-xs, 12px);
	text-transform: uppercase;
	letter-spacing: var(--bd-tracking-wide, 0.05em);
	color: var(--bd-text-light);
	margin-bottom: 4px;
}

.bd-contact-item p {
	margin: 0;
	font-size: 15px;
	color: var(--bd-text);
}

.bd-contact-item a {
	color: var(--bd-primary);
	text-decoration: none;
	transition: color var(--bd-transition-fast, 0.2s);
}

.bd-contact-item a:hover {
	color: var(--bd-accent);
}

/* Map Preview */
.bd-map-preview {
	padding: 0;
	overflow: hidden;
}

.bd-map-preview #bd-location-map {
	width: 100%;
	height: 200px;
}

.bd-map-link {
	display: block;
	padding: 16px;
	text-align: center;
	color: var(--bd-primary);
	font-weight: var(--bd-font-semibold, 600);
	text-decoration: none;
	background: var(--bd-surface-warm);
	transition: all var(--bd-transition-fast, 0.2s);
}

.bd-map-link:hover {
	background: var(--bd-accent);
	color: white;
}

/* ============================================================================
	REVIEWS SECTION
	========================================================================= */

.bd-reviews-section {
	max-width: 1200px;
	margin: 60px auto 0;
	padding: 60px 40px;
	background: white;
	border-radius: var(--bd-radius-xl, 16px);
	box-shadow: var(--bd-shadow-lg, 0 4px 24px rgba(15, 42, 67, 0.1));
}

.bd-reviews-section h2 {
	font-family: var(--bd-font-heading) !important;
	font-size: var(--bd-text-4xl, 36px) !important;
	color: var(--bd-primary) !important;
	margin: 0 0 32px 0 !important;
	padding-bottom: 16px !important;
	border-bottom: 2px solid var(--bd-accent-light);
}

.bd-reviews-section h3 {
	font-family: var(--bd-font-heading) !important;
	font-size: var(--bd-text-2xl, 28px) !important;
	color: var(--bd-primary) !important;
	margin: 48px 0 24px 0 !important;
}

/* Form continues with your existing styles... */
.bd-form {
	background: white;
	border: 2px solid rgba(44, 177, 188, 0.3);
	border-radius: var(--bd-radius-xl, 16px);
	padding: 32px;
	margin-top: 32px;
	box-shadow: var(--bd-shadow-md, 0 4px 16px rgba(15, 42, 67, 0.08));
}

/* ============================================================================
	REVIEWS SECTION (Extended)
	========================================================================= */

.bd-reviews-section {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid rgba(44, 177, 188, 0.2);
	position: relative;
	opacity: 1 !important;
	visibility: visible !important;
	display: block !important;
	transform: none !important;
}

.bd-reviews-section::before {
	content: '✦';
	position: absolute;
	left: 0;
	margin-top: -50px;
	font-size: 24px;
	color: #2CB1BC;
	opacity: 0.3;
}

.bd-reviews-section h2 {
	font-family: var(--bd-font-heading) !important;
	font-size: var(--bd-text-4xl, 36px) !important;
	font-weight: var(--bd-font-bold, 700) !important;
	color: var(--bd-primary-600, #0F2A43) !important;
	margin: 0 0 32px 0 !important;
	position: relative !important;
	padding-bottom: 16px !important;
}

.bd-reviews-section h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, #2CB1BC, #829AB1);
}

.bd-reviews-section h3 {
	font-family: var(--bd-font-heading) !important;
	font-size: var(--bd-text-2xl, 28px) !important;
	font-weight: var(--bd-font-bold, 700) !important;
	color: var(--bd-primary-600, #0F2A43) !important;
	margin: 48px 0 24px 0 !important;
}

/* Rating summary */
.bd-rating-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
	padding: 16px 24px;
	background: linear-gradient(135deg, rgba(44, 177, 188, 0.08) 0%, rgba(245, 247, 250, 0.12) 100%);
	border-radius: var(--bd-radius-lg, 12px);
	border-left: 4px solid #2CB1BC;
	box-shadow: var(--bd-shadow-md, 0 4px 12px rgba(44, 177, 188, 0.15));
	transform: translateZ(0);
	transition: transform var(--bd-transition-slow, 0.3s ease), box-shadow var(--bd-transition-slow, 0.3s ease);
}

.bd-rating-summary:hover {
	transform: translateY(-2px);
	box-shadow: var(--bd-shadow-lg, 0 8px 20px rgba(44, 177, 188, 0.2));
}

.bd-rating-summary .bd-stars {
	font-size: var(--bd-text-2xl, 24px);
	color: #2CB1BC;
	letter-spacing: 2px;
}

/* Review cards */
.bd-review-card {
	background: white;
	border: 2px solid rgba(44, 177, 188, 0.2);
	border-radius: var(--bd-radius-lg, 12px);
	padding: 24px;
	margin-bottom: 20px;
	transition: all var(--bd-transition-slow, 0.3s ease);
	box-shadow: var(--bd-shadow-sm, 0 2px 8px rgba(15, 42, 67, 0.08));
	position: relative;
	overflow: hidden;
	background-image:
		repeating-linear-gradient(
			45deg,
			transparent,
			transparent 10px,
			rgba(44, 177, 188, 0.01) 10px,
			rgba(44, 177, 188, 0.01) 20px
		);
}

.bd-review-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, #2CB1BC 0%, #829AB1 100%);
	transform: scaleY(0);
	transition: transform var(--bd-transition-slow, 0.3s ease);
}

.bd-review-card:hover {
	border-color: #2CB1BC;
	box-shadow: var(--bd-shadow-md, 0 4px 16px rgba(15, 42, 67, 0.1));
	transform: translateY(-2px);
}

.bd-review-card:hover::before {
	transform: scaleY(1);
}

.bd-review-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.bd-review-header strong {
	font-size: var(--bd-text-md, 16px);
	color: var(--bd-primary-600, #0F2A43);
}

.bd-review-card .bd-stars {
	color: #2CB1BC;
	font-size: var(--bd-text-lg, 18px);
}

.bd-review-card h4 {
	font-size: var(--bd-text-lg, 18px);
	font-weight: var(--bd-font-semibold, 600);
	color: var(--bd-primary-600, #0F2A43);
	margin: 0 0 12px 0;
}

.bd-review-card p {
	color: var(--bd-accent-light, #829AB1);
	line-height: var(--bd-leading-normal, 1.6);
	margin: 0;
}

/* ============================================================================
	REVIEW FORM
	========================================================================= */

.bd-form {
	background: white;
	border: 2px solid rgba(44, 177, 188, 0.3);
	border-radius: var(--bd-radius-xl, 16px);
	padding: 32px;
	margin-top: 32px;
	box-shadow:
		var(--bd-shadow-md, 0 4px 16px rgba(15, 42, 67, 0.08)),
		0 12px 32px rgba(44, 177, 188, 0.12);
	position: relative;
	background-image:
		repeating-linear-gradient(
			45deg,
			transparent,
			transparent 10px,
			rgba(44, 177, 188, 0.01) 10px,
			rgba(44, 177, 188, 0.01) 20px
		);
}

.bd-form::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(135deg, #2CB1BC 0%, #829AB1 50%, #F5F7FA 100%);
	border-radius: 18px;
	z-index: -1;
}

.bd-form-row {
	margin-bottom: 24px;
}

.bd-form label {
	display: block !important;
	font-family: var(--bd-font-body) !important;
	font-size: var(--bd-text-base, 14px) !important;
	font-weight: var(--bd-font-semibold, 600) !important;
	color: var(--bd-primary-600, #0F2A43) !important;
	text-transform: uppercase !important;
	letter-spacing: var(--bd-tracking-wide, 0.05em) !important;
	margin-bottom: 8px !important;
}

.bd-form .required {
	color: #2CB1BC !important;
}

.bd-form input[type="text"],
.bd-form input[type="email"],
.bd-form textarea {
	width: 100% !important;
	padding: 14px 18px !important;
	border: 2px solid var(--bd-neutral-200, #E2E8F0) !important;
	border-radius: var(--bd-radius-md, 8px) !important;
	font-size: 15px !important;
	font-family: var(--bd-font-body) !important;
	color: var(--bd-primary-600, #0F2A43) !important;
	background: white !important;
	transition: all var(--bd-transition-slow, 0.3s ease) !important;
	box-sizing: border-box !important;
}

.bd-form input:focus,
.bd-form textarea:focus {
	outline: none !important;
	border-color: #2CB1BC !important;
	box-shadow: 0 0 0 4px rgba(44, 177, 188, 0.15) !important;
	background: var(--bd-neutral-50, #F8FAFC) !important;
}

.bd-form textarea {
	min-height: 120px !important;
	resize: vertical !important;
	line-height: var(--bd-leading-normal, 1.6) !important;
}

.bd-form .description {
	font-size: var(--bd-text-sm, 13px) !important;
	color: var(--bd-accent-light, #829AB1) !important;
	font-style: italic !important;
	margin-top: 6px !important;
}

/* ============================================================================
	STAR RATING INPUT
	========================================================================= */

.bd-star-rating {
	display: flex !important;
	flex-direction: row-reverse !important;
	justify-content: flex-end !important;
	gap: 8px !important;
	margin: 12px 0 !important;
}

.bd-star-rating input[type="radio"] {
	display: none !important;
}

.bd-star-rating label {
	font-size: var(--bd-text-4xl, 36px) !important;
	color: var(--bd-neutral-200, #E2E8F0) !important;
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.bd-star-rating label:hover,
.bd-star-rating label:hover ~ label {
	color: #2CB1BC !important;
	transform: scale(1.15) rotate(-5deg) !important;
	text-shadow: 0 0 12px rgba(44, 177, 188, 0.6) !important;
}

.bd-star-rating input[type="radio"]:checked ~ label {
	color: #2CB1BC !important;
	filter: drop-shadow(0 2px 4px rgba(44, 177, 188, 0.5)) !important;
}

/* ============================================================================
	SUBMIT BUTTON
	========================================================================= */

.bd-btn.bd-btn-primary,
.bd-form button[type="submit"] {
	background: linear-gradient(135deg, var(--bd-primary-600, #0F2A43) 0%, var(--bd-primary-500, #133453) 50%, #2CB1BC 100%) !important;
	color: white !important;
	padding: 16px 40px !important;
	border-radius: var(--bd-radius-md, 8px) !important;
	font-family: var(--bd-font-body) !important;
	font-size: 15px !important;
	font-weight: var(--bd-font-bold, 700) !important;
	text-transform: uppercase !important;
	letter-spacing: var(--bd-tracking-wide, 0.05em) !important;
	cursor: pointer !important;
	transition: all 0.4s ease !important;
	box-shadow: var(--bd-shadow-lg, 0 4px 16px rgba(15, 42, 67, 0.3)) !important;
	border: none !important;
	position: relative;
	overflow: hidden;
}

.bd-btn.bd-btn-primary::before,
.bd-form button[type="submit"]::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s;
}

.bd-btn.bd-btn-primary:hover::before,
.bd-form button[type="submit"]:hover::before {
	left: 100%;
}

.bd-btn.bd-btn-primary:hover,
.bd-form button[type="submit"]:hover {
	background: linear-gradient(135deg, var(--bd-primary-500, #133453) 0%, #2CB1BC 50%, #239AA3 100%) !important;
	transform: translateY(-2px) !important;
	box-shadow:
		0 8px 24px rgba(44, 177, 188, 0.4),
		var(--bd-shadow-lg, 0 4px 12px rgba(15, 42, 67, 0.3)) !important;
}

.bd-btn.bd-btn-primary:active,
.bd-form button[type="submit"]:active {
	transform: translateY(0) !important;
}


/**
 * ENHANCED BUSINESS DETAIL STYLES
 */

/* ============================================================================
	PHOTO GALLERY ENHANCEMENTS - Clickable with Hover Effects
	========================================================================= */

.bd-gallery-clickable {
	cursor: pointer;
	position: relative;
}

.bd-gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 42, 67, 0);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all var(--bd-transition-slow, 0.3s ease);
	pointer-events: none;
}

.bd-gallery-clickable:hover .bd-gallery-overlay {
	background: rgba(15, 42, 67, 0.7);
	opacity: 1;
}

.bd-gallery-overlay svg {
	transform: scale(0.8);
	transition: transform var(--bd-transition-slow, 0.3s ease);
}

.bd-gallery-clickable:hover .bd-gallery-overlay svg {
	transform: scale(1);
}

/* ============================================================================
	SIDEBAR CLAIM BLOCK - Subtle but effective
	========================================================================= */

.bd-claim-card {
	background: linear-gradient(135deg, rgba(15, 42, 67, 0.03) 0%, rgba(44, 177, 188, 0.06) 100%) !important;
	border: 2px solid var(--bd-accent-light) !important;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.bd-claim-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--bd-primary) 0%, var(--bd-accent) 50%, var(--bd-primary) 100%);
}

.bd-claim-icon-small {
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	background: linear-gradient(135deg, var(--bd-primary) 0%, var(--bd-primary-light) 100%);
	border-radius: var(--bd-radius-full, 50%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	box-shadow: var(--bd-shadow-md, 0 4px 12px rgba(15, 42, 67, 0.2));
}

.bd-claim-card h4 {
	font-family: var(--bd-font-heading) !important;
	font-size: var(--bd-text-xl, 20px) !important;
	color: var(--bd-primary) !important;
	margin: 0 0 12px 0 !important;
	font-weight: var(--bd-font-bold, 700);
}

.bd-claim-text {
	font-size: var(--bd-text-base, 14px) !important;
	line-height: var(--bd-leading-normal, 1.6) !important;
	color: var(--bd-text-light) !important;
	margin: 0 0 20px 0 !important;
}

.bd-btn-block {
	width: 100%;
	justify-content: center;
}

/* Owned business variant */
.bd-claim-card.bd-owned {
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.04) 100%) !important;
	border-color: #4CAF50 !important;
}

.bd-claim-card.bd-owned::before {
	background: linear-gradient(90deg, #2E7D32 0%, #4CAF50 50%, #66BB6A 100%);
}

.bd-owned-icon {
	background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%) !important;
}

/* Hover effect on claim button */
.bd-claim-card .bd-claim-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--bd-shadow-lg, 0 8px 20px rgba(15, 42, 67, 0.25));
}

.bd-info-card.bd-owned .bd-btn-block {
	display: flex;
	align-items: center;
	justify-content: center;
}

.bd-info-card.bd-owned .bd-btn-secondary {
	background: #f0f5f8;
	color: #1a3a4a;
	border: 2px solid #a8c4d4;
}

.bd-info-card.bd-owned .bd-btn-secondary:hover {
	background: #e5edf2;
	border-color: #7a9eb8;
}

/* Responsive */
@media (max-width: 968px) {
	.bd-business-grid {
		grid-template-columns: 1fr;
	}

	.bd-claim-card {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* ============================================================================
	VIDEO GALLERY
	========================================================================= */

.bd-video-gallery {
	margin: 0 0 40px 0;
}

.bd-section-title {
	font-family: var(--bd-font-heading);
	font-size: var(--bd-text-3xl, 32px);
	color: var(--bd-primary);
	margin: 0 0 24px 0;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--bd-accent-light);
}

.bd-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.bd-video-item {
	border-radius: var(--bd-radius-lg, 12px);
	overflow: hidden;
	background: #000;
	box-shadow: var(--bd-shadow-md, 0 4px 16px rgba(15, 42, 67, 0.15));
}

.bd-video-item video {
	width: 100%;
	height: auto;
	display: block;
}

/* ============================================================================
	SOCIAL SHARING
	========================================================================= */

.bd-social-sharing {
	margin: 40px 0;
	padding: 32px;
	background: white;
	border-radius: var(--bd-radius-xl, 16px);
	border: 1px solid var(--bd-border);
	box-shadow: var(--bd-shadow-sm);
}

.bd-social-sharing h3 {
	font-family: var(--bd-font-heading);
	font-size: var(--bd-text-2xl, 24px);
	color: var(--bd-primary);
	margin: 0 0 20px 0;
}

.bd-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bd-share-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 12px 24px !important;
	border-radius: var(--bd-radius-md, 8px) !important;
	font-family: var(--bd-font-body) !important;
	font-size: var(--bd-text-base, 14px) !important;
	font-weight: var(--bd-font-semibold, 600) !important;
	text-decoration: none !important;
	transition: all var(--bd-transition-slow, 0.3s ease) !important;
	cursor: pointer !important;
	border: 2px solid !important;
}

.bd-share-facebook {
	background: #1877F2 !important;
	color: white !important;
	border-color: #1877F2 !important;
}

.bd-share-facebook:hover {
	background: #0C63D4 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important;
}

.bd-share-twitter {
	background: #000 !important;
	color: white !important;
	border-color: #000 !important;
}

.bd-share-twitter:hover {
	background: #333 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.bd-share-email {
	background: var(--bd-primary) !important;
	color: white !important;
	border-color: var(--bd-primary) !important;
}

.bd-share-email:hover {
	background: var(--bd-primary-dark) !important;
	transform: translateY(-2px);
	box-shadow: var(--bd-shadow-md, 0 4px 12px rgba(15, 42, 67, 0.3)) !important;
}

.bd-share-copy {
	background: white !important;
	color: var(--bd-text) !important;
	border-color: var(--bd-border) !important;
}

.bd-share-copy:hover {
	background: var(--bd-surface-warm) !important;
	border-color: var(--bd-accent) !important;
}

.bd-share-copy.copied {
	background: #4CAF50 !important;
	color: white !important;
	border-color: #4CAF50 !important;
}

/* ============================================================================
	SIMILAR BUSINESSES
	========================================================================= */

.bd-similar-businesses {
	margin: 60px 0 40px;
	padding: 60px 40px;
	background: var(--bd-surface-warm);
	border-radius: var(--bd-radius-xl, 16px);
}

.bd-similar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.bd-similar-card {
	background: white;
	border-radius: var(--bd-radius-lg, 12px);
	overflow: hidden;
	box-shadow: var(--bd-shadow-sm, 0 2px 12px rgba(15, 42, 67, 0.08));
	transition: all var(--bd-transition-slow, 0.3s ease);
	border: 1px solid var(--bd-border);
}

.bd-similar-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bd-shadow-lg, 0 8px 24px rgba(15, 42, 67, 0.15));
}

.bd-similar-image {
	height: 180px;
	overflow: hidden;
	background: var(--bd-surface-warm);
}

.bd-similar-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--bd-transition-slow, 0.3s ease);
}

.bd-similar-card:hover .bd-similar-image img {
	transform: scale(1.05);
}

.bd-similar-content {
	padding: 20px;
}

.bd-similar-content h3 {
	font-family: var(--bd-font-heading);
	font-size: var(--bd-text-xl, 20px);
	margin: 0 0 12px 0;
}

.bd-similar-content h3 a {
	color: var(--bd-primary);
	text-decoration: none;
	transition: color var(--bd-transition-fast, 0.2s);
}

.bd-similar-content h3 a:hover {
	color: var(--bd-accent-dark);
}

.bd-similar-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.bd-rating-num {
	font-weight: var(--bd-font-bold, 700);
	color: var(--bd-accent-dark);
}

.bd-stars {
	display: flex;
	gap: 2px;
}

.bd-stars .filled {
	color: var(--bd-accent);
	font-size: var(--bd-text-base, 14px);
}

.bd-stars .empty {
	color: var(--bd-border);
	font-size: var(--bd-text-base, 14px);
}

.bd-review-text {
	font-size: var(--bd-text-sm, 13px);
	color: var(--bd-text-light);
}

.bd-similar-location {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: var(--bd-text-base, 14px);
	color: var(--bd-text-light);
	margin: 0 0 16px 0;
}

.bd-similar-location svg {
	color: var(--bd-accent);
}

.bd-similar-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--bd-primary);
	font-weight: var(--bd-font-semibold, 600);
	font-size: var(--bd-text-base, 14px);
	text-decoration: none;
	transition: all var(--bd-transition-fast, 0.2s);
}

.bd-similar-link:hover {
	color: var(--bd-accent-dark);
	gap: 10px;
}

/* ============================================================================
	PHOTO LIGHTBOX MODAL
	========================================================================= */

.bd-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px 20px;
	opacity: 0;
	transition: opacity var(--bd-transition-slow, 0.3s ease);
}

.bd-lightbox.active {
	opacity: 1;
}

.bd-lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.bd-lightbox-content img {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
	border-radius: var(--bd-radius-md, 8px);
	box-shadow: var(--bd-shadow-2xl, 0 20px 60px rgba(0, 0, 0, 0.5));
}

.bd-lightbox-close {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--bd-radius-full, 50%);
	color: white;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	transition: all var(--bd-transition-slow, 0.3s ease);
	z-index: 10001;
}

.bd-lightbox-close:hover {
	background: var(--bd-accent);
	border-color: var(--bd-accent);
	transform: rotate(90deg);
}

.bd-lightbox-prev,
.bd-lightbox-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--bd-radius-full, 50%);
	cursor: pointer;
	transition: all var(--bd-transition-slow, 0.3s ease);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10001;
}

.bd-lightbox-prev {
	left: 20px;
}

.bd-lightbox-next {
	right: 20px;
}

.bd-lightbox-prev:hover,
.bd-lightbox-next:hover {
	background: var(--bd-accent);
	border-color: var(--bd-accent);
	transform: translateY(-50%) scale(1.1);
}

.bd-lightbox-caption {
	margin-top: 20px;
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.bd-lightbox-caption span {
	color: white;
	font-size: var(--bd-text-base, 14px);
	font-weight: var(--bd-font-semibold, 600);
}

/* ============================================================================
	RESPONSIVE ENHANCEMENTS
	========================================================================= */

@media (max-width: 968px) {
	.bd-claim-cta-section {
		padding: 40px 24px;
	}

	.bd-claim-cta-card h3 {
		font-size: var(--bd-text-2xl, 28px);
	}

	.bd-video-grid {
		grid-template-columns: 1fr;
	}

	.bd-share-buttons {
		flex-direction: column;
	}

	.bd-share-btn {
		width: 100%;
		justify-content: center !important;
	}

	.bd-similar-grid {
		grid-template-columns: 1fr;
	}

	.bd-similar-businesses {
		padding: 40px 24px;
	}

	.bd-lightbox-prev {
		left: 10px;
		width: 50px;
		height: 50px;
	}

	.bd-lightbox-next {
		right: 10px;
		width: 50px;
		height: 50px;
	}
}


/* ============================================================================
	RESPONSIVE
	========================================================================= */


@media (max-width: 640px) {
	.bd-social-sharing {
		padding: 24px 20px;
	}

	.bd-section-title {
		font-size: var(--bd-text-2xl, 24px);
	}
}




@media (max-width: 768px) {
	.bd-business-detail-wrapper,
	.page-content {
		padding: 0 16px;
		margin: 20px auto;
	}

	.bd-business-detail-wrapper > h1:first-child,
	.bd-business-detail-wrapper h1.entry-title,
	.page-header h1.entry-title {
		font-size: var(--bd-text-3xl, 32px) !important;
	}

	.bd-reviews-section h2 {
		font-size: var(--bd-text-2xl, 28px) !important;
	}

	.bd-form {
		padding: 20px;
	}

	.bd-star-rating label {
		font-size: var(--bd-text-2xl, 28px) !important;
	}
	}

	.page-header h1.entry-title,
	.type-bd_business h1.entry-title {
		padding-right: 0 !important;
	}
}

/* ============================================================================
	MOBILE RESPONSIVE FIXES - Business Detail Page
	========================================================================= */

/* ============================================================================
	TABLET BREAKPOINT (968px)
	========================================================================= */
@media (max-width: 968px) {
	/* Hero section - stack layout */
	.bd-business-hero-content {
		flex-direction: column;
		padding: 0 24px;
		gap: 24px;
	}

	.bd-business-hero h1 {
		font-size: 42px !important;
	}

	.bd-business-hero-actions {
		flex-direction: row;
		flex-wrap: wrap;
		min-width: 0;
		width: 100%;
	}

	.bd-business-hero-actions .bd-btn {
		flex: 1;
		min-width: 140px;
	}

	/* Content wrapper */
	.bd-business-content-wrapper {
		padding: 0 24px 40px;
	}

	/* Business grid - stack sidebar below main */
	.bd-business-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	/* Sidebar no longer sticky on tablet */
	.bd-business-sidebar {
		position: relative;
		top: 0;
	}

	/* Info cards */
	.bd-info-card {
		padding: 24px;
	}

	.bd-info-card h2 {
		font-size: 26px;
	}

	.bd-info-card h3 {
		font-size: 20px;
	}

	/* Reviews section */
	.bd-reviews-section {
		padding: 40px 24px;
	}

	.bd-reviews-section h2 {
		font-size: var(--bd-text-2xl, 28px) !important;
	}
}

/* ============================================================================
	MOBILE BREAKPOINT (768px)
	========================================================================= */
@media (max-width: 768px) {
	/* Back button - inline instead of fixed */

	/* Hero section */
	.bd-business-hero {
		padding: 40px 0 40px;
		margin-bottom: 24px;
	}

	.bd-business-hero-content {
		padding: 0 16px;
	}

	.bd-business-hero h1 {
		font-size: var(--bd-text-3xl, 32px) !important;
		margin-bottom: 16px !important;
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.bd-business-meta {
		gap: 10px;
	}

	.bd-rating-badge {
		padding: 6px 12px;
	}

	.bd-rating-number {
		font-size: var(--bd-text-md, 16px);
	}

	.bd-rating-stars .filled,
	.bd-rating-stars .empty {
		font-size: var(--bd-text-base, 14px);
	}

	.bd-review-count {
		font-size: var(--bd-text-xs, 12px);
	}

	.bd-price-badge,
	.bd-category-badge {
		padding: 6px 12px;
		font-size: var(--bd-text-xs, 12px);
	}

	.bd-location-quick {
		font-size: var(--bd-text-base, 14px);
	}

	/* Hero buttons - full width stack */
	.bd-business-hero-actions {
		flex-direction: column;
		width: 100%;
	}

	.bd-business-hero-actions .bd-btn {
		width: 100%;
		padding: 12px 20px !important;
		font-size: var(--bd-text-base, 14px) !important;
	}

	/* Content wrapper */
	.bd-business-content-wrapper {
		padding: 0 16px 32px;
	}

	/* Info cards */
	.bd-info-card {
		padding: 20px;
		border-radius: var(--bd-radius-lg, 12px);
		margin-bottom: 16px;
	}

	.bd-info-card h2 {
		font-size: 22px;
		padding-bottom: 12px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.bd-info-card h3 {
		font-size: var(--bd-text-lg, 18px);
	}

	/* About section description */
	.bd-about-section .bd-description {
		font-size: 15px;
		line-height: 1.7;
	}

	/* Hours rows */
	.bd-hours-row {
		padding: 10px;
		font-size: var(--bd-text-base, 14px);
	}

	/* Contact items */
	.bd-contact-item {
		gap: 12px;
	}

	.bd-contact-item p {
		font-size: var(--bd-text-base, 14px);
	}

	/* Reviews section */
	.bd-reviews-section {
		padding: 32px 16px;
		margin-top: 32px;
		border-radius: var(--bd-radius-lg, 12px);
	}

	.bd-reviews-section h2 {
		font-size: var(--bd-text-2xl, 24px) !important;
	}

	.bd-reviews-section h3 {
		font-size: var(--bd-text-xl, 20px) !important;
	}

	/* Review form */
	.bd-form {
		padding: 20px;
		border-radius: var(--bd-radius-lg, 12px);
	}

	/* Similar businesses */
	.bd-similar-businesses {
		margin: 32px 0 24px;
		padding: 32px 16px;
		border-radius: var(--bd-radius-lg, 12px);
	}

	.bd-similar-grid {
		gap: 16px;
	}

	.bd-similar-content {
		padding: 16px;
	}

	.bd-similar-content h3 {
		font-size: var(--bd-text-lg, 18px);
	}

	/* Social sharing */
	.bd-social-sharing {
		padding: 20px 16px;
	}

	.bd-social-sharing h3 {
		font-size: var(--bd-text-lg, 18px);
	}

	/* Section titles */
	.bd-section-title {
		font-size: 22px;
	}
}

/* ============================================================================
	SMALL MOBILE BREAKPOINT (480px)
	========================================================================= */
@media (max-width: 480px) {
	/* Hero */
	.bd-business-hero {
		padding: 32px 0;
	}

	.bd-business-hero h1 {
		font-size: 26px !important;
		line-height: var(--bd-leading-tight, 1.2) !important;
	}

	.bd-business-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.bd-rating-badge {
		width: 100%;
		justify-content: flex-start;
	}

	/* Content wrapper */
	.bd-business-content-wrapper {
		padding: 0 12px 24px;
	}

	/* Info cards */
	.bd-info-card {
		padding: 16px;
	}

	.bd-info-card h2 {
		font-size: var(--bd-text-xl, 20px);
	}

	.bd-info-card h3 {
		font-size: var(--bd-text-md, 16px);
	}

	.bd-about-section .bd-description {
		font-size: var(--bd-text-base, 14px);
	}

	/* Photo gallery on very small screens */
	.bd-gallery-main {
		height: 200px;
	}

	.bd-gallery-grid {
		grid-template-rows: repeat(2, 100px);
	}

	.bd-gallery-more-overlay span {
		font-size: 22px;
	}

	/* Reviews */
	.bd-reviews-section {
		padding: 24px 12px;
	}

	.bd-reviews-section h2 {
		font-size: var(--bd-text-xl, 20px) !important;
	}

	.bd-rating-summary {
		padding: 12px 16px;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	/* Review cards */
	.bd-review-card {
		padding: 16px;
	}

	/* Form */
	.bd-form {
		padding: 16px;
	}

	.bd-star-rating label {
		font-size: var(--bd-text-2xl, 24px) !important;
	}

	/* Similar businesses */
	.bd-similar-businesses {
		padding: 24px 12px;
	}

	.bd-similar-image {
		height: 150px;
	}

	.bd-similar-content {
		padding: 12px;
	}

	.bd-similar-content h3 {
		font-size: var(--bd-text-md, 16px);
	}

	/* Lightbox */
	.bd-lightbox-prev,
	.bd-lightbox-next {
		width: 44px;
		height: 44px;
	}

	.bd-lightbox-close {
		width: 44px;
		height: 44px;
		font-size: var(--bd-text-2xl, 24px);
		top: 12px;
		right: 12px;
	}
}

/* ============================================================================
	PREVENT HORIZONTAL OVERFLOW (All breakpoints)
	========================================================================= */
body.single-bd_business {
	overflow-x: hidden;
}

.bd-business-hero,
.bd-business-content-wrapper,
.bd-reviews-section,
.bd-similar-businesses {
	max-width: 100vw;
	overflow-x: hidden;
}

/* Ensure long text wraps properly */
.bd-info-card h2,
.bd-info-card h3,
.bd-business-hero h1,
.bd-similar-content h3 {
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* ============================================================================
	ADDITIONAL MOBILE FIXES - Card overflow issues
	========================================================================= */

@media (max-width: 768px) {
	/* Fix reviews section decorative element pushing content */
	.bd-reviews-section::before {
		display: none;
	}

	.bd-reviews-section {
		margin-left: 0;
		margin-right: 0;
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Fix info cards that might have left borders */
	.bd-info-card {
		margin-left: 0;
		margin-right: 0;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}

	/* Fix rating summary left border */
	.bd-rating-summary {
		border-left-width: 3px;
		margin-left: 0;
		margin-right: 0;
	}

	/* Fix social sharing section */
	.bd-social-sharing {
		margin-left: 0;
		margin-right: 0;
		padding-left: 16px;
		padding-right: 16px;
	}

	.bd-share-buttons {
		gap: 12px;
	}

	.bd-share-btn {
		margin-left: 0;
		margin-right: 0;
	}

	/* Fix claim CTA section */
	.bd-claim-cta-section,
	.bd-claim-cta-card {
		margin-left: 0;
		margin-right: 0;
		padding-left: 16px;
		padding-right: 16px;
		box-sizing: border-box;
		max-width: 100%;
	}

	/* Fix hours card - ensure times don't overflow */
	.bd-hours-row {
		flex-wrap: nowrap;
	}

	.bd-time {
		text-align: right;
		white-space: nowrap;
	}

	/* Fix contact card */
	.bd-contact-card {
		margin-left: 0;
		margin-right: 0;
	}

	.bd-contact-item p {
		word-break: break-word;
	}

	/* Fix map preview */
	.bd-map-preview {
		margin-left: 0;
		margin-right: 0;
	}

	/* Fix similar businesses section */
	.bd-similar-businesses {
		margin-left: 0;
		margin-right: 0;
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Ensure all children of content wrapper respect bounds */
	.bd-business-content-wrapper > * {
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Fix form inputs */
	.bd-form input,
	.bd-form textarea,
	.bd-form select {
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Fix any absolute positioned decorations */
	.bd-reviews-section h2::after {
		max-width: 60px;
	}
}

@media (max-width: 480px) {
	/* Even tighter on small screens */
	.bd-reviews-section,
	.bd-social-sharing,
	.bd-similar-businesses,
	.bd-claim-cta-section {
		padding-left: 12px;
		padding-right: 12px;
	}

	.bd-info-card {
		padding-left: 12px;
		padding-right: 12px;
	}

	/* Hours - stack if needed */
	.bd-hours-row {
		font-size: var(--bd-text-sm, 13px);
	}

	.bd-day {
		min-width: 70px;
	}
}

/* Global fix - prevent ANY horizontal overflow */
@media (max-width: 768px) {
	.bd-business-content-wrapper,
	.bd-business-main,
	.bd-business-sidebar,
	.bd-business-grid {
		overflow-x: hidden;
		max-width: 100vw;
	}
}
