body {
    color: #121212;
    font-size: 14px;
    font-family: Helvetica Neue,Segoe UI,Arial,PingFang SC,Noto Sans SC,Hiragino Sans GB,Microsoft YaHei,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    background-color: #F7F7F7;
}
.img-hide{ overflow:hidden; display: block; }

.img-hide img,.div-img{ transition: 0.5s all; transform: scale(1,1); }
.img-hide:hover img,.img-hide:hover .div-img{ transform: scale(1.05,1.05); }
.txt-elise{overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;}
.header li, .tab-pane li, .lb-ul li,.user-box li { list-style: none; }
a{ color: #333; }
ul{ padding:0; margin:0;}
a:hover,a{ text-decoration:none !important;}
a:focus{ text-decoration:none !important; outline: none !important;}
button:focus,button:hover,input:focus{ outline: none!important; }
p{ margin:0; }
img{max-width:100%;display: inline-block;vertical-align: middle;}
.slick-dots li button:before{ display: none; }
.header{ padding:0.65rem 0; background: #fff; }
.container{ max-width: 1280px; }
.logo{ line-height: 36px; }
.logo img{ width: 128px; }
.nav-list li{ float: left; margin-left: 20px; }
.nav-list li a{ display: block; font-size: .875rem; color: #333; border-radius: 6px; transition: 0.3s all;  font-weight: bold; padding: .5rem; }
.nav-list li a svg{     width: 1.125rem; margin-right: 5px; float: left; margin-top: 2px; }
.nav-list li.active a,.nav-list li a:hover{ background: #e5e7eb; }

.shop-row .col-8,.shop-row .col-4,.col-3{ padding:0 8px; }
.shop-row,.shop-row .row{ margin:0 -8px; }
.shop-left .col-4{ margin-bottom: 16px; }
.shop-left .col-4 a{ display: block; border-radius: 6px; overflow:hidden; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.nav-link{ line-height: 1.25rem; font-size: 1rem; padding-left: .75rem;
    padding-right: .75rem; padding-top: 1rem;
    padding-bottom: 1rem; border:none!important; margin-right: 17px; }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{ color: #1d4ed8; border-bottom: solid 2px #1d4ed8!important; background: none; }
.article-categories {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.article-categories .badge {
    font-size: 14px;
    padding: 8px 16px;
    margin-right: 10px;
    cursor: pointer;
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.article-categories .badge:hover,
.article-categories .badge.active {
    background-color: #343a40;
    color: #fff;
    border-color: #343a40;
}

.tabs-news {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

/* 加载提示器样式 */
#loadingIndicator {
    padding: 20px 0;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
}
.tabs-news a{ display: block; margin-bottom: 15px; overflow:hidden; background: #fff; }
.tabs-img {
    height: auto;
    width: 35%;
    padding: 7px;
    position: relative;
    overflow: hidden; /* 隐藏超出部分 */
}

.tabs-img::before {
    content: "";
    display: block;
    padding-top: calc(100% * (19 / 30)); /* 设置高度为宽度的 19/30 */
}

.tabs-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    transition: transform 0.3s ease;
}
.tabs-img img:hover {
    transform: translate(-50%, -50%) scale(1.05); /* 鼠标移动到图片上时，图片放大 */
}
.pinned img:hover {transform: scale(1.02);}
.pinned img{transition: transform 0.2s ease;}
.select img:hover {transform: scale(1.1);}
.select img{transition: transform 0.3s ease;}
.nav-tabs{ border:none; margin-bottom: 15px; }
.tabs-news-right{ width: 65%; transition: 0.3s all; padding: .75rem; }
.tabs-news-tt{ line-height: 1.25rem; font-weight: bold; font-size: 1.25rem; padding-top: 5px; }
.tabs-news-tt img{ margin-bottom: 3px; display: inline-block; width: 28px; }
.tabs-news-p{ overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; color: #666; font-size: .875rem; line-height: 1.25rem; margin-top: 1.25rem; }
.tabs-news-date{ margin-top: 2.75rem; color: #999; }
.tabs-news-date svg{margin-right: 3px; margin-bottom: 2px; }
.form-search{ position: relative; }
.form-search .form-control{ height: 44px; }
.btn-defeat{ position: absolute; right: 6px; top: 6px; border:solid 1px #ddd; padding:3px 10px; }
.user-img img{ width: 48px; margin-right: 12px; height: 48px; border-radius: 5px; }
.user-box{ background: #fff; padding:10px; border-radius: 6px;margin-bottom: 15px; }
.user-name{ font-weight: bold; font-size: 16px; color: #333; }
.user-txt{ font-size: .875rem;
    line-height: 1.25rem; color: #666; }
.link-a a{ float:left; border:solid 1px #eee; margin-left: 15px; border-radius: 50%; width: 42px; height: 42px; line-height: 40px; text-align: center; }
.ewm-box{ left: auto!important; right: 10px!important; margin-top: 10px; padding: .5rem; background: #fff; border:solid 1px #ddd; }
.ewm-box img{ width: 206px; max-width: 206px; }
.ewm-left img{ width: 128px; }
.wx-right{ margin-left: 130px; padding-top: 10px; }
.wx-tt{ font-size: 15px; color: #333; font-weight: bold; margin-top: 5px; }
.wx-p{ color: #999; font-size: 13px; }
.wx-p span{ display: inline-block; padding:0 8px; text-decoration: underline; color: #3b82f6; }
.wx-money{ color: #6c757d; font-weight: bold; font-size: 13px; }
.lb-box{ padding:20px; }
.ln-box-tt{ font-size: 16px; color: #333; font-weight: bold; }
.ln-box-tt img{ margin-right: 6px;margin-bottom: 2px; }
.lb-ul-tt{ font-size: 16px; color: #333; font-weight: bold; }
.lb-ul li{ margin-top: 20px; }
.lb-ul-date{ font-size: 13px; color: #999; margin-top: 5px; }
.lb-ul-date span{ float:right; background: url(../images/look.png) left center no-repeat; padding-left: 20px; }
.sc-txt{ font-size: 15px; color: #666; padding-top: 10px; font-weight: bold; }
.sc-txt span{ display: inline-block; font-weight: normal; border:solid 1px #ddd; margin:0 10px; border-radius: 4px; padding:0 10px; }
.link-b{ padding:10px; display: block; border-radius: 6px; background: rgba(255,255,255,0.8); margin-top: 17px; color: #60a8fa; font-weight: bold; }
.footer{ background: #fff; padding:20px 0; margin-top: 30px; }
.footer-p p{ line-height: 30px; color: #999; font-size: 12px; font-weight: bold; margin:0; }
.footer-p p a{ color: #999; font-weight: normal; }
.footer1{ background: #f7f7f7; padding:2px 0;}
.footer1-p p{ line-height: 30px; color: #999; font-size: 12px; font-weight: bold; margin:0; }
.footer1-p p a{ color: #999; font-weight: normal; }
.search-bottom{ width: 100%; margin-top: 15px; padding:125px 0; color: #999; font-weight: bold; font-size: 13px; }
.search-bottom img{ margin-bottom: 25px; }
.search-top{ display: none; }
.go-top{ display: none;right: 50px; bottom: 100px; z-index: 1000; color: #666; position: fixed; width: 44px; height: 44px; text-align: center; line-height: 42px; }
.go-top svg{ width: 1.5rem; }
.header-b{ left: auto!important; color: #999; font-size: 14px; transform: translate(0,0)!important; top: 100%!important; right: 0!important; margin-top: 15px; width: 328px; padding:5px 0; }
.header-b img{ width: 3rem;padding-top: 10px;padding-bottom: 10px; }
.header-c{ left: 22px!important; font-size: 16px; font-weight:450;transform: translate(0,0)!important; top: 100%!important; right: 0!important; width: 320px;}
 /*文章页样式*/
.body{background: linear-gradient(to bottom, #F7F7F7 6px, #FFFFFF 80px);}
.article-content {
            max-width: 790px;
            margin: 0 auto;
        }
.Post-Title{
    word-wrap: break-word;
    line-height: 1.22;
    margin: 24px 0;
    font-size: 1.925em;
    font-weight: 500;}
.avatar{
    position: relative;
    display: inline-block;
}
.avatar img{
        box-sizing: border-box;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    height: auto;
    background-color: #FFFFFF;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}
.avatar-name{
    margin-left: 7px;
    font-size: 16px;
    color: #444;
    font-weight: 600;
    position: relative;
    top: 3px;
}
.view{color: #8590a6;;
    float: left!important;
    align-items: center;
    font-size: 14px;
    margin-top: 10px;
    margin-left: 3px;
}
.view svg{
    width: 1.25rem;
    float: left;
}
.product-card {
    background-color: #f8f9fa !important;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
}
.follow{
    background-color: #056de8;
    min-width: 96px;
    border: 1px solid;
    font-size: 16px;
    line-height: 34px;
    padding: 0 17px;}
.follow-box{ margin-top: 10px; padding: .5rem; background: #fff; border:solid 1px #ddd; }
.follow-box img{ width: 206px; max-width: 206px; }
.follow-left img{ width: 128px; }
.releasetime{
    color: #8590a6;
    font-size: 15px;
    padding: 16px 0;
}
.mod-tags{
    margin-top: 10px;
    margin-bottom: 20px;
}
.mod-tags a {
    display: inline-block;
    white-space: nowrap;
    margin-right: 6px;
    padding: 3px 15px;
    line-height: 1.62;
    background-color: rgba(5,109,232,0.1);
    font-size: 14px;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    color: #056DE8;
}
.mod-tags a:hover {
    background-color: rgba(5,109,232,0.2);
}
.nas-tags a {
    display: inline-block;
    white-space: nowrap;
    margin-right: 6px;
    padding: 3px 15px;
    line-height: 1.69;
    background-color: rgba(156,156,156,0.1); /* Light Gray */
    font-size: 15px;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    color: #808080; /* Dark Gray */
}
.nas-tags a:hover {
    background-color: rgba(105,105,105,0.2); /* Slightly darker Gray */
}
blockquote {
    border-left: 3px solid rgba(0, 0, 0, 0.4);
}
#nice{
    font-size: 18px;
    padding: 0px 10px;
    line-height: 1.6;
    letter-spacing: 0px;
    word-break: break-word;
    overflow-wrap: break-word;
    font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, "PingFang SC", Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
#nice h3{font-size: 24px!important;}
#nice p{
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 1.6;
}
#jd{width: 80%;
    line-height: 1.6;
    font-size: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #E62828;
    white-space: inherit;
}
#nice h2{font-size: 24px!important;}
.padlr{padding-left: 15px!important;padding-right: 15px!important;}

.custom span{background-image: url("https://mao.fan/images/mac.svg")!important;}
 /*zoom样式*/
img[data-action="zoom"] {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
}
.zoom-img,
.zoom-img-wrap {
  position: relative;
  z-index: 666;
  -webkit-transition: all 300ms;
       -o-transition: all 300ms;
          transition: all 300ms;
}
img.zoom-img {
  cursor: pointer;
  cursor: -webkit-zoom-out;
  cursor: -moz-zoom-out;
}
.zoom-overlay {
  z-index: 420;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  filter: "alpha(opacity=0)";
  opacity: 0;
  -webkit-transition:      opacity 300ms;
       -o-transition:      opacity 300ms;
          transition:      opacity 300ms;
}
.zoom-overlay-open .zoom-overlay {
  filter: "alpha(opacity=100)";
  opacity: 1;
}
.zoom-overlay-open,
.zoom-overlay-transitioning {
  cursor: default;
}

 /*slick样式*/
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-tap-highlight-color: transparent
}

.slick-list {
    position: relative;
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0
}

.slick-list:focus {
    outline: 0
}

.slick-loading .slick-list {
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand
}

.slick-slider .slick-list, .slick-track, .slick-slide, .slick-slide img {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.slick-track {
    position: relative;
    left: 0;
    top: 0;
    display: block;
    zoom: 1
}

.slick-track:before, .slick-track:after {
    content: "";
    display: table
}

.slick-track:after {
    clear: both
}

.slick-loading .slick-track {
    visibility: hidden
}

.slick-slide {
    float: left;
    height: 100%;
    min-height: 1px;
    display: none
}

.slick-slide img {
    display: block
}

.slick-slide.slick-loading img {
    display: none
}

.slick-slide.dragging img {
    pointer-events: none
}

.slick-initialized .slick-slide {
    display: block
}

.slick-loading .slick-slide {
    visibility: hidden
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent
}

@font-face {
    font-weight: 400;
    font-style: normal
}

.slick-prev, .slick-next {
    position: absolute;
    display: block;
    height: 20px;
    width: 20px;
    line-height: 0;
    font-size: 0;
    cursor: pointer;
    background: 0 0;
    color: transparent;
    top: 50%;
    margin-top: -10px;
    padding: 0;
    border: 0;
    outline: 0
}

.slick-prev:focus, .slick-next:focus {
    outline: 0
}

.slick-prev.slick-disabled:before, .slick-next.slick-disabled:before {
    opacity: .25
}

.slick-prev:before, .slick-next:before {
    font-family: slick;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    opacity: .85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.slick-prev {
    left: -25px
}

.slick-prev:before {
    content: "\2190"
}

.slick-next {
    right: -25px
}

.slick-next:before {
    content: "\2192"
}

.slick-slider {
    margin-bottom: 30px
}

.slick-dots {
    position: absolute;
    bottom: -45px;
    list-style: none;
    display: block;
    text-align: center;
    padding: 0;
    width: 100%
}

.slick-dots li {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer
}

.slick-dots li button {
    border: 0;
    background: 0 0;
    display: block;
    height: 20px;
    width: 20px;
    outline: 0;
    line-height: 0;
    font-size: 0;
    color: transparent;
    padding: 5px;
    cursor: pointer;
    outline: 0
}

.slick-dots li button:focus {
    outline: 0
}

.slick-dots li button:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "\2022";
    width: 20px;
    height: 20px;
    font-family: slick;
    font-size: 6px;
    line-height: 20px;
    text-align: center;
    color: #000;
    opacity: .25;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.slick-dots li.slick-active button:before {
    opacity: .75
}

 /*品牌页样式*/
.brand-bg{
    height: 12rem;transition-duration: .3s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    --tw-bg-opacity: 1;
    background-color: #ffffff;
    border-radius: 0.375rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
    display: flex;
}
.brand{
    align-items: center;
    flex-direction: column;
    display: flex;
}
.brand-h3{
    font-size: 1.5rem;
    line-height: 1.75rem;
    margin-top: 1.05rem;
    font-weight: 600;
}
.brand-logo{
    text-align: center;
}
.brand-img{
    width: auto;max-height: 50px;display: inline-block;
}
.brand-font{
    margin-top: 1rem;color: rgb(107 114 128 / var(--tw-text-opacity));font-weight: 700;font-size: .75rem;line-height: 1rem;
}
.adjd{max-height: 180px; max-width: 180px;}
 /*选择品牌页样式*/
.xz-bj{padding: 0.75rem;background: #fff;border-radius: 0.25rem;}
.router-bj{
    border-radius: 0.2rem;
    display: block;
    width: auto;
    height: 12rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.jd{width: 96%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: #E62828;
    font-weight: 500}
.shaixuan{--tw-bg-opacity: 1;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    text-align: left;
    margin: 8px auto;
}
 /*路由器参数页样式*/
.cpy-4{padding-bottom: 1.25rem;padding-top: 1.25rem;}
.underline {border-bottom: 1px solid #e5e7ec;}
.question{color: #9CA3AF;margin-left: -5px;}
.question svg{margin-bottom: 2px;}
.no-border {border: none;background-color: #fff;font-size: .85rem;}
.text-diy{color: #2D2F33; font-weight: 500; line-height: 1.75rem;font-size: 1.25rem;}
.text-diy2 svg{margin-right: 6px;}
.text-lg{font-size: 1.25rem;line-height: 1.75rem;color: #6A717F;font-weight: 500;}
.fixed-width {width: 2568px;}
.text-diy2{color: #2D2F33;font-size: 1.2rem;font-weight: 450;}
.text-hightlight{color: #FBBF24;font-weight: 600;--tw-bg-opacity: 1;background-color: rgb(254 243 199 / var(--tw-bg-opacity));}
.be-tt{ font-size: 18px; color: #555; font-weight: bold; }
.col2{width: 428px;}
.invisible {visibility: hidden;} /*这是一个被隐藏的元素，但它仍然占用空间。*/
.-mr{margin-right: -1rem;}
.-ml{margin-left: -5rem;}
.fixed-container {position: fixed;display: flex;top: -200px;z-index: 9;transition: top 0.3s;}
.fixed-container2 {position: sticky;display: none;top: 0;z-index: 9;transition: top 0.3s;width: 100%;margin: 0 auto;}
.show {top: 0;}
.show2 {display: flex;}
.show3 {top: 0;}
.compare{max-width: 2568px; overflow-x: auto;justify-content: center;}
.text-black{font-weight: 500;}
.table td, .table th {border: 1px solid #666;}
.tabel-th {vertical-align: middle !important;border-bottom: 2px solid #374151 !important;}
.table-fixed {table-layout: fixed;}
.model-col {width: 200px;}
.table-text {font-weight: normal;}
.table-weight {font-weight: 500; font-size: 18px;}
.dropdown-menu {
    white-space: normal;
}
#carouselExampleIndicators {
    height: 400px;
}
.carousel-item img {
    height: 400px;
    object-fit: contain;
}

.carousel-control-prev-icon:after,
.carousel-control-next-icon:after {
    content: ' ';
    display: inline-block;
    border: solid #007bff;  /* 改变这里的颜色 */
    border-width: 0 3px 3px 0;
    padding: 3px;
}

.carousel-control-prev-icon:after {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.carousel-control-next-icon:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}


.carousel-indicators li {
    background-color: darkgray;
}
.page-link {
    border: none;
    background-color: transparent;
    color: #666;
}
.price-number {font-size: 20px;color:#E2231A;}
.price-table {font-size: 24px;color:#333; font-weight: 500;}
.price-symbol {font-size: 18px;vertical-align: middle;font-weight: 500;}
.price-buy {font-size: 24px;color:#6c757d; font-weight: 400;}
.buy-button {
    background-color: #E2231A; /* 京东红 */
    color: white;
    border: none;
    padding: 3px 6px;  /* 调整内边距来改变按钮大小 */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;  /* 调整字体大小 */
    margin: 4px 2px;
    cursor: pointer;
}
.buy-button:hover {
    color: white;
    background-color: #D91F0F;  /* 使背景色在鼠标悬停时变深 */
}
.yesorno {
        width: 38px;
        height: 38px;}
/*路由器选择页面样式*/
.btn-custom {
    background-color: #E5E7EB; /* 未选择时的颜色 */
    color: black; /* 未选择时的文字颜色 */
}

.btn-custom.active {
    background-color: #DBE9FD; !important; /* 选中后的颜色 */
    color: #2563EB !important; /* 选中后的文字颜色 */
}
.btn-custom input[type="radio"] {
    display: none;
}
.nav-pills .nav-link {
    padding: 6px 18px;  /* 调整这里的值来改变按钮的大小 */
    font-size: 16px;
}
 .nav-select{font-size: 14px!important;}
.delSvg {
    fill: rgb(200, 200, 200);
}

.delSvg:hover {
    fill: rgb(100, 100, 100);
    cursor: pointer;
}
.mySvg {
    transition: filter 0.2s;
}

.mySvg:hover {
    filter: brightness(0.85);
    cursor: pointer;
}
.btn-pre-copy {
    font-size: 22px !important;
    position: absolute;
    right: 30px;
    cursor: pointer;
    color: hsla(0, 0%, 54.9%, .8);
    transition: color .1s;}
.hljs {
    position: relative;  // 添加这行
}



.partitle{
    font-size: 1rem;
    color: #767676;
    line-height: 1.75rem;
}

.pardata{
    font-size: 1.075rem;
    color: #2D2F33;
    line-height: 1.75rem;
    font-weight: 500;
}
.pardata a img{
   margin-top: -7px;
}
.parimg{
    width: auto;
    height: 200px;
}

.tagvs{
    align-items: center;
    border: .01276rem solid #0000001a;
    border-radius: .50408rem;
    color:#0009;
    font-size: .975rem;
    display: flex;
    justify-content: center;
    padding: .35306rem .20408rem;
    white-space: nowrap;
    width: 160px;
}
.tagvsok{
    align-items: center;
    border: .01276rem solid #0000001a;
    border-radius: .50408rem;
    color:#28a745;
    font-size: .975rem;
    display: flex;
    justify-content: center;
    padding: .35306rem .20408rem;
    white-space: nowrap;
    width: 160px;
}
.tag-text{
    font-size: .975rem;
    font-weight: 400;
}
.brand-icon{
   width: auto;
    max-height: 50px;
    display: inline-block;
}
.card-body .all {
    background: #00000008;
    border-radius: 2.55102rem;
    color: #0009;
    font-size: 1rem;
    font-weight: 400;
    height: 2.5rem;
    line-height: 1.25rem;
    padding: 0 1.375rem;
    margin-top: 9px;
}
.brand-desc {
    color: #0006;
    font-size: .975rem;
    font-weight: 400;
    line-height: 1.6;
}
.text-brand {
    color: #2D2F33;
    font-weight: 500;
    line-height: 1.75rem;
    font-size: 1.25rem;}
.text-ghz{
    font-size: .8875rem;
    line-height: 1.25rem;
    color: #0009;
    margin-bottom: 10px;
    font-weight: 500;
}

/* 原有的样式放在此处 */

.router-card {
    max-width: 860px;
    margin: 0 auto;
    background-color: #EEEEEE;
}

.router-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.router-image {
    padding: 0.5rem;
}

.router-image img {
    max-height: 150px;
}

.router-title {
    text-align: left;
    font-size: 1.15rem;
    font-weight: 500;
}

.router-badges {
    text-align: left;
}

.router-price {
    padding-bottom: 1rem;
}

.price-value {
    font-size: 18px;
    color: #FF1A00;
}

.jd-logo {
    margin-bottom: 7px;
    margin-right: 3px;
    padding-left: 8px;
}

.price-amount {
    font-size: 26px;
}

.jd-icon {
    width: 36px;
    height: 36px;
}

.router-reason {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    text-align: left;
    max-width: 830px;
    margin: 0 auto;
}
.btn-custom input[type="checkbox"] {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.btn-custom.active {
    background-color: #e6f2ff;
    border-color: #007bff;
}
.ad-footer{font-size: 24px;}
.ad-footer a {color: #E53333; text-decoration: underline !important;}
#mainForm {margin: 0 auto;}
.search-results {
    width: 400px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.search-container {
    display: none;
}

.article-results, .router-results {
    margin-bottom: 15px;
}

.search-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-item:hover {
    background-color: #f8f9fa;
}

.router-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.router-item .add-compare {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    font-size: 12px;
}
.custom-link {
    color: orangered !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-thickness: 2px !important;
    font-weight: bold;
}

/* 下拉菜单样式 - 桌面端 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: none;
    width: 170px;
    padding: 8px 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 9998;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown .dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    font-size: 14px;
    border: none;
    background: none;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s;
}

.nav-dropdown .dropdown-item:hover {
    color: #333 !important;
    background-color: #f5f5f5;
    text-decoration: none;
}

@media( max-width: 1023px){
    .shop-row .col-8,.shop-right { max-width: 100%!important; width: 100%;flex: 0 0 100%; }
	.shop-right .dropdown, .user-box { display: none; }
    /* 搜索框内部样式 */
    .shop-right .form-search-wrapper .form-search {
        width: 100%;
    }
    /* 搜索结果下拉框样式 */
    .shop-right .form-search-wrapper .dropdown-menu {
        width: calc(100% - 30px) !important;
        left: 15px !important;
        right: 15px !important;
        margin-top: 5px;
    }
    .nav-list{ position: fixed; box-shadow: 0 0 10px rgba(0,0,0,0.1); display: flex; left: 0; right: 0; bottom: 0; z-index: 100; background: #fff; }
	.nav-list li a svg{ float:none; display: block; margin:0 auto; height: 1.5rem; width: 1.5rem; }
	.nav-list li.active a, .nav-list li a:hover{ background: none; color: #007BFF; }
	.nav-list li{ margin:0;flex: 1; text-align: center;  }
	.footer-p{ width: 100%; text-align: center; }
	.search-top{ display: block; margin-top: 15px; }
	.banner{ margin-top: 15px; }
	.search-bottom{ margin-top: 5px; width: auto!important; left: -1px!important; right: -1px!important; }
	.go-top{ bottom: 80px; right: 20px; }
    .fff{background-color: #ffffff;}
    .f7f7{background-color: #f7f7f7;width: 100% !important;margin-top: 0.75rem;}
    .compare{justify-content: left;}
    .show3 {top: -200px;}
    .col-6{padding-left: 0;padding-right: 0;}
    .model-col {width: 120px;}
    .wechat{display: none !important;}
    
    /* 下拉菜单平板端样式 - 和移动端一样处理 */
    .nav-dropdown::after {
        display: none;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: none; /* 平板端禁用hover */
    }
    
    .nav-dropdown .dropdown-menu {
        position: absolute;
        top: auto;
        bottom: 100%; /* 向上弹出 */
        left: 50%;
        transform: translateX(-50%);
        width: 220px;
        margin: 0 0 2px 0;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,.15);
        box-shadow: 0 -6px 12px rgba(0,0,0,.175); /* 向上的阴影 */
        border-radius: 6px;
        padding: 8px 0;
    }
    
    .nav-dropdown .dropdown-menu.show {
        display: block;
    }
    
    .nav-dropdown .dropdown-item {
        padding: 8px 16px;
        border-bottom: 1px solid #eee;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-dropdown .dropdown-item:last-child {
        border-bottom: none;
    }
    
    /* 平板端也需要桥接区域，在下方 */
    .nav-dropdown::before {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        height: 10px;
        background: transparent;
        z-index: 9998;
    }
}

@media( max-width: 767px){
    /* 移动端显示"查看更多"文字，但保持原来的浅色样式 */
    .badge.badge-light.d-none.d-md-inline {
        display: inline-block !important; /* 强制显示 */
        font-size: 12px !important; /* 调整字体大小适合移动端 */
        padding: 6px 10px !important; /* 调整内边距 */
        /* 移除背景色强制设置，保持原来的light样式 */
    }
    
    /* 移动端"路由器CPU性能天梯排行榜"按钮字体调整 */
    a[href*="socpk.html"].badge-dark {
        font-size: 12px !important; /* 调整字体大小 */
        padding: 6px 10px !important; /* 调整内边距 */
        white-space: nowrap; /* 防止文字换行 */
    }
    
    /* 移动端按钮容器调整 */
    .d-flex.justify-content-center.justify-content-md-end {
        flex-wrap: wrap; /* 允许换行 */
        gap: 5px; /* 添加间距 */
    }
}

/* 简洁友情链接样式 - 取消上方边框 */
.friendly-links-simple {
    background: #f8f9fa;
    padding: 15px 0;
    margin-top: 40px;
}

.friendly-links-simple .links-row {
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.friendly-links-simple .links-label {
    color: #333;
    font-weight: 500;
    margin-right: 8px;
}

.friendly-links-simple a {
    color: #666;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.friendly-links-simple a:hover {
    color: #007bff;
    text-decoration: none;
}

.friendly-links-simple a:not(:last-child)::after {
    content: '|';
    color: #ddd;
    margin-left: 8px;
}

/* 页脚样式 - 简化为两列布局 */
.site-footer {
    background: #e9ecef;
    color: #333;
    margin-top: 0;
    border-top: 1px solid #dee2e6;
}

.site-footer .footer-brand {
    display: flex;
    align-items: center;
}

.site-footer .brand-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.site-footer .footer-desc {
    color: #666;
    font-size: 14px;
}

/* 两列布局 */
.site-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.site-footer .footer-left {
    flex: 1;
}

.site-footer .footer-right {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.site-footer .footer-links {
    display: flex;
    gap: 20px;
}

.site-footer .footer-link {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.site-footer .footer-link:hover {
    color: #007bff;
    text-decoration: none;
}

.site-footer .footer-copyright-right {
    color: #666;
    text-align: right;
}

.site-footer .beian-link {
    color: #666;
    text-decoration: none;
    margin-left: 5px;
}

.site-footer .beian-link:hover {
    color: #007bff;
    text-decoration: none;
}

/* 移动端页脚优化 */
@media (max-width: 767px) {
    .site-footer .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .site-footer .footer-left {
        text-align: center;
    }
    
    .site-footer .footer-right {
        align-items: center;
        text-align: center;
        order: -1;
    }
    
    .site-footer .footer-links {
        justify-content: center;
        gap: 15px;
    }
    
    .site-footer .footer-links .footer-link {
        font-size: 13px;
    }
    
    .site-footer .footer-copyright-right {
        text-align: center;
    }
    
    .site-footer .beian-link {
        margin-left: 10px;
    }
}

/* 文章列表页面样式 */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.category-btn {
    padding: 8px 16px;
    background: #fff;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    text-decoration: none;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.pinned-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.article-content {
    padding: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.article-date {
    color: #999;
    font-size: 12px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-title a {
    color: #333;
    text-decoration: none;
}

.article-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.article-stats {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-articles {
    padding: 40px 20px;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }
    
    .category-filter {
        padding: 15px;
    }
    
    .category-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 15px;
    }

}

/* 简化的文章列表样式 */
.category-filter-simple {
    margin-bottom: 20px;
}

.article-list-simple {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.article-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background-color: #f8f9fa;
}

.article-title-simple {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.article-title-simple a {
    color: #333;
    text-decoration: none;
}

.article-title-simple a:hover {
    color: #007bff;
    text-decoration: none;
}

.article-meta-simple {
    color: #666;
}

.badge-sm {
    font-size: 0.75em;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .article-item {
        padding: 12px 15px;
    }
    
    .article-meta-simple {
        margin-top: 8px;
        text-align: left !important;
    }
}



