@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap');
/********** 基本設定 Ｓ**********/
:root {
    --main-color: #D1008D;
    --second-color: #702283;
    --main-color-shallow: rgba(209, 0, 141, .1);
    --gray-color: #f0f4f5;
}
html, body {
    margin: 0;
    font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
    background: #f0f4f5;
    width: 100%;
    scroll-behavior: smooth;
}
img {
    width: 100%;
}
ol, ul {
    padding-left: 20px;
}
/********** 基本設定 Ｅ**********/
/********** 頁面結構 Ｓ**********/
.wrapper {
    max-width: 100%;
    margin: 0 auto;
}
.box {
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}
/********** 頁面結構 Ｅ**********/
/********** 頁面元件 Ｓ **********/
/* 跑馬燈 */
.marquee {
    width: 100%;
	/* line-height: 40px; */
	background-color: var(--second-color);
	color: white;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
}
.marquee.hide {
    display: none;
}
.marquee.hide ~ .header {
    transition: .3s;
    top: 0;
}
.marquee div {
    padding: 6px 15px;
    box-sizing: border-box;
    margin-right: 32px;
    overflow: hidden;
    position: relative;
}
.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    margin: 0;
    position: relative;
}
.marquee a {
    color: #fff;
    text-decoration: underline;
}
.marquee a:hover {
    color: var(--main-color);
}
.marquee .close {
    position: absolute;
    right: 0;
    display: block;
    width: 28px;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
}
.marquee .close::before {
    content: '';
    display: block;
    width: 2px;
    height: 12px;
    background: #fff;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.marquee .close::after {
    content: '';
    display: block;
    width: 2px;
    height: 12px;
    background: #fff;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
/* header */
.header {
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    position: sticky;
    top: 36px;
    z-index: 105;
}
.header.box-shadow {
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.brand {
    text-align: center;
}
.header .brand img {
    width: 100%;
    max-width: 180px;
}
.header ul.icon-group {
    list-style-type: none;
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin: 0;
}
.header ul.icon-group li {
    display: flex;
    align-items: center;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
}
.pc-header-items {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-header-items img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
}
.pc-header-items a {
    color: #000;
    display: flex;
    margin: 0 20px;
}
.pc-header-items a:hover {
    color: var(--main-color);
    text-decoration: none;
}
.car-count {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    position: absolute;
    right: -8px;
    bottom: -5px;
    background: var(--main-color);
    border-radius: 50%;
    color: #fff;
    width: 15px;
    height: 15px;
}
.btn-menu {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.btn-menu span {
    display: block;
    width: 100%;
    height: 1.6px;
    border-radius: 50px;
    background: #000;
}
.menu-list {
    position: absolute;
    background: rgba(0, 0, 0, .6);
    width: 100%;
    height: calc(100vh - 54px);
    top: 70px;
    left: 0;
    z-index: 999;
    opacity: 0;
    transition: .3s;
    pointer-events: none;
    overflow: hidden; 
}
.menu-list .bg-white {
    transition: .3s;
    transform: translateX(-100%);
}
.menu-list.active {
    opacity: 1;
    pointer-events: auto;
}
.menu-list.active .bg-white {
    transition: .3s;
    transform: translateX(0);
}
.menu-list .bg-white {
    width: 200px;
    height: 100%;
}
.menu-list ul li {
    cursor: pointer;
    position: relative;
}
.menu-list ul li a {
    color: #444;
}
.menu-list ul li:hover > a {
    color: var(--main-color);
}
/* .menu-list .btn-collapse ul {
    display: none;
} */
.menu-list a, .menu-list span {
    padding: 15px 20px;
    display: block;
    width: 100%;
}
/* .menu-list .btn-collapse ul {
    list-style-type: none;
    padding-left: 16px;
} */
.menu-list .btn-collapse > a {
    pointer-events: none;
}
.menu-list ul li a.active, .menu-list-child li a.active {
    background: var(--gray-color);
} 
/* .menu-list .btn-collapse.active {
    background: var(--gray-color);
} */
/* .menu-list .btn-collapse ul {
    display: block;
    list-style-type: none;
    background: #fff;
    padding: 0;
    font-size: 14px;
} */
/* .menu-list .btn-collapse ul li {
    padding: 8px 16px;
} */
.menu-list li.active {
    /* background: var(--gray-color); */
    color: #000;
}
.menu-list-child {
    padding-left: 0;
}
.menu-list-child li {
    padding: 0;
    display: block;
    list-style-type: none;
    background: #fff;
    font-size: 14px;
}
.menu-list-child li a {
    padding: 8px 20px 8px 36px;
}
.avator {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    margin-right: 15px;
 }
 .avator.product {
    width: 64px;
    height: 64px;
 }
/* swiper */
.kv {
    overflow: hidden;
}
.swiper-container {
    width: 100%;
}
.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
    border: 1px solid #fff;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
}
.swiper-pagination-bullet-active {
    background: var(--main-color);
}
/* 歡迎詞 */
.user-welcome img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-right: 8px;
    border: 1px solid #fff;
}
.user-welcome {
    color: var(--main-color);
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 2;
    background: #fff;
    border-radius: 50rem;
    max-width: 90%;
    box-sizing: border-box;
}
.user-welcome li:nth-child(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* subtitle */
.subtitle {
    background: var(--second-color);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    border-radius: 0 1rem 0 0;
    margin-bottom: 15px;
}
/* button */
.btn-icon {
    width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-style: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    opacity: .6;
}
.btn-icon img {
    display: block;
    width: 18px;
    height: 18px;
}
.btn-icon-absolute {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}
.btn-icon-absolute img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.btn {
    border-style: none;
    border-radius: 4px;
    padding: 15px;
}
.btn-sm {
    border-style: none;
    border-radius: 4px;
    padding: 11px;
}
.btn-dark {
    background: #000;
}
.btn-secondary, .btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background: var(--second-color);
    max-width: 485px;
}
/* .btn-secondary:hover {
    background: var(--main-color);
    border: 0;
} */
.btn-close {
    cursor: pointer;
}
.btn-close img {
    width: 24px;
    height: 24px;
}
.btn-shadow {
    border-radius: 50rem;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    background: #fff;
    color: #444;
    padding: 6px 10px;
    text-decoration: none;
    transition: .3s;
    text-align: center;
    display: inline-block;
    border: 1px solid #fff;
    font-size: 12px;
    word-break: keep-all;
}
.btn-shadow:hover {
    color: var(--main-color);
    text-decoration: none;
    border: 1px solid var(--main-color);
}
.btn-outline-main, .btn-outline-main:hover {
    white-space: nowrap;
    color: var(--main-color);
    background-color: #fff;
    border: 1px solid var(--main-color);
    transition: .3s;
    border-radius: 50rem;
    width: auto;
    padding: 4px 8px;
    margin-right: 6px;
}
.btn-outline-second, .btn-outline-second:hover {
    white-space: nowrap;
    color: var(--second-color);
    background-color: #fff;
    border: 1px solid var(--second-color);
    transition: .3s;
    border-radius: 50rem;
    width: auto;
    padding: 4px 8px;
    margin-right: 6px;
}
.btn-s {
    padding: 7px 12px;
    font-size: 14px;
}
/* footer */
.footer {
    text-align: center;
    background: #000;
    color: #fff;
    box-sizing: border-box;
    padding: 20px 20px calc(20px + 57px);
}
.footer a, .footer a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer small {
    opacity: .6;
}
/* navbar */
.nav-bar {
    padding: 8px 0 4px;
    min-height: 52px;
    background: #fff;
    box-shadow: 0px -2px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    z-index: 98;
    width: 100%;
}
.nav-bar > a {
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    color: #000;
}
.nav-bar > a:hover {
    text-decoration: none;
}
.nav-bar > a.active {
    color: var(--main-color);
    text-decoration: none;
}
.nav-bar > a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    margin-bottom: 3px;
}
.nav-bar .tooltips {
    position: absolute;
    top: -52px;
    left: 50%;
    background: var(--second-color);
    border: 1px solid #fff;
    color: #fff;
    border-radius: 6px;
    transform: translateX(-50%);
    padding: 10px 15px;
    white-space: nowrap;
    animation: fade 5s forwards 1;
    pointer-events: none;
}
.nav-bar .tooltips::after {
    content: '';
    position: absolute;
    left: 50%;
    display: block;
    background: var(--second-color);
    border: 1px solid #fff;
    border-color: transparent transparent #fff #fff;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg) translate(-50%, 0);
    bottom: -2px;
}
@keyframes fade {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    20% {
        transform: translate(-50%, -5%);
    }
    40% {
        transform: translate(-50%, 0);
    }
    60% {
        transform: translate(-50%, -5%);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
    }
}
/* 懸浮按鈕 */
.float-group {
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: center;
    right: 11px;
    bottom: 68px;
    z-index: 102;
}
.float-group > span {
    cursor: pointer;
}
.float-group .btn-back-top {
    width: 40px;
    height: 40px;
    display: block;
    background: url(../images/icon-up.svg) no-repeat center/contain;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}
