﻿
:root {
    --fs-xl-20: 20px;
    --fs-xl-lineheight: 32px;
    --fs-lg-18: 18px;
    --fs-lg-lineheight: 28px;
    --fs-md-16: 16px;
    --fs-md-lineheight: 24px;
    --fs-xs-14: 14px;
    --fs-xs-lineheight: 22px;
    --fs-xss-12: 12px;
    --fs-xss-lineheight: 20px
}

:root {
    --heading-color: #0D0E1D;
    --body-color: #0D0E1D;
    --accent-color: #63065f;
    --white-color: #ffffff;
    --dark-bg: #0D0E1D;
    --white-bg: #ffffff;
    --accent-bg: #EF7C1B;
    --light-bg1: #F5F5F5
}

*, ::after, ::before {
    box-sizing: inherit;
    margin: 0;
    padding: 0
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

html {
    box-sizing: border-box;
    height: 100%
}

body {
    height: 100% !important;
    color: var(--body-color);
    font-family: Afacad,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: baseline;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    background-color: var(--white-bg);
    counter-reset: my-sec-counter;
    font-size: 14px;
    line-height: 28px;
    min-width: 1440px;
}

/*body::-webkit-scrollbar {
        display: none
    }*/

/*自定义滚动条*/
.scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .scrollbar-hide::-webkit-scrollbar {
        display: none;
    }

.scrollbar-custom {
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 93, 255, 0.3) #F5F7FA;
}

    .scrollbar-custom::-webkit-scrollbar {
        width: 6px;
    }

    .scrollbar-custom::-webkit-scrollbar-track {
        background: #F5F7FA;
    }

    .scrollbar-custom::-webkit-scrollbar-thumb {
        background-color: rgba(22, 93, 255, 0.3);
        border-radius: 3px;
    }


@font-face {
    font-family: AliRegular;
    src: url("../fonts/AlibabaPuHuiTi-2-55-Regular/AlibabaPuHuiTi-2-55-Regular.woff") format("woff"), url("../fonts/AlibabaPuHuiTi-2-55-Regular/AlibabaPuHuiTi-2-55-Regular.woff") format("woff2");
}

@font-face {
    font-family: AliMedium;
    src: url("../fonts/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.woff") format("woff"), url("../fonts/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.woff") format("woff2");
}

* {
    font-family: AliMedium;
    padding: 0;
    margin: 0;
    outline: none;
}


a {
    text-decoration: none;
    transition: all .24s ease-in-out
}

    a, a:hover {
        color: var(--accent-bg);
    }

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e7e8;
    padding: 0;
    margin: 0
}

li, ol, ul {
    margin: 0;
    padding: 0;
    list-style: none
}

button {
    padding: 0;
    outline: 0;
    border: none;
    display: inline-block;
    background-color: transparent
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0
}

textarea {
    resize: vertical
}

.clearfix:after, .clearfix:before {
    content: " ";
    display: table
}

.clearfix:after {
    clear: both
}

::-moz-selection {
    background-color: #989ffd;
    color: #fff
}

::selection {
    background-color: #989ffd;
    color: #fff
}


[type=button]:active, [type=button]:focus, [type=button]:hover, [type=color]:active, [type=color]:focus, [type=color]:hover, [type=color]:invalid, [type=date]:active, [type=date]:focus, [type=date]:hover, [type=date]:invalid, [type=datetime-local]:active, [type=datetime-local]:focus, [type=datetime-local]:hover, [type=datetime-local]:invalid, [type=datetime]:active, [type=datetime]:focus, [type=datetime]:hover, [type=datetime]:invalid, [type=email]:active, [type=email]:focus, [type=email]:hover, [type=email]:invalid, [type=month]:active, [type=month]:focus, [type=month]:hover, [type=month]:invalid, [type=number]:active, [type=number]:focus, [type=number]:hover, [type=number]:invalid, [type=password]:active, [type=password]:focus, [type=password]:hover, [type=password]:invalid, [type=reset]:active, [type=reset]:focus, [type=reset]:hover, [type=search]:active, [type=search]:focus, [type=search]:hover, [type=search]:invalid, [type=submit]:active, [type=submit]:focus, [type=submit]:hover, [type=tel]:active, [type=tel]:focus, [type=tel]:hover, [type=tel]:invalid, [type=text]:active, [type=text]:focus, [type=text]:hover, [type=text]:invalid, [type=time]:active, [type=time]:focus, [type=time]:hover, [type=time]:invalid, [type=url]:active, [type=url]:focus, [type=url]:hover, [type=url]:invalid, [type=week]:active, [type=week]:focus, [type=week]:hover, [type=week]:invalid, button:active, button:focus, button:hover, input:not([type]):active, input:not([type]):focus, input:not([type]):hover, input:not([type]):invalid, textarea:active, textarea:focus, textarea:hover, textarea:invalid {
    outline: 0;
    box-shadow: none
}

