.header-box {
    width: 1170px;
    height: 132px;
    margin: 0 auto;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 1px 0 #ececec;
    margin-top: 32px;
    background: #fff;
}

.top-fixed {
    position: sticky;
    top: 70px;
    background: #fff;
    z-index: 110;
}

.header-box .header-box-title {
    font-family: 'OPPOSans-Ver2-Medium';
    font-size: 28px;
    line-height: 36px;
    color: rgba(0, 0, 0, 0.55);
    padding-top: 48px;
    transition: width cubic-bezier(0.48, 0.04, 0.52, 0.96) .32s;
}

.header-box .header-box-list li {
    display: inline-block;
    height: 132px;
    align-items: center;
    margin-right: 10px;
    transition: all cubic-bezier(0.48, 0.04, 0.52, 0.96) .32s;
}

.header-box .header-box-list li a {
    position: relative;
    display: block;
    width: 90px;
    height: 100%;
    text-align: center;
    transition: width cubic-bezier(0.48, 0.04, 0.52, 0.96) .32s;
}

.header-box .header-box-list li a:hover {
    text-decoration: none;
}

.header-box .header-box-list li .img-box {
    padding: 16px 0 2px;
}

.header-box .header-box-list li .img-box img {
    width: 68px;
    margin: 0 auto;
    transition: width cubic-bezier(0.48, 0.04, 0.52, 0.96) .32s;
}

.header-box .header-box-list li a:hover::after, .header-box .header-box-list li a.active::after {
    content: '';
    position: absolute;
    width: 68px;
    height: 2px;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #2cff73;
}

.header-box .header-box-list li p {
    font-size: 15px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.55);
    transition: width cubic-bezier(0.48, 0.04, 0.52, 0.96) .32s;
}

.header-box .header-box-list li a:hover p, .header-box .header-box-list li a.active p {
    color: rgba(0, 0, 0, 0.95);
}

.ads-box {
    /*margin-top: 105px;*/
    display: block;
}

.ads-box img {
    max-width: 100%;
}

.product-box {
    width: 1170px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 0;
    background: #fff;
    margin-bottom: 0;
}

.product-box > div {
    padding: 0;
    box-sizing: border-box;
}

.product-box > .img-box > img {
    width: 100%;
}

.product-info h1 {
    font-size: 30px;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* .product-box .info{
    background: #FAFAFA;
    border-top: 5px solid #F0F0F0;
    margin-top: 20px;
}
.product-box .info > div{
    padding: 0 15px;
    height: 50px;
    line-height: 50px;
}
.product-box .info span{
    vertical-align: middle;
}
.product-box .price-txt{
    font-size: 18px;
}
.product-box .info .price{
    font-size: 26px;
    color: red;
    font-weight: bold;
}
.product-box .info .old-price{
    font-size: 14px;
    text-decoration:line-through;
}
.product-box .info .sale-txt{
    background: #FFEBE9;
    border-radius: 10px;
    padding: 3px 12px;
    font-size: 12px;
    color: red;
}
.type{
    margin-top: 20px;
    padding: 0 10px;
}
.type > .type-txt{
    font-size: 16px;
    color: #B3B3B3;
}
.type-info{
    border: 1px solid #E2E2E2;
    padding: 5px 12px;
    border-radius: 6px;
}
.buy-btn-box{
    margin-top:50px;
}
.buy-btn-box button{
    background: #FFEBE9;
    border: 1px solid red;
    height: 40px;
    line-height: 40px;
    color: red;
    width: 200px;
    border-radius: 8px;
    font-size: 22px;
} */
.zoom-container {
    position: absolute;
    top: 0;
    left: 103%;
    width: 400px;
    height: 400px;
    overflow: hidden;
    display: none;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 999;
}

#zoomedImage {
    position: absolute;
    max-width: none;
    width: 1000px;
    height: 1000px;
}

#mainImage {
    cursor: move;
    height: 580px;
    width: 580px;
}

.hover-box {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(0, 123, 255, 0.5);
    background-color: rgba(0, 123, 255, 0.2);
    pointer-events: none;
    display: none;
    z-index: 999;
}

.product-info .time-shows-box {
    height: 40px;
    line-height: 40px
}

.product-info .sub-title {
    color: #f34141;
    font-size: 16px;
    line-height: 20px;
}

.product-info ul {
    min-height: 407px;
    overflow: hidden;
}

.product-info ul li {
    height: auto;
    line-height: 37px;
    font-size: 18px;
    margin-left: 0;
}

.product-info .price {
    color: red;
    font-size: 28px;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
}

.product-info .price:hover {
    opacity: 0.8;
    text-decoration: none;
}

.product-info .price .getPrice {
    border-radius: 35px;
    text-align: center;
    margin-left: 8px;
    background: #f34141;
    font-size: 18px;
    color: #fff;
    padding: 5px 20px;
    opacity: .96;
}

.product-attr-img {
    width: 100%;
    display: flex;
    overflow: hidden;
}