.float-group .btn-back-top.active {
    opacity: 1;
    pointer-events: auto;
}
.float-group .btn-first-purchase {
    width: 48px;
    height: 48px;
    display: block;
    background: url(../images/icon-gift.png) no-repeat center/contain;
    margin-top: 8px;
}
.float-group .btn-service {
    width: 48px;
    height: 48px;
    display: block;
    background: url(../images/icon-service.svg) no-repeat center/contain;
    margin-top: 8px;
}
.float-group .btn-share {
    width: 72px;
    height: 60px;
    display: block;
    background: url(../images/product/icon-share.png) no-repeat center/contain;
    margin-top: 8px;
}
/* search bar */
.search-bar {
    position: absolute;
    top: 54px;
    width: 100%;
    box-sizing: border-box;
    left: 0;
    height: calc(100vh - 54px);
    background: rgba(0,0,0,.6);
    z-index: 102;
    transition: .3s;
    opacity: 0;
    pointer-events: none;
}
.search-bar.active {
    opacity: 1;
    pointer-events: auto;
}
.search-bar > div {
    border-top: 1px solid #f2f2f2;
}
/* modal */
.modal-content {
    border-radius: .5rem;
}
.modal-dialog {
    margin: 0 auto;
    width: 80%;
    max-width: 500px;
}
.btn-modal-close {
   display: block;
   position: absolute;
   right: -20px;
   top: -42px;
   width: 36px;
   height: 36px;
   background: url(../images/btn-popup.svg) no-repeat center/contain;
   cursor: pointer;
}
.modal-content .btn-dark {
    width: 80%;
}
.link-tab {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}
.link-tab a, .link-tab a:hover {
    color: var(--main-color);
    display: flex;
    justify-content: center;
    flex-grow: 1;
    border-right: 1px solid var(--gray-color);
    cursor: pointer;
    text-decoration: none;
}
#sec1, #sec2, #sec3 {
    position: relative;
    top: -70px;
}
.link-tab a:nth-child(3) {
    border-right: 0;
}
/* 計數器 */
.counter {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}
.counter span {
    display: flex;
    border: 1px solid #000;
    height: 20px;
    min-width: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    font-family: monospace;
    overflow: hidden;
}
.counter .num {
    margin: 0 5px;
    font-size: 14px;
    width: 60px;
}
/* modal中的btn */
.btn-modal-close-w {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/cart/icon-close-w.svg) no-repeat center/contain;
    cursor: pointer;
    margin-top: 8px;
    margin-right: 8px;
}
.btn-modal-close-b {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/cart/icon-close-b.svg) no-repeat center/contain;
    cursor: pointer;
    margin-top: 8px;
    margin-right: 8px;
}
.btn-group {
    display: flex;
    justify-content: center;
}
.btn-group .modal-btn {
    flex-grow: 1;
}
.modal-btn {
    border-radius: 4px;
    border: 2px solid rgba(112, 34, 131, 1);
    text-align: center;
    padding: 4px;
}
.modal-btn.btn-outline, .modal-btn.btn-outline:hover, .modal-btn.btn-outline:active {
    background: #fff;
    color: rgba(112, 34, 131, 1);
    max-width: 60%;
}
.modal-btn.btn-secondary, .modal-btn.btn-secondary:hover, .modal-btn.btn-secondary:active {
    background: rgba(112, 34, 131, 1);
    color: #fff;
    max-width: 60%;
    border: 2px solid rgba(112, 34, 131, 1);
}
.modal-content .scroll-area {
    height: 50vh;
    overflow-y: auto;
}
/* 紫色文字上稿區域 */
.frame-main, .frame-main:hover {
    background: var(--second-color);
    border: 2px solid #fff;
    border-radius: 30px 0 30px 0;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
    display: block;
    text-decoration: none;
}
/* 商品捲動區 */
.scroll-box::-webkit-scrollbar {
    width: 0;
}