[type=button]:active, [type=button]:focus, [type=button]:hover, [type=reset]:active, [type=reset]:focus, [type=reset]:hover, [type=submit]:active, [type=submit]:focus, [type=submit]:hover, button:active, button:focus, button:hover {
    cursor: pointer
}

.dark-bg {
    background-color: var(--dark-bg)
}

.bg-light1 {
    background-color: var(--light-bg1)
}

.bg-accent {
    background-color: var(--accent-bg)
}

.bg-white {
    background-color: var(--white-bg)
}


.icon-pt-new {
    background-image: url('../images/icon-new.png');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px; /* 根据背景图大小调整，确保文字不被覆盖 */
    color: #FF4C4C
}

.icon-pt-hot {
    background-image: url('../images/icon-hot.png');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px; /* 根据背景图大小调整，确保文字不被覆盖 */
    color: #FF4C4C
}

.content {
    /*width: 1226px;*/
    width: 1440px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 特大屏适配（1700px 及以上） */
/*@media (min-width: 1700px) {
    body {
        min-width: 1700px;
    }

    .content {
        width: 1540px;*/ /* 扩大容器宽度 */
/*margin: 0 auto;
        box-sizing: border-box;*/ /* 确保 padding 和 border 包含在宽度内 */
/*display: block;*/ /* 确保元素是块级元素 */
/*float: none;*/ /* 清除浮动 */
/*position: static;*/ /* 清除定位 */
/*}
}*/

/* 大屏适配（1440px 到 1699px） */
/*@media (min-width: 1440px) and (max-width: 1699px) {
    body {
        min-width: 1500px;
    }

    .content {
        width: 1260px;*/ /* 扩大容器宽度 */
/*margin: 0 auto;
        box-sizing: border-box;*/ /* 确保 padding 和 border 包含在宽度内 */
/*display: block;*/ /* 确保元素是块级元素 */
/*float: none;*/ /* 清除浮动 */
/*position: static;*/ /* 清除定位 */
/*}
}*/

/* 中屏适配（1300px 到 1439px） */
/*@media (min-width: 1300px) and (max-width: 1439px) {
    body {
        min-width: 1300px;
    }

    .content {
        width: 1220px;*/ /* 默认容器宽度 */
/*margin: 0 auto;
        box-sizing: border-box;*/ /* 确保 padding 和 border 包含在宽度内 */
/*display: block;*/ /* 确保元素是块级元素 */
/*float: none;*/ /* 清除浮动 */
/*position: static;*/ /* 清除定位 */
/*}
}*/

/* 小屏适配（小于 1300px） */
/*@media (max-width: 1299px) {
    body {
        min-width: 1140px;
    }

    .content {
        width: 1140px;*/ /* 缩小容器宽度 */
/*margin: 0 auto;
        box-sizing: border-box;*/ /* 确保 padding 和 border 包含在宽度内 */
/*display: block;*/ /* 确保元素是块级元素 */
/*float: none;*/ /* 清除浮动 */
/*position: static;*/ /* 清除定位 */
/*}
}*/

.grid-x {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.grid-y {
    display: flex;
    flex-flow: column nowrap;
}


.hidden {
    display: none;
}

.visible {
    visibility: visible;
}

/* 图片响应式 */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.input-check {
    position: relative;
    display: inline-block;
    line-height: 0;
    width: 15px;
    height: 15px;
}

    .input-check input {
        position: absolute;
        left: 0;
        top: 0;
        width: 18px;
        height: 18px;
        border: 0;
        opacity: 0;
    }

    .input-check i {
        display: block;
        width: 100%;
        height: 100%;
        background: #fff;
        border: 1px solid #aaa;
        border-radius: 3px;
    }

    .input-check input:checked ~ i {
        background: url(../images/checkbox3.png) center no-repeat #EF7C1B;
        background-size: cover;
        border-color: #EF7C1B;
    }


/** Table 表格样式 **/
.userTable {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
}

    .userTable th {
        border-collapse: collapse;
        padding: 5px 9px;
        font-size: 14px;
        font-weight: normal;
    }

    .userTable td {
        border-collapse: collapse;
        padding: 10px 10px;
        font-size: 14px;
        font-weight: normal;
        word-break: break-all;
    }

.w-ipt {
    line-height: 2;
    border: 1px solid #C4D2E4;
    padding-left: 9px;
    color: #333;
    width: 100%;
    min-width: 300px;
    height: 38px;
    font-size: 14px;
    border-radius: 5px;
}

.w-select {
    line-height: 2;
    border: 1px solid #C4D2E4;
    padding-left: 9px;
    color: #333;
    width: 300px;
    height: 38px;
    font-size: 14px;
    border-radius: 5px;
}

.w-button {
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    border-radius: 5px;
    padding: 0;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    border: none;
    background: linear-gradient(280deg, rgba(254, 116, 0, 1) 0%, rgba(255, 167, 93, 1) 100%);
}

.w-button, .w-linkicon:hover .txt {
    cursor: pointer;
}


i.np {
    position: absolute;
    font-size: 40px;
    color: #ff4800;
    top: 15px;
    left: 15px;
    background: url(../images/icon_npro.png) no-repeat;
    width: 41px;
    height: 21px;
    background-size: 100%;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /*Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

/*页码*/

.page {
    padding: 3em 0;
    text-align: center;
}

    .page em, .page b, .page a, .page strong {
        display: inline-block;
        padding: 0px 10px;
        text-align: center;
        margin: 0 6px;
        background: #f8f8f8;
        line-height: 30px;
        border-radius: 5px;
    }

    .page .first, .page .last, .page .next, .page .prev {
        background-color: #f8f8f8;
        font-style: normal;
    }

    .page em {
        color: #888;
    }

    .page b {
        background-color: var(--accent-bg);
        color: #fff;
    }

    .page strong {
        background-color: var(--accent-bg);
        color: #fff;
    }

    .page a:hover {
        background-color: var(--accent-bg);
        color: #fff;
    }

    .page select {
        border: solid 1px #eaeaea;
        height: 30px;
        border-radius: 5px;
        font-size: 12px;
        color: #333;
        padding: 0 5px;
    }





@media only screen and (max-width: 1500px) {
    .content {
        width: 1180px;
        margin: 0 auto;
    }

    .header .header-foot .nav-info .nav-link-item {
        padding: 30px 10px 29px 10px !important;
    }

    .divprolist .wrapper {
        max-height: 418px !important;
        overflow-y: scroll !important;
    }

    #index_swiper1 .swiper-slide {
        height: 465px !important;
    }

    .headMenu {
        margin: 15px 0px !important;
    }

    .warp-content {
        width: 1164px !important;
    }

    .newprowarp {
        width: 1164px !important;
    }

    .comm-banner .headcontent .headbanner {
        height: 270px !important;
    }

    .options .option {
        min-width: 120px !important;
        padding: 8px 20px !important;
    }

    .list-item .icons {
        width: 100% !important;
    }

    .product-banner .headcontent .typename {
        left: 50px !important;
    }

    .group .group-box .master {
        width: 130px !important;
        margin-right: 40px !important;
    }

        .group .group-box .master::before, .group .group-box .master::after {
            content: '';
            position: absolute;
            display: block;
            right: -30px !important;
            top: 70px !important;
            width: 18px;
            height: 2px;
            background: #333;
        }

    .group .group-box .item .img {
        width: 130px !important;
        height: 130px !important;
    }

    .group .group-box .list .list-cont .item {
        width: 130px !important;
    }

    .group .group-box .list {
        width: 700px !important;
    }

    .group .group-buy {
        width: 180px !important;
    }

    .news-container .news-info p {
        -webkit-line-clamp: 4 !important;
    }

    .loginMain .leftbg {
        width: 200px !important;
    }

    .loginMain .lefttxt {
        left: 360px !important;
    }

        .loginMain .lefttxt h2 {
            font-size: 24px !important;
        }

        .loginMain .lefttxt p {
            font-size: 16px !important;
        }

    .order-main .order-warp .proinfo .proleft .proname {
        width: 260px !important;
    }

    .m-orderList-head .leftSide {
        width: 50% !important;
    }

    .m-orderList-head .rightSide {
        width: 45% !important;
    }

    .item-basic-info .info-title {
        width: 260px !important;
    }

    .m-coll12 .addressItem {
        width: 46% !important;
    }

    .m-stepItem .m-detail .date {
        width: 200px !important;
    }

    .m-stepItem .m-detail .progress {
        width: auto !important;
    }

    .cart .cart-table .cart-table-body .row .col.col-goods .text {
        width: 350px !important;
    }

    /*.cart .cart-table .row .col.col-goods {
        width: 460px !important;
    }

    .cart .cart-table .row .col.col-price {
        width: 170px !important;
    }

    .cart .cart-table .row .col.col-num {
        width: 180px !important;
    }

    .cart .cart-table .row .col.col-subtotal {
        width: 140px !important;
    }

    .cart .cart-table .row .col.col-opt {
        width: 120px !important;
    }

    .order-info .row .col.col-goods {
        width: 440px !important;
    }

    .order-info .row .col.col-parmas {
        width: 200px !important;
    }

    .order-info .row .col.col-num {
        width: 100px !important;
    }

    .order-info .row .col.col-price {
        width: 170px !important;
    }*/

    .order-info .order-info-body .row .col.col-goods .text {
        width: 400px !important;
    }

    .m-privilege .m-privilege-warp li img {
        margin: 0 !important;
    }

    .note-item {
        width: calc(50% - 20px) !important;
        margin: 10px !important;
    }

    .m-payItemsInfo .line1 .amount {
        width: 160px !important;
    }

    .userall {
        height: 600px !important;
    }

    .about-section3 {
        height: 400px !important;
    }

    .headul ul li {
        padding-right: 0px !important;
    }

    .journal-name {
        font-size: 20px !important;
    }
}

@media only screen and (max-width: 1280px) {
    .content {
        padding: 0 40px;
    }

    body {
        min-width: 1276px;
    }
}
