﻿/* 整體布局 */
.page-wrapper {
    margin-bottom: 50px;
}

/* 賣場簡介 */
.section-title.info {
    margin-bottom: 1rem;
    background-color: #ffffff;
}

    .section-title.info ul {
        font-size: 14px;
    }

        .section-title.info ul > li {
            margin: 6px 0;
        }

            .section-title.info ul > li:last-child {
                margin-bottom: 0;
            }

            .section-title.info ul > li i {
                color: #999;
                font-size: 16px;
                width: 20px;
                text-align: center;
                margin-right: 0.5rem;
            }

    .section-title.info .picture {
        width: 80px;
        height: 80px;
        overflow: hidden;
        border-radius: 50%;
        border: solid 1px #eaeaea;
    }

    .section-title.info .followed i {
        color: #c44f6d;
    }

/* 我的產品列表 */
.section-mall .list .item {
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    position: relative;
}

    .section-mall .list .item .body {
        padding: 8px;
        border-top: 1px solid #dee2e6;
        border-radius: 0 0 0.25rem 0.25rem;
    }

    .section-mall .list .item .mall {
        display: block;
        overflow: hidden;
        position: absolute;
        top: 8px;
        left: 8px;
        width: 30px;
        height: 30px;
        border-radius: 50px;
        border: 1px solid #dee2e6;
    }

        .section-mall .list .item .mall:hover {
            transform: scale(1.5);
            transition: all 0.5s ease;
        }

    .section-mall .list .item .name {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-height: 21px;
        height: 42px;
    }

/* 產品圖片 */
.section-mall .card-img-top img {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

    .section-mall .card-img-top img.hover-show {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transition: opacity 500ms ease;
    }

.section-mall .card-img-top:not(:hover) img.hover-show {
    opacity: 0 !important;
}

/* 產品優惠 Badge */
.section-mall .card-img-top .badge {
    /*color: #ffffff;
    background-color: #cb1400;*/
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 12px;
    padding: 4px;
    border-radius: 0 0.25rem 0 0;
}

.section-mall .card-img-top .out-of-stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 60px;
    height: 60px;
    color: #ffffff;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
}

/* 產品價格 */
.section-mall .price-box .price {
    color: #cb1400;
    font-size: 16px;
}

.section-mall .price-box .oprice {
    color: #929292;
    font-size: 14px;
    text-decoration: line-through;
}

    .section-mall .price-box .price:before,
    .section-mall .price-box .oprice:before {
        content: '$';
        font-size: 0.75em;
    }

/* 單位 */
.section-mall .list .item .unit {
    color: #929292;
    font-size: 13px;
}

