﻿:root {
	--primary-color: #3498db;
	--secondary-color: #2c3e50;
	--accent-color: #e74c3c;
	--education-color: #9b59b6;
	--medical-color: #1abc9c;
	--service-color: #f1c40f;
	--retail-color: #e67e22;
	--dining-color: #e74c3c;
	--light-bg: #f8f9fa;
	--dark-text: #2d3436;
	--light-text: #636e72;
	--shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}


/* 面包屑导航 */
.breadcrumb {
	background-color: var(--light-bg);
	padding: 15px 0;
	margin-bottom: 30px;
}

.breadcrumb-content {
	display: flex;
	align-items: center;
}

	.breadcrumb-content a {
		color: var(--light-text);
		text-decoration: none;
		transition: var(--transition);
		font-size: 14px;
	}

		.breadcrumb-content a:hover {
			color: var(--primary-color);
		}

	.breadcrumb-content span {
		margin: 0 10px;
		color: #b2bec3;
	}

	.breadcrumb-content .current {
		color: var(--education-color);
		font-weight: 500;
	}

/* 商家头部 */
.business-header {
	display: flex;
	margin-bottom: 30px;
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.business-image {
	width: 40%;
	min-height: 300px;
	background-image: url('@Url.Content("~/images/business-placeholder.png")');
	background-size: cover;
	background-position: center;
}

.business-info {
	padding: 30px;
	flex: 1;
}

.business-title {
	font-size: 28px;
	color: var(--secondary-color);
	margin-bottom: 10px;
}

.business-subtitle {
	color: var(--light-text);
	margin-bottom: 20px;
	font-size: 1.1rem;
}

.business-badge {
	display: inline-block;
	background: var(--education-color);
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 20px;
}

.business-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 25px;
}

.meta-item {
	display: flex;
	align-items: center;
}

	.meta-item i {
		color: var(--education-color);
		margin-right: 8px;
		font-size: 1.1rem;
	}

.rating {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.stars {
	color: var(--accent-color);
	margin-right: 10px;
	font-size: 1.2rem;
}

.rating-num {
	background: var(--primary-color);
	color: white;
	font-weight: bold;
	padding: 5px 10px;
	border-radius: 20px;
	margin-right: 10px;
}

.review-count {
	color: var(--light-text);
}

.business-actions {
	display: flex;
	gap: 15px;
	margin-top: 25px;
}

.action-btn {
	padding: 12px 25px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
}

	.action-btn i {
		margin-right: 8px;
	}

.btn-primary {
	background: var(--education-color);
	color: white;
}

	.btn-primary:hover {
		background: #8e44ad;
		transform: translateY(-2px);
	}

.btn-secondary {
	background: white;
	color: var(--education-color);
	border: 1px solid var(--education-color);
}

	.btn-secondary:hover {
		background: var(--light-bg);
		transform: translateY(-2px);
	}

/* 内容区域 */
.content-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 30px;
	margin-bottom: 50px;
}

/* 侧边栏 */
.sidebar {
	background: white;
	border-radius: 10px;
	padding: 25px;
	box-shadow: var(--shadow);
	margin-bottom: 30px;
}

.sidebar-title {
	color: var(--secondary-color);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--light-bg);
}

.contact-info {
	margin-bottom: 30px;
}

.contact-item {
/*	display: flex;*/
	margin-bottom: 15px;
}

	.contact-item i {
		color: var(--education-color);
		margin-right: 10px;
		font-size: 1.1rem;
		min-width: 20px;
	}

.business-hours {
	margin-bottom: 30px;
}

.hours-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--light-bg);
}

	.hours-item:last-child {
		border-bottom: none;
	}

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

.hours-time {
	color: var(--light-text);
}

.map-container {
	height: 200px;
	background: #eee;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--light-text);
}

/* 主内容区域 */
.main-content {
	background: white;
	border-radius: 10px;
	padding: 30px;
	box-shadow: var(--shadow);
	margin-bottom: 30px;
}

.section-title {
	color: var(--secondary-color);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--light-bg);
	font-size: 1.5rem;
}

.business-description {
	margin-bottom: 30px;
	line-height: 1.8;
}

/* 服务项目 */
.services {
	margin-bottom: 40px;
}

.service-item {
	display: flex;
	justify-content: space-between;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 15px;
	background: var(--light-bg);
	transition: var(--transition);
}

	.service-item:hover {
		background: #e9ecef;
	}

.service-info {
	flex: 1;
}

.service-name {
	font-weight: 600;
	margin-bottom: 5px;
	color: var(--secondary-color);
}

.service-desc {
	color: var(--light-text);
	font-size: 0.9rem;
}

.service-price {
	color: var(--education-color);
	font-weight: bold;
	font-size: 1.1rem;
	min-width: 100px;
	text-align: right;
}

/* 特色亮点 */
.features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.feature-item {
	display: flex;
	align-items: center;
	padding: 15px;
	background: var(--light-bg);
	border-radius: 8px;
}

