﻿.product-detail-info .nav-item .nav-link.active {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

#productTabContent img {
    width: 100% !important;
}

.product-title {
    line-height: 2rem;
}

/*轮播图+放大镜开始*/
.product-detail-image .bg {
    width: 96%;
    /*height: 540px;*/
    margin: 0 auto;
    /*padding: 20px;*/
    border: 1px solid #E8E8E8;
    /*overflow: hidden;*/
    /*min-width: 500px;*/
    box-sizing: border-box;
    background: #fff;
    position: relative;
}

.bg_left {
    /*width: 430px;*/
    width: 100%;
    height: auto;
    /*float: left*/
}

.bg_right {
    /*float: left*/
    display:none;
    width:100%;
    height:100%;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
}

.pshow {
    /* width: 430px;
    height: 430px;*/
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    border: 1px solid #E8E8E8;
    cursor: move
}

    .pshow img {
        /* width: 430px;
        height: 430px;*/
        width: 100%;
        height: 100%;
    }

.mask {
    width: 215px;
    height: 215px;
    background: #000;
    filter: opacity(50);
    opacity: 0.5;
    /*filter: Alpha(opacity=50);*/
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.bigshow {
    /*width: 430px;
    height: 430px;*/
    width:100%;
    height:100%;
    overflow: hidden;
    /*margin-left: 10px;*/
    display: none;
    border: 1px solid #E8E8E8;
    background-color:#fff;
}

    .bigshow img {
        width: 860px;
        height: 860px;
        margin-right: 10px;
    }

.smallshow {
    width: 100%;
    height: 70px;
    position: relative
}

    .smallshow img {
        width: 100%;
        border: 1px solid #e8e8e8;
        box-sizing: border-box;
        transition: all 0.5s
    }

    .smallshow > .middle_box {
        margin-left: 30px;
        margin-right: 30px;
        width: 370px;
        /*width:300px;*/
        overflow: hidden;
        height: 70px;
    }

    .smallshow .middle {
        overflow: hidden;
        transition: all 0.5s;
        height: 70px;
        list-style: none;
    }

        .smallshow .middle > li {
            width: 64px;
            height: 64px;
            float: left;
            cursor: pointer;
            padding: 0 5px;
        }

    .smallshow > p {
        position: absolute;
        top: 50%;
        width: 22px;
        height: 32px;
        margin-top: -16px;
    }

    .smallshow > .prev {
        left: 0;
        background: url(/images/hover-prev.png) no-repeat;
        transition: all 0.5s
    }

    .smallshow > .next {
        right: 0;
        background: url(/images/hover-next.png) no-repeat;
        transition: all 0.5s
    }

    .smallshow > .prev.prevnone {
        left: 0;
        background: url(/images/prev.png) no-repeat;
        cursor: not-allowed
    }

    .smallshow > .next.nextnone {
        right: 0;
        background: url(/images/next.png) no-repeat;
        cursor: not-allowed
    }
/*轮播图+放大镜结束*/

.justified-text {
    text-align: justify;
    text-align-last: left;
}

.product-detail-model-info{
    height:2.5rem;
    overflow:hidden;
}

.product-detail-model-image{
    width:2rem;
}

.add-cart-number{
    width:6.25rem;
}

.product-good-type-tag {
    padding: 3px 5px;
}