﻿.products-box{
    width: 100%;
    display: block;
    position: relative;
    margin-top: 100px;
    min-height: calc(100vh - 100px);
}
.products-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding: 70px 0;
}
.products-menu-box{
    width: calc(100% - 1020px);
    display: inline-block;
    vertical-align: top;
}
.products-menu{
    margin-bottom: 25px;
}
.products-menu:last-child{
    margin-bottom: 0;
}
.rwd-products-class-box{
    display: none;
}
.products-menu-title{
    font-size: 16px;
    font-weight: bold;
    color: #25262d;
    position: relative;
    letter-spacing: 1px;
    display: inline-block;
    transition: all .3s linear;
}
.products-menu-title:after{
    content: '';
    display: block;
    width: 0%;
    height: 1px;
    background-color: #004ea2;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s linear;
}
.products-path-box{
    box-sizing: border-box;
    padding: 20px 10px;
    margin-top: 10px;
}
.products-path{
    display: inline-block;
    font-size: 20px;
    letter-spacing: 1px;
    color: #888888;
    position: relative;
    margin-left: 30px;
    transition: all .5s ease;
}
.products-path:before{
    content: '';
    background-color: #888;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 5px;
    left: 0;
    opacity: 0;
    transition: all .5s ease;
}
.products-path:after{
    content: '>';
    font-size: 20px;
    color: #888;
    position: absolute;
    top: 0;
    right: -20px;
    cursor: default;
}
.products-path:nth-child(1){
    margin-left: 0;
}
.products-path:last-child{
    color: #888;
}
.products-path:last-child:after{
    content: '';
}
.products-list-box{
    display: block;
}
.products-list-box>li{
    display: block;
}
.products-list{
    font-size: 14px;
    color: #555;
    position: relative;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 15px;
    transition: all .3s linear;
}
.products-list:after{
    content: '';
    display: block;
    width: 0%;
    height: 1px;
    background-color: #004ea2;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .3s linear;
}
.products-info-box{
    width: 1020px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.products-info-kind-box{
    margin-top: 15px;
}
.products-info-kind-box:first-child{
    margin-top: 0;
}
.products-info-kind-title{
    font-size: 18px;
    font-family: "Oswald";
    color: #25262d;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.products-info{
    width: 250px;
    display: inline-block;
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px;
    padding-bottom: 6px;
    margin-left: 5px;
    transition: all .3s linear;
}
.products-info:nth-child(4n + 1){
    margin-left: 0;
}
.products-info-img-box{
    display: block;
    width: 230px;
    height: 230px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}
.products-info-img{
    height: 100%;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: all .3s linear;
}
.products-info-buycar-box{
    width: 100%;
    font-size: 14px;
    display: block;
    position: absolute;
    bottom: -30px;
    left: 0;
    z-index: 2;
    background-color: #ddd;
    color: #004ea2;
    box-sizing: border-box;
    padding: 4px 5px;
    cursor: pointer;
    transition: all .3s linear;
}
.products-info-buycar{
    color: #555;
}
.products-info-text-box{
    display: block;
    color: #004ea2;
    font-size: 14px;
    margin-top: 12px;
    transition: all .3s linear;
}
.products-info-text{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 44px;
}
.products-info-text-price-box{
    display: block;
    transition: all .3s linear;
}
.products-info-text-price-before{
    min-width: 40px;
    display: inline-block;
    color: #888;
    font-size: 14px;
    text-decoration:line-through;
    margin-right: 20px;
    transition: all .3s linear;
}
.products-info-text-price-now{
    display: inline-block;
    min-width: 40px;
    color: #9f7a5b;
    font-size: 16px;
    margin: 0 auto;
    transition: all .3s linear;
    font-weight: bold;
}


@media only screen and (max-width: 1280px){
    .products-all-box{
        width: 1000px;
    }
    .products-menu-box{
        width: calc(100% - 800px);
    }
    .products-info-box{
        width: 800px;
    }
}
@media only screen and (max-width: 1000px){
    .products-box{
        margin-top: 80px;
        min-height: calc(100vh - 80px);
    }
    .products-all-box{
        width: 750px;
        padding: 50px 0;
    }
    .products-menu-box{
        width: 100%;
        display: block;
    }
    .rwd-products-class-box{
        width: 100%;
        height: 46px;
        border: 1px solid #25262d;
        font-size: 16px;
        letter-spacing: 1px;
        text-align: center;
        display: block;
        line-height: 46px;
        position: relative;
        z-index: 2;
        box-sizing: border-box;
        font-weight: bold;
        cursor: pointer;
        background-color: #fff;
    }
    .rwd-products-class-box:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 8px solid transparent;
        border-top: 10px solid #25262d;
        border-left: 8px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 5%;
        box-sizing: border-box;
    }
    .products-menu-all-box{
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
        background-color: #fff;
        position: absolute;
        box-shadow: 0 3px 5px rgba(0,0,0,0.5);
        z-index: 1;
        display: none;
    }
    .products-info-box{
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }
    .products-info:nth-child(n){
        margin-left: 5px;
    }
    .products-info:nth-child(3n + 1){
        margin-left: 0;
    }
    .products-info:nth-child(n + 4){
        margin-top: 5px;
    }
    .products-info {
        width: 246px;
    }
    .products-info-img-box{
        width: 226px;
        height: 226px;
    }
}
@media only screen and (max-width: 750px){
    .products-all-box{
        width: 550px;
    }
    .products-info-text{
        min-height: 50px;
    }
    .products-info{
        width: 145px;
    }
    .products-info-text-price-before{
        margin-right: 10px;
    }
    .products-info {
        width: 180px;
    }
    .products-info-img-box{
        width: 160px;
        height: 160px;
    }
}
@media only screen and (max-width: 550px){
    .products-box{
        margin-top: 0px;
        min-height: calc(100vh - 54px);
    }
    .products-all-box{
        width: 95%;
        padding: 30px 0;
    }
    .rwd-products-class-box{
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }
    .rwd-products-class-box:after{
        border-right: 5px solid transparent;
        border-top: 8px solid #25262d;
        border-left: 5px solid transparent;
    }
    .products-menu{
        margin-bottom: 15px;
    }
    .products-menu-title{
        font-size: 14px;
    }
    .products-list{
        margin-top: 5px;
        font-size: 12px;
    }
    .products-info-box{
        margin-top: 10px;

    }
    .products-info-kind-title{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .products-info-text-price-before{
        margin-right: 5px;
    }
    .products-info-text-price-before{
        font-size: 12px;
    }
    .products-info-text-price-now{
        font-size: 14px;
    }
    .products-info:nth-child(n){
        margin-left: 10px;
        margin-top: 0;
    }
    .products-info:nth-child(2n + 1){
        margin-left: 0;
    }
    .products-info:nth-child(n + 3){
        margin-top: 10px;
    }
    .products-info {
        width: calc((95vw / 2) - 5px);
    }
    .products-info-img-box{
        width: calc((95vw / 2) - 25px);;
        height: calc((95vw / 2) - 25px);;
    }
}

@media only screen and (max-width: 400px){
    .products-all-box{
        padding: 20px 0;
    }
}



/*hover*/
.products-menu-title.active,
.products-menu-title:hover,
.products-list.active,
.products-list:hover{
    color: #004ea2;
}
.products-menu-title.active:after,
.products-menu-title:hover:after,
.products-list.active:after,
.products-list:hover:after{
    width: 100%;
}
.products-info:hover{
    background-color: #ddeaf9;
}
/* .products-info:hover .products-info-text-box{
    color: #fff;
}
.products-info:hover .products-info-text-price-now{
    color: #fff;
}
.products-info:hover .products-info-text-price-before{
    color: #ddd;
} */
.products-info:hover .products-info-img{
    transform: scale(1.1);
}
.products-info:hover .products-info-buycar-box{
    bottom: 0;
}

/*animation*/

@media only screen and (min-width: 1001px){
    .products-menu-box,
    .products-info-kind-title{
        /* opacity: 0; */
    }
    .products-menu-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .products-info-kind-title.anima{
        animation: fadeInRight 1s ease .2s 1 both;
    }
}


