* {
    /*margin: 0;*/
    /*padding: 0;*/
    /*box-sizing: border-box;*/
    font-family: "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f8f9fa;
    color: #333;
}

.container,.friend-link-wrapper {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    padding: 15px 10px;
    gap: 15px;
}

.wrap-left {
    width: 230px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}
.h5-head-logo,.footer-contact-bar{
    display: none;
}

.wrap-left:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.swiper-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.swiper-right-top {
    background: #fff;
    /*border-radius: 8px;*/
    padding: 9px;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);*/
}

.swiper-right-content {
    /*background: #fff;*/
    /*border-radius: 8px;*/
    /* padding: 20px 15px; */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);*/
}

/* 顶部导航 */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    /* padding: 12px 16px; */
    /* background: #fff; */
    /* border-radius: 10px; */
    /* box-shadow: 0 1px 8px rgba(0,0,0,0.04); */
}

.top-left-group {
    display: flex;
    align-items: center;
    gap: 8px; /* 控制首页和城市切换的紧贴距离，数值越小越近 */
}

/* 首页文字 */
.top-home {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    /*transition: color 0.2s;*/
}
.top-home:hover {
    color: #d92121;
}

/* 切换城市模块（紧贴首页右侧） */
.city-switch {
    /*padding: 6px 10px;*/
    /*background: #fff0f0;*/
    border-radius: 4px;
    padding: 4px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
}
.city-switch:hover {
    color: #d92121;
}
.city-switch a {
    text-decoration: none;
    /*color: #333;*/
}
.city-switch a span {
    color: #333;
}

.city-switch .city-name {
    display: block;
    font-size: 17px;
    /*color: #d92121;*/
    font-weight: 600;
}
.city-switch .switch-tip {
    display: block;
    font-size: 13px;
    /*color: #666;*/
}

