:root {
    --main-color: #D1008D;
    --second-color: #702283;
    --main-color-shallow: rgba(209, 0, 141, .1);
    --gray-color: #f0f4f5;
}

/* 推薦商品捲動區 */
.slide-tab::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.slide-tab::-webkit-scrollbar-track {
    background: transparent;
}
.slide-tab::-webkit-scrollbar-thumb {
    background: transparent;
}
.slide-tab::-webkit-scrollbar-thumb:hover {
    background: transparent;
}
.slide-tab {
    height: 48px;
    display: flex;
    width: 100%;
    align-items: stretch;
    overflow-x: auto;
    position: relative;
}
.slide-tab span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 23px;
    padding-right: 23px;
    white-space: nowrap;
    cursor: pointer;
}
.slide-tab span.active {
    background: #fff;
    border-top: 4px solid var(--main-color);
}
.slide-tab span:hover:not(.active) {
    color: var(--main-color);
    text-decoration: underline;
}
.slide-wrapper {
    position: relative;
}
.slide-wrapper .btn-slide {
    position: absolute;
    background: url(../images/product/slide-mask.png) repeat-y;
    width: 36px;
    height: 100%;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-wrapper .btn-slide img {
    display: block;
    width: 20px;
}
/* 熱銷商品tab */
.promote-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.promote-tab span {
    display: inline-block;
    min-width: 33.3%;
    flex-grow: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
}
.promote-tab span:hover:not(.active) {
    color: var(--main-color);
    text-decoration: underline;
}
.promote-tab span.active {
    background: #000;
    color: #fff;
}
div[bind^='promote-tab'].active {
    display: flex;
}
/* 麵包屑 */
.breadcrumb-item a {
    color: #888;
    text-decoration: none;
}
.breadcrumb {
    margin-bottom: 0;
}
/* 你可能會喜歡 slide */
.btn-arrow {
    display: none;
    z-index: 99;
}
.scroll-box img {
    border-bottom: 0;
}
.scroll-box .card:hover {
    box-shadow: 0px 0px 8px rgb(0 0 0 / 30%);
    background: inherit;
    color: inherit;
}
@media screen and (min-width: 920px) {
    .btn-arrow {
        display: block;
        position: absolute;
        top: 50%;
        width: 36px;
        height: 36px;
        object-fit: contain;
        transform: translateY(-50%);
        cursor: pointer;
    }
    .btn-arrow.arrow-r {
        right: 0;
    }
    .btn-arrow.arrow-l {
        left: 0;
    }
    .product-md-no-border .border-bottom {
        border: 0!important;
    }
}

.buying-wrapper {
    padding: 12px 15px;
    min-height: 52px;
    background: #fff;
    box-shadow: 0px -2px 2px rgb(0 0 0 / 10%);
    display: flex;
    justify-content: space-around;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    z-index: 98;
    width: 100%;
    left: 0;
}

.add2bag {
    background: rgba(0, 0, 0, .6);
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 103;
    top: 0;
    opacity: 0;
    transition: .3s;
    overflow: hidden;
    pointer-events: none;
}
.add2bag .bg-white {
    position: absolute;
    width: 100%;
    bottom: 0;
    transform: translateY(100%);
}
/* .add2bag img {
    width: 130px;
} */
/* .add2bag .btn-close {
    cursor: pointer;
}
.add2bag .btn-close img {
    width: 24px;
    height: 24px;
} */
.add2bag .counter span {
    min-width: 26px;
    height: 26px;
}
.add2bag.active {
    opacity: 1;
    pointer-events: auto;
}
.add2bag.active .bg-white {
    transform: translateY(0);
}
.product-img img {
    width: 130px;
}

@media screen and (min-width: 768px) {
    .buying-wrapper {
        position: sticky;
        bottom: 0;
        background: #fff;
        box-shadow: none
    }
}