.city-selector {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e5e5e5;
    margin-top: 20px;
}

.city-btn {
    padding: 4px 12px;
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    text-decoration: none;
}

.city-btn:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    color: #ccc;
}

.city-btn:hover,
.city-btn.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* 缃戠偣缃戞牸 */
.network-section {
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.network-section > div:first-child {
    max-width: 1200px;
    margin: 0 auto;
}

.network-main {
    flex: 1;
}

.network-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 鍙充晶鏍� */
.network-sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

.sidebar-section {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
}
.netbox{display: flex; align-content: space-between; gap: 50px; max-width: 1200px; margin: 50px auto;} 

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.icon-circle {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.new-badge {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.8;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 12px 15px;
    border-bottom: 1px dashed #e5e5e5;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.3s ease;
  
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
}
.news-list li span{
     font-size: 12px;
      white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 68px;
}

.news-list li a:hover {
    color: var(--primary-color);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

.category-tag {
    padding: 6px 16px;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* 缁翠慨鏈嶅姟鍒楄〃 */
.repair-services {
    padding: 0;
}

.repair-services .sidebar-title {
    border-radius: 0;
    background-color: var(--primary-color);
}

.service-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    padding: 12px 15px;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    text-align: left;
}

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

.service-item:hover {
    background-color: #e8e8e8;
    color: var(--primary-color);
}

.service-item.main {
    background-color: var(--primary-color);
    color: #ffffff;
}

.service-item.main:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.net-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 25px;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.net-card:last-child {
    border-bottom: none;
}

.net-card:hover {
    background-color: #fafafa;
}

/* 鏍囬鍖哄煙 */
.network-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.network-header h3 {
    font-size: 20px;
    font-weight:normal;
    color: var(--primary-color);
    margin: 0;
padding-left: 20px;
}

.network-header h3 a {

    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.network-header h3 a:hover {
    color: var(--primary-color);
}

/* 鏍囩 */
.network-tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 3px;
}

.tag.official {
    background-color: #e8e8e8;
    color: #666;
}

.tag.warranty {
    background-color: #f5f0e8;
    color: #8b7355;
}

.tag.original {
    background-color: #fff8e8;
    color: #c49800;
}

/* 鍐呭鍖哄煙锛堝浘鐗�+鏂囧瓧锛� */
.network-content {
    display: flex;
    gap: 25px;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 4px;
}

.network-image1 {
    width: 220px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.network-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.net-card:hover .network-image img {
    transform: scale(1.03);
}

.network-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.network-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag.original {
    background-color: #fff8e8;
    color: #c49800;
}

.network-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.network-info h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.network-info h3 a:hover {
    color: var(--primary-color);
}

.network-info .address {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.6;
}

.network-info .phone {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.network-info .hours {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.network-info .features {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.network-detail-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
    width: fit-content;
}

.network-detail-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}




/* 鍝嶅簲寮忚璁� */
@media (max-width: 1024px) {
      .network-section {
        padding: 40px 15px;
    }

    /* 涓ゆ爮甯冨眬鏀逛负涓€鏍� */
    .netbox {
        flex-direction: column;
        gap: 25px;
    }

    .network-sidebar {
        width: 100%;
        order: 2;
    }

    .network-main {
        order: 1;
    }

    .network-content {
        flex-direction: column;
        gap: 15px;
    }

    .network-image {
        width: 100%;
        height: 200px;
    }

    .net-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    

    .network-section {
        padding: 30px 10px;
    }

    .city-selector {
        gap: 6px;
        flex-wrap: wrap;
    }

    .city-btn {
        padding: 4px 10px;
        font-size: 12px;
    }

    .net-card {
        padding: 15px;
    }

    .network-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .network-header h3 {
        font-size: 15px;
    }

    .network-tags {
        gap: 5px;
    }

    .network-content {
        flex-direction: column;
        gap: 12px;
    }

    /* .network-image {
        width: 100%;
        height: 160px;
    } */

    .network-info p {
        font-size: 13px;
    }

   
}

@media (max-width: 480px) {
  
    .network-image {
        height: 140px;
    }

    .network-tags {
        display: none;
    }

    .network-info p {
        font-size: 12px;
        line-height: 1.5;
    }

   
}