/* Track */
.scroll-box::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.scroll-box::-webkit-scrollbar-thumb {
    background: transparent;
}

.scroll-box/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: transparent;
}
.scroll-box {
    display: flex;
    width: calc(100% + 5px);
    overflow-x: auto;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    margin-left: -5px;
}
.scroll-box .card {
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    background: #fff;
    transition: .3s;
    color: #000;
    border: 0;
}
.scroll-box .card:hover {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    background: var(--gray-color);
    color: var(--main-color);
}
.scroll-box img {
    display: block;
    border-bottom: 1px solid var(--gray-color);
}
.scroll-box > .card {
    min-width: 28vw;
    max-width: 350px;
    margin-right: 8px;
}
.scroll-box > .card:nth-last-child(1) {
    margin-right: 15px;
}
.scroll-box .card > div {
    padding: 8px;
}
.scroll-bar {
    width: 30px;
    margin: -10px auto 30px;
    background: var(--gray-color);
    border-radius: 10px;
    height: 2px;
    pointer-events: none;
}
.scroll-bar span {
    display: block;
    width: 50%;
    height: 100%;
    background: var(--main-color);
    transform: translateX(0);
}
/* tab */
.detail-tab {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fff;
}
.detail-tab > a, .detail-tab > a:hover, .detail-tab > span, .detail-tab > span:hover {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    padding: 10px;
    color: #888;
    border-bottom: 2px solid #fff;
    cursor: pointer;
}
.detail-tab a.active, .detail-tab span.active {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}
.product-desc p {
    margin: 15px 0;
}
[bind^="detail-tab"] {
    display: none;
}
[bind^="detail-tab"].active {
    display: block;
}
.form-control {
    border-color: var(--main-color);
    height: 2.8rem;
}
.veri-img {
    width: 80px;
}
/* form style */
.form-control {
    border-color: #000;
    border-radius: 6px;
}
.form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.2rem var(--main-color-shallow);
}
.form-control[type="search"] {
    padding-right: 36px;
}
input:disabled {
    background: #F8F8F8!important;
    border: 1px dashed #888;
}