/* 產品分類選單 */
#filter {
    top: 54px;
    bottom: 50px;
}

    #filter .frame {
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    #filter form {
        height: auto;
    }

    #filter .bg + .pjax {
        position: relative;
        height: 100%;
        background-color: #fff;
    }

    #filter,
    #filter .wrapper,
    #filter .slider-container,
    #filter .toggle-body {
        width: 300px;
    }

        #filter .wrapper {
            position: relative;
        }

        #filter ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0px;
        }

            #filter li.active > a,
            #filter ul > li > a:hover {
                color: #146cda;
            }

        #filter .gift ul > li > a {
            display: block;
            padding: 4px 0;
            word-wrap: break-word;
        }

        #filter ul > li > ul {
            display: none;
        }

        #filter ul > li.active > ul {
            display: block;
            margin-left: 1em;
        }

        #filter ul > li > ul > li a {
            display: block;
            font-size: 0.85em;
            padding-left: 1.2em;
        }

        #filter ul > li > ul > li {
            position: relative;
        }

            #filter ul > li > ul > li > a:before {
                font-family: "FontAwesome";
                content: "\f105";
                color: rgba(0, 0, 0, 0.4);
                position: absolute;
                left: -0.75em;
                top: 0.3em;
            }

        #filter ul li.active:last-child > a {
            color: #146cda;
        }

        #filter .gift.items ul {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            flex-wrap: wrap;
        }

            #filter .gift.items ul > li {
                flex-basis: 50%;
            }


        #filter .gift.items .brand ul > li {
            flex-basis: 100%;
        }

        #filter .gift.items ul > li > a {
            position: relative;
            padding-left: 24px;
            padding-right: 5px;
        }

            #filter .gift.items ul > li > a::after,
            #filter .gift.items ul > li > a::before {
                position: absolute;
                top: .5em;
                left: 0;
                text-align: center;
            }

            #filter .gift.items ul > li > a::after {
                content: '';
                width: 18px;
                height: 18px;
                display: block;
                margin-top: -1px;
                border: 1px solid #969696;
            }


        #filter .gift.items ul > li.selected > a::before {
            content: '';
            width: 10px;
            height: 10px;
            display: block;
            left: 4px;
            background: #146cda;
            margin-top: 3px;
        }

        #filter .gift.items ul > li > a.loading::before {
            content: '';
            left: 4px;
            margin-top: 3px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 4px solid #146cda;
            border-top: 4px solid #f3f3f3;
            animation: spin 2s linear infinite;
        }

        /*option*/
        #filter .option ul.items > li {
            display: inline-block;
            margin-left: 2px;
            margin-bottom: 5px;
        }

            #filter .option ul.items > li > a {
                display: inline-block;
                background-color: #efefef;
                border-radius: 0.25rem;
                padding: 5px 8px;
                color: #777777;
            }

                #filter .option ul.items > li > a:hover {
                    color: #000000;
                    background-color: #dcdddd;
                }

                #filter .option ul.items > li.active > a,
                #filter .option ul.items > li > a.active {
                    color: #ffffff;
                    background-color: #146cda;
                }

        #filter .multi ul {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            flex-wrap: wrap;
        }

            #filter .multi ul > li {
                flex-basis: 50%;
            }


        #filter .multi.brand ul > li {
            flex-basis: 100%;
        }

        #filter .multi ul > li > a {
            position: relative;
            padding-left: 24px;
            padding-right: 5px;
        }

            #filter .multi ul > li > a:after,
            #filter .multi ul > li > a:before {
                position: absolute;
                top: .5em;
                left: 0;
                text-align: center;
            }

            #filter .multi ul > li > a:after {
                content: '';
                width: 18px;
                height: 18px;
                display: block;
                margin-top: -1px;
                border: 1px solid #969696;
            }


        #filter .multi ul > li.active > a:before {
            content: '';
            width: 10px;
            height: 10px;
            display: block;
            left: 4px;
            background-color: #146cda;
            margin-top: 3px;
        }

        #filter .multi ul > li.activing > a:before {
            content: '';
            left: 4px;
            margin-top: 3px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 4px solid #f97b00;
            border-top: 4px solid #f7f7f7;
            animation: spin 2s linear infinite;
        }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 已篩選條件 */

.selections ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0px;
}

.selections > ul > li {
    display: inline-block;
}

    .selections > ul > li > a {
        display: inline-block;
        position: relative;
        padding: 0.2em 1.6em 0.2em 0.5em;
        margin: 2.5px 0.25em 2.5px 0;
        font-size: 0.875rem;
        color: #146cda;
        border: 1px solid #146cda;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 0.25rem;
    }

        .selections > ul > li > a:hover {
            background-color: #146cda;
            color: #ffffff;
        }

        .selections > ul > li > a:after {
            content: "×";
            position: absolute;
            top: 0.2em;
            right: 0.4em;
            font-weight: bold;
            font-size: 1.4em;
            line-height: 1.0;
        }

#myfilter .frame {
    padding: 0;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem !important;
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {

    /*.fix-feature {
        bottom: 115px;
    }*/

    /* Filter (feature-panel) */
    #filter {
        position: relative;
        width: auto;
        top: auto;
        bottom: auto;
        left: auto;
        border-right: 0;
        z-index: auto;
    }

        #filter,
        #filter .wrapper {
            width: 230px;
            background-color: transparent;
            overflow: unset;
        }

            #filter .header {
                background-color: transparent;
                height: auto;
                margin-bottom: 0.5rem;
            }

                #filter .header .title {
                    text-align: left;
                    line-height: initial;
                    height: auto;
                    font-weight: bold;
                    font-size: 18px;
                }

            #filter .body {
                overflow: unset;
                background-color: transparent;
            }

            #filter .bg + .pjax {
                background-color: transparent;
            }

            #filter.feature-panel .bg {
                display: none;
            }

            #filter.feature-panel.left.open {
                box-shadow: none;
            }

            #filter .frame {
                padding: 0;
                margin-bottom: 10px;
                border: 1px solid #dee2e6;
                background-color: #ffffff;
                padding: 0.5rem 1rem;
                border-radius: 0.25rem !important;
            }
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}