.nav-article a {
    display: inline-block;
    background: #e53935;
    color: #fff;
    padding: 4px 10px;
    margin: 2px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-article a:hover {
    background: #d32f2f;
    box-shadow: 0 2px 4px rgba(229, 57, 53, 0.2);
}

.auth-links a {
    margin-left: 15px;
    background: #e53935;
    color: #fff;
    padding: 4px 10px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #333;
}

/* 顶部广告轮播 */
.top-ads-swiper {
    width: 100%;
    height: 120px !important;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
}

.top-ads-swiper .swiper-slide {
    height: 80px;
}

.top-ads-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.top-ads-swiper .swiper-slide {
    width: 300px !important;
    height: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-ads-swiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

.top-ads-swiper .swiper-button-prev,
.top-ads-swiper .swiper-button-next {
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    width: auto !important;
    height: auto !important;
}

.top-ads-swiper .swiper-button-prev::after,
.top-ads-swiper .swiper-button-next::after {
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
}

.top-ads-swiper .swiper-button-prev {
    left: 10px !important;
}
.top-ads-swiper .swiper-button-next {
    right: 10px !important;
}

/* 分类 */
.category-box {
    width: 100%;
}

.first-category {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 8px 0;
    margin-top:20px;
}
.first-category .item {
    color: #007bff;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
}
/* 一级选中样式 */
.first-category .item.active {
    background: #f5f5f5;
    font-weight: bold;
}

/* 第二排：二级分类 */
.second-category {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}
/* 二级分类：黑色 */
.second-category .item {
    color: #333;
    font-size: 15px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
}
.second-category .item:hover {
    background: #f8f8f8;
}

/* 二级分组默认隐藏 */
.second-group {
    display: none;
}
/* 显示当前选中的二级 */
.second-group.active {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 左侧广告轮播 */
.sidebar-ad-swiper {
    height: 630px;
    margin-bottom: 10px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-ad-swiper .swiper-slide {
    /*border: 2px solid #e0e0e0;*/
    /*background: #f9fdf0;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #0088cc;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: upright;
    transition: border-color 0.3s ease;
}

.sidebar-ad-swiper .swiper-slide:hover {
    border-color: #0088cc;
}

.sidebar-ad-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.sidebar-qrcode {
    text-align: center;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

.sidebar-qrcode img {
    width: 120px;
    height: 120px;
    background: #fff;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-qrcode p {
    font-size: 13px;
    margin-top: 6px;
    color: #666;
    line-height: 1.5;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.business-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
    padding-left: 10px;
    padding-right: 10px;
    background: #f4ffdb;
    /* border-radius: 8px; */
    cursor: pointer;
    transition: all 0.3s ease;
    /*height: 120px;*/
    padding-bottom: 10px;
}

.business-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.img-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-shrink: 0;
}

.vip-tag {
    background: #e53935;
    color: #fff;
    font-size: 12px;
    padding: 2px 17px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-start;
}

.vip-green-tag {
    background: #10b910;
    color: #fff;
    font-size: 12px;
    padding: 2px 17px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-start;
}

.business-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}
.business-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-tag {
    background: #f5f5f5;
    color: #333;
    font-size: 12px;
    padding: 2px 6px;
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.business-name {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #333;
    font-size: 17px;
}

.business-service {
    font-size: 14px;
    color: #025402;
    font-weight: 560;
    margin-bottom: 6px;
    line-height: 1.4;
}

.business-phone {
    font-size: 19px;
    color: #9c27b0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 服务项目标签样式 */
.business-service {
    margin-bottom: 8px;
}

.project-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.project-tag {
    display: inline-block;
    /*padding: 3px 10px;*/
    /*background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);*/
    /*color: #fff;*/
    font-size: 14px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    /*box-shadow: 0 2px 4px rgba(238, 90, 111, 0.2);*/
}

/*.project-tag:hover {*/
/*    transform: translateY(-1px);*/
/*    box-shadow: 0 3px 8px rgba(238, 90, 111, 0.35);*/
/*}*/

/* 备注 */
.notes-section {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    align-items: flex-start
}

.notes-title {
    color: #e53935;
    font-size: 36px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-shadow: 0 2px 4px rgba(229, 57, 53, 0.1);
}

.notes-list {
    flex: 1;
    font-size: 16px;
    line-height: 2;
    color: #555;
}

/************************    友情链接    ***************************************/
.friend-link-wrapper {
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.friend-link-row {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.fl-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.fl-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    color: #666;
    text-decoration: none;
}

.fl-item:hover {
    color: #0066cc;
    text-decoration: underline;
}

/************************    详情    ***************************************/
.swiper-right-content {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    /* background: #fff; */
    /* padding: 30px; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); */
    margin-top:50px;
}

/* 头部信息区域 - 浅绿色背景 */
.detail-header {
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* 企业LOGO */
.company-logo {
    width: 180px;
    height: 180px;
    border: 2px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 企业基本信息 */
.company-info {
    flex: 1;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-tag {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
}

.info-item {
    display: flex;
    /*margin-bottom: 8px;*/
    font-size: 16px;
    line-height: 1.6;
}

.info-label {
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
}

.info-value a {
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.code-image-section {
    margin-bottom: 30px;
}

.code-image-section .header-right {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: start;
}

.code-image-bth {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.code-image-bth div {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.code-image-bth img{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.images-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.images-section .header-left,
.images-section .header-right {
    flex: 1;
    align-items: center;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.code-image-item {
    width: 150px;
    height: 150px;
    border: 2px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-urls-item {
    width: 260px;
    height: 260px;
    border: 2px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.image-item img:hover {
    transform: scale(1.05);
}

/* 服务项目标签样式 */
.project-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.project-tag-item {
    display: inline-block;
    padding: 2px 12px;
    /*background: linear-gradient(135deg, #85ff6b 0%, #85ff6b 100%);*/
     color: red;
    font-size: 16px;
    /* border-radius: 20px; */
    font-weight: 600;
    transition: all 0.3s ease;
    /*box-shadow: 0 2px 6px rgba(238, 90, 111, 0.2);*/
}

/*.project-tag-item:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 4px 10px rgba(238, 90, 111, 0.4);*/
/*    background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);*/
/*}*/

/* 企业简介区域 */
.detail-summary {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.summary-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.summary-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    text-indent: 2em;
    text-align: justify;
    white-space: pre-wrap;
}