/* checkbox */
.checkbox input {
    display: none;
}
.checkbox input ~ span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1.6px solid var(--second-color);
    background: #fff;
    position: relative;
}
.checkbox input ~ span::after {
    content: '';
    width: 14px;
    height: 7px;
    display: block;
    border-width: 2px 2px 0 0;
    border-color: #fff;
    border-style: solid;
    opacity: 0;
    transition: .3s;
    transform: rotate(135deg);
    transform-origin: 50% 73%;
}
.checkbox input:checked ~ span {
    background: var(--second-color);
}
.checkbox input:checked ~ span::after {
    opacity: 1;
}

/* radio */
.radio {
    display: inline-flex;
    margin-bottom: 0.5rem;
    align-items: center;
    margin-right: 15px;
}
.radio input {
    display: none;
}
.radio input ~ span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.6px solid #888;
    background: #fff;
    position: relative;
    margin-right: 5px;
}
.radio input ~ span::after {
    content: '';
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: block;
    background: var(--second-color);
    opacity: 0;
    transition: .3s;
    transform: rotate(135deg);
    transform-origin: 50% 65%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.radio input:checked ~ span {
    border: 1.6px solid var(--second-color);
}
.radio input:checked ~ span::after {
    opacity: 1;
}

select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-progress-appearance: none;
    background: #fff url(../images/register/icon-down.svg) no-repeat right 5px center/18px;
}

