* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	color: #1d3557;
	background: #f8f9fa;
	line-height: 1.6;
}
a {
	text-decoration: none;
	color: inherit;
	transition: all .3s ease;
}
a:hover {
	color: #e63946;
}
.container-xl {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}
.top-bar {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
	padding: 12px 0;
}
.top-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}
.logo {
	font-size: 22px;
	font-weight: 700;
	color: #e63946!important;
	display: flex;
	align-items: center;
	white-space: nowrap;
}
.logo i {
	font-size: 24px;
	margin-right: 8px;
}
.nav-search-wrap {
	flex: 1;
	max-width: 580px;
}
.nav-search-tabs {
	display: flex;
	gap: 10px;
	border-bottom: 0;
	margin-bottom: 5px;
}
.nav-search-tab {
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 500;
	color: #666;
	cursor: pointer;
	border-radius: 4px;
	background: #f5f5f5;
}
.nav-search-tab.active {
	color: #fff;
	background: #e63946;
}
.nav-search-tab:hover {
	color: #fff;
	background: #e63946;
}
.nav-search-pane {
	display: none;
}
.nav-search-pane.active {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nav-search-input {
	height: 34px;
	border-radius: 6px;
	border: 1px solid #ddd;
	padding: 0 10px;
	font-size: 12px;
	flex: 1;
}
.nav-search-input:focus {
	border-color: #e63946;
	outline: none;
}
.nav-search-btn {
	height: 34px;
	padding: 0 12px;
	background: #e63946;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}
.nav-search-btn:hover {
	background: #c72c3a;
}
.nav-bar {
	background: #e63946;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
	padding: 15px 0;
}
.nav-menu {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: nowrap;
}
.nav-menu li {
	margin: 0 20px;
}
.nav-link {
	font-size: 16px;
	font-weight: 600;
	color: #fff!important;
	position: relative;
	padding: 4px 0;
	white-space: nowrap;
}
.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #fff;
	transition: width .3s;
}
.nav-link:hover::after, .nav-link.active::after {
	width: 100%;
}
.btn-login, .btn-register {
	padding: 6px 14px;
	border-radius: 6px;
	font-weight: 500;
	transition: all .3s;
	text-decoration: none;
	font-size: 12px;
}
.btn-login {
	background: transparent;
	border: 1px solid #e63946;
	color: #e63946;
	margin-right: 8px;
}
.btn-login:hover {
	background: #e63946;
	color: #fff;
}
.btn-register {
	background: #e63946;
	border: 1px solid #e63946;
	color: #fff;
}
.btn-register:hover {
	background: #c72c3a;
}
.avatar-sm {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 6px;
}
.search-bar {
	display: none;
}
.search-tabs {
	display: none;
}
.tab-content {
	display: none;
}

/* ====================== 主内容区布局：左7右3 ====================== */
.main-content {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}
.left-col {
    flex: 0 0 70%;
}
.right-col {
    flex: 0 0 30%;
}

.result-header {
	margin: 0 0 15px;
	font-size: 20px;
	font-weight: bold;
	color: #d92121;
}
.result-count {
	font-size: 14px;
	color: #666;
	margin-bottom: 15px;
}
.line-item {
	background: #fff;
	border-radius: 4px;
	margin-bottom: 15px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.line-title {
	padding: 12px 15px;
	background: #fff;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.line-title h3 {
	font-size: 20px;
	font-weight: bold;
	color: #d92121;
	margin: 0;
}
.direct-btn {
	padding: 6px 16px;
	background: #0088cc;
	color: #fff;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
}
.direct-btn:hover {
	background: #0077b3;
	color: #fff;
}
.merchant-card {
	padding: 15px;
	display: flex;
	gap: 15px;
	align-items: flex-start;
	border-bottom: 1px solid #f0f0f0;
}
.merchant-card:last-child {
	border-bottom: none;
}
.merchant-img {
	width: 140px;
	height: 105px;
	object-fit: cover;
	border-radius: 4px;
}
.merchant-img-placeholder {
	width: 140px;
	height: 105px;
	background: #f5f5f5;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 24px;
}
.merchant-info {
	flex: 1;
}
.merchant-name {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}
.verified-icon {
	width: 18px;
	height: 18px;
	background: #00b42a;
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 6px;
}
.cate-tag {
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #fff;
	margin-left: 8px;
}
.cate-tag-1 {
	background: #999;
}
.cate-tag-2 {
	background: #409eff;
}
.cate-tag-3 {
	background: #e6a23c;
}
.cate-tag-4 {
	background: #f56c6c;
}
.promote-tag1 {
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #fff;
	margin-left: 8px;
	background: linear-gradient(135deg, #ff3333, #cc0000);
}
.promote-tag {
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #fff;
	margin-left: 8px;
	background: linear-gradient(135deg, #ff7a00, #ff5000);
}
.merchant-phone {
	font-size: 15px;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.phone-view {
	padding: 2px 8px;
	background: #0088cc;
	color: #fff;
	border-radius: 3px;
	font-size: 12px;
	cursor: pointer;
	transition: all .2s;
}
.phone-view:hover {
	background: #0077b3;
}
.phone-view.active {
	background: #00b42a;
	pointer-events: none;
}
.merchant-address {
	font-size: 14px;
	color: #666;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.merchant-service {
	font-size: 14px;
	color: #0088cc;
	display: flex;
	align-items: center;
	gap: 6px;
}
.merchant-item {
	background: #fff;
	border-radius: 4px;
	margin-bottom: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	display: flex;
	align-items: center;
	padding: 15px;
}
.merchant-item-img {
	width: 180px;
	height: 130px;
	object-fit: cover;
	border-radius: 4px;
	margin-right: 15px;
}
.merchant-item-placeholder {
	width: 180px;
	height: 130px;
	background: #f5f5f5;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 28px;
	margin-right: 15px;
}
.merchant-item-info {
	flex: 1;
}
.merchant-item-name {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
}
.merchant-item-branch {
	font-size: 15px;
	color: #666;
	margin-bottom: 8px;
}
.merchant-item-phone {
	font-size: 15px;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.merchant-item-address {
	font-size: 14px;
	color: #666;
	display: flex;
	align-items: center;
	gap: 6px;
}
.merchant-item-tag {
	padding: 4px 12px;
	background: #f90;
	color: #fff;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
}
.empty-result {
	text-align: center;
	padding: 60px 20px;
	color: #999;
}
.empty-result i {
	font-size: 48px;
	margin-bottom: 15px;
}
.empty-result p {
	font-size: 16px;
	margin-bottom: 10px;
}
.empty-result a {
	color: #d92121;
}
.loading {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin .8s linear infinite;
}
 @keyframes spin {
to {
transform:rotate(360deg);
}
}
.more-box {
	text-align: center;
	margin: 20px 0;
}
.more-btn {
	padding: 8px 30px;
	background: #fff;
	border: 1px solid #d92121;
	color: #d92121;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all .2s;
}
.more-btn:hover {
	background: #d92121;
	color: #fff;
}
.more-btn:disabled {
	background: #eee;
	border-color: #ddd;
	color: #999;
	cursor: not-allowed;
}

/* ====================== 右侧侧边栏样式 ====================== */
.sidebar-box {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    margin-bottom: 20px;
    overflow: hidden;
}
.sidebar-title {
    background: #e63946;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-list {
    padding: 10px 15px;
}
.sidebar-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-item:last-child {
    border-bottom: none;
}
.sidebar-item-img {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.sidebar-item-info {
    flex: 1;
    min-width: 0;
}
.sidebar-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-item-desc {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.sidebar-news-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-news-item:last-child {
    border-bottom: none;
}
.sidebar-news-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-news-time {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.more-link {
    text-align: right;
    padding: 8px 15px;
    font-size: 12px;
    color: #e63946;
    border-top: 1px solid #f0f0f0;
}

.footer {
	background: #333;
	color: #fff;
	padding: 30px 0;
	margin-top: 40px;
	text-align: center;
	font-size: 14px;
}
 @media(max-width:992px) {
.nav-search-wrap {
	display: none;
}
.main-content {
    flex-direction: column;
}
.left-col, .right-col {
    flex: 0 0 100%;
}
}
 @media(max-width:768px) {
.top-bar-inner {
	flex-direction: column;
	gap: 10px;
}
}