﻿.pro-list {
    display: flex;
	flex-wrap:wrap;
    margin: 0 0 45px;
}

.pro-item {
    width: calc(25% - 22.5px);
    margin: 0 30px 30px 0;
    border: 1px solid #ebebeb;
    background: #ebebeb;
}

    .pro-item:nth-child(4n) {
        margin-right: 0;
    }

.pro-itm-img {
    margin: 0;
    position: relative;
    border: 10px solid #fff;
    overflow: hidden;
    background: #fff;
}

    .pro-itm-img > a > img {
        max-height: 100%;
    }

.pro-itm-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(90deg);
    transition: all 0.5s;
}

    .pro-itm-btn a {
        width: 49px;
        height: 49px;
        background: #d7414a;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

        .pro-itm-btn a:not(:last-child) {
            margin-right: 17px;
        }

        .pro-itm-btn a:before {
            content: '';
            position: absolute;
            width: calc(100% + 16px);
            height: calc(100% + 16px);
            top: -8px;
            left: -8px;
            border: 1px solid #fff;
            transform: scale(0, 0);
            transition: all 0.5s;
            opacity: 0;
        }

        .pro-itm-btn a:hover:before {
            transform: scale(1, 1);
            opacity: 1;
        }

.pro-itm-img:hover .pro-itm-btn {
    transform: rotateY(0deg);
}

.pro-itm-main {
    padding: 15px;
}

.pro-itm-ttl a {
    text-decoration: none;
    color: #666;
    font-size: 18px;
    font-weight: 700;
    display: block;
    line-height: 1.5em;
}

.pro-itm-price {
    margin: 0;
    display: flex;
    font-size: 18px;
}

.pro-itm-price-new {
    font-weight: 700;
    color: #d7414a;
    margin-right: 10px;
}

.pro-itm-price-old {
    text-decoration: line-through;
    margin-right: 10px;
}

.pro-itm-price-discount {
    font-size: 15px;
    background: #d7414a;
    color: #fff;
    text-align: center;
    padding: 0 10px;
    font-weight: bold;
}

.pro-itm-img > a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pro-itm-ttl a:hover {
    color: #d7414a;
}
