﻿/*下面是通用类*/
/*14px*/
.fs-7 {
    font-size: 0.875rem !important;
}
/*12px*/
.fs-8 {
    font-size: 0.75rem !important;
}

.w-95 {
    width: 95% !important;
}

.w-90 {
    width: 90% !important;
}

.w-85 {
    width: 85% !important;
}

.w-80 {
    width: 80% !important;
}

.w-70 {
    width: 70% !important;
}

.w-65 {
    width: 65% !important;
}

.w-60 {
    width: 60% !important;
}

.w-40 {
    width: 40% !important;
}

.w-35 {
    width: 35% !important;
}

.w-30 {
    width: 30% !important;
}

.w-20 {
    width: 20% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.one-line-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.two-line-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制为两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* 允许换行 */
}

/*下面是特殊类*/
.header {
    background: #f6f6f6;
}

.search .search-input:focus {
    outline: none;
    box-shadow: none;
}

.menu {
    /*background: #f6f6f6;*/
}

    .menu .product-types {
        /*background: #f0f0f0;*/
        position: relative;
    }

        .menu .product-types .product-type-icon {
            width: 1rem;
        }

        .menu .product-types .product-types-detail {
            position: absolute;
            bottom: 0;
            left: 0;
            height: auto;
            width: 100%;
            background: #fff;
            transform: translateY(100%);
            z-index: 99;
            /*overflow-x: visible;
            overflow-y: auto;*/
        }


            .menu .product-types .product-types-detail .item-details {
                position: absolute;
                top: 0;
                right: 0;
                transform: translateX(100%);
                background: #fff;
                width: 350%;
                height: 100%;
            }

.sub-product-type-arrow {
    width: .8rem;
}

.sub-product-type-icon {
    width: 1rem;
}

.pointer {
    cursor: pointer;
}

.sidebar-right {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 44px;
    min-height: 200px;
    border: 1px solid #eee;
    border-right: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    background:#fff;
}

    .sidebar-right a {
        text-decoration: none;
    }

    .sidebar-right .sidebar-item {
        width: 100%;
        height: 70px;
        cursor: pointer;
        color: #333;
        text-align: center;
        font-size: 12px;
        position:relative;
    }

        .sidebar-right .sidebar-item:hover {
            color: #fff !important;
            background: #f00;
        }

            .sidebar-right .sidebar-item:hover .sidebar-item-backtotop {
                color: #fff;
            }

        .sidebar-right .sidebar-item .sidebar-item-backtotop {
            color: #f00;
        }

        .sidebar-right .sidebar-item .sidebar-wechat-qrcode{
            position: absolute;
            left:0px;
            top:50%;
            transform: translate(-100%,-50%);
            width:250px;
            height:250px;
            background:#eee;
            border-radius:3px;
            display:flex;
            flex-direction:column;
            align-items:center;
            justify-content:center;
        }

            .sidebar-right .sidebar-item .sidebar-wechat-qrcode .sidebar-wechat-qrcode-img {
                width:240px;
            }
            .sidebar-right .sidebar-item .sidebar-wechat-qrcode .sidebar-wechat-qrcode-img img{
                width:100%;
                height:100%;
            }

            .sidebar-right .sidebar-item .sidebar-wechat-qrcode .sidebar-wechat-qrcode-tips{
                margin-top:5px;
                color:#000;
            }