.product-attr-img img {
    width: 54px;
    height: 54px;
    float: left;
    margin-right: 10px;
}

.product-attr-img img:hover {
    transform: scale(0.9);
    transition: all .5s;
}

.color-list-box .color-item {
    width: 25%;
    float: left;
    padding-right: 10px;
    margin-bottom: 10px;
}

.color-list-box .color-item div {
    border: 1px solid #c7c7c7;
    box-sizing: border-box;
    text-align: center;
    padding: 6px 0;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
}

.color-list-box .color-item div:hover {
    color: #f34141;
}

.color-list-box .active div {
    border: 1px solid #f34141;
    color: #f34141;
}

.color-box {
    margin-top: 10px;
}

.color-box .attr-name {
    height: 40px;
    line-height: 40px;
}

.color-image-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-image-container img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-left: 20px;
}

.color-item.active .color-image-container img {
    border-color: #e1251b;
}

.color-image-container span {
    font-size: 14px;
}

.detail-title-box {
    border-bottom: 1px solid #c7c7c7;
    margin-top: 50px;
    height: 28px;
}

.detail-title-box > div, .detail-title-box > a {
    /* flex:1; */
    text-align: center;
    height: 27px;
    line-height: 27px;
    cursor: pointer;
    font-size: 15px;
    background: #F7F7F7;
    float: left;
    margin-left: 50px;
    padding: 0 20px;
}

.detail-title-box > div.current {
    background: #fff;
    height: 28px;
    border-left: 1px solid #c7c7c7;
    border-top: 1px solid #c7c7c7;
    border-right: 1px solid #c7c7c7;
}

#detail {
    text-align: center;
    padding: 50px;
}

#trait p, #detail p {
    font-size: 18px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5列 */
    gap: 5px;
    margin: 0;
    padding: 0;
}
.grid-layout p {
    display: contents;
}

.grid-layout > p img {
    background-color: #4d4d4d;
    width: 200px !important;
    height: auto;
    display: block;
}

/* 第一张图片占据左上角4格（2行2列） */
.grid-layout > p > img:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    width: 415px !important;
    height: 415px !important;
}

/* 第一行的剩余3张图片 */
.grid-layout > p > img:nth-child(2) {
    grid-column: 3 / span 1;
    grid-row: 1 / span 1;
}
.grid-layout > p > img:nth-child(3) {
    grid-column: 4 / span 1;
    grid-row: 1 / span 1;
}
.grid-layout > p > img:nth-child(4) {
    grid-column: 5 / span 1;
    grid-row: 1 / span 1;
}
/* 第二行的剩余3张图片 */
.grid-layout > p > img:nth-child(5) {
    margin-top: 6px;
    grid-column: 3 / span 1;
    grid-row: 2 / span 1;
}
.grid-layout > p > img:nth-child(6) {
    margin-top: 6px;
    grid-column: 4 / span 1;
    grid-row: 2 / span 1;
}
.grid-layout > p > img:nth-child(7) {
    margin-top: 6px;
    grid-column: 5 / span 1;
    grid-row: 2 / span 1;
}

/* 从第三行开始正常排列 */
.grid-layout > p > img:nth-child(n+8) {
    margin-top: 10px;
    grid-column: auto;
    grid-row: auto;
}

/* 确保第一张大图的内容正确显示 */
.grid-layout > p > img:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#detail img {
    max-width: 100%;
}
.card-img-top {
    height: 180px;
    object-fit: cover;
}
.card-body {
    padding: 0.75rem;
}
#specifications {
    display: none;
    padding: 20px;
    /*margin-top:20px;*/
    box-sizing: border-box;
}

#specifications table {
    width: 100%;
    /*border: 1px solid #3b3b3b;*/

}

#specifications table tr td {
    height: 50px;
    /*line-height: 50px;*/
    text-align: left;
    padding-left: 10px;
    /*border-bottom: 1px solid #3b3b3b;*/
    /*border-right: 1px solid #3b3b3b;*/
    font-size: 14px;
}

#specifications table tr td span {
    line-height: 25px;
}

#specifications table tr td:first-child {
    width: 130px;
}

#specifications table tr:nth-child(odd) {
    background: #F5F5F5;
}

#download {
    display: none;
    /*padding-bottom: 50px;*/
    padding: 30px;
}

#download select {
    width: auto;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    border: 1px solid #ccc;
    outline: 0;
}

#download table {
    width: 100%;
    margin-top: 10px;
}

#download table tr {
    border-bottom: 1px solid #ccc;
}

#download table tr > th {
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
}

#download table tr > td {
    font-size: 14px;
    padding: 10px 10px;
}

#download .download-url {
    color: #00a971
}

#buy {
    padding: 20px;
    display: none;
}

#buy table {
    width: 100%;
}

#buy table td {
    padding: 10px 10px;
    font-size: 14px;
}

#buy table tr:nth-child(odd) {
    background: #F5F5F5;
}

#buy table td div {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    font-weight: bold;
}

#buy table td a {
    background: #00a971;
    color: #fff;
    display: block;
    width: 80px;
    text-align: center;
}