.feature-icon {
	width: 50px;
	height: 50px;
	background: var(--education-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	color: white;
	font-size: 1.2rem;
}

.feature-text {
	font-weight: 500;
}

/* 用户评价 */
.reviews {
	margin-bottom: 40px;
}

.review-summary {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	padding: 20px;
	background: var(--light-bg);
	border-radius: 10px;
}

.overall-rating {
	text-align: center;
	margin-right: 30px;
	min-width: 120px;
}

.rating-score {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--education-color);
	line-height: 1;
}

.rating-total {
	color: var(--light-text);
	font-size: 0.9rem;
}

.rating-bars {
	flex: 1;
}

.rating-bar {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.rating-label {
	width: 80px;
	color: var(--light-text);
}

.rating-line {
	flex: 1;
	height: 8px;
	background: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
	margin: 0 10px;
}

.rating-fill {
	height: 100%;
	background: var(--education-color);
}

.rating-count {
	width: 40px;
	color: var(--light-text);
	text-align: right;
}

.review-list {
	margin-top: 30px;
}

.review-item {
	padding: 20px 0;
	border-bottom: 1px solid var(--light-bg);
}

	.review-item:last-child {
		border-bottom: none;
	}

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

.reviewer {
	display: flex;
	align-items: center;
}

.reviewer-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--education-color);
	margin-right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
}

.reviewer-name {
	font-weight: 500;
}

.review-date {
	color: var(--light-text);
	font-size: 0.9rem;
}

.review-content {
	color: var(--dark-text);
	line-height: 1.6;
}

.review-images {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.review-image {
	width: 80px;
	height: 80px;
	border-radius: 5px;
	background: #eee;
	background-size: cover;
	background-position: center;
}

/* 相关推荐 */
.related-businesses {
	margin-top: 50px;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.related-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	transition: var(--transition);
	box-shadow: var(--shadow);
}

	.related-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	}

.related-image {
	height: 150px;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
}

.related-content {
	padding: 15px;
}

.related-title {
	color: var(--secondary-color);
	margin-bottom: 5px;
	font-size: 1.1rem;
}

.related-desc {
	color: var(--light-text);
	font-size: 0.9rem;
	margin-bottom: 10px;
}

.related-rating {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.related-stars {
	color: var(--accent-color);
	margin-right: 5px;
	font-size: 0.9rem;
}

.related-price {
	color: var(--education-color);
	font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 992px) {
	.content-with-sidebar {
		grid-template-columns: 1fr;
	}

	.business-header {
		flex-direction: column;
	}

	.business-image {
		width: 100%;
		height: 250px;
	}

	.features {
		grid-template-columns: 1fr;
	}

	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.rating-summary {
		flex-direction: column;
		text-align: center;
	}

	.overall-rating {
		margin-right: 0;
		margin-bottom: 20px;
	}

	.review-images {
		flex-wrap: wrap;
	}
}

/* 侧边栏文章列表样式 */
/* 侧边栏通用样式 */
.sidebar-section {
	background: white;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 25px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
	color: var(--secondary-color);
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--light-bg);
	font-size: 1.1rem;
	display: flex;
	align-items: center;
}

	.sidebar-title i {
		margin-right: 10px;
		color: var(--education-color);
	}

.sidebar-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sidebar-item {
	display: flex;
	gap: 12px;
	border-radius: 6px;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

	.sidebar-item:hover {
		border-color: var(--education-color);
		background: rgba(155, 89, 182, 0.03);
	}

.sidebar-item-image {
	width: 70px;
	height: 70px;
	border-radius: 6px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
	position: relative;
}

.featured-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	background: var(--accent-color);
	color: white;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: 600;
}

.sidebar-item-content {
	flex: 1;
	min-width: 0;
}

.sidebar-item-title {
	margin: 0 0 8px 0;
	font-size: 0.95rem;
	line-height: 1.4;
	font-weight: 600;
}

	.sidebar-item-title a {
		color: var(--secondary-color);
		text-decoration: none;
		transition: color 0.3s ease;
	}

		.sidebar-item-title a:hover {
			color: var(--education-color);
		}

.sidebar-item-desc {
	margin: 0 0 10px 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--light-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sidebar-item-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8rem;
	color: var(--light-text);
}

	.sidebar-item-meta span {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.sidebar-item-meta i {
		font-size: 0.7rem;
	}

.sidebar-footer {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid var(--light-bg);
	text-align: center;
}

.sidebar-link {
	color: var(--education-color);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

	.sidebar-link:hover {
		color: var(--primary-color);
		text-decoration: underline;
	}

/* 响应式设计 */
@@media (max-width: 992px) {
	.sidebar-section {
		margin-bottom: 20px;
	}

	.sidebar-item {
		flex-direction: column;
		text-align: center;
	}

	.sidebar-item-image {
		width: 100%;
		height: 120px;
	}

	.sidebar-item-content {
		text-align: left;
	}
}

@@media (max-width: 768px) {
	.sidebar-section {
		padding: 15px;
	}

	.sidebar-list {
		gap: 12px;
	}

	.sidebar-item {
		padding: 10px;
	}

	.sidebar-item-title {
		font-size: 0.9rem;
	}

	.sidebar-item-desc {
		font-size: 0.8rem;
	}

	.sidebar-link {
		font-size: 0.85rem;
	}
}