﻿/* 產品列表 */
.section-product .card {
    transition: all 0.5s ease-in-out;
    margin-bottom: 1rem;
    background-color: transparent;
    border: none;
}

    .section-product .card .badge {
        color: #ffffff;
        border-color: #E86F00;
        background-color: #E86F00;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .section-product .card .no {
        font-size: 13px;
        color: #999999;
    }

    .section-product .card h3 {
        font-size: 14px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-height: 18px;
        height: 36px;
    }

    .section-product .card .price-box {
        font-size: 13px;
        color: #999999;
        margin-bottom: .5rem;
    }

    .section-product .card .price {
        color: #dc3545;
        font-weight: bold;
        font-size: 16px;
    }

        .section-product .card .price:before, .section-product #total:before {
            content: 'NT$';
            margin-right: 2px;
            font-size: 13px;
        }

    .section-product .card .unit:before {
        content: "/";
        margin: 0 2px;
    }

    .section-product .card .oprice:before {
        content: 'NT$';
        margin-right: 2px;
        font-size: 13px;
    }

    .section-product .card .oprice {
        text-decoration: line-through;
        margin-left: 10px;
        font-size: 12px;
    }

.section-product .card-img-top {
    padding: 5px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 0 3px rgb(0 0 0 / 10%);
}

    .section-product .card-img-top > a {
        position: relative;
        display: block;
    }

    .section-product .card-img-top img.hover-show {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transition: opacity 500ms ease;
    }

    .section-product .card-img-top:not(:hover) img.hover-show {
        opacity: 0 !important;
    }

    .section-product .card-img-top .btn-wrapper {
        position: absolute;
        right: 15px;
        bottom: 15px;
        display: flex;
        flex-direction: column;
        border-color: rgba(255, 255, 255, 0.9);
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        opacity: 0;
    }

    .section-product .card-img-top:hover .btn-wrapper {
        opacity: 0.9;
    }

    .section-product .card-img-top .btn-wrapper div {
        width: 50px;
        height: 50px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

.section-product .card-body {
    padding: 0.5rem 0;
}

/* 產品加入收藏 */
.section-product .add-favorites i.fa-heart {
    color: #e63349;
}

.section-product .add-favorites:hover i.fa-heart,
.section-product .add-favorites.added i.fa-heart {
    display: inline;
}

.section-product .add-favorites i.fa-heart,
.section-product .add-favorites.added i.fa-heart-o,
.section-product .add-favorites:hover i.fa-heart-o {
    display: none;
}


@media (min-width: 576px) {
}

@media (min-width:768px) {
}

@media (min-width:992px) {

    /* 產品分類 */
    .section-product .feature-panel {
        position: unset;
        width: auto;
        border-right: 0;
    }

        .section-product .feature-panel .header {
            background-color: transparent;
            height: auto;
            padding: 15px;
        }

            .section-product .feature-panel .header .exit {
                display: none;
            }

        .section-product .feature-panel .wrapper {
            position: unset;
        }
}

@media (min-width:1200px) {
}
