
.product-images img {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-top {
    border: 1px solid #ebebeb;
}

.gallery-thumbs .swiper-slide .thumbs-item {
    border: 1px solid #ebebeb;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active .thumbs-item {
    border: 1px solid #333;
}

.thumbs .control {
    position: absolute;
    z-index: 99;
    cursor: pointer;
}

.thumbs .control.gallery-swiper-prev {
    left: 0;
    top: calc(50% - 1rem);
    /*transform: translate(0, -50%);*/
}

.thumbs .control.gallery-swiper-next {
    right: 0;
    top: calc(50% - 1rem);
    /*transform: translate(0, -50%);*/
}

.product-info {
    color: #000;
    padding-left: 4em;
}

.product-info .title {
    font-size: 1.8em;
    line-height: 2em;
}

.product-info .price {
    font-size: 2em;
    color: #325ff3;
    font-weight: 800;
}

.product-info .price .unit {
    font-size: 0.6em;
    font-weight: normal;
}

.product-info .brand {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.product-info .tr-item {
    display: flex;
    padding: 0.5em 0;
    align-items: center;
    justify-content: space-between;
}

.product-info .tr-item .label {
    font-size: 1.2em;
}

.product-info .goods-spec .tr-item {
    display: block;
}

.product-info .goods-spec .label {
    margin-bottom: 0.5em;

}

.product-info .goods-spec .value .sku {
    width: 100%;
    font-size: 1em;
    border: 1px solid #e8e8e8;
    padding: 0.8em 1em;
}

.product-info .button .btn {
    display: flex;
    justify-content: center;
}

.product-info .button.no-stock {
    display: none;
}

.product-content {
    color: #000;
}

.product-content .tab {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e8e8e8;
}

.product-content .tab .item {
    padding: 1em 2em;
    font-size: 1.2em;
    position: relative;
    cursor: pointer;
}

.product-content .tab .active span:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #315ff3;
}

.product-content .content .item {
    display: none;
}

.product-content .content .item.active {
    display: block;
}

.recommend .head .swiper-control a:first-child {
    margin-right: 1em;
}

.recommend .head .swiper-control i {
    font-size: 2em;
}

.recommend img {
    width: 100%;
}

.recommend .product-item .product-name {
    font-size: 1.2em;
    line-height: 1.5em;
}

.recommend .product-item .btn {

}

@media (max-width: 768px) {
    .product-info {
        padding-left: unset;
    }

    .product-info .title {
        font-size: 18px;
        font-weight: bold;
    }

    .product-info .price {
        font-size: 18px;
    }

    .product-info .price .unit {
        font-size: 18px;
    }

    .product-info .brand {
        font-size: 16px;
        text-align: left;
    }

    .product-info .tr-item .label {
        font-size: 16px;
    }

    .product-info .goods-spec .value .sku {
        font-size: 16px;
        padding: 10px 12px;
    }

    .product-info .button-box {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 10px;
        box-sizing: border-box;
        background-color: #FFF;
        z-index: 99;
    }

    .product-info .button-box .mt-3,
    .product-info .button-box .mt-4 {
        margin: unset !important;
    }

    .product-info .button-box .btn {
        font-size: 16px;
        line-height: 36px;
    }

    .product-content .content {
        width: 100%;
    }

    .product-content .content img {
        width: 100% !important;
    }

    footer {
        padding-bottom: 70px !important;
    }

    footer .container {
        margin-bottom: 70px;
    }
}
