﻿/* 產品加入收藏 */
.add-favorites i.fa-heart {
    color: #e63349;
}

.add-favorites:hover i.fa-heart,
.add-favorites.added i.fa-heart {
    display: inline;
}

.add-favorites i.fa-heart,
.add-favorites.added i.fa-heart-o,
.add-favorites:hover i.fa-heart-o {
    display: none;
}

/* 產品左選單 */
#filter.feature-panel {
    width: 270px;
}

    #filter.feature-panel .wrapper {
        width: 100%;
    }

    #filter.feature-panel .header {
        background-color: #a29369;
        padding: 9px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        align-items: center;
    }

        #filter.feature-panel .header h2 {
            color: #ffffff;
            font-size: 18px;
            width: auto;
            height: auto;
            margin-bottom: 0;
            margin-top: 0;
            line-height: 1.0;
        }

        #filter.feature-panel .header .exit {
            position: relative;
            width: 15px;
            height: 15px;
        }

            #filter.feature-panel .header .exit:before,
            #filter.feature-panel .header .exit:after {
                position: absolute;
                left: 7px;
                top: 0;
                content: '';
                height: 15px;
                width: 2px;
                background-color: #ffffff;
            }

            #filter.feature-panel .header .exit:before {
                transform: rotate(45deg);
            }

            #filter.feature-panel .header .exit:after {
                transform: rotate(-45deg);
            }

    #filter.feature-panel .bg {
        background-color: rgba(0, 0, 0, 0.5);
    }

    #filter.feature-panel ul {
        padding-left: 0;
        list-style: none;
    }

        #filter.feature-panel ul > li > a {
            display: block;
            position: relative;
            color: #666666;
            padding: 7px 15px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

            #filter.feature-panel ul > li > a:hover,
            #filter.feature-panel ul > li > a.active {
                color: #a29369;
                background-color: rgba(0, 0, 0, 0.025);
            }

                #filter.feature-panel ul > li > a:hover:after,
                #filter.feature-panel ul > li > a.active:after {
                    color: #ffffff;
                }

    #filter.feature-panel .body > ul > li > a {
        display: flex;
        justify-content: space-between;
    }

        #filter.feature-panel .body > ul > li > a:after {
            font-family: 'FontAwesome';
            content: "\f105";
            color: transparent;
            margin-left: 10px;
        }

    #filter.feature-panel ul > li > ul > li > a {
        font-size: 14px;
        padding-left: 30px;
        padding-right: 30px;
    }

        #filter.feature-panel ul > li > ul > li > a:before {
            font-family: 'FontAwesome';
            content: "\f105";
            position: absolute;
            left: 20px;
            color: rgba(0, 0, 0, 0.3);
        }

        #filter.feature-panel ul > li > ul > li > a.active:before,
        #filter.feature-panel ul > li > ul > li > a:hover:before {
            color: #a29369;
        }

    #filter.feature-panel ul > li > ul {
        display: none;
    }

    #filter.feature-panel ul > li.active > ul {
        display: block;
    }

/* 產品排序(電腦版) */
.section-product nav.sort,
.section-product .total {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .section-product nav.sort a {
        color: #666666;
        margin-right: 1.25em;
    }

        .section-product nav.sort a.active {
            color: #b0984d;
        }

/* 產品排序(手機版) */
.section-product .dropdown-item {
    padding: 0.5rem 1.5rem;
}

    .section-product .dropdown-item + .dropdown-item {
        border-top: 1px solid #e9ecef;
    }

    .section-product .dropdown-item.active {
        background-color: #b0984d;
    }


/* 產品列表 */
.section-product .card,
.section-news .news-item-left,
.section-news .news-content {
    transition: all 0.5s ease-in-out;
}

    .section-product .card .card-img-top {
        position: relative;
        padding: 5px;
        border: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 0 3px rgb(0 0 0 / 10%);
    }

    .section-product .card .badge {
        color: #ffffff;
        border-color: #E86F00;
        background-color: #E86F00;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .section-product .card h3 {
        font-size: 16px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        margin-top: 10px;
    }

    .section-product .card .price {
        color: #dc3545;
        font-weight: bold;
        margin-right: 0.5em;
    }

        .section-product .card .price:before {
            content: 'NT$';
            margin-right: 2px;
        }

    .section-product .card .price {
        color: #b0984d;
    }

        .section-product .card .price.save {
            color: #dc3545;
        }

        .section-product .card .price.original {
            font-size: 0.8em;
            text-decoration: line-through;
        }

/* 加入最愛 */
.add-favorites i.fa-heart {
    color: #e63349;
}
/*.add-favorites:hover i.fa-heart {
    display: inline;
}

.add-favorites i.fa-heart,
.add-favorites:hover i.fa-heart-o {
    display: none;
}
*/

@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {

    /* 產品分類 */
    #filter.feature-panel {
        position: unset;
        width: auto;
        border-right: 0;
    }

        #filter.feature-panel .header {
            background-color: transparent;
            height: auto;
            padding: 15px;
        }

            #filter.feature-panel .header h2 {
                color: #666666;
            }

            #filter.feature-panel .header .exit {
                display: none;
            }

        #filter.feature-panel .wrapper {
            position: unset;
        }

        #filter.feature-panel ul > li > a:hover,
        #filter.feature-panel ul > li > a.active {
            background-color: rgba(0, 0, 0, 0.025);
            color: #b0984d;
        }

            #filter.feature-panel ul > li > a:hover:after,
            #filter.feature-panel ul > li > a.active:after {
                color: #b0984d;
            }

        #filter.feature-panel ul > li > ul > li > a:hover:before,
        #filter.feature-panel ul > li > ul > li > a.active:before {
            color: rgba(0, 0, 0, 0.3);
        }
}

@media (min-width: 1200px) {
}
