﻿/* 產品圖片 */
.mall-detail .product-picture {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
}

    .mall-detail .product-picture .slider-for {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 3px;
        border: 1px solid #e6e6e6;
    }

        .mall-detail .product-picture .slider-for .slick-arrow {
            position: absolute;
            top: calc(50% - 25px);
            cursor: pointer;
            z-index: 1;
            display: block;
            width: 40px;
            height: 40px;
            color: #333;
            font-size: 30px;
            line-height: 40px;
            text-align: center;
        }

        .mall-detail .product-picture .slider-for .slick-prev {
            left: 0px;
        }

        .mall-detail .product-picture .slider-for .slick-next {
            right: 0px;
        }

        .mall-detail .product-picture .slider-for .slick-disabled {
            opacity: 0.5;
        }

    .mall-detail .product-picture .slider-nav {
        width: 100%;
        margin-bottom: 15px;
    }

        .mall-detail .product-picture .slider-nav .item {
            border: 1px solid #e6e6e6;
            border-radius: 3px;
            margin-right: 10px;
            cursor: pointer;
            width: auto !important;
        }

        .mall-detail .product-picture .slider-nav .slick-arrow {
            position: absolute;
            top: calc(50% - 22px);
            z-index: 1;
            cursor: pointer;
            width: 20px;
            height: 40px;
            line-height: 1.0;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            color: #ffffff;
            background-color: rgba(0, 0, 0, 0.2);
        }

        .mall-detail .product-picture .slider-nav .slick-prev {
            left: 0px;
        }

        .mall-detail .product-picture .slider-nav .slick-next {
            right: 0px;
        }

        .mall-detail .product-picture .slider-nav .slick-prev:before {
            font-family: 'FontAwesome';
            content: "\f053";
        }

        .mall-detail .product-picture .slider-nav .slick-next:before {
            font-family: 'FontAwesome';
            content: "\f054";
        }

/* 產品資訊 */
.mall-detail .mall-info > * {
    margin-bottom: 1rem;
}

.mall-detail .mall-info .label {
    padding-right: 0;
}

.mall-detail .mall-info .name {
    font-weight: bold;
    font-size: 1.4rem;
    color: #333;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 1rem;
    padding-left: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

/* 分類名稱 */
.mall-detail .mall-info .category a {
    color: #999999;
}

/* 優惠 */
.mall-detail .mall-info .save {
    background-position: left 2px;
    color: #E86F00;
    font-size: 1rem;
    background-image: url('/Images/save_bg.png');
    background-repeat: no-repeat;
    padding-left: 35px;
}

    .mall-detail .mall-info .save span {
        line-height: 31px;
    }

    .mall-detail .mall-info .save.active span::after {
        content: '';
        width: 16px;
        height: 15px;
        background-image: url('/Images/save_active.png');
        background-repeat: no-repeat;
        display: inline-block;
        margin-left: 5px;
    }

    .mall-detail .mall-info .save.full {
        color: #cc0000;
        background-image: url('/Images/save_full.png');
        padding-left: 35px;
    }

    .mall-detail .mall-info .save .info {
        color: #868686;
        font-size: 12px;
    }

        .mall-detail .mall-info .save .info > div {
            display: inline-block;
            margin-right: 5px;
        }

        .mall-detail .mall-info .save .info span {
            color: #E86F00;
        }

/* 預購 */
.mall-detail .mall-info .preorder {
    color: #269abc;
}

/* 價錢 */
.mall-detail .mall-info .price {
    color: #cc0000;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.0;
}

    .mall-detail .mall-info .price:before {
        content: "NT$";
        font-size: 0.6em;
        margin-right: 0.3em;
    }

.mall-detail .mall-info .unit {
    color: #999999;
    font-size: 14px;
}


/* 優惠加購 */
.mall-detail .mall-info .save-add {
    border-top: solid 1px #e6e6e6;
    border-bottom: solid 1px #e6e6e6;
    padding: 5px 0;
}

    .mall-detail .mall-info .save-add img {
        border: solid 1px #e6e6e6;
    }

    .mall-detail .mall-info .save-add .label {
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-height: 25px;
        height: 50px;
    }

    .mall-detail .mall-info .save-add .item {
        padding: 0.25rem 0;
    }

        .mall-detail .mall-info .save-add .item + .item {
            border-top: dashed 1px #e6e6e6
        }

    .mall-detail .mall-info .save-add .price:before {
        content: "NT$";
    }

.mall-detail .mall-info #form .memo p:last-child {
    margin-bottom: 0px;
}

.mall-detail .num-wrapper {
    margin-bottom: 1rem;
}

.mall-detail #total {
    display: inline-block;
    font-size: 36px;
    font-weight: bold;
    color: #cc0000;
    line-height: 1.0;
}

    .mall-detail #total:before {
        content: "NT$";
        font-size: 0.6em;
        margin-right: 5px;
    }

.mall-detail .listing-item .price {
    font-size: 14px;
    font-weight: bold;
}

.mall-detail .listing-item .save .price {
    color: #cc0000;
}

.mall-detail .listing-item .oprice {
    color: #999999;
    font-size: 12px;
    text-decoration: line-through;
}

.mall-detail table.numprice {
    width: 100%;
    font-size: 15px;
    text-align: center;
    border-collapse: collapse;
    margin-top: 10px;
}

    .mall-detail table.numprice tr {
        border-bottom: 1px solid #E5E5E5;
        line-height: 30px;
    }

    .mall-detail table.numprice thead tr {
        background-color: #E5E5E5;
    }

    .mall-detail table.numprice thead th {
        text-align: center;
    }

/* 省多少標籤 */
.mall-detail #off {
    position: absolute;
    color: #FFFFFF;
    background-color: #cc0000;
    margin-left: 10px;
    border-radius: 5px;
    padding: 0px 7px;
    font-size: 14px;
    top: 5px;
    display: none;
}

    .mall-detail #off:before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 5px 10px 5px 0;
        border-color: transparent #cc0000 transparent transparent;
        left: -8px;
        top: 5px;
    }

    .mall-detail #off.show {
        display: inline;
    }

/* 按鈕 */
.mall-detail .button a.btn {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* 賣場簡介 */
.section-title.info {
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

    .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 .tabs-container {
    margin-bottom: 10px;
}

.section-mall .tab-pane {
    padding: 10px;
}


@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
    .mall-detail .num-wrapper {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
}