#buy table td a:hover {
    opacity: 0.8;
}

.service-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    line-height: 40px;
}

.service-title .tip-txt {
    font-size: 12px;
}

.service-title .tip-txt span {
    color: rgb(0, 122, 255);
}

.sub-imgs-box {
    /* padding: 0 100px; */
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 20px;
}

.sub-imgs-box > img {
    width: 13.5%;
    flex: 1;
    border: 1px solid #C1CCD3;
    margin-right: 3px;
    max-width: 90px;
}

.sub-imgs-box > img:first-child {
    border: 1px solid red;
}

.product-box .product-info {
    padding-left: 20px;
}

.tedian-title-box {
    border-bottom: 1px solid #00a971;
    margin-bottom: 10px;
}

.tedian-title-box > div {
    width: 120px;
    height: 30px;
    line-height: 30px;
    background: #00a971;
    color: #fff;
    text-align: center;
}

.addBtnBox {
    display: flex;
    align-items: center;
}

.addBtnBox .numsbtn {
    width: 40px;
    height: 40px;
    background: #f7f8fa;
    color: #000;
    line-height: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
}

.addBtnBox .numsbox {
    width: 43px;
    height: 40px;
    border: 0;
    text-align: center;
    outline: none;
}

.buyOrAddBtns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.buyOrAddBtns > div.btn-main {
    flex: 1;
    width: 50%;
}

.buyOrAddBtns > div button {
    width: 100%;
}

#trait {
    padding: 50px;
}

#compatibles {
    padding: 20px;
}

#compatibles table {
    width: 100%;
}

#compatibles table tr {
    height: 50px;
    line-height: 50px;
}

#compatibles table tr td, #compatibles table tr th {
    padding: 0 5px;
    font-size: 14px;
}

#compatibles table tr:nth-child(odd) {
    background: #F5F5F5;
}

.product-attr-img {
    margin-top: 10px;
}

#compatibles {
    padding: 20px 0 0 0;
}

.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    box-shadow: none;
}

#rate > ul > li {
    padding: 20px 0;
}

#rate .head-box {
    display: flex;
    align-items: center;
}

#rate .head-box > img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
}

#rate .head-box > .head-info {
    font-size: 14px;
    color: #7a7a7a
}

#rate .head-box > .head-info .username {
    font-weight: bold;
    color: #000;
}

#rate .content {
    padding: 10px 0;
    font-size: 15px;
}

#rate .imgs {
    /*margin-top: 10px;*/
}

#rate .imgs img {
    height: 100px;
    border-radius: 4px;
    cursor: pointer;
}

#rate .showImgBox {
    display: none;
    margin-top: 10px;
}

#rate .showImgBox img {
    max-width: 50%;
    border-radius: 4px;
}

.curImg {
    border: 1px solid red;
    padding: 3px;
    box-sizing: border-box;
}

#rate .nohastip {
    text-align: center;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
}

.ask-price-box {
    padding: 10px;
    display: flex;
    justify-content: start;
    padding-right: 0;
    padding-left: 0;
}

.ask-price-box a {
    display: flex;
    align-items: center;
}

#feature {
    padding: 20px;
    border: 1px dashed #ccc;
    margin: 20px 0;
}

.feature-title {
    color: #d9534f;
    font-size: 22px;
    line-height: 26px;
    text-align: left;
    margin-bottom: 10px;
}

.feature-box {
    /*margin-bottom: 20px;*/
}

.feature-box .f-item {
    display: flex;
    align-items: center;
}

.feature-box .f-item .icon {
    width: 8px;
    height: 8px;
    margin-right: 10px;
}

.feature-box .f-item .data {
    font-size: 16px;
    line-height: 30px;
}

#baozhang-zizhi-box {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

#baozhang-zizhi-box .dropdown-menu {
    width: 500px;
    padding: 15px;
}

#baozhang-zizhi-box .dropdown-menu div {
    line-height: 30px;
}

@media only screen and (max-width: 1260px) {
    #break-box {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        border: 0;
    }

    #break-box div {
        border-bottom: 1px solid #B7B7B7;
        height: 40px;
        line-height: 40px;
    }

    .ads-box {
        margin-top: 0;
    }

    .product-box {
        width: 100%;
        padding: 10px;
        padding-bottom: 30px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .product-info ul li {
        margin-left: 0;
    }

    #detail {
        padding: 10px;
        text-align: left;
    }

    .detail-title-box > div {
        margin-left: 5px;
        padding: 0 5px;
    }

    #specifications {
        padding: 0;
        margin-top: 10px;
    }

    #download {
        padding: 10px 0 0 0;
        overflow: auto;
    }

    #download table {
        table-layout: fixed;
        width: 750px;
    }

    #driveList .system-title {
        width: 160px;
    }

    #driveList .drive-name {
        width: 180px;
    }

    #buy {
        overflow: auto;
        padding: 10px 0;
    }

    #buy table {
        table-layout: fixed;
    }

    #buy .buy-content {
        width: 500px;
    }
}