.icon-eye {
    display: inline-block;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    cursor: pointer;
    background: url(../images/register/icon-eye.svg) no-repeat center right/contain;
}

.icon-eye.open {
    background: url(../images/register/icon-eye-.svg) no-repeat center right/contain;
}

/********** 頁面元件 Ｅ **********/
/********** 通用樣式 Ｓ **********/
.bg-gray {
    background: var(--gray-color);
}
.bg-main {
    background: var(--main-color)!important;
}
.bg-secondary {
    background: var(--second-color)!important;
}
.row {
    margin-right: -5px;
    margin-left: -5px;
}
.col-6, .col-sm-6 {
    padding-left: 5px;
    padding-right: 5px;
}
.border-box {
    box-sizing: border-box;
}
.m-10 {
    margin: 10px!important;
}
.my-10 {
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}
.ml-10 {
    margin-left: 10px!important;
}
.mt-10 {
    margin-top: 10px!important;
}
.mb-10 {
    margin-bottom: 10px!important;
}
.mb-30 {
    margin-bottom: 30px!important;
}
.m-15 {
    margin: 15px!important;
}
.mx-15 {
    margin: 0 15px!important;
}
.ml-15 {
    margin-left: 15px!important;
}
.mr-15 {
    margin-right: 15px!important;
}
.mt-15 {
    margin-top: 15px!important;
}
.mb-15 {
    margin-bottom: 15px!important;
}
.mb-20 {
    margin-bottom: 20px!important;
}
.my-20 {
    margin-top: 20px!important;
    margin-bottom: 20px!important;
}
.p-15 {
    padding: 15px!important;
}
.pl-15 {
    padding-left: 15px!important;
}
.pl-20 {
    padding-left: 20px!important;
}
.px-15 {
    padding-left: 15px!important;
    padding-right: 15px!important;
}
.px-20 {
    padding-left: 20px!important;
    padding-right: 20px!important;
}
.px-30 {
    padding-left: 30px!important;
    padding-right: 30px!important;
}
.py-10 {
    padding-top: 10px!important;
    padding-bottom: 10px!important;
}
.py-15 {
    padding-top: 15px!important;
    padding-bottom: 15px!important;
}
.py-20 {
    padding-top: 20px!important;
    padding-bottom: 20px!important;
}
.py-30 {
    padding-top: 30px!important;
    padding-bottom: 30px!important;
}
.pt-15 {
    padding-top: 15px!important;
}
.pt-30 {
    padding-top: 30px!important;
}
.pb-10 {
    padding-bottom: 10px!important;
}
.pb-15 {
    padding-bottom: 15px!important;
}
.pb-20 {
    padding-bottom: 20px!important;
}
.p-20 {
    padding: 20px!important;
}
.p-30 {
    padding: 30px!important;
}
.w-90 {
    width: 90%;
}
.w-70px {
    display: block;
    width: 70px;
}
.w-100px {
    display: block;
    width: 100px;
}
.min-h-100 {
    min-height: 100vh!important;
}
.text-ellipsis {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-ellipsis.single-line {
    -webkit-line-clamp: 1;
}
.text-underline {
    text-decoration: underline;
}
.text-main {
    color: var(--main-color);
}
.text-second {
    color: var(--second-color);
}
.text-gray {
    color: #444!important;
}
.text-muted {
    color: #888!important;
}
.text-dark {
    color: #000!important;
}
.text-line-through {
    text-decoration:line-through;
}
.text-em {
    font-size: 1.8rem;
    font-weight: bold;
}
.text-1p15 {
    font-size: 1.15rem;
}
.translate50 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: sub;
}
.border-top {
    border-top: 1px solid #f0f4f5!important;
}
.border-bottom {
    border-bottom: 1px solid #f0f4f5!important;
}
.border-left {
    border-left: 1px solid #f0f4f5!important;
}
.border-right {
    border-right: 1px solid #f0f4f5!important;
}
.border {
    border: 1px solid #f0f4f5!important;
}
.font-weight-500 {
    font-weight: 500;
}
/********** 通用樣式 Ｅ **********/
/********** 特定組件 Ｓ **********/
.products-wrapper .card {
    cursor: pointer;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    transition: .3s;
}
.products-wrapper .card:hover {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
.card-img .swiper-pagination-bullet {
    background: var(--gray-color);
    border: 1px solid var(--gray-color);
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, .25);
}
.card-img .swiper-pagination-bullet-active {
    background: var(--main-color);
}
.card-img .swiper-container-horizontal>.swiper-pagination {
    bottom: 0px;
}
.card-img .swiper-container-horizontal>.swiper-pagination .swiper-pagination-bullet {
    margin: 0 1px;
}
/* coupon */
.coupon-name-overflow {
    display: inline-block;
    max-width: 65%;
    overflow: hidden;
    vertical-align: bottom;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.rule {
    color: #888;
}
/********** 特定組件 Ｅ **********/
/********** responsive Ｓ **********/
@media screen and (max-width: 375px) {
    .products-wrapper span {
        font-size: 80%;
    }
}
@media screen and (max-width: 360px) {
    .products-wrapper span {
        font-size: 70%;
    }
}
@media screen and (max-width: 320px) {
    .products-wrapper span {
        font-size: 60%;
    }
    .btn-icon img {
        width: 14px;
        height: 14px;
    }
}
@media screen and (min-width: 768px) {
    .header ul.icon-group > li {
        margin-right: 24px;
        margin-left: 0;
    }
    .header ul.icon-group img {
        display: inline-block;
        width: 18px;
        height: 18px;
        object-fit: contain;
    }
}
@media screen and (min-width: 980px) {
    body {
        background: #fff;
    }
    .kv .swiper-container img {
        height: auto;
    }
    .row-sm {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    .col-lg-20p {
        padding-left: 5px;
        padding-right: 5px;
        flex: 0 0 20%;
        max-width: 20%;
    }
    .col-lg-20p span {
        font-size: 90%;
    }
    .scroll-box > .card {
        min-width: calc(20% - 7px);
        width: 150px;
    }
    .scroll-bar {
        margin: 8px auto 30px;
    }
    .mb-md-0 {
        margin-bottom: 0!important;
    }
    .bg-md-white {
        background: #fff;
    }
    .px-md-0 {
        padding-left: 0px!important;
        padding-right: 0px!important;
    }
    .pt-md-0 {
        padding-top: 0!important;
    }
    .pt-md-20 {
        padding-top: 20px!important;
    }
}
@media screen and (min-width: 1025px) {
    .nav-bar {
        display: none;
    }
    .nav-bar.buying {
        display: flex;
    }
}
@media screen and (min-width: 1440px) {
    .box {
        max-width: 70%;
        min-width: 980px;
        margin: 0 auto;
        overflow: hidden;
        width: 100%;
    }
}
/********** responsive Ｅ **********/