@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@900&display=swap');

:root {
    --p-main-color: #31ccc4;
    --p-second-color: #ff6fa2;
    --p-font-color: #ff6fa2;
}
@media (max-width: 767px){
    select {
        -webkit-appearance: none;
        background-color: #fff;
        cursor: pointer;
        border-radius: 2px;
        min-width: 70px !important;
        padding: 5px 30px 5px 10px !important;
        background-repeat: no-repeat !important;
        background-position: right center !important;
        background-image: url(../images/icon/dropdownarr.svg) !important;
        background-size: 25px !important;
      }
}
.modal-footer {
    text-align: center;
}
@media (max-width: 767px){
/* #point-list .modal-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    left: 0;
    padding: 10px;
} */
}
.modal-title{
    text-align: center;
}
#line-term-modal .modal-dialog {
    width: 700px;
    max-width: 100%;
    margin-top: 5%;
}
.btn-line{
    background-color: #07b53b !important;
}

img {
    height: auto;
}

.boss-blog-featured .box-heading h1,
.bt-featured-pro .box-heading h1,
.bt-product-category .box-heading h1,
.bt-service .box-heading h1 {
    display: inline-block;
    padding-right: 45px;
    font-size: 20px;
    line-height: 40px;
    position: relative;
    margin: 0;
    color: #fff;
    padding-left: 35px;
}

.boss-blog-featured .box-heading h1 {
    background-color: var(--p-main-color);
}

.boss-blog-featured .box-heading,
.bt-featured-pro>.box-heading,
.bt-product-category>.box-heading,
.bt-service .box-heading {
    margin-bottom: 20px;
    position: relative;
}

.boss-blog-featured .box-heading:before,
.bt-featured-pro>.box-heading:before,
.bt-product-category>.box-heading:before,
.bt-service .box-heading:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 100%;
    border-top: 36px solid #eaeaea;
}

.boss-blog-featured .box-heading h1:before,
.bt-featured-pro .box-heading h1:before,
.bt-product-category .box-heading h1:before,
.bt-service .box-heading h1:before {
    content: "";
    position: absolute;
    right: 0;
    width: 0;
    height: 0;
    top: 0;
    border-right: 20px solid #eaeaea;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.boss-blog-featured .box-heading h1 i {
    font-size: 22px;
}

.boss-blog-featured .box-heading h1 i,
.bt-service .box-heading h1 i {
    margin-right: 15px;
}

.pro-class {
    display: flex;
    flex-wrap: wrap;
}

.row-reverse .pro-class {
    flex-direction: row-reverse;
}

.pro-list {
    flex: 1;
    margin: 0;
}

.pro-list .box-content {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    margin-right: -10px;
    margin-left: -10px;
}



.pro-list .caption {
    width: 100%;
}

.pro-list .price {
    margin-bottom: 5px;
}

.pro-list .name a {
    width: 100%;
    text-align: left;
    font-size: 15px;
}

.bt-footer-middle .bt-block-footer .footer-logo {
    height: 50px;
    margin-bottom: 10px;
    width: auto;
}

ul.list-menu li a {
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
    color: #666;
}

.cart-list {
    height: 250px;
    overflow-y: auto;
    padding: 20px;
}

.show-mobile {
    display: none;
}

.search-input {
    position: fixed;
    width: 100%;
    background-color: #fff;
    /* top:88px; */
    top: 0;
    right: 0;
    z-index: 998;
    box-shadow: rgb(71 73 72 / 30%) 0px 1px 5px 0px;
}
.search-input input {
    height: 72px;
    width: 100%;
    padding: 0 25px;
    background-color: #fff;
    margin-bottom: 0;
    border: 0;
}

.search-input a {
    position: absolute;
    top: 40%;
    right: 25px;
    /* -webkit-transform: translateY(-50%); */
    /* -moz-transform: translateY(-50%); */
    /* -ms-transform: translateY(-50%); */
    /* -o-transform: translateY(-50%); */
    /* transform: translateY(-50%); */
    height: 30px;
    width: 30px;
    display: block;
    background: url(../images/close-search.png) no-repeat center;
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

ul.mobile-nav li a b {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-width: 1px 1px 0 0;
    border-color: #757575;
    border-style: solid;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
}

ul.mobile-nav li.active>a b {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    border-color: #fff;
}

.modal-body.product_details h2 {
    padding-right: 45px;
    margin: 10px 0 20px 0;
    color: #000;
    font-size: 18px;
    line-height: 1.5;
}

.product_details .price {
    font-size: 22px;
    margin-bottom: 10px;
}
.product_details .price span{
    color: var(--p-main-color);
}
.product_details .price img{
    width: 20px;
    margin-right: 2px;
}
#addToCart .modal-dialog,#addToCart-contact .modal-dialog{
    width: 550px;
    min-width: 360px;
    max-width: 90%;
    margin: 10% auto;
}

.single-r-wrapper {
    position: relative;
}

.img-thumbnail {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
}

.single-r-wrapper .owl-prev,
.single-r-wrapper .owl-next {
    position: absolute;
    top: 41%;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.52);
    text-align: center;
    line-height: 30px;
}

.single-r-wrapper .owl-next {
    right: 0;
}

.pro-payment {
    /* border-top: 1px solid #efefef; */
    /* border-bottom: 1px solid #efefef; */
    padding: 20px 0;
}

.storehouse {
    display: flex;
    align-items: center;
}

.shop-btn {
    margin: 20px 0;
}

.product-share {
    display: flex;
    align-items: center;
    padding-top: 20px;
}

.social-media.style-3 li {
    display: inline-block;
    margin-left: 15px;
}

.social-media.style-3 li a {
    font-size: 32px;
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #6ec3c2;
    color: #fff;
    border-radius: 100%;
    line-height: 50px;
}

.social-media.style-3 li a:hover {
    opacity: .8;
}

.social-media.style-3 li a.facebook {
    background-color: #4267B2;
}

.social-media.style-3 li a.line {
    background-color: #00c300;
}

.product-share .social-media {
    display: flex;
}

i.fa-line {
    background-image: url(../images/share-line-g.svg);
    width: 25px;
    height: 25px;
    background-size: 100%;
    background-repeat: no-repeat;
}
.pro-select-area {
    padding: 10px 0;
}

.pro-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* justify-content: center; */
}

.pro-select h6,
.quantily_info h6 {
    font-size: 15px;
    margin: 0 10px 0 0;
    width: 70px;
}

#gallery-top {
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

#gallery-thumbs img {
    border: 1px solid #ddd;
    padding: 2px;
    transition: .2s;
}

#gallery-thumbs .swiper-slide {
    cursor: pointer;
}

#gallery-thumbs .swiper-slide-thumb-active,
#gallery-thumbs .swiper-slide:hover {
    background: #fff;
}

#gallery-thumbs .swiper-slide-thumb-active img,
#gallery-thumbs .swiper-slide:hover img {
    opacity: .5;
    border-color: var(--p-second-color);
}

/*---加價購---*/
.buy-together-block{
    margin-top: 50px;
}
.buy-together-block .select_number .no-match{
    padding: 5px;
}
.buy-together-block .box-special .box-content .caption .name a{
    height: 60px;
}
.buy-together-block .product-info{
    height: 66px;
}
@media(max-width: 767px) {
    .buy-together-block .product-info{
        height: auto;
    }
}


.product-increase {
    margin-top: 50px;
}
@media(max-width: 1200px){
    .product-increase {margin-top: 30px;}
}
.product-increase h2{
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 5px;
}
.product-increase h2:before{
    font-family: "FontAwesome";
    content: "\f217";
    font-size: 28px;
    margin-right: 10px;
}
.product-increase h4 {
    font-size: 23px;
    font-weight: bold;
}
.product-increase-list {
    border-top: 2px solid #e9e9e9;
    overflow: hidden;
    /* margin-top: 10px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    /* background-color: #f5f5f5; */
    padding: 5px 0 0 0 ;
}

.increase_item {
    margin: 10px 0 0 0;
    padding: 15px 25px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 49.5%;
    position: relative;
    border: 1px solid #efefef;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
}
.increase_item label {
    margin-right: 6px;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    padding: 15px;
}
.increase_item .proimg {
    /* border: 1px solid #f3f3f3; */
    /* padding: 3px; */
    margin: 0 10px;
    position: relative;
    /* flex: 1; */
    width: 21%;
}

.increase_item input[type=checkbox].ace+.lbl {
    top: -10px;
    left: -5px;
    z-index: 2;
}
.increase_item .text {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    z-index: 2;
}
.increase_item .text .price{
    display: block;
}
.increase_item .text .name {
    display: flex;
    flex-direction: column;
}
.increase_item .text .name a{
    line-height: 1.4;
    font-size: 14px;
}
.increase_item .text .name .price{
    font-size: 20px;
}
/* .increase_item .text h6 {
    font-size: 16px;
    line-height: 1.5;
} */

/* .increase_item label {
    margin-right: 6px;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
} */

.increase_item .select-spec {
    margin-top: 0px;
    width: 100%;
    /* text-align: end; */
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.increase_item .select-spec > div{
    /* text-align: right; */
    /* margin-right: 5px; */
}
.increase_item .select-spec > div p{
    margin-bottom: 0;
}
.increase_item .select-spec > div .no-match{
    background-color: #f5f5f5;
    padding: 4px 15px;
}
/* .increase_item .select-spec span{
    background-color: #ededed;
    padding: 10px;
} */
.increase_item select {
    font-family: Arial, Helvetica, sans-serif;
    color: #555;
    /* height: 40px; */
    width: 90px;
    /* width: 115px; */
    font-size: 14px;
    border: 1px solid #ccc;
    margin-left: 5px;
    height: auto;
}
.best_sellers.product-increase .proimg {
    margin-left: 30px;
}

.best_sellers.product-increase .text {
    width: 65%;
}

/* 加價購-隱形眼鏡 */
.increase_item .select-spec.contacts-spec button{
    margin-top: 0;
    min-width: 85px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: normal;
    margin-left: 5px;
    background-color: var(--p-main-color);
}
.increase_item .contacts-spec .contacts-spec-content{
    margin-top: 10px;
    border-top: 1px #eee solid;
    padding: 10px;
    background-color: #f5f5f5;
}
.increase_item .contacts-spec .contacts-spec-content select{
    margin: 5px;
    width: 45%
}
@media(max-width: 992px){
    .increase_item .contacts-spec .contacts-spec-content select{width: 95%}
    .product-increase-list{
        display: block;
    }
    .increase_item{
        max-width: 100%;
        padding: 20px 10px;
        flex-wrap: nowrap;
    }
    .increase_item .proimg{
        flex: initial;
        width: 13%;
        margin: 0 10px 0 30px;
    }
    .increase_item .text{
        align-content: flex-start;
    }
    .increase_item .select-spec{
        margin-top: 0;
        /* justify-content: space-between; */
    }
}
@media(max-width: 767px){
    .increase_item .proimg{
        margin-left: 5px;
        width: 30%;
    }
    .increase_item .text .name a{
        font-size: 14px;
    }
    /* .increase_item .select-spec{
        justify-content: space-between;
    } */
    .increase_item .text .name .price{
        font-size: 18px;
    }
    .increase_item select{
        width: 95px;
        margin-left: 0;
        padding: 5px;
        height: auto;
    }
    .increase_item .select-spec > div,.increase_item select{
        margin: 0 5px;
    }
    .increase_item .select-spec > div p{
        font-size: 13px;
        /* background-color: #f5f5f5; */
    }
    .increase_item .select-spec > div .no-match {
        padding: 5px 0;
        min-width: 80px;
    }
}
@media(max-width: 390px){
    .increase_item .proimg{
        margin: 0 5px;
        width: 30%;
    }
    .product-increase h2{
        font-size: 23px;
    }
    .product-increase h2:before{
        font-size: 26px;
        margin-right: 5px;
    }
}
@media(max-width: 320px){
    .increase_item select{
        width: 75px;
    }
    .increase_item .select-spec > div .no-match{
        padding: 5px;
    }
}
/*----付款方式----*/
.pro-payment-title {
    width: 100%;
    position: relative;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 20px;
    flex-wrap: wrap;
}

.pro-payment-title h6 {
    padding-right: 10px;
    font-size: 15px;
    margin: 0;
    margin-bottom: 5px;
}

.pro-payment-content {
    padding: 0px 14px;
    height: 0;
    overflow: hidden;
    position: relative;
    opacity: 0;
    -webkit-transition: .4s ease;
    -moz-transition: .4s ease;
    -o-transition: .4s ease;
    transition: .4s ease;
    background: #f9f9f9;
    border-top: 1px solid #ebebeb;
    font-size: 13px;
}

.pro-payment-content p {
    margin-bottom: 5px;
}

.faq-question .panel:checked~.pro-payment-content {
    height: auto;
    opacity: 1;
    padding: 14px;
    margin-top: 15px;
}

.pro-payment-title:before {
    font-family: "FontAwesome";
    content: "\f059";
    position: absolute;
    z-index: 5;
    font-size: 18px;
    left: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
}

.faq-question .panel {
    display: none;
}
.ship-free {
    position: relative;
    font-size: 14px;
    /* border: 1px solid #F44336; */
    padding: 5px 7px;
    color: var(--p-font-color);
    margin-right: 5px;
    background: #fde7ef;
    /* background: linear-gradient(-180deg,#ff6fa2,#f84d89); */
}
.ship-free:hover{
    text-decoration: underline;
}
/* .ship-free::after{
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: 10px;
    left: -10px;
    border: 5px solid transparent;
    width: 5px;
    height: 5px;
    border-right-color: var(--p-second-color);
} */
.color-red {
    color: #F44336;
}

.countdown {
    line-height: 1.5;
    font-size: 13px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    border: 1px solid var(--p-second-color);
}

.sale-time i {
    width: 15px;
    text-align: center;
    display: inline-block;
}

.countdown span {
    width: 25px;
    height: 22px;
    line-height: 22px;
    display: flex;
    align-items: center;
    border-radius: 2px;
    justify-content: center;
    font-size: 16px;
    font-family: 'Lato', sans-serif;

}

.time-sale {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin:0 0 10px 0;
    justify-content: space-between;
    background: linear-gradient(270deg,#ff2929,#f7b030);
    padding: 5px 10px;
    border-radius: 10px;
}

.time-sale .time-sale-title {
    background: var(--p-second-color);
    color: #fff;
    padding: 0 5px;
    width: 90px;
    border: 1px solid var(--p-second-color);
}

#addToCart .product-btn .add-btn,#addToCart-contact .product-btn .add-btn{
    width: calc(50% - 5px);
    min-width: auto;
    margin: 0;
}
/* #addToCart .contact-lens .product-btn .add-btn,#addToCart-contact .contact-lens .product-btn .add-btn{
    margin: 0 3px 0 0;
    padding: 10px;
} */

.page-tittle {
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 30px;
}

.pager {
    display:initial;
    width: 100%;
    /* border-collapse: separate; */
    /* border: 0 solid #000; */
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pager-modern a {
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    height:auto;
    padding: 10px;
    -webkit-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
}

.pager a span {
    color: #333;
    font-size: 15px;
}

.pager-modern a span {
    display: block;
    line-height: 20px;
}

.pager-prev {
    text-align: left;
    width: 47%;
}
.pager-next {
    text-align: right;
    width: 47%;
}
.pager-all{
    width: 15%;
}
.pager.pager-modern i {
    color: var(--p-font-color);
    margin: 0 10px;
    vertical-align: middle;
}

.pager-modern a span.txt {
    margin-top: 10px;
    font-size: 15px;
    color: #666;
}

.side-bar {
    margin-bottom: 30px;
}

.side-bar li a {
    display: block;
    font-size: 16px;
    padding: 10px 15px;
    border: 1px solid #ebebeb;
    margin-bottom: 10px;
    position: relative;
    transition: .2s;
}

.side-bar li.active a {
    border: 1px solid var(--p-font-color);
    color: var(--p-font-color);
}

.side-bar li a::after {
    font-family: "FontAwesome";
    content: "\f105";
    position: absolute;
    right: 20px;
    transition: .2s;
}

.side-bar li a:hover {
    border: 1px solid var(--p-font-color);
}

.side-bar li a:hover::after,
.side-bar li.active a::after {
    right: 10px;
    transition: .2s;
}

.contact-info {
    width: 24%;
    float: right;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-around;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    /* justify-content: space-between; */
    padding: 25px 10px 5px 10px;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    z-index: 100;
    margin: 0 0 0 20px;
    border-radius: 5px;
}

.contact-info .contact-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex: 1;
    margin-bottom: 20px;
}

.contact-info .contact-item .contact-icon {
    width: 40px;
}

.contact-info .contact-item .contact-text {
    /* padding-left: 20px; */
    line-height: 25px;
    margin-top: 3px;
}

.contact-form .form-control {
    margin-bottom: 10px;
}

.popover {
    max-width: 200px;
}

/*---faq---*/
.faq-item a[data-toggle='collapse'] {
    display: flex;
    position: relative;
    padding: 20px 45px 19px 25px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1em;
    background-color: #fff;
    color: #444;
    border: 1px solid #d5d5d5;
    cursor: pointer;
    margin-bottom: 15px;
}

.faq-item a[aria-expanded="true"] {
    background: var(--p-font-color);
    color: #fff;
    border: 1px solid var(--p-font-color);
}

.faq-item [data-toggle='collapse']:after {
    position: absolute;
    top: 50%;
    right: 28px;
    content: "\f107";
    font-family: 'FontAwesome';
    font-size: 20px;
    color: #000;
    transform: translateY(-50%);
}

.faq-item [data-toggle='collapse'][aria-expanded="true"]:after {
    content: "\f106";
    color: #fff;
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.switch-field {
    flex: 1;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    text-shadow: none;
    padding: 7px 15px;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    border: 1px solid#d3d6d9;
    margin: 0 5px 5px 0;
}

.switch-field label:before {
    content: '';
    position: absolute;
    top: -9px;
    left: -9px;
    border: 8px solid transparent;
    border-bottom-color: #d3d6d9;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg);
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked+label,
.switch-field input:checked+label:before,
.switch-field label:hover,
.switch-field label:hover:before {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: var(--p-second-color);
    color: var(--p-second-color);
}

.switch-field input:checked+label img {
    opacity: .6;
}

.switch-field.spec-img label:before {
    display: none;
}

.spec-img label img {
    width: 50px;
}

.spec-img label {
    padding: 0;
    background-color: var(--p-second-color);
}

.lower-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid #dddddd;
}

.readmore a {
    background: var(--p-second-color);
    color: #fff;
    padding: 7px 40px 7px 20px;
    border-radius: 20px;
    position: relative;
    transition: .2s;
}

.readmore a::after {
    content: "\ea94";
    font-family: IcoFont;
    position: absolute;
    right: 20px;
    transition: .2s;
}

.readmore a:hover {
    opacity: .8;
}

.readmore a:hover::after {
    right: 10px;
}


.recommend {
    border-left: 1px solid #efefef;
    margin-left: 10px;
    padding-left: 10px;

}

#recommender .swiper-slide .product-thumb {
    border: 0;
}

#recommender .swiper-slide .product-thumb .image {
    width: 100px;
    margin: auto;
}

#recommender .swiper-slide .product-thumb .name a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

#recommender .swiper-slide .product-thumb .lower-box {
    justify-content: center;
}

#recommender.swiper-container {
    width: 100%;
    height: 100%;
}

#recommender .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: calc((100% - 30px) / 2);
}

#recommender .swiper-pagination {
    margin-top: 10px;
    position: relative;
}

.recommend h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.spec-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 20px;
    display: none;
}

.spec-mobile .span-label {
    width: .56rem;
    margin-right: 15px;
    color: #999;
}

.mobile-show {
    display: none;
}

.pro-cate.panel-group .panel {
    border: 0;
}

.pro-cate .panel-default>.panel-heading {
    background: transparent;
    padding: 0;
}

.pro-cate.panel-group .panel+.panel {
    margin-top: 10px;
}

.pro-cate .panel-heading a[data-toggle='collapse'] {
    display: flex;
    position: relative;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1em;
    background-color: #fff;
    color: #444;
    border: 1px solid #ededed;

}

.pro-cate .panel-heading a[data-toggle='collapse']:after {
    position: absolute;
    top: 50%;
    right: 14px;
    content: "\f067";
    font-family: 'FontAwesome';
    font-size: 13px;
    color:#000;
    margin-top: -8px;
}

.pro-cate .panel-heading a[aria-expanded="true"] {
    background: var(--p-main-color);
    color: #fff;
    border: 1px solid var(--p-main-color)
}

.pro-cate .panel-heading a[aria-expanded="true"]:after {
    color: #fff;
    content: "\f068";
}

.pro-filter {
    display: flex;
    flex-wrap: wrap;
}

.pro-filter li {
    width: 50%;
}

.title-area label {
    font-size: 16px;
    font-weight: bold;
    color: #343434;
}

.pro-filter li input[type=checkbox],
.title-area input[type=checkbox] {
    display: none;
}

.pro-filter li input[type=checkbox]+label:before,
.title-area input[type=checkbox]+label:before {
    font-family: FontAwesome;
    display: inline-block;
    width: 20px;
    font-size: 18px;
    content: "\f096";
}

.pro-filter li input[type=checkbox]:checked+label:before,
.title-area input[type=checkbox]:checked+label:before {
    content: "\f046";
    color: var(--p-second-color);
}

.pro-cate .panel-body {
    border: 1px solid var(--p-main-color) !important;
}

.cate-area {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ededed;
}

.pro-filter.main-cate li {
    width: 100%;
}

.show-mobile {
    display: none;
}

.box-special .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.outline-btn {
    padding: 3px 7px;
    border: 1px solid var(--p-main-color);
    color: var(--p-main-color);
}

/*---積分---*/
.rewards-card-block {
    padding: 70px 40px 40px 60px;
    background: #fffbf0;
    margin: 20px 0 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.rewards-card-block::after {
    display: block;
    font-family: IcoFont;
    content: "\ef3c";
    font-size: 180px;
    position: absolute;
    right: 0;
    color: #fff2cd;

}

.rewards-card-block h5 {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    font-size: 25px;
    background: var(--p-second-color);
    color: #fff;
    padding: 15px;
    width: 250px;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 0;
    text-align: center;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
}

.rewards-card {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 20px;
}

.rewards-card li {
    margin: 5px;
    width: calc(14.26% - 10px);
    height: 100px;
    border: 2px dotted #eee;
    display: flex;
    position: relative;
    border-radius: 10px;
    background: #fff;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 15;
}

.point-complete {
    position: absolute;
    width: 90%;
    height: 90%;
    background-image: url(../images/stamp.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
    color: #fff;
    border-radius: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.point-complete i {
    width: 100%;
    display: block;
    font-size: 32px;
}

.point-date {
    font-size: 13px;

}

.rewards-card li .rewards-card-num {
    text-align: center;
    margin: auto;
    font-family: 'Bellota Text', cursive;
    font-size: 25px;
    color: #9f9f9f;
}

.rewards-card-info {
    position: relative;
    z-index: 10;
}

.rewards-card-info span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
}

.rewards-card-info span i {
    font-style: normal;
    font-family: 'Bellota Text', cursive;
    font-size: 16px;
}

.point-title {
    font-size: 20px;
}

.point-title span {
    display: inline-block;
    padding: 0 5px;
    font-size: 27px;
    font-family: 'Bellota Text', cursive;
    color: var(--p-main-color);
}

.point-switch {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.switch {
    position: relative;
    margin-left: 10px;
}

.switch label {
    cursor: pointer;
    height: 30px;
    width: 60px;
    background: #dadada;
    display: block;
    border-radius: 100px;
    position: relative;
}

.switch input {
    position: absolute;
}

.switch input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch label:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 5px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.switch input:checked+label {
    background: var(--p-main-color);
}

.switch input:checked+label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

.switch label:active:after {
    width: 60px;
}

.special-point i {
    color: #F44336;
}

.point-btn {
    padding: 15px;
    font-size: 20px;
    border-radius: 40px;
    width: 250px;
    max-width: 100%;
    border: 0;
    box-shadow: 3px 4px 0px 0px #4a9998;
    background-color: var(--p-main-color);
    color: #fff !important;
    display: block;
    text-align: center;
    margin: 30px auto 0 auto;
}

.point-btn.grey {
    background: #d1d1d1;
    box-shadow: 3px 4px 0px 0px #a4a4a4;
}

.point-uesd {
    display: block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: var(--p-second-color);
    border-radius: 100%;
    position: absolute;
    right: 20px;
    top: 11px;
    color: #fff !important;
    box-shadow: 3px 4px 0px 0px #7f518e;
    font-size: 14px;
}

.poinr-pro .product-grid .price {
    margin: 0;
}

.poinr-pro .button-group.button-grid .btn-cart {
    background: var(--p-second-color);
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 0;
    width: auto;
    height: auto;
    border-radius: 0;
}

.poinr-pro .button-group.button-grid .btn-cart.grey {
    background: #ccc;
    width: 100%;
}

.sold-out .product-thumb .image:before {
    content: "";
    background: #000;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    opacity: .6;
}

.sold-out .product-thumb .image:after {
    content: "兌換完畢";
    display: block;
    position: absolute;
    color: #484848;
    border: 1px solid;
    padding: 5px 10px;
    transform: rotateZ(-15deg);
    /* top: 50px; */
    top: 25%;
    /* left: 50px; */
    left: 25%;
    width: 140px;
    height: 140px;
    border-radius: 100%;
    line-height: 125px;
    text-align: center;
    font-size: 25px;
    background: rgb(255 255 255 / 77%);
}
@media(max-width: 576px){
    .sold-out .product-thumb .image:after{
        width: 100px;
        height: 100px;
        line-height: 90px;
        font-size: 18px;
    }
}
.point-pro-info {
    padding: 20px;
    border: 1px solid #e9e9e9;
    margin: 20px 0;
    height: 300px;
    overflow-y: auto;
}

.point-exchange {
    display: flex;
    height: 100%;
    background:var(--p-second-color);
    color: #fff;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    font-size: 13px;
}

.point-exchange i {
    display: block;
    width: 100%;
    font-size: 15px;
}
#promenu {
    padding: 0;
    list-style: none;
    white-space: nowrap;
    overflow-x: auto;
    margin: 20px auto 10px auto;
}

#promenu li a,
#promenu li {
    display: inline-block;
    position: relative;
    color: #676767;
}
#promenu li a {
    background-color: #ffffff;
    border: solid 1px rgba(0, 0, 0, 0.07);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 7px 15px;
    border-radius: 50px;
    margin-bottom: 10px;
}
#promenu li a:hover{
    background-color: var(--p-main-color);
    color: #fff;
}
#promenu li.active a {
    border-color:var(--p-main-color);
    background:var(--p-main-color);
    color: #fff;
}
#point-modal{
    text-align: center;
}
#point-modal .modal-body {
    padding: 0;
}
#point-modal .modal-dialog{
    width: 870px;
    max-width: 95%;
    margin: 10% auto;
}
#point-modal .modal-dialog .modal-content .close {
    background-color: rgb(204 204 204 / 0.5);
    color: #fff;
}
#point-modal .modal-dialog .modal-content .close:hover {
    background-color: rgb(204 204 204 / 1);
}
#point-modal img {
    margin-bottom: 0;
}
#point-modal h4 {
    color: var(--p-main-color);
    font-size: 28px;
    margin-bottom: 20px;
}
#point-modal p {
    text-align: center;
    font-size: 21px;
}
#point-modal p span{
    font-size: 25px;
}
#point-modal .point-btn{
    margin-top: 0;
}
#point-today-fix{
    position: fixed;
    right: 50%;
    top: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px -670px 0px 0px;
}
#point-today-fix a{
    display: block;
    text-align: center;
    width: 80px;
    height: 80px;
}

#point-today-fix a span{
    display: block;
    width: 100%;
    font-size: 14px;
    margin-top: 80px;
    background: #6ec3c2;
    box-shadow: 2px 3px 0px 0px #5a9998;
    padding: 2px;
    border-radius: 15px;
    color: #fff;
}
.clock {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 10px;
    left: 10px;
  }
  /* Clock Body */
  
  .clock-body, .clock-body:before {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  
  .clock-body {
    border: 4px solid var(--p-main-color);
    overflow: hidden;
    background-color: white;
    left: 5px;
    top: 6px;
  }
  
  .clock-body:before {
    content: '';
    border: 3px solid #dcdbd3;
    left: -2px;
    top: -2px;
  }
  
  /* Clock Hands */
  
  .clock-hands:before, .clock-hands:after {
    position: absolute;
    content: '';
    background-color: black;
    border-radius: 0px 0px 10px 10px;
    transform-origin: top;
    transform: rotate(180deg) translate(0, 5px);
    top: 4px;
  }
  
  .clock-hands {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fe504d;
    border-radius: 50%;
    border: 2px solid black;
    left: calc(50% - 4px);
    top: calc(50% - 4px);
  }
  
  .clock-hands:before {
    width: 3px;
    height: 12px;
    left: -1px;
    top: 3px;
    transform: rotate(260deg) translate(0, 5px);
  }
  
  .clock-hands:after {
    width: 3px;
    height: 13px;
    left: 0;
  
  }
  /* Clock Legs */
  
  .clock .clock-leg:nth-child(1) {
    transform: rotate(-38deg);
  }
  
  .clock .clock-leg:nth-child(2) {
    transform: rotate(38deg) translate(27px, -20px);
  }
  
  .clock-leg {
    position: absolute;
    height: 29px;
    width: 3px;
    background-color: black;
    left: 12px;
    border-radius: 10px;
  }
  
  .clock-leg:before {
    position: absolute;
    content: '';
    height: 50px;
    width: 3px;
    background-color: black;
    top: 22px;
    left: 0;
    border-radius: 10px;
  }
  
  .bell {
    position: absolute;
    width: 18px;
    height: 8px;
    background-color:var(--p-main-color);
    left: -9px;
    top: 2px;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
    animation: animate-clock-bell 5s linear infinite;
  }
  
  .bell:before {
    position: absolute;
    content: '';
    width: 15px;
    height: 8px;
    background-color: var(--p-main-color);
    right: -15px;
    top: 0px;
    border-radius: 40px 40px 0 0;
  }
  
  
  @keyframes animate-clock-bell {
    0% { transform: translate(0, 0); }
    60% { transform: translate(0, 0); }
    61% { transform: translate(-3px, -2px); }
    62% { transform: translate(3px, 2px); }
    63% { transform: translate(-3px, -2px); }
    64% { transform: translate(3px, 2px); }
    65% { transform: translate(-3px, -2px); }
    66% { transform: translate(3px, 2px); }
    67% { transform: translate(-3px, -2px); }
    68% { transform: translate(3px, 2px); }
    69% { transform: translate(-3px, -2px); }
    70% { transform: translate(3px, 2px); }
    71% { transform: translate(-3px, -2px); }
    72% { transform: translate(3px, 2px); }
    73% { transform: translate(-3px, -2px); }
    74% { transform: translate(3px, 2px); }
    75% { transform: translate(-3px, -2px); }
    76% { transform: translate(3px, 2px); }
    77% { transform: translate(-3px, -2px); }
    78% { transform: translate(3px, 2px); }
    79% { transform: translate(-3px, -2px); }
    70% { transform: translate(3px, 2px); }
    71% { transform: translate(-3px, -2px); }
    72% { transform: translate(3px, 2px); }
    73% { transform: translate(-3x, -2px); }
    74% { transform: translate(3px, 2px); }
    75% { transform: translate(-3px, -2px); }
    76% { transform: translate(3px, 2px); }
    77% { transform: translate(-3px, -2px); }
    78% { transform: translate(3px, 2px); }
    79% { transform: translate(-3px, -2px); }
    80% { transform: translate(3px, 2px); }
    81% { transform: translate(-3px, -2px); }
    82% { transform: translate(3px, 2px); }
    83% { transform: translate(-3px, -2px); }
    84% { transform: translate(3px, 2px); }
    85% { transform: translate(-3px, -2px); }
    86% { transform: translate(3px, 2px); }
    87% { transform: translate(-3px, -2px); }
    88% { transform: translate(3px, 2px); }
    89% { transform: translate(-3px, -2px); }
    90% { transform: translate(3px, 2px); }
    91% { transform: translate(-3px, -2px); }
    92% { transform: translate(3px, 2px); }
    93% { transform: translate(-3px, -2px); }
    94% { transform: translate(3px, 2px); }
    95% { transform: translate(-3px, -2px); }
    96% { transform: translate(3px, 2px); }
    97% { transform: translate(-3px, -2px); }
    98% { transform: translate(3px, 2px); }
    99% { transform: translate(-3px, -2px); }
    100% { transform: translate(3px, 2px); }
  }
  .price-block{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .price-block button{
    border: 0;
    background: transparent;
    color: #ccc;
    font-size: 22px;
    padding: 0 5px 0 0;
    transition: .2s;  
  }
  .price-block button:hover{
    color: #ff4949;
  }
@media only screen and (max-width: 991px) {
    .pro-list .box-content [class*="col-"] {
        margin-bottom: 15px;
    }
    .boss-blog-featured .box-content .col-sm-3 {
        width: 33%;
    }

    .pro-banner {
        margin-bottom: 20px;
    }

    .pro-list .box-content,
    .row-reverse .pro-list .box-content {
        margin-right: -10px;
        margin-left: -10px;
    }

    .pro-list .button-grid.button-group {
        visibility: inherit;
        bottom: 10px;
        text-align: center;
    }

    .product-thumb:hover .button-grid.button-group,
    .product-related .relt_product:hover .button-grid.button-group {
        bottom: 10px;
    }

    /* .product-thumb .image {
        position: initial;
    } */

    .button-grid.button-group {
        bottom: 10px;
    }

    .article-detail .description {
        display: none;
    }

    .boss-blog-featured .box-heading h1,
    .bt-featured-pro .box-heading h1,
    .bt-product-category .box-heading h1,
    .bt-service .box-heading h1 {
        font-size: 20px;
        padding: 0 50px 0 10px;
    }

    .readmore a {
        padding: 7px 30px 7px 20px;
    }

    .readmore a::after {
        right: 10px;
    }

    .mobile-ipad {
        display: none;
    }

    /* .increase_item select {
        width: 85px;
    } */

    .bt-footer-bottom .powered {
        padding-left: 25px;
    }

    .copy-right {
        padding-right: 25px;
    }
    /* 會員-經銷商-下方水平功能選單 */
    /* .fixed-button {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: #fff;
        text-align: center;
    } */
    ul.member-menu {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .menu-angle{
        width: 50px;
        height: 62px;
        position: absolute;
        right: 0;
        top: 2px;
        z-index: 2;
        background: -webkit-gradient(linear,left top,right top,from(rgba(255,255,255,0)),color-stop(34%,#fbfbfb),to(#f3f3f3));
    }
    .menu-angle i{
        font-size: 30px;
        padding: 15px 0 0 15px;
    }
    
}

@media only screen and (max-width: 767px) {
    #boss-search {
        display: none;
    }

    .pro-list .box-content [class*="col-"] {
        margin-bottom: 15px;
    }
    .boss-blog-featured .box-content .col-sm-3 {
        width: 50%;
        padding: 0 10px;
    }

    .boss-blog-featured .box-heading h1:before,
    .bt-featured-pro .box-heading h1:before,
    .bt-product-category .box-heading h1:before,
    .bt-service .box-heading h1:before {
        display: none;
    }

    .panel-logo,
    .panel-title {
        position: absolute;
        top: 13px;
        left: 50%;
        margin-left: -95px;
        width: 160px;
    }

    .powered,
    .copy-right.text-right {
        text-align: center;
    }

    .show-mobile {
        display: block;
    }

    .box-article .article_content {
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        border-radius: 0;
        align-items: center;
        padding: 15px;
        box-shadow: none;
        border: 1px solid #ededed;
    }

    .box-article .article_content .image {
        flex: 1;
    }

    .box-article .article_content .article-detail {
        flex: 2;
        padding: 0 0 0 15px;
    }

    #addToCart.modal,#addToCart-contact.modal{
        max-height: 100%;
        overflow-y: scroll;
        top: auto;
    }

    #addToCart .modal-dialog,#addToCart-contact .modal-dialog{
        margin: 0;
        min-width: 100%;
    }

    .mobile-hidden {
        display: none !important;
    }

    .increase_item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        /* align-items: center; */
        padding: 10px;
    }
    .increase_item .select-spec{
        /* justify-content: flex-end; */
        /* margin-top: 10px; */
    }
    #bt_footer {
        margin-bottom: 50px;
    }

    .pro-payment-title h6 {
        width: 100%;
        padding: 0;
    }

    .ship-free {
        margin-left: 0;
    }

    .button-grid.button-group {
        visibility: unset;
    }

    .side-bar li a {
        word-break: keep-all;
        margin-right: 10px;
    }

    .side-bar li:last-child a {
        margin-right: 0;
    }

    .side-bar {
        display: flex;
        overflow-x: scroll;
    }

    .side-bar li a::after {
        display: none;
    }

    .side-bar li.active a {
        background-color: var(--p-font-color);
        color: #fff;
    }

    .product-info h2 {
        font-size: 16px;
        line-height: 1.5;
        margin: 10px 0;
    }

    .list-menu li {
        display: inline-block;
        margin: 3px;

    }

    .lower-box {
        border: 0;
        margin: 0;
        padding: 0;
    }

    .lower-box .readmore {
        display: none;
    }

    .spec-mobile {
        display: flex;
        border-bottom: 1px solid #efefef;
    }

    /* .increase_item select {
        width: 95px;
        padding: 5px;
        height: auto;
    } */

    .mobile-show {
        display: flex;
    }

    .show-mobile {
        display: block;
    }

    /*---打卡---*/
    .rewards-card-block h5 {
        font-size: 20px;
        padding: 10px;
        width: 200px;
    }
    .rewards-card-block {
        padding: 60px 20px 20px;
    }
    .rewards-card li {
        width: calc(33.33% - 10px);
    }
    .point-complete{
        width: 80px;
        height: 80px;
    }
    .rewards-card{
        margin-top: 10px;
    }
    .point-block h5{
        font-size: 26px;
    }
    #point-today-fix{
        display: none;
    }
    .point-exchange-fix{
        /* position: fixed; */
    bottom: 0;
    width: 100%;
    background: #fff;
    left: 0;
    padding: 10px;
    }
    .point-exchange-fix .point-btn{
        margin-top: 20px;
        padding: 10px;
    }
    .point-pro-info {
        padding: 20px;
        border: 1px solid #e9e9e9;
        margin: 10px;
        height: calc(100vh - 191px );
        overflow-y: auto;
    }
    #point-cart .modal-body{
        height: 95vh;
        background: #fff;
    }
    #point-cart .modal-body.product_details h2{
        font-size: 18px;
        line-height: 1.5;
    }
}

@media only screen and (max-width: 375px) {

    /* .pro-select h6,
    .quantily_info h6 {
        width: 100%;
        margin: 0 0 10px 0;
    } */
    .sold-out .product-thumb .image:after{
        left: 30px;
    }
    .poinr-pro .button-group.button-grid, .poinr-pro .button-group.button-grid .btn-cart {
        width: 100%;
    }
    .poinr-pro .button-group.button-grid .btn-cart{
        margin-top: 10px;
    }
    .poinr-pro .lower-box{
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 320px) {
    .increase_item {
        padding: 10px;
    }

    .increase_item select {
        width: 75px;
        padding: 5px;
        height: 30px;
    }

    .increase_item .text h6 {
        margin: 0;
    }
    .point-complete {
        width: 70px;
        height: 70px;
    }
    .rewards-card-block {
        padding: 60px 10px 20px;
        border-radius: 0;
    }
    .point-title {
        font-size: 15px;
    }
    .sold-out .product-thumb .image:after {
        left: 20px;
    }
}
/* 倒數搶購頁 */
.countdown-page .pager-modern {
    margin: 0;
}
.countdown-page .pager-modern a {
    width: 50% !important;
    border: 0px solid var(--p-font-color);
    /* margin: 0 5px; */
    padding: 10px;
    height: auto;
}
/* .pager-prev {
    float: left;
    text-align: left;
    width: 35%;
}
.pager-next {
    float: right;
    text-align: right;
    width: 35%;
}
.pager-all{
    width: 25%;
} */
.pager-modern a span {
    display: block;
    line-height: 20px;
}
.pager-modern a span.txt {
    font-size: 15px;
    color: var(--p-font-color);
    margin-top: 5px;
}
.countdown-page .countdown-title {
    height: 230px;
    margin-bottom: 30px;
    padding: 42px 40px 40px 350px;
    background: url(../images/countdown-bg.jpg) no-repeat center bottom #fbcc3d;
    overflow: hidden;
    background-size: 100%;
    position: relative;
}
.countdown-page .countdown-title h1 {
    text-align: center;
    font-size: 45px;
    line-height: 50px;
    letter-spacing: 3px;
    font-weight: bold;
    margin: 0 20px;
    color: #c00;
}
.countdown-page .countdown-title .countdown {
    margin-top: 20px;
    font-size: 28px;
    line-height: 50px;
    text-align: center;
    color: #000;
    border: 0;
    padding: 0;
    display: inherit;
}
.countdown-page .countdown-title .countdown span {
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    padding: 0 5px;
    margin: 0 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    width: 60px;
    height: 50px;
    line-height: 50px;
    font-weight: normal;
    background: rgb(85,85,85);
    background: -moz-linear-gradient(top, rgba(85,85,85,1) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top, rgba(85,85,85,1) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom, rgba(85,85,85,1) 0%,rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#000000',GradientType=0 );
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
@media only screen and (max-width: 991px){
    .countdown-page .countdown-title {
        padding: 23px 50px;
        height: 320px;
        background: url(../images/countdown-bg800.jpg) no-repeat center center #fbcc3d;
        background-size: cover;
    }
    .countdown-page .countdown-title h1 {
        font-size: 45px;
        line-height: 45px;
        margin: 0 10px;
    }
    .countdown-page .countdown-title .countdown {
        line-height: 40px;
        font-size: 19px;
    }
}

@media only screen and (max-width: 475px){
    .countdown-page .countdown-title h1 {
        font-size: 28px;
        letter-spacing: 0;
        line-height: 30px;
    }
    .countdown-page .countdown-title {
        padding: 23px 30px;
   }
   .countdown-page .countdown-title .countdown span {
        font-size: 20px;
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
}
@media only screen and (max-width: 375px){
    .countdown-page .countdown-title {
        padding: 23px 0;
    }
    .countdown-page .countdown-title .countdown span {
        font-size: 18px;
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}

/* 設定手機版畫面相容性安全寬度 */
body {
    padding-bottom: constant(safe-area-inset-bottom); 
    padding-bottom: env(safe-area-inset-bottom);
}
.fixed-button{
    margin-bottom: env(safe-area-inset-bottom);
}
.footer-safe-area{
    background-color: #fafafa;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: env(safe-area-inset-bottom);
    border-top: 1px solid #e8e8e8;
    z-index: 1520;
}
/* 隱藏h1設定(seo) */
h1.h1title {
    width: 1px;
    height: 1px;
    display: inline-block;
    overflow: hidden;
    position: absolute!important;
    border: 0!important;
    padding: 0!important;
    margin: 0!important;
    clip: rect(1px,1px,1px,1px);
}
/* 首頁產品圖連結失效調整 */
.bt-staticblock-image {
    position: relative;
}
.bt-staticblock-image a {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* 導覽選單調整 */
.sec-mega-manu{
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec-mega-manu > ul.nav > li i,.bestsale-block .box-heading i {
    margin-right: 5px;
}
.mega-menu > ul.nav > li .dropdown .menu-column a.parent::after{
    content: "";
    border-bottom: 1px #ddd solid;
    display: block;
    margin-top: 10px;
}
/**調整主CSS**/
.main-top-menu  > ul.nav > li >a span:hover{
    border-bottom: #ccc solid 0px;
    transition: right 0.5s ease 0s;
	-webkit-transition: right 0.5s ease 0s;
	-moz-transition:right 0.5s ease 0s;
}
.main-top-menu  > ul.nav .current>a span{
    border-bottom: #fb1616 solid 0px;
}

.main-top-menu > ul.nav a span{
    display: flex;
    flex-direction: column;
}
.main-top-menu > ul.nav a span::after{
    content: "";
    width: 0;
    height: 2px;
    margin-top: 5px;
    background-color:#ccc;
    transition: all 0.4s ease 0s;
	-webkit-transition: all 0.4s ease 0s;
	-moz-transition: all 0.4s ease 0s;
}
.main-top-menu > ul.nav a:hover span::after{
    width: 100%;
}
.main-top-menu  > ul.nav .current a span::after{
    width: 100%;
    background-color:#fb1616;
}
.main-menu-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px #eee solid;
}
.nav-pills li a img{
    width: 35px;
    margin-right: 5px;
}
.nav-pills .current a{
    font-weight: 600 !important;
    color: #000 !important;
}
.dropdown-item-list{
    display: flex;
    /* justify-content: space-around; */
    justify-content: space-between;
    /* width: 1015px; */
}
.dropdown-item-list .menu-column{
    display: flex;
    flex-direction: column;
}
.dropdown-item-list .menu-column ul li{
    border-top: 0 !important;
    /* padding: 0; */
    /* padding: 9px 0 !important; */
    /* border-bottom: 1px dotted #ededed; */
}
.dropdown-item-list .menu-column ul li:before{
    content: "\f105";
    font-family: 'FontAwesome';
    padding: 0 5px;
    font-size: 13px;
    color: #ddd;
}
.dropdown-item-list .menu-column ul .all::before{
    content: "\f067";
    font-family: 'FontAwesome';
    padding: 0 3px 0 5px;
    font-size: 13px;
    color: #666;
}
.dropdown-item-list .menu-column ul .all:hover::before{
    color: var(--p-font-color);
}
.dropdown-item-list .menu-column ul .all:hover a{
    color: var(--p-font-color);
}
.dropdown-item-list .staticblock{
    display: flex;
    /* width: 170px; */
}
.dropdown-item-list .staticblock a{
    margin-right: 5px;
}
.dropdown-item-list .staticblock img{
    width: auto !important;
}
/* 圖片連結設定 */
.countdown-block .box-content .image a,.swiper-slide a,.brand-block .right-img a
{
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* 新增 */
#content{
    margin-top: 50px;
}
.announce-block{
    background-color:#fb1616;
    text-align: center;
    padding: 3px 0;
}
.announce-block span{
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.search-block{
    background-color: #f5f5f5;
    padding: 5px 0;
}
.search-block,.search-block ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.search-block ul li{
    margin-right: 15px;
    margin-top: 5px;
    font-size: 13px;
}
.boss_scroll .search-input{
    top: 88px;
}
.search-input .keyword{
    margin: 10px 0;
}
.search-input .search-text input{
    height: 35px;
    padding: 0 20px;
    margin: 10px 0 0 10px;
    width: 85%;
    background-color: #eee;
    border-radius: 10px;
    font-size: 12px;
}
.search-input  a{
    top: 7%;
    right: 10px;
    height: 35px;
    width: 35px;
}
.search-input .keyword h4{
    font-size: 12px;
    margin: 5px 0;
    padding-top: 10px;
    padding-left: 20px;
    /* background-color: #f5f5f5; */
    border-top: 1px solid #eee;
}
.search-input .keyword a{
    position: inherit;
    height: auto;
    width: auto;
    background: none;
}
.search-input .keyword ul{
    display: flex;
    flex-wrap: wrap;
    margin-left: 15px;
}
.search-input .keyword ul li a{
    background-color: var(--p-main-color);
    color: #fff;
    border-radius: 5px;
    padding: 3px 5px;
    margin:5px;
    font-size: 12px;
}
.title-block{
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
}
.block-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 5px 0;
}
.block-heading{
    position: relative;
}
.block-heading h1,.brand-block .nav-tabs h1,.block-heading h2,.brand-block .nav-tabs h2,.brand-block .table-responsive .tab-title{
    color: #31ccc4;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}
.brand-block .nav-tabs h1,.brand-block .nav-tabs h2{
    margin-right: 25px;
}
.block-heading span,.brand-block .nav-tabs span,.tab-content .tab-brand-link span{
    font-size: 12px;
    font-weight: 600;
}
.block-heading ul{
    display: flex;
    width: 460px;
    justify-content: space-evenly;
    position: absolute;
    left: 95px;
}
.block-heading ul .current a,.mega-menu .nav-pills .current a{
    font-weight: 600;
    color: #000;
}
.bt-block-sale .block-item .name a{
    font-weight: 600;
    margin-top: 5px;
    font-size: 15px;
}
.bestsale-block{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    padding-left: 10px;
}
/* .bestsale-block .box-content{
    padding-left: 90px !important;
} */
.bestsale-block .box-heading{
    background-color: var(--p-second-color);
    padding: 12px 10px;
    margin:0;
    border-radius: 10px;
}
.bestsale-block .box-heading h1,.bestsale-block .box-heading h2{
    font-size: 16px;
    margin: 0;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.bestsale-block .box-content,
.countdown-block .box-content{
    display: flex;
    border: 1px #ededed solid;
    padding: 10px 10px 10px 90px;
    border-radius: 10px;
    position: relative;
    margin-top: 5px;
    width: 100%;
}
.bestsale-block .box-content .image,
.countdown-block .box-content .image{
    width: 85px;
    overflow: hidden;
}
.bestsale-block .article-detail,
.countdown-block .article-detail{
    padding: 0 10px;
    font-weight: 600;
    width: 100%;
}
.bestsale-block .box-content .place{
    background-color: #F7b030;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 1px;
    padding: 10px 15px;
    border-radius: 0 0 5px 5px;
    position: absolute;
    left: 15px;
    top: 0;
}
/* .bestsale-block .box-content .place {
    background-color: #F7b030 !important;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 1px;
    padding: 10px 15px !important;
} */
.bestsale-block .box-content .place p {
    font-weight: 400 !important;
    line-height: 1.2;
    margin-bottom: 0;
}
.bestsale-block .box-content .place p,.countdown-block .box-content .place p{
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.bestsale-block .box-content .place p strong{
    font-size: 22px;
}
.bestsale-block .first .place p{
    font-size: 17px;
}
.bestsale-block .first .place p strong{
    font-size: 25px;
}
.bestsale-block .box-content .article-name{
    font-size: 16px;
    color: #000;
    line-height: 1.4;
}
.bestsale-block .article-detail .price,.brand-block .left-item .price,
.countdown-block .caption .price{
    display: flex;
    font-family: 'Lato', sans-serif;
}
.bestsale-block .article-detail .price .origin,
.brand-block .left-item .price .origin,
.countdown-block .article-detail .price .origin,
.category-block .product-list .caption .price .origin,.product-list .caption .price .origin,.caption .price .origin{
    font-size: 13px;
    font-weight: 100;
    margin: 5px 0 0 5px;
    color: #777;
    text-decoration: line-through;
}
.bestsale-block .article-detail .price .discount,
.brand-block .left-item .price .discount,
.countdown-block .article-detail .price .discount,
.category-block .product-list .caption .price .discount,.product-list .caption .price .discount,.caption .price .discount{
    color:var(--p-second-color);
    font-size: 18px;
    margin: 0;
    /* font-weight: 600; */
}
.brand-block{
    margin-bottom: 15px;
}
.brand-block .table-responsive{
    position: relative;
}
.brand-block .table-responsive .tab-title{
    position: absolute;
    z-index: 1;
    top: 8px;
}
.brand-block .nav-tabs>li.active>a,.nav-tabs>li>a:hover{
    background-color: transparent;
    border: transparent;
}
.brand-block .nav-tabs>li.active>a{
    border: transparent;
    border-bottom-color: #ddd;
    font-weight: 600;
}
.nav-tabs>li>a{
    border: 0;
    white-space: nowrap;
}
.brand-block .nav-tabs span{
    position: absolute;
    right: 0;
}
.brand-block .nav-tabs{
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 100px;
    margin-bottom: 10px;
}
/* .brand-block .nav-tabs li{
    min-width:70px;
} */
.brand-block .tab-content{
    padding: 0;
    margin-bottom: 0;
}
.brand-block .tab-content .tab-brand-link{
    position: absolute;
    z-index: 1;
    right: 0;
    top: 8px;
}
.brand-block .right-img{
    display: flex;
    justify-content: flex-end;
    padding: 0;
}
.brand-block .right-img > div{
    padding: 0 5px;
}
.brand-block .right-img > div img{
    width: 100%;
}
 .brand-block .left-item .product-thumb .caption{padding: 5px 0 0 0;}

.brand-block .left-item .product-thumb,
.category-block .product-list .product-thumb,
.search-list-block .product-list .product-thumb
{
    border: 0;
    /* padding: 5px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* margin: 0 5px 10px 5px; */
}
.brand-block .left-item .product-thumb{
    justify-content: flex-start;
    margin-bottom: 15px;
    height: auto;
}
.brand-block .left-item .product-thumb .name a,
.category-block .product-list .product-thumb .name a,
.search-list-block .product-list .product-thumb .name a,
.sales-campaign-page .product-list .product-thumb .name a{
    font-size: 14px;
    /* font-weight: 600; */
    /* height: 57px; */
    line-height: 1.4;
    /* color: #333; */
}
.brand-block .left-item .product-thumb .spec-box,
.category-block .product-list .product-thumb .spec-box,
.contacts-detail-block .spec-box,.spec-box,
.sales-campaign-page .product-list .product-thumb .spec-box{
    display: flex;
    flex-wrap: wrap;
}
.brand-block .left-item .product-thumb .spec-item,
.category-block .product-list .product-thumb .spec-item,
.contacts-detail-block .spec-item,.spec-box .spec-item,
.sales-campaign-page .product-list .product-thumb .spec-item{
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #777;
    font-weight: 600;
    border: 1px #ebebeb solid;
    border-radius: 6px;
    padding: 3px 5px;
    height: 25px;
    margin: 3px;
}
.brand-block .left-item .product-thumb .spec-item p,
.category-block .product-list .product-thumb .spec-item p,
.contacts-detail-block .spec-item p,.spec-box .spec-item p,
.sales-campaign-page .product-list .product-thumb .spec-item p{
    margin: 0;
    background-color: #ededed;
    border-radius: 3px;
    margin-right: 1px;
    padding: 0 3px;
}
/* .brand-block .left-item .product-thumb .caption {
    padding: 5px 10px 0 0;
} */
/* .brand-block .left-item .image{
    width: 165px;
    width: 100%;
    box-shadow: 0 0 5px 0 #e0e0e0;
    border-radius: 5px;
} */
.countdown-block{
    display: flex;
}
.countdown-block .box-content{
    padding:30px;
    border: 0;
    margin-right: 10px;
    margin-top: 0;
    width: auto;
    color: #fff !important;
}
.countdown-block .block-heading{
    justify-content: flex-start;
}
.countdown-block .block-heading img{width: 33px;}
.countdown-block .article-detail{
    width:390px;
    padding: 0 20px;
    height: 155px;
}
.countdown-block .article-detail .article-name{
    height: 60px;
    overflow: hidden;
}
.countdown-block .box-content .article-name a{
    font-size: 20px;
    color: #fff !important;
}
.countdown-block .article-detail .price .discount{
    color: #fff;
    font-size: 25px;
    margin-top: 5px;
}
.countdown-block .article-detail .price .origin{
    color: #fff;
    font-size: 15px;
    margin: 7px 0 0 10px;
}
.countdown-block .article-detail .shop-link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.countdown-block .article-detail .shop-link span{
    font-size: 12px;
}
.countdown-block .article-detail .shop-link a{
    border: #fff solid 1px;
    border-radius: 30px;
    padding: 8px 20px;
    color: #fff;
}
.countdown-block .box-content .image{
    width: 120px;
    height: 120px;
    background-color: #fff;
    padding: 5px;
    border-radius: 20px;
    z-index: 2;
}
.countdown-block .left-block .block-heading h1,.countdown-block .left-block .block-heading h2{
    color: var(--p-second-color);
}
.countdown-block .left-block .box-content{
    background-color: var(--p-second-color);
}
.countdown-block .left-block .box-content::before{
    content: "";
    width: 100px;
    height: 100%;
    background-color: #fddbe7;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    border-radius: 10px 0 0 10px;
}
.countdown-block .right-block .box-content::before{
    content: "";
    width: 100px;
    height: 100%;
    background-color: #c1f0ed;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    border-radius: 10px 0 0 10px;
}
.countdown-block .left-block,.countdown-block .right-block{
    width: 50%;
}
.brand-block .left-item .product-thumb .spec-box{
    margin-left: -5px;
}
@media only screen and (max-width: 1024px){
    /* .mega-menu > ul.nav > li >a{
        font-size: 14px;
        padding: 5px;
    } */
    .bestsale-block .box-heading{
        padding: 10px;
    }
    .bestsale-block .box-heading h1,.bestsale-block .box-heading h2{
        font-size: 14px;
    }
    .bestsale-block .box-content{
        padding: 5px 5px 5px 90px;
    }
    .bestsale-block .article-detail{
        padding: 0 0 0 10px;
    }
    .bestsale-block .box-content .article-name{
        font-size: 15px;
    }
    /* .bestsale-block .article-detail .price .discount{
        font-size: 20px;
    } */
    /* .bestsale-block .article-detail .price .origin{
        font-size: 15px;
    } */
    .bestsale-block .first .place p{
        font-size: 12px;
    }
    .bestsale-block .box-content .place p strong{
        font-size: 12px;
    }
    .bestsale-block .first .place p strong{
        font-size: 15px;
    }
    .countdown-block .box-content{
        padding: 20px;
    }
    .countdown-block .article-detail{
        width: 100% !important;
    }
    .countdown-block .box-content .image{
        height: 95px !important;
    }
}
@media only screen and (max-width: 992px){
    .title-block{
        flex-direction: column;
    }
    .header_slider{
        /* padding: 5px 10px; */
        padding: 0;
    }
    .bestsale-block .box-heading h1,.bestsale-block .box-heading h2{
        font-size: 15px;
    }
    .bestsale-block .box-content{
        /* padding: 10px 10px 10px 80px; */
        padding: 10px;
        margin: 0 5px;
        flex-direction: column;
        flex: 1;
    }
    .bestsale-block .box-content .place{
        padding: 5px 10px;
    }
    .countdown-block .left-block .box-content::before,.countdown-block .right-block .box-content::before{
        display: none;
    }
    .countdown-block .article-detail{
        width: 100% !important;
        height: 100%;
        padding:0 !important;
        margin-left: 20px;
    }
    .countdown-block .article-detail .article-name{
        height: 90px;
    }
    .countdown-block .box-content .image{
        height: 100% !important;
    }
    .bestsale-block{
        padding: 15px 0 0 0;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .bestsale-block .box-heading{
        width: 100%;
        margin-bottom:10px;
    }
    .bestsale-block .box-content .image{
        width: 100%;
    }
    .img-ad-block{
        flex-direction: column;
    }
    .img-ad-block .right-block{
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    .brand-block .right-img{
        margin-top: 10px;
    }
    .brand-block .left-item .image{
        border: 1px solid #ededed;
    }
    .brand-block .nav-tabs{
        margin-top: 35px;
        padding-left: 0;
        overflow-x:scroll;
        overflow-y: hidden;
        width: auto;
    }
    .brand-block .nav-tabs{
        /* display:block; */
        margin-top: 38px;
        margin-bottom: 15px;
        padding-left: 0;
        overflow-x:scroll;
        overflow-y: hidden;
        width: auto;
        background: #f5f5f5;
    }
    .brand-block .nav-tabs>li>a {
        white-space: nowrap;
        padding: 10px 15px;
    }
    .brand-block .nav-tabs>li.active>a {
        background: #31ccc4;
        color: #fff;
        border-radius: 0;
    }
}
@media only screen and (max-width: 767px){
    .countdown-block {
        flex-direction: column;
    }
    .countdown-block .left-block, .countdown-block .right-block {
        width: 100%;
    }
    .countdown-block .box-content{
        padding: 15px !important;
        margin: 0 !important;
    }
    .countdown-block .article-detail{
        margin-left: 10px;
    }
    .bt-block-sale{
        flex-wrap: wrap;
        padding:0 5px;
    }
    .header_slider{
        margin-bottom: 5px;
    }
    .bestsale-block{
        padding-top: 10px;
        flex-direction: column;
    }
    .bestsale-block .box-heading{margin-bottom: 5px;}
    .bestsale-block .box-content{
        flex-direction: row;
        margin: 5px 0;
        padding-left: 65px;
    }
    .bestsale-block .box-content .image{width: 30%;}
    .bestsale-block .box-content .place p strong{
        font-size: 15px;
    }
    .bestsale-block .first .place p strong{
        font-size: 20px;
    }
    /* .bt-block-sale .block-item{
        margin-bottom: 0;
        margin-top: 0;
    } */
    /* 商品改橫式排版 */
    /* .brand-block .left-item {
        display: flex;
        flex-direction: column;
    }
    .brand-block .left-item > div{
        width: 100% !important;
    }
    .brand-block .left-item .product-thumb{
        flex-direction: row;
        padding: 5px;
        border-bottom: 1px solid #ebebeb;
    }
    .brand-block .left-item .image{width: 25%;}
    .brand-block .left-item .product-thumb .caption {padding: 0 0 0 10px;}
    .brand-block .left-item .product-thumb .name a{height: 37px;} */

.brand-block .left-item .product-thumb .name a,
.category-block .product-list .product-thumb .name a,
.search-list-block .product-list .product-thumb .name a,
.sales-campaign-page .product-list .product-thumb .name a{
    font-size: 13px;
}
}
.img-ad-block{
    display: flex;
    margin-bottom: 20px;
}
.img-ad-block .right-block{
    margin-right: 10px;
}
.img-ad-block .right-block img,.img-ad-block .left-block img{
    width: 100%;
}
.img-ad-block .left-block img{
    margin-bottom: 10px;
}
.countdown-block .right-block .box-content{
    background-color: #31ccc4;
    margin-right: 0;
}
/* .footer-item{
    display: flex;
    justify-content: space-evenly;
}
.footer-item .footer-link{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-item .bt-block-footer{
    margin-right: 30px;
} */
.bt-footer-middle .bt-block-footer{
    padding: 0 15px;
}
.footer-link-list{
    display: flex;
    justify-content: space-between;
}
.footer-link-list .footer-link .list-menu{
    display: flex;
    flex-direction: column;
}
.footer-appdw{
    display: flex;
    flex-direction: column;
}
.bt-footer-middle .bt-block-footer img{
    margin-bottom: 10px;
    width: 175px;
}
.footer-item .bt-block-footer hr.sm{
    width: 180px;
}
hr.sm {
    display: inline-block;
    margin: 5px 0 10px 0;
    width: 65px;
    height: 1px;
    border: 0;
    background: #555;
}
.bt-footer-bottom{
    display: flex;
    justify-content: space-around;
}
.menu.boss_scroll .bt_mainmenu{
    padding-left: 0 !important;
}
#member-area,#cart{
    padding-bottom: 5px;
    padding-top: 5px;
}
.bt-footer-middle .bt-block-footer ul li .fa-instagram{
    width: 16px;
    height: 19px;
}
@media only screen and (max-width: 992px){
    #content {
        margin-top: 30px;
    }
    #logo{
        width: 18%;
        padding-top: 5px;
    }
    #logo img{
        max-width: 90%;
    }
    #member-area,#cart{
        margin-top: 0;
        margin-left: 0;
        padding-top: 10px;
    }
    .member-icon-bt #cart{
        padding-right: 0;
    }
    .main-menu-block{
        /* border: 0; */
    }
    .member-icon-bt {
        width: 12%;
    }
    .menu{
        width: auto;
        padding-left: 0;
        /* margin-top: 20px; */
    }
    .boss_header{
        /* height: 30px; */
    }
    .menu.boss_scroll{
        margin-top: 0;
    }
    .footer-link-list {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .footer-link-list .footer-link{
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 767px){
    #point-modal .modal-dialog {
        margin: 50% auto;
    }
    #logo{
        width: auto;
        padding-top: 0;
    }
    #logo img {
        max-width: 60%;
    }
    #member-area,#cart,.search-area,.open-bt-mobile{
        margin-left: 10px;
        padding-bottom: 10px;
    }
    header .search-block{
        display: none;
    }
    .search-area,.open-bt-mobile{
        margin-top: 10px;
    }
    .search-area{
        padding-top: 0;
        margin-left: 0;
    }
    .main-top-menu{
        display: none;
    }
    .main-menu-block{
        display: block;
    }
    .member-icon-bt {
        width:auto;
    }
    .member-icon-bt #member-area .btn,.member-icon-bt #cart .btn{
        border: 1px solid #dedede !important;
        color: #666 !important;
    }
    .bt-footer-middle .bt-block-footer{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-appdw {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .bt-footer-middle .bt-block-footer .footer-appdw a{
        margin: 5px;
    }
    .bt-footer-middle .bt-block-footer img{
        margin-bottom: 0;
        height: 50px;
    }
    .left-item .price{
        flex-wrap: wrap;
    }
}
@media only screen and (max-width: 320px){
    #logo {
        margin-top: 20px;
    }
    #logo img {
        max-width: 50%;
    }
    .countdown-block .article-detail .shop-link a{
        padding: 8px 10px;
    }
    footer .bt-footer-middle h3{
        font-size: 16px;
    }
}
/* 商品列表頁 */
.category-block .row.product-list,
.m-point-pro-page .row,
.row.product-list{
    margin-left: -10px;
    margin-right: -10px;

    display: flex;
    flex-wrap: wrap;
    height: 100%;
}
.row .left-item{
    display: flex;
    flex-wrap: wrap;
}
.row .left-item > div{
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 10px;
}
.category-block .row.product-list .product-grid,
.m-point-pro-page .row .product-grid,
.row .product-grid{
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 30px;
}
.category-block .product-list .product-thumb,
.search-list-block .category-block .product-list .product-thumb,
.reserve-page .product-list .product-thumb,
.sales-campaign-page .product-list .product-thumb
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* width: 215px; */
}
/* .category-block .product-list,.search-list-block .product-list{
    display: flex;
    flex-wrap: wrap;
    padding: 6px;
} */
/* .category-block .product-list .product-grid,.search-list-block .product-list .product-grid{
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 30px;
} */
.category-block .product-category{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px 0;
}
/* .category-block .product-category .current:before{
    border-top: 3px solid #ff8eb6;
}
.category-block .product-category li:before{
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    font-size: 0;
    overflow: hidden;
    border-top: 3px solid #ccc;
    position: relative;
    top: 35px;
    z-index: 0;
} */
.category-block .product-category li{
    width: 33.5%;
    text-align: center;
    border-bottom: 3px solid #ccc;
}
.category-block .product-category li:hover img,.category-block .product-category .current img{
    filter: none;
}
.category-block .product-category .current,.category-block .product-category li:hover{
    border-bottom: 3px solid var(--p-second-color);
}
.category-block .product-category .current a{
    color: var(--p-second-color);
}
.category-block .product-list .product-thumb .button-group .sold-out,
.search-list-block .category-block .product-list .product-thumb .button-group .sold-out,
.sales-campaign-page .product-thumb .button-group .sold-out,
.choose-product-block .campaign-hint .button-group .btn-cart.sold-out,.button-group .btn-cart.sold-out{
    background: #ccc !important;
    color: #555 !important;
    /* font-weight: 600; */
    cursor: auto;
}
.category-block .product-category a{
    font-size: 18px;
    font-weight: 600;
    padding: 10px 10px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-list .product-thumb .caption {
    padding: 5px 0;
}
/* .category-block .product-list .product-thumb .name a,.search-list-block .product-list .product-thumb .name a{
    height: 65px;
} */
.category-block .product-category li img{
    width: 18px;
    margin-right: 5px;
    filter: grayscale(1);
}
.category-block .product-list .product-thumb .image,
.search-list-block .product-list .product-thumb .image{
    margin-right: 0;
    max-width: 100%;
    /* height: 160px; */
    border: 1px solid #ededed;
}
/* 列表圖片高度 */
.category-block .product-list .product-thumb .image,
.m-point-pro-page .poinr-pro .product-thumb .image,
.search-list-block .product-list .product-thumb .image{
    /* height: 190px; */
    max-width: 347px;
    max-height: 347px;
}
/* .search-list-block .product-list .product-thumb .image{height: 260px;} */

/* @media (max-width: 1200px){
    .category-block .product-list .product-thumb .image{height: 210px;}
    .search-list-block .product-list .product-thumb .image{height: 290px;}
    .m-point-pro-page .poinr-pro .product-thumb .image{height: 160px;}
}
@media (max-width: 992px){
    .category-block .product-list .product-thumb .image{height: 225px;}
    .search-list-block .product-list .product-thumb .image{height: 226px;}
    .m-point-pro-page .poinr-pro .product-thumb .image{height: 160px;}
}
@media (max-width: 767px){
    .category-block .product-list .product-thumb .image{height: 270px;}
    .search-list-block .product-list .product-thumb .image{height: 270px;}
    .m-point-pro-page .poinr-pro .product-thumb .image{height: 170px;}
}
@media (max-width: 576px){
    .category-block .product-list .product-thumb .image,
    .search-list-block .product-list .product-thumb .image{height: 200px;}
    .m-point-pro-page .poinr-pro .product-thumb .image{height: 165px;}
}
@media (max-width: 414px){
    .category-block .product-list .product-thumb .image,
    .search-list-block .product-list .product-thumb .image{height: 177px;}
    .m-point-pro-page .poinr-pro .product-thumb .image{height: 165px;}
}
@media (max-width: 375px){
    .category-block .product-list .product-thumb .image,
    .search-list-block .product-list .product-thumb .image{height: 168px;}
    .m-point-pro-page .poinr-pro .product-thumb .image{height: 150px;}
    .sold-out .product-thumb .image:after{top: 18px;}
}
@media (max-width: 320px){
    .category-block .product-list .product-thumb .image,
    .search-list-block .product-list .product-thumb .image{height: 140px;}
    .m-point-pro-page .poinr-pro .product-thumb .image{height: 135px;}
    
} */

.category-block .product-list .product-thumb .button-group button,
.search-list-block .product-list .product-thumb .button-group button,
.reserve-page  .product-thumb .button-group button,
.sales-campaign-page .product-list .product-thumb .button-group button,.buy-together-block .product-thumb .button-group button{
    border-radius: 0;
    padding: 0;
    border: 0;
    background:var(--p-second-color);
    color:#fff;
    transition: .2s;
    margin-right: 0;
    width: 100%;
    height: 35px;
    line-height: 35px;
    font-weight: 600;
}
.category-block .product-list .product-thumb .button-group .like,
.search-list-block .product-list .product-thumb .button-group .like,
.reserve-page .product-thumb .button-group .like,
.sales-campaign-page .product-list .product-thumb .button-group .like,.buy-together-block .product-thumb .button-group .like{
    width: 50px;
    background-color: #ffefef;
}
.product-list .product-thumb .button-group .btn-cart i{
    color:#ccc;
}
.product-list .product-thumb .button-group .heart-red i{
    color: var(--p-second-color);
}
/* .contact-lens .product-info{
    text-align: center;
} */
/* .contact-lens .product-info .quantily_info {
    justify-content: space-around;
} */
/* .contact-lens .product-info .quantily_info .no-match{
    background-color: #f5f5f5;
    padding: 10px 75px;
    font-weight: 600;
} */
/* .contact-lens .modal-body p{
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    margin: 0;
} */
.contact-lens .modal-body .eye-info {
    background-color: #fff;
    padding: 10px 0;
    border-top: none;
}
.contact-lens .modal-body .eye-info select{height: 40px;}
/* .contact-lens .modal-body .quantily_info div{
    margin-bottom: 10px;
} */
/* .contact-lens .product-info .quantily_info .select_number input{
    width: 150px;
} */
.product-list .product-thumb .button-group {
    width: 100%;
}
.product-list .product-thumb .caption .price{
    margin-bottom: 5px;
}
@media (max-width: 767px){
    .category-block .product-category a{
        font-size: 14px;
        padding: 5px 0;
    }
    .category-block .product-category li img{
        width: 15px;
        margin-right: 3px;
    }
    .brand-block .left-item > div,
    .category-block .row.product-list .product-grid,
    .search-list-block .row.product-list .product-grid,
    .m-point-pro-page .row .product-grid,
    .row.product-list .product-grid{
        padding-left: 5px;
        padding-right: 5px;
    }
    .category-block .product-list.row,
    .search-list-block .product-list.row,
    .m-point-pro-page .row,
    .product-list.row
    {
        margin-left: -5px;
        margin-right: -5px;
    }
}
/* @media only screen and (max-width: 379px){
    .category-block .row.product-list .product-grid,.search-list-block .row.product-list .product-grid{
        padding-left: 5px;
        padding-right: 5px;

    }
    .category-block .product-list.row,.search-list-block .product-list.row{
        margin-left: -5px;
        margin-right: -5px;
    }
} */
/* 商品內頁 */
.contacts-detail-block .single-r-wrapper .spec-box{
    margin-top: 10px;
}
.contacts-detail-block .campaign,.contacts-detail-block .spec-box{
    margin: 10px 0;
}
.contacts-detail-block .price-block .price-old,.price-old{
    color: #999 !important;
}
.contacts-detail-block .campaign{
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; */
}
.contacts-detail-block .campaign a{
    margin: 8px 10px 8px 0;
}
.contacts-detail-block .product_details .price-block{
    margin-bottom: 10px;
    background-color: #f8f8f8;
    padding: 10px;
}
.contacts-detail-block .product_details .price{
    font-size: 25px;
    margin-bottom: 0;
}
.contacts-detail-block .price-point{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.contacts-detail-block .price-point .point{
    display: flex;
    align-items: center;
    /* margin-left: 5px; */
    font-weight: 600;
    margin-bottom: 0;
    font-size: 14px;
    margin: 0 0 0 5px;
}
.contacts-detail-block .product_details .dital{
    font-size: 13px;
}
.contacts-detail-block .price-point .point img{
    width: 17px;
    margin: 0 2px;
}
.contacts-detail-block .price-point .point span{
    /* color:#f7b030; */
    color: var(--p-main-color);
    font-size: 18px;
    margin: 0 3px;
}
.contacts-detail-block .price-point .point .point-old{
    color: #999;
    font-size: 14px;
    font-weight: normal;
    text-decoration: line-through;
    margin: 0 5px;
}
.contacts-detail-block .price-point .point a i{
    margin-right: 2px;
}
.contacts-detail-block .price-point .point a{
    margin-left: 5px; 
}
.eye-info{
    /* background-color: #f5f5f5; */
    /* padding: 15px 0 0 0; */
    /* border-top: 1px #ddd solid; */
    margin: 10px 0 0 0;
}
.eye-info .pro-select{padding-bottom: 10px; flex-wrap: nowrap;}
/* .eye-info .pro-select h6{width: 100px;} */
.eye-info select{
    height: 35px;
    width: 75%;
    border: 1px solid #ccc;
    padding: 0 12px;
}
/* .contacts-detail-block .eye-info table{
    display: flex;
}
.eye-info tbody{
    margin-top: 10px;
    background-color: #ededed;
}
.eye-info th,.eye-info td{
    width: 280px;
    text-align: center;
    border: 1px #fff solid;
    padding: 5px 10px;
}
.eye-info tr{
    height: 50px;
}
.eye-info .buy-number .no-match{
    font-weight: 600;
} */
.htabs ul{
    margin-top: 50px;
}
.product-btn{
    margin-top: 10px;
}
@media (max-width: 767px){
    .eye-info .buy-number{
        display: none;
    }
    .contacts-detail-block .price-point .point .point-old{
        margin: 0;
    }
    .contacts-detail-block .product_details .price{
        font-size: 23px;
    }
    .contacts-detail-block .price-point,.contacts-detail-block .price-point .point{
        flex-wrap: wrap;
        margin-left: 0;
    }
}
@media (max-width: 320px){
    .contacts-detail-block .product_details .price{
        font-size: 20px;
    }
    .price-block .heart{
        padding: 0;
    }
    .contacts-detail-block .price-point {
        flex-direction: column;
        align-items: flex-start;
    }
    .contacts-detail-block .price-point .point{
        margin-left: 0;
        flex-wrap: wrap;
    }
}
/* .contacts-detail-block .product-info .quantily_info{
    margin-bottom: 0;
    justify-content: center;
    flex-wrap: nowrap;
} */
.contacts-detail-block .product-info .product-btn .quantily_info h6{
    width: 35px;
}
.contacts-detail-block .product-info .quantily_info .select_number input{
    width: 85px;
    /* height: auto; */
    border: 0 !important;
    padding: 16px 10px;
}
.spec-glasses .product-info .quantily_info{
    justify-content: flex-start;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    padding: 20px 0;
}
.spec-glasses .product-info i,.product-btn .full .reserve i{
    margin-right: 5px;
}
.product-btn .reserve{
    background-color: var(--p-main-color) !important;
}
.product-btn .reserve.active{
    background-color: #666 !important;
}
.price-block .heart-red,.button-group .heart-red{
    color:var(--p-second-color);
}
.contacts-detail-block .product-info .product-btn,
.spec-glasses .product-info .product-btn{
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}
.spec-glasses .product-info .product-btn .add-btn{
    min-width: 32.5%;
}
.contacts-detail-block .product-info .product-btn .add-btn,.spec-glasses .product-info .product-btn .add-btn{
    padding: 15px;
    margin:0 3px 0 0;
    width: 100%;
    min-width: auto;
}
@media (max-width: 1200px){
    .contacts-detail-block .price-block {
        margin: 0;
    }
    .contacts-detail-block .campaign{
        margin: 10px 0;
    }
    .contacts-detail-block .product-info .product-btn .add-btn,.spec-glasses .product-info .product-btn .add-btn{
        padding: 15px 10px;
    }
}
.warningbox.product-detail{
    margin-top: 10%;
}
.warningbox.product-detail .modal-dialog{
    width:800px;
}
.warningbox.product-detail .theme-title h4:before{
    font-family: "FontAwesome";
    content: "\f06a";
    font-size: 18px;
    font-weight: 100;
    margin-right: 5px;
}
.warningbox.product-detail .modal-body  h4{
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 0;
}
.warningbox.product-detail .modal-body ul{
    margin-top: 10px;
}
.warningbox.product-detail .modal-body li{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.warningbox.product-detail .modal-body li a{
    margin: 0;
    color: var(--p-font-color);
}
.warningbox.product-detail .modal-body li .add-btn::after{
    font-family: "FontAwesome";
    content: "\f061";
    font-size: 15px;
    font-weight: 100;
    margin-left: 5px;
}
.warningbox.product-detail .modal-body li .add-btn.buy::after{
    font-family: "FontAwesome";
    content: "\f07a";
    font-size: 18px;
    font-weight: 100;
    margin-left: 5px;
}
/* .warningbox.product-detail .modal-body .campaign-list{
    background-color: #f8f8f8;
} */
.warningbox.product-detail .modal-body .campaign-list li{
    border-bottom: 1px dotted #ddd;
    font-size: 18px;
}
.warningbox.product-detail .add-btn{
    background-color: var(--p-second-color);
    min-width: 145px;
}
.warningbox.product-detail .add-btn.buy{
    background-color: var(--p-main-color);
}
@media (max-width: 992px){
    .warningbox.product-detail .modal-dialog {
        width: 100%;
        padding: 0 20px;
    }
}
@media (max-width: 767px){
    .warningbox.product-detail .modal-dialog {
        padding: 0 ;
    }
    .warningbox.product-detail .modal-body  h4{
        font-size: 14px;
    }
    .warningbox.product-detail .theme-title h4:before{
        font-size: 14px;
        margin-right: 3px;
    }
    .warningbox.product-detail .modal-body .campaign-list li{
        font-size: 15px;
        text-decoration: underline;
    }
    .warningbox.product-detail .add-btn{
        display: none;
    }
    .warningbox.product-detail .add-btn.buy{
        display: block;
    }
}
.contacts-detail-block .ship-free::before{
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: 10px;
    left: -10px;
    border: 5px solid transparent;
    width: 5px;
    height: 5px;
    border-right-color: #fde7ef;
}
/* .contacts-detail-block .ship-free::after{
    font-family: "FontAwesome";
    content: "\f101";
    font-size: 20px;
    font-weight: 100;
    margin-left: 5px;
    vertical-align: top;
    line-height: 22px;
    color: #ffffff60;
} */
.product-btn li{
    display: flex;
}
.product-btn  .add-btn.buy,.product-btn  .add-btn.reserve{
    min-width: auto;

}
.product-btn li i{
    margin-right: 5px;
}
/* 門市搜尋 */
.map-search-block .adr-search-block{
    background-color: #fff;
}
.map-search-block .adr-search-block>div{
    margin-bottom: 5px;
}
.map-search-block .adr-search-block{
    align-items: flex-start;
    margin-bottom: 0;
}
.store-loc-block .location ul{
    display: flex;
    align-items: center;
    margin: 10px 0 15px 0;
    border-bottom: 1px #ccc solid;
}
.store-loc-block .location ul li{
    padding: 5px 20px;
    /* border: 1px #31ccc4 solid; */
    font-size: 16px;
}
.store-loc-block .location .current{
    font-weight: 600;
}
.store-loc-block .location .block-heading{
    margin-right: 20px;
}
.store-list{
    display: flex;
    flex-wrap: wrap;
}
.store-list .store-info{
    /* width: 20%; */
    margin-bottom: 30px;
    padding: 0 15px;
    display: flex;
}
.store-list .store-info .content-bg{
    border: 1px #ebebeb solid;
}
.store-list .store-info .content-bg .article-image img{
    width: 100%;
}
@media (max-width: 767px){
    .store-loc-block .location ul{
        border: 0;
        margin-bottom: 5px;
    }
    .store-loc-block .location .block-heading{
        margin-right:5px;
    }
    .store-loc-block .location ul li{
        padding: 0 6px;
    }
    .store-list .store-info{
        margin-bottom: 10px;
    }
    .store-list .store-info .content-bg .article-image{
        flex: 1;;
    }
    .store-list .store-info .content-bg{
        display: flex;
        align-items: center;
        padding: 10px;
    }
    .store-list .store-info .article_dt{
        padding: 0 10px!important;
        height: auto !important;
        flex: 2;
    }
    .store-list .store-info .article_dt li{
        margin-bottom: 0 !important;
    }
    .adr-search-block div{
        padding-bottom: 8px;
    }
}
.store-list .store-info .article_dt{
    padding: 10px 10px;
    /* height: 125px; */
}
.store-list .store-info .article_dt li{
    margin-bottom: 5px;
    font-size: 13px;
}
.store-list .store-info .article_dt h1 a,.store-list .store-info .article_dt h2 a{
    font-size: 15px;
    color: var(--p-font-color);
}
.store-list .store-info .article_dt li i{
    /* margin-right: 5px; */
    color: var(--p-font-color);
}
/* 最新消息 */
.blog-list .text-center h2{
    color: var(--p-font-color);
    text-align: left;
}
.blog-detail .column-left,.blog-list .column-left{
    margin-top: 50px;
}
.blog-detail .side-bar li.active a,.blog-list .side-bar li.active a{
    border: 1px solid var(--p-font-color) !important;
    color: var(--p-font-color) !important;
}
.blog-detail .side-bar li a:hover {
    border: 1px solid var(--p-font-color) !important;
    color: var(--p-font-color) !important;
}
/* 聯絡我們 */
.contact-block .col-md-9{
    margin: auto;
    float: none;
    width: 100%;
}
.contact-block .buttons div{
    text-align: left !important;
}
@media only screen and (max-width: 992px){
    .blog-detail .column-left,.blog-list .column-left{
        margin-top: 20px;
    }
    .blog-detail .side-bar,.blog-list .side-bar {
        margin-bottom: 0;
    }
    .blog-detail #content{
        margin-top: 10px;
    }
    .contact-info .contact-item .contact-text a{
        font-size: 13px;
    }
}
@media only screen and (max-width: 767px){
    .blog-detail #column-left,.blog-list #column-left{
        display: block;
        position: inherit;
        top: 0;
        padding: 0 10px;
    }
    .blog-detail .side-bar li.active a,.blog-list .side-bar li.active a{
        color: #fff !important;
    }
    .data-table tbody .button-group .order-btn{
        width: 45%;
    }
    .pager-prev {
        float: left;
        text-align: left;
        width: 35%;
    }
    .pager-next {
        float: right;
        text-align: right;
        width: 35%;
    }
    .pager-all{
        width: 30%;
    }
    .contact-block .buttons div{
        text-align: center !important;
    }
}
.form-block .row>:last-child .form-inline .form-check{
    flex: auto;
    margin-right: 25px;
}
/* 購物車相關 */
/* modal-調整 */
#selectGiftModal .data-table tbody td:nth-child(2){
    max-width: 280px;
}
.data-table tbody .button-group{
    display: flex;
    justify-content: center;
}
.data-table tbody .button-group::before{
    display: none;
}
.data-table tbody .button-group .order-btn{
    min-width: 60px;
    margin: 5px;
}
.data-table tbody .button-group a{
    background-color: var(--p-second-color);
}
.style-numder{
    display: block;
    color: #999;
}
.htabs ul li.active span,.htabs ul li span{
    background-color: #fff;
    color:var(--p-font-color);
    display: inline-block;
    width: 25px;
    height: 25px;
    font-weight: bold;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    margin-left: 5px;
}
@media(max-width: 767px){
    .htabs ul li a{
        padding: 15px 8px;
    }
    .htabs ul li.active span,.htabs ul li span{
        margin-left: 2px;
        font-size: 14px;
        width: 22px;
        height: 22px;
        line-height: 22px;
    }
}
@media(max-width: 320px){ 
    .htabs ul li a{
        padding: 5px;
    }
    .htabs ul li:first-child a {
        border-radius: 20px 0 0 20px;
    }
    .htabs ul li:last-child a {
        border-radius: 0 20px 20px 0;
    }
}
/* 門市搜尋-地圖店家視窗 */
.map-marker-block{
    /* padding-right: 0px; */
    /* padding-bottom: 0px; */
    max-width: 648px;
    max-height: 326px;
    min-width: 0px;
    padding: 20px;
}
.map-marker-block .gm-style-iw-d{
    overflow: scroll;
    max-height: 308px;
}
.map-marker-body h3{
    margin-top: 10px;
    color: var(--p-font-color);
}
.map-marker-body p{
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}
.map-marker-body p span{
    margin-left: 5px;
}
.map-marker-block button{
    background: none;
    display: block; 
    border: 0px; 
    margin: 0px; 
    padding: 0px; 
    text-transform: none; 
    appearance: none; 
    position: absolute; 
    cursor: pointer; 
    user-select: none; 
    top:5px; 
    right:5px; 
    width: 35px; 
    height: 35px;
}
/* 關閉X按鈕 */
.map-marker-block img{
    pointer-events: none;
    display: block;
    width: 14px;
    height: 14px;
    margin: 10px;
}
/* 提示文字訊息 */
.sign-text{
    margin-top: 5px;
    font-size: 14px;
    color: #F44336;
}
.sign-text a{
    color:#F44336;
    font-weight: 600;
    text-decoration: underline;
}
.sign-text i{
    margin-right: 3px;
}
/* 預約試戴 */
#my-reserve-table td:before{
    min-width: 0;
}
#my-reserve-table tr td a{
    margin-right: 10px;
}
.reserve-detail-page .pro-item{
    padding-right: 0;
}
.reserve-detail-page .shop-cart-table td{
    padding: 10px 0 10px 0;
    border: 0;
}
.reserve-page .form-inline .form-check{
    flex: auto;
}
.reserve-page .form-container{
    padding: 0;
}
.reserve-page .tab-content{
    padding: 20px 0;
}
.reserve-page .product-choose{
    border: 1px solid transparent !important;
    background-color: #f8f8f8;
}
.reserve-page .remove{
    z-index: 2;
}
.reserve-page .product-thumb .button-group .like{
    width: 100%;
}
.reserve-page .remove .btn-danger{
    width: 25px;
    height: 25px;
}
.reserve-page .remove .btn-danger .fa{
    line-height: 21px;
    letter-spacing: 0px;
}
.reserve-page .product-thumb{
    background-color: #fff;
}
.reserve-page .product-grid{
    margin-bottom: 0;
}
.reserve-page .col-lg-2{
    width: 20%;
}
.reserve-page .product-grid .product-thumb .caption{
    height: 105px;
}
.reserve-page .product-grid .product-thumb .caption a{
    font-weight: 600;
    height: 105px;
}
.reserve-page .style-numder{
    font-size: 12px;
}
.reserve-page .store-info{
    margin-bottom: 20px;
}
.reserve-page .store-info li{
    margin-bottom: 5px;
}
.reserve-page .store-info li i{
    margin-right: 5px;
    color: var(--p-main-color);
}
.reserve-page .order-btn+.order-btn{
    margin-left: 5px;
    background-color: var(--p-second-color);
}
@media only screen and (max-width: 1200px){
    .reserve-page .product-grid .product-thumb .caption {
        height: 140px;
    }
}
@media only screen and (max-width: 992px){
    .reserve-page .col-lg-2{
        width: 33.33%;
    }
    .reserve-page .product-grid{
        margin-bottom: 20px;
    }
    .reserve-page .product-grid .product-thumb .caption {
        height: 105px;
    }
}
@media only screen and (max-width: 767px){
    .reserve-page .col-lg-2{
        width: 100%;
    }
    .reserve-page .form-container .form-block{
        padding: 20px;
    }
    .reserve-page .product-thumb{
        display: flex;
        flex-direction: row;
    }
    .reserve-page .product-thumb .image{
        flex: 1;
        margin: 5px;
    }
    .reserve-page .product-grid .product-thumb .caption{
        flex: 2;
        padding: 10px 0;
        height: auto;
    }
    .reserve-page .button-grid.button-group{
        align-items: flex-end;
    }
    .reserve-page .product-thumb .button-group .like{
        margin-right: 10px;
        background-color: #fff;
    }
    .reserve-page .button-group.button-grid .btn-cart.like:hover:hover{
        background-color: #fff;
    }
    .reserve-page .button-group button .fa:hover{
        color: #ffa9a9;
    }
    .reserve-page .form-inline{
        flex-direction: column;
        align-items: flex-start;
    }
    .reserve-page .order-btn+.order-btn {
        margin-top: 10px;
        margin-left: 0;
    }
}
/* 熱門活動 */
.sales-list-page .block-heading{
    /* border-bottom: 1.5px solid var(--p-second-color); */
    padding: 10px 20px;
    /* border: 1px solid #eaeaea; */
    border-radius: 5px;
    background: var(--p-second-color);
    margin-bottom: 10px;
}
.sales-list-page .block-heading h2{
    color: #fff;
    font-size: 20px;
    margin-bottom: 0;
}
.sales-list-page .block-heading h2::before{
    font-family: "FontAwesome";
    content: "\f005";
    font-size: 17px;
    margin-right: 8px;
    color: #fff;
}
.sales-list-page .block-heading span{
    font-size: 15px;
    font-weight: 600;
    color:#fff;
}
.sales-list-page .block-heading a[data-toggle='collapse']::after{
    font-family: "FontAwesome";
    content: "\f107";
    font-size: 18px;
    margin-left: 5px;
    color:#fff;
}
.sales-list-page .block-heading a[aria-expanded="true"]::after{
    font-family: "FontAwesome";
    content: "\f106";
    font-size: 18px;
    margin-left: 5px;
    color:#fff;
}
.sales-list-page .campaign-box{
    margin-bottom: 20px;
}
.sales-list-page .campaign{
    /* margin-bottom: 10px;
    margin-top: 10px; */
}
/* .sales-list-page .campaign .item:last-child{
    padding-right: 0;
} */
.sales-list-page .campaign .item .text,.search-list-tab #campaign-list .item .text{
    height: 60px;
    margin-top: 5px;
    margin-bottom: 10px;
}
.sales-list-page .campaign .item .text h3,.search-list-tab #campaign-list .item .text h3{
    font-size: 15px;
    line-height: 1.6rem;
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 5px;
}
.sales-list-page .campaign .item .text .date span,
.sales-campaign-block .bt-block-sale .block-item .date span,
.search-list-tab #campaign-list .item .text .date span{
    background-color: #eee;
    padding: 2px 5px;
    /* margin-left: 5px; */
    color: #999;
    border-radius: 5px;
    font-size: 12px;
}
.sales-list-page .campaign .item .text .date small,
.sales-campaign-block .bt-block-sale .block-item small,
.search-list-tab #campaign-list .item .text .date small
{
    margin-left: 5px;
    color: #999;
}
.sales-list-page .campaign .item .img a,.search-list-tab #campaign-list .item .img a{
    display: block;
}
.sales-list-page .campaign .item .img img{
    width: 100%;
}
@media (max-width: 1200px){
    .sales-list-page .campaign .item{
        margin-bottom: 15px;
    }
    .sales-list-page .campaign .item .text p{
        font-size: 14px;
    }
}
@media (max-width: 767px){
    .sales-list-page .block-heading{
        padding: 10px;
    }
    .sales-list-page .block-heading h2{
        font-size: 17px;
        line-height: 1.3;
    }
    .sales-list-page .block-heading a{
        text-align: center;
        margin-left: 3px;
    }
    .sales-list-page .block-heading span{
        font-size: 12px;
    }
    .sales-list-page .block-heading .s-close{
        display: none;
    }
    .sales-list-page .campaign{
        flex-direction: column;
        margin-bottom: -10px;
    }
    .sales-list-page .campaign .item{
        margin-right: 0;
        margin-bottom: 5px;
    }
    .sales-list-page .campaign .item .text{
        border-bottom: 1px solid #eee;
        margin-bottom: 0;
    }
    .sales-list-page .campaign .item .text p {
        font-size: 15px;
    }
    .sales-list-page .campaign .item .img{
        display: none;
    }
    .sales-list-page .campaign .item:nth-child(1) .img{
        display: block;
    }
    .sales-list-page .campaign.collapse .item .img{
        display: none;
    }
}
/* 熱門活動内頁 */
.sales-campaign-page .editor-block{
    margin: 10px 0;
}
.campaign-title .img a{
    display: block;
}
.campaign-title .text h1{
    color: var(--p-font-color);
    font-size: 25px;
    font-weight: 600;
    margin-top: 15px;
}
.campaign-title .text{
    display: flex;
    flex-direction: column;
    
}
.campaign-title .text span{
    color: #999;
    font-size: 16px;
}
.campaign-title .text .date::before{
    font-family: "FontAwesome";
    content: "\f017";
    font-size: 18px;
    /* margin-left: 8px; */
}
.sales-campaign-page .editor-block{
    margin-bottom: 30px;
}
.campaign-hint{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sales-campaign-page .product-grid{
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}
.sales-campaign-page .product-list .product-thumb .caption{
    padding: 0 10px 10px 10px;
}
.sales-campaign-page .product-list .product-thumb .image{
    margin-right: 0;
    max-width: 200px;
    /* max-height: 220px; */
    /* padding: 10px 10px 0 10px; */
}
/* 圖片高度 */
/* @media(max-width: 1200px){
    .sales-campaign-page .product-list .product-thumb .image{height: 180px;padding: 5px;}
}
@media(max-width: 992px){
    .sales-campaign-page .product-list .product-thumb .image{height: 175px;}
}
@media(max-width: 768px){
    .sales-campaign-page .product-list .product-thumb .image{height: 210px;}
}
@media(max-width: 576px){
    .sales-campaign-page .product-list .product-thumb .image{height: 160px;}
}
@media(max-width: 480px){
    .sales-campaign-page .product-list .product-thumb .image{height: 160px;}
}
@media(max-width: 390px){
    .sales-campaign-page .product-list .product-thumb .image{height: 125px;}
}
@media(max-width: 320px){
    .sales-campaign-page .product-list .product-thumb .image{height: 120px; max-width: 100%;}
} */
.sales-campaign-page .product-list .product-thumb .spec-box{
    /* height: 60px; */
    align-items: flex-end;
}
@media only screen and (max-width: 390px){
    .sales-campaign-page .product-list .product-thumb .spec-box,
    .category-block .product-thumb .spec-box{
        /* height: 90px; */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        flex-wrap: nowrap !important;
    }
}
.sales-campaign-page .product-list .product-thumb .spec-item{
    padding: 4px 2px;
    margin: 0 2px 2px 0;
}
.sales-campaign-page .product-list .product-thumb .button-group{
    padding: 10px;
}
.sales-campaign-page .product-list .product-thumb .button-group{
    padding-top: 0;
}
.sales-campaign-page .product-list .product-thumb .name a{
    /* height: 63px; */
    height: auto !important;
    line-height: 1.4;
    font-size: 14px;
    margin-top: 5px;
}
.sales-campaign-page .product-info .quantily_info{
    display: flex;
    /* flex-wrap: nowrap; */
    /* justify-content: space-between; */
    text-align: center;
}
/* .sales-campaign-page .product-info .quantily_info .left-eye,
.sales-campaign-page .product-info .quantily_info .right-eye{
    width: 115px;
} */
/* .sales-campaign-page .product-info .quantily_info p,.product-info .quantily_info p{
    margin-bottom: 0;
} */
/* .sales-campaign-page .select_number .no-match{
    background-color: #f5f5f5;
    padding: 6px 20px;
    height: 35px;
} */
.sales-campaign-page .product-info .form-control,.buy-together-block .product-info .form-control{
    padding: 5px;
    height: 35px;
    margin-bottom: 10px;
}
.sales-campaign-page .product-info .form-control option,.buy-together-block .product-info .form-control option{
    text-align: center;
}
.sales-campaign-page .product-thumb .caption .price,.buy-together-block .product-thumb .caption .price{
    margin-bottom: 0;
}
.sales-campaign-page .product-list .active{
    border: 1px solid var(--p-second-color);
}
.sales-campaign-page .product-list .product-thumb .button-group button,.buy-together-block .product-thumb .button-group button{
    /* background-color: #fff; */
    /* border: 1px solid var(--p-second-color); */
    /* color: var(--p-font-color); */
    margin-right: 5px;
}
.sales-campaign-page .product-list .product-thumb .button-group .like,.buy-together-block .product-thumb .button-group .like{
    border: 0;
}
.sales-campaign-page .product-list .product-thumb .button-group .btn-cart i,.buy-together-block .product-thumb .button-group .btn-cart i{
    margin-right: 0;
}
.sales-campaign-page .product-info .quantily_info .select_number,.buy-together-block .product-info .quantily_info .select_number{
    justify-content: center;
}
/* 左側欄分類 */
.sales-campaign-page .panel-group{margin-bottom: 10px;}
.sales-campaign-page .pro-cate .panel-heading a[aria-expanded="true"]{
    background-color: #fff;
    border: 0;
}
.sales-campaign-page .pro-cate .panel-heading.title a[data-toggle='collapse'] {
    color: #fff;
    background-color: var(--p-main-color);
    padding: 15px 10px;
    font-size: 18px;
}
.sales-campaign-page .pro-cate .panel-heading.title a[data-toggle='collapse']::before{
    content: "";
    background-image: url(../images/icon/fire-w.svg);
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 5px;
    width: 18px;
    height: 18px;
    background-size: contain;
}
.sales-campaign-page .pro-cate .panel-heading.title a[data-toggle='collapse']:after{
    color: transparent;
}
.sales-campaign-page .pro-cate .panel-heading.title a[aria-expanded="true"]:after {
    color: transparent;
}
.sales-campaign-page .pro-cate .panel-heading a[data-toggle='collapse']{
    border: 0;
    padding: 15px 0 15px 10px;
    color:var(--p-main-color);
}
.sales-campaign-page .pro-cate .panel-heading a[data-toggle='collapse']:after{
    color: var(--p-main-color);
    /* content: "\f078"; */
}
.sales-campaign-page .pro-cate .panel-heading a[aria-expanded="true"]:after {
    color: var(--p-main-color);
    /* content: "\f077"; */
}
/* .sales-campaign-page .panel-body .pro-filter{
    padding-left: 10px;
} */
.sales-campaign-page .panel-body .pro-filter li{
    padding:0 0 5px 0;
}
.sales-campaign-page .panel-body .pro-filter li a{
    font-size: 13px;
    /* line-height:2; */
    font-weight: normal;
    /* background: transparent url(../images/icon/icon_arr-right.png) no-repeat 0 5px; */
}
.sales-campaign-page .panel-body .pro-filter li a:hover{text-decoration: underline;}
.sales-campaign-page .pro-cate .panel-body{
    border: 0 !important;
    padding: 0 0 20px 0;
}
.sales-campaign-page .pro-cate.panel-group .panel.all{
    border: 0;
}
.sales-campaign-page .pro-cate.panel-group .panel{
    -webkit-box-shadow: none ;
    box-shadow: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
}
@media only screen and (max-width: 1200px){
    /* .sales-campaign-page .product-info .form-control{
        width: 90%;
    } */
    .sales-campaign-page .select_number .no-match{
        padding: 6px 10px;
    }
}
@media only screen and (max-width: 992px){
    .sales-campaign-page .pro-cate .panel-heading a[data-toggle='collapse'] {
        padding: 15px 0 15px 10px;
    }
    .sales-campaign-page .pro-cate .panel-heading.title a[data-toggle='collapse']:after{
        color: #fff;
    }
    .sales-campaign-page .pro-cate .panel-heading.title a[aria-expanded="true"]:after {
        color: #fff;
    }
    .sales-campaign-page .pro-cate .panel-heading.title a[data-toggle='collapse']::before{
        background-image: url(../images/icon/fire-w.svg);
    }
    .sales-campaign-page .product-grid {
        margin-bottom: 10px;
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media only screen and (max-width: 767px){
    .sales-campaign-page .product-list .product-thumb .name a{
        font-size: 14px;
        height: 57px;
    }
    .sales-campaign-page .product-info .quantily_info p{
        margin-top: 5px;
        font-size: 14px;
    }
    /* .sales-campaign-page .product-info .form-control{
        margin-bottom: 5px;
    } */
    .sales-campaign-page .product-info .form-control{
        width: 100%;
    }
}
/* 加購商品區 */
.add-purchase-block .product-list{
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
    padding: 30px 10px;
    margin-bottom: 30px;
    margin-right: -15px;
    margin-left: -15px;
}
.add-purchase-block .add-title{
    margin-top: 40px;
    margin-right: -15px;
    margin-left: -15px;
}
.add-purchase-block .add-title h2{
    text-align: center;
    font-size: 28px;
    color: #fff;
    background-color: var(--p-main-color);
    margin-bottom: 0;
    padding: 15px 0;
    border-radius: 20px 20px 0 0;
    font-weight: 500;
}
.add-purchase-block .add-title h2:before{
    font-family: "FontAwesome";
    content: "\f217";
    font-size: 30px;
    margin-right: 10px;
}
.add-purchase-block .product-list .active{
    border: 1px solid var(--p-main-color);
}
.add-purchase-block .product-list .product-thumb{
    background-color: #fff;
}
.add-purchase-block .product-thumb .pluse{
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 14px;
}
/* 加購商品錨點設定 */
:target:before {
    content: "";
    display: block;
    height: 197px;
    margin-top: -197px;
}
@media (max-width: 992px){
    :target:before{height: 180px; margin-top: -180px;}
}
@media (max-width: 767px){
    :target:before {height: 65px; margin-top: -65px;}
}

/* 已選擇商品浮動區 */
.choose-product-block{
    position: fixed;
    display: block;
    bottom: 0;
    transform: translateZ(0px);
    cursor: pointer;
    box-shadow: rgb(71 73 72 / 30%) 0px 1px 5px 0px;
    border-radius: 15px 15px 0px 0px;
    background-color: rgb(255, 255, 255);
    z-index: 4;
    width: 100%;
    cursor: auto;
}
.choose-product-block .product-grid{
    padding-right: 5px;
    padding-left: 5px;
    width: 10%;
    margin-bottom: 10px;
}
.choose-product-block .product-list{
    padding: 20px;
    padding-bottom: 0;
}
.choose-product-block .product-thumb{
    padding: 5px;
}
.choose-product-block .product-thumb .caption{
    padding: 5px 0 0 0;
}
.choose-product-block .product-list .product-thumb .image{
    margin: 0;
    max-width: 100%;
}
.choose-product-block .product-layout .name a{
    /* height: 56px; */
    height: auto;
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.4;
}
.choose-product-block .spec-complete{
    color: #999;
    font-size: 12px;
}
.choose-product-block .spec-complete strong{
    display: block;
    font-size: 13px;
    color: var(--p-font-color);
    font-weight: normal;
}
.choose-product-block .remove{
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 2;
}
.choose-product-block .remove .btn-danger {
    width: 22px;
    height: 22px;
    border: 0;
    background: rgb(0 0 0 / 30%);
    border-radius: 0;
}
.choose-product-block .pluse,.add-purchase-block .pluse{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: var(--p-main-color);
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
}
.choose-product-block .btndrop{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    cursor: pointer;
}
.choose-product-block .btndrop [aria-expanded="true"]{
    transition: all 0s ease 0s;
    transform: rotate(180deg);
}
.choose-product-block .btndrop [data-toggle='collapse']{
    transition: all 0s ease 0s;
}
.choose-product-block .campaign-hint{
    padding:10px 20px;
}
.choose-product-block .campaign-hint .hint-text p{
    margin-bottom: 0;
    font-size: 17px;
}
.choose-product-block .campaign-hint .hint-text small{
    margin-left: 5px;
    text-decoration:line-through;
}
.choose-product-block .campaign-hint .hint-text .add-purchase-link{
    font-weight: 600;
    color: #337ab7;
    text-decoration: underline;
    cursor: pointer;
}
.choose-product-block .campaign-hint .hint-price{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.choose-product-block .campaign-hint .hint-price p{
    margin-bottom: 0;
}
.choose-product-block .campaign-hint .hint-price .discount{
    font-size: 20px;
    font-weight: 600;
    margin-right: 10px;
}
.choose-product-block .campaign-hint .hint-price .origin {
    margin-right: 5px;
    font-weight: 600;
}
.choose-product-block .campaign-hint .button-group .btn-cart{
    border-radius: 0;
    background:var(--p-second-color);
    color:#fff !important;
    transition: .2s;
    margin-right: 0;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: normal !important;
}
.choose-product-block .campaign-hint .button-group .btn-cart::after{
    font-family: "FontAwesome";
    content: "\f07a";
    font-size: 16px;
    margin-left: 5px;
}
@media only screen and (max-width: 1200px){
    .choose-product-block .btndrop{
        padding: 10px 0 0 0;
    }
    .choose-product-block .product-list{
        padding-top: 0;
        height: 250px;
        overflow: scroll;
        margin-top: 15px;
    }
    .choose-product-block .product-grid{
        width: 12.5%;
    }
}
@media only screen and (max-width: 992px){
    .add-purchase-block .add-title{
        margin-right: 0;
        margin-left: 0;
    }
    .add-purchase-block .product-list{
        background-color: transparent;
        border: 0;
        padding-top: 10px;
    }
    /* .choose-product-block .product-thumb .caption{
        height: 110px;
    } */
    .choose-product-block .product-list{
        height: 300px;
    }
    .choose-product-block .product-grid{
        width: 16.66%;
    }
    .campaign-hint {
        flex-direction: column;
        align-items: inherit;
    }
    .choose-product-block .campaign-hint .hint-price{
        justify-content: space-between;
    }
    .choose-product-block .campaign-hint{
        padding-bottom: 10px !important;
    }
}
@media only screen and (max-width: 767px){
    /* .sales-campaign-page .product-list .product-thumb .image{
        height: auto;
    } */
    .sales-campaign-page .product-info .quantily_info .left-eye,
    .sales-campaign-page .product-info .quantily_info .right-eye,
    .sales-campaign-page .select_number .no-match{
        width: 100%;
    }
    .sales-campaign-page .product-info .quantily_info,.buy-together-block .product-info .quantily_info{
        text-align: center;
        flex-direction: column;
    }
    .choose-product-block{
        margin-bottom: env(safe-area-inset-bottom);
        width: 100%;
        /* z-index: 10; */
    }
    .choose-product-block .product-grid{
        width: 33.33%;
    }
    .choose-product-block .campaign-hint{
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .choose-product-block .product-list{
        padding-top: 0;
        height: 260px;
        overflow: scroll;
    }
    .choose-product-block .campaign-hint .hint-text p{
        font-size: 14px;
        margin-bottom: 0;
    }
    .choose-product-block .campaign-hint .hint-price .discount{
        font-size: 17px;
    }
    .choose-product-block .campaign-hint .button-group .btn-cart{
        padding: 5px 10px;
        font-size: 14px;
    }
}
@media only screen and (max-width: 414px){
    .choose-product-block .campaign-hint .hint-text{
        width: 60%;
    }
}
@media only screen and (max-width: 375px){
    /* .choose-product-block .campaign-hint .hint-price {
        flex-direction: column;
        align-items:inherit;
    } */
    .choose-product-block .campaign-hint {
        padding:10px;
    }
    .choose-product-block .campaign-hint .hint-text{
        width: 64%;
    }
}
@media only screen and (max-width: 320px){
    .choose-product-block .campaign-hint .hint-price {
        flex-direction: column;
        align-items:inherit;
    }
    .choose-product-block .product-thumb .caption{
        height:110px;
    }

}
/*************switcher**********/

#switcher { left: 0; padding: 8px 0; position: fixed; top: 120px; z-index: 3000; }
.styleswitcher h4{
	color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 20px 0 0px 6px;
}
.styleswitcher .arrow-box { top:40px; right:-40px; position: absolute; }
/* @media only screen and (max-width: 767px){
	.styleswitcher .arrow-box { top:10px;}
} */
.switch-button {
    background: var(--p-main-color);
    cursor: pointer;
    display: block;
    box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.1);
    width: 40px;
    text-align: center;
    font-size: 15px;
    color: #fff !important;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr ;
	text-transform:uppercase;
	padding: 15px 10px;
	border-radius: 0px 5px 5px 0;
}
.switch-button i{
    margin-top: 5px;
		}
.switch-button .txt{
    margin-top: 10px;
    font-weight: 500;
   letter-spacing: 5px;
		}
.styleswitcher {
	position: fixed;
    top: 240px;
	left: 0;
	width: auto;
	background: var(--p-main-color);
	padding: 20px 10px 12px 10px;
	width: 202px;
	z-index: 50;
	border-radius: 0px 10px 10px 0;
    /*box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);*/
}
.styleswitcher p { margin:0; }
.styleswitcher small{font-size:9px; margin-left:6px;}
.styleswitcher ul { margin: 0 auto; padding: 0; width:100%; }
ul.background-selector img:hover, ul.background-selector1 img:hover{ cursor: pointer; }
.styleswitcher ul li {
    list-style: none;
    font-size: 14px;
    line-height: 20px;
}
.styleswitcher ul li a { text-decoration: none; color: #387cd0;}
.styleswitcher ul li a:hover { text-decoration: underline;}
.styleswitcher ul li.nomargin { margin-bottom:2px; }
.styleswitcher ul.quick-link li{
	padding-left: 17px;
	position: relative;
	color: #33a1d2;
    margin:10px 5px;
}
.styleswitcher ul.quick-link li:before{
    content: "\f105";
    font-family: fontawesome;
    width: 15px;
    position: absolute;
    left: 4px;
    color: #fff;
    font-size: 15px;
}
.styleswitcher ul.quick-link li.more {
    text-align: right;
}
.styleswitcher ul.quick-link li.more a{
    color:#666;
    font-size: 12px;
}
.styleswitcher ul.quick-link li.more::before{
    display: none;
}
.styleswitcher.sw1{
	background: #fff;
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.3);
	-o-box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.3);
	border: 2px solid var(--p-main-color);
	border-left: 0;
}
.sw1 .switch-button {
    background:var(--p-main-color);
}
.styleswitcher.sw1 h4 a{
    color: var(--p-font-color);
    font-size: 16px;
    font-weight: 600;
}
.styleswitcher.sw1 h4 i{
    margin-right: 5px;
    /* margin-bottom: 3px; */
}
.styleswitcher.sw1 .glasses-r a{
    color: var(--p-main-color);
}
.styleswitcher.sw1 .glasses-r img{
    width: 35px;
}
.styleswitcher.sw1 h4 img{
    width: 18px;
    margin-right: 3px;
    margin-bottom: 3px;
}
.styleswitcher.sw1 ul.quick-link li:before {
    color: #999;
}
.styleswitcher.sw1 .arrow-box {
}
@media(max-width: 767px){ 
    .styleswitcher{
        top: 200px;
    }
    /* .switch-button .txt{display: none;} */
}
/*************switcher**********/
/* 預約試戴 */
.reserve-fixed-btn{
    position: fixed;
    right: 2%;
    top: 35%;
    width: 75px;
    height: 75px;
    background-color: #f5f5f5;
    box-shadow: 2px 2px 0px 0px #ddd;
    border-radius: 100%;
    z-index: 5;
    display: flex;
    padding: 10px;
}
.reserve-fixed-btn .contain{
    position: relative;
    text-align: center;
}
.reserve-fixed-btn .contain .img{
    width: 55px;
}
.reserve-fixed-btn .contain .number{
    position: absolute;
    top: -12px;
    right: -5px;
    background-color: var(--p-main-color);
    width: 20px;
    height: 20px;
    border-radius: 100%;
    color:#fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reserve-fixed-btn .contain .name{
    position: absolute;
    top: 30px;
    right: 3px;
}
.reserve-fixed-btn .contain .name h4{
    margin: 0;
}
.reserve-fixed-btn .contain .name a{
    font-size: 12px;
    font-weight: 600;
}
/* 搜尋結果 */
.search-list-block h1{
    font-size: 17px;
    color: #777;
}
.search-list-block .search-list-tab .nav-tabs{
    margin-bottom: 0;
}
.search-list-block .search-list-tab .nav-tabs li{
    width: 50%;
    text-align: center;
    border-bottom: 3px solid #ccc;
}
.search-list-block .search-list-tab .nav-tabs li a{
    font-size: 22px;
    font-weight: 600;
    border: 0;
    background: transparent;
    padding-bottom: 5px;
}
.search-list-block .search-list-tab .nav-tabs li a span{
    font-size: 21px;
    margin-left: 5px;
}
.search-list-block .search-list-tab .nav-tabs .active a{
    color: var(--p-font-color);
    border: 0;
}
.search-list-block .search-list-tab .nav-tabs .active{
    border-bottom: 3px solid var(--p-second-color)
}
.search-list-block .search-list-tab .nav-tabs li:hover{
    border-bottom: 3px solid var(--p-second-color);
}
.search-list-block .tab-content{
    padding: 0;
}
.search-list-block .sort{
    border-bottom: 0;
    margin-bottom: 20px;
    font-size: 14px;
    padding: 7px 10px 7px 5px;
}
.search-list-block .sort select{
    height: 35px;
    background-color: #fff;
    padding: 3px;
    font-size: 13px;
}
.search-list-tab .result-pagination{
    margin-top: 50px;
    margin-bottom: 0;
}
.search-list-block .row.product-list .product-grid{
    margin-bottom: 30px;
}
@media (max-width: 1200px){
    .search-list-tab .tab-content #campaign-list .item{
        margin-bottom: 15px;
    }
}
@media (max-width: 767px){
    .search-list-tab .tab-content #campaign-list .item{
        margin-bottom:5px;
    }
    .search-list-block .search-list-tab .nav-tabs li a{
        font-size: 18px;
        padding-bottom: 2px;
    }
    .search-list-block .search-list-tab .nav-tabs li a span{
        font-size: 17px;
    }
    .search-list-block h1{
        font-size: 15px;
    }
    .search-list-block .sort>div{
        width: auto;
    }
}
/* 購物車-結帳第一步 */
.checkout-page .campaign-title,.member-page .campaign-title{
    background-color: #ff6fa242;
    color: var(--p-font-color);
    padding: 5px 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.checkout-page .campaign-title h4,.member-page .campaign-title h4{
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    margin: 5px;
    border-bottom: 0;
    padding-bottom: 0;    
}
.checkout-page .campaign-title h4 a,.member-page .campaign-title h4 a{
    color: var(--p-font-color);
}
.checkout-page .campaign-title h4 span,.member-page .campaign-title h4 span{
    font-size: 16px;
    background-color:var(--p-second-color);
    color:#fff;
    padding: 14px;
    margin-right: 10px;
    margin-left: -15px;
    border-radius:0 10px 10px 0;
}
.checkout-page .campaign-title a i,.member-page .campaign-title a i{
    margin-left: 5px;
    font-size: 18px;
    background-color: var(--p-second-color);
    padding: 5px;
    color: #fff;
}
.checkout-page .campaign .product-subtotal .price-campaign,.campaign .product-subtotal .price-campaign{
    color: var(--p-font-color);
    font-weight: 600;
    font-size: 18px;
}
.checkout-page .campaign .product-subtotal span,.campaign .product-subtotal span{
    display: block;    
}
/* .checkout-page .campaign td,.checkout-page .campaign .cart_table_title,.campaign td,.campaign .cart_table_title{
    background-color:#f5f5f573;
} */
.checkout-page .campaign .mobile.product-subtotal,.campaign .mobile.product-subtotal{
    display: none;
}
.campaign tbody{
    background-color:#fff !important;
}
@media only screen and (max-width: 767px){
    .checkout-page .campaign .product-subtotal.cart,.checkout-page .campaign .cart.product-quantity,
    .campaign .product-subtotal.cart,.campaign .cart.product-quantity{
        display: none;
    }
    .checkout-page .campaign .mobile.product-subtotal,.campaign .mobile.product-subtotal{
        display: block;
        width: 100%;
    }
    .checkout-page .campaign .mobile.product-subtotal span,.campaign .mobile.product-subtotal span{
        display: inline-block;
        margin-right: 10px;
    }
    .checkout-page .campaign .pro-item,.campaign .pro-item{
        padding: 0;
    }
    .checkout-page .campaign-title h4 span,.campaign-title h4 span,.member-page .campaign-title h4 span {
        font-size: 13px;
        padding: 3px 5px;
        margin-right: 5px;
        border-radius: 5px;
        font-weight: 400;
        margin-left: 0;
    }
    .checkout-page  .campaign-title h4,.member-page .campaign-title h4{
        font-size: 14px;
    }
    .checkout-page .campaign .product-subtotal .price-campaign,.campaign .product-subtotal .price-campaign{
        font-size: 16px;
    }
}
/* 商品標籤 */
.product-tag{
    display:flex;
    position: absolute;
    bottom: 0;
    padding: 3px;
}
.product-model{
    position: initial;
    left: 0;
    right: 0;
    top: 0;
    line-height: 1;
    width: auto;
    height: auto;
    border-radius:3px;
    z-index: 5;
    font-size: 12px;
    margin-right: 2px;
    padding: 4px;
 }
 @media(max-width: 767px){
    .product-tag{
        padding: 1px;
        flex-wrap: wrap;
    }
    .product-model{
        padding: 4px 2px;
        margin-top: 2px;
    }
 }
 .product-model i{
     margin-right: 3px;
     font-size: 13px;
 }
 .product-model.hot{
    background: #f7b030 !important;
    color: #fff;
 }
 .product-model.pre {
    /* background: #f7b030 !important; */
    /* width: 40px; */
}
.time-sale .time-sale-title{
    background-color: transparent;
    color: #fff;
    border: 0;
    padding: 3px 0;
    /* border-radius: 5px 0 0 5px; */
    font-size: 17px;
    font-weight: 600;
}
.time-sale .time-sale-title i{
    margin-right: 5px;
}
.countdown{
    padding:3px 5px;
    border:0;
    /* background-color: #ff6fa242; */
    border-radius: 0 5px 5px 0;
    color: #fff;
}
.countdown span{
    margin: 0 5px;
    color:#ff2929;
    font-size: 16px;
    background-color:#fff ;
}
.pre-order .date{
    margin-bottom: 5px;
    /* color: #999; */
    font-size: 13px;
    /* letter-spacing: 1px; */
}
.pre-order .date i{
    margin-right: 3px;
    font-size: 15px;
}
.single-r-wrapper .product-tag{
    top: 15px;
    left: 10px;
    bottom: initial;
}
.single-r-wrapper .product-model {
    font-size: 14px;
    z-index: 2;
    padding: 8px;
}
@media only screen and (max-width: 767px){
    .time-sale {
        margin:10px 0;
        padding: 5px 10px;
    }
    
}
/* 訂單查詢-表格 */
.member-page .form-container h4{
    /* font-size: 16px; */
    margin-bottom: 20px;
    padding-bottom: 15px;
}
.member-page .campaign-title h4{
    margin-bottom: 0;
    padding-bottom:5px;
}
/* .member-page .data-table.check th{
    background-color: #999;
    border: 1px solid #999;
    color: #fff;
} */
/* 訂單查詢-表格-明細 */
/* @media (max-width: 767px){
    .shop-table.check th{
        display: none;
    }
    .shop-table.check .item-thumbs{
        width: 75px;
    }
    .shop-table.check .pro-item{
        padding-right: 0;
    }
    .shop-cart-table.cart-table-m.check .product-quantity{
        height: auto;
        padding: 0 5px 10px 5px;
    }
    .shop-cart-table.cart-table-m.check .product-subtotal{
        line-height: 1;
        padding: 0 5px 10px 5px;
    }
    .shop-cart-table.cart-table-m.campaign.check .product-subtotal{
        padding: 5px 0;
        border-bottom: 1px solid #e9e9e9;
    }
} */

/* 會員-文雄幣 */
.m-point-pro-page .poinr-pro .button-group.button-grid .btn-cart{padding: 5px 10px;}

.all-detail{
    display: flex;
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 30px 0;
    width: auto;
}
.m-point-pro-page .row.poinr-pro .product-grid{
    margin-bottom: 20px;
}
.point-block ul a{
    margin-left: 3px;
}
.poinr-pro .product-thumb .lower-box{
    flex-direction: column;
    align-items:inherit;
    /* align-items: flex-start; */
    /* height: 45px; */
}
.poinr-pro .product-thumb .lower-box .price{
    display: flex;
    align-items: center;
    /* flex-direction: column; */
}
.poinr-pro .product-thumb .lower-box .price span{
    font-weight: 600;
    font-size: 18px;
    color: var(--p-main-color);
}
.poinr-pro .product-thumb .lower-box .price img{
    width: 20px;
    margin-right: 3px;
}
@media (max-width: 375px){
    .poinr-pro .product-thumb .price img{max-width: 25px;}

    .poinr-pro .product-thumb .lower-box .price{flex-wrap: wrap;}
}

.poinr-pro .product-thumb .lower-box .price small{
    margin-left: 3px;
    font-weight: 600;
}
.poinr-pro .product-thumb .lower-box .price i{
    margin-right: 3px;
}
.poinr-pro .product-thumb .button-grid.button-group{
    justify-content: space-between;
    margin-top: 5px;
}
.poinr-pro .product-thumb .button-grid.button-group .form-control{
    padding: 5px;
    height: auto;
}
.poinr-pro .product-thumb .button-grid.button-group button{
    margin: 0;
    width: 100%;
}
/* .member-page .member-point-tab{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
}
.member-page .member-point-tab li {
    width: 50%;
    text-align: center;
    border-bottom: 3px solid #ccc;
}
.member-page .member-point-tab .active{
    border-bottom: 3px solid var(--p-main-color);
}
.member-page .member-point-tab .active a{
    color: var(--p-main-color);
}
.member-page .member-point-tab li a {
    font-size: 22px;
    font-weight: 600;
    padding: 10px 10px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.member-page .member-point-tab li a:hover{
    color: var(--p-main-color);
} */
@media(max-width: 1200px){ 
    /* .poinr-pro .product-thumb .lower-box{
        height: 100px;
    } */
    .poinr-pro .product-thumb .button-grid.button-group{
        flex-direction: column;
    }
    /* .poinr-pro .product-thumb .button-grid.button-group .form-control{
        margin-bottom: 3px;
    } */
}
@media(max-width: 767px){
    .point-pro-info{
        height: 60%;
    }
    #point-txt .editor{
        height: 60vh;
        overflow-y: scroll;
    }
}
@media(max-width: 379px){
    .point-block h5 {
        font-size: 22px;
    }
    .point-block span.red{
        font-size: 14px;
    }
}
@media(max-width: 375px){
    .point-pro-info{
            height: 55%;
        }
}
@media(max-width: 320px){
    .point-pro-info{
            height: 35%;
            margin: 0;
        }
}
/* 推薦碼 */
.level-block.qrcodebox .add-btn.btn-xs{
    margin: 20px 0;
}
@media(max-width: 320px){
    .add-btn.line-share-btn{
        width: 255px;
    }
}
/* 優惠券modal */
.couppon-list .modal-dialog {
    width: 750px;
}
.couppon-list .modal-body{
    height: 400px;
    padding: 20px;
}
.couppon-list .data-table tr td{
    max-width: 190px;
    color: #333;
}
.couppon-list .data-table tr td.coupon-title{
    font-weight: 600;
    text-align: left;
}
@media(max-width: 767px){
    .couppon-list .modal-body{
        padding: 10px;
    }
    .couppon-list .data-table th+th{
        font-size: 12px;
    }
    .couppon-list .data-table tr td{
        padding: 10px 5px;
        font-size: 13px;
    }
    .couppon-list .modal-footer{
        display: flex;
    }
    .couppon-list .modal-footer .add-btn{
        margin: 10px;
        min-width: auto;
        width: 100%;
    }
}
@media(max-width: 379px){
    .couppon-list .data-table tr td{
        font-size: 12px;
    }
}
/* 會員-優惠券 */
.m-coupons-page .input-prepend select{
    max-width: 150px;
}
.m-coupons-page .input-prepend{
    display: flex;
}
.rwd-table.coupon-table .coupon-title {
    text-decoration: none;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}
.data-table.coupon-table td span {
    display: flex;
    flex: 1;
}
@media(max-width: 767px){
    .m-coupons-page .page-title h2{
        margin-bottom: 10px;
    }
    .rwd-table.coupon-table .coupon-title{
        font-size: 17px;
        color: var(--p-main-color);
    }
    .rwd-table.coupon-table tbody tr{
        background-color: #f3f3f3;
        border: 2px dotted #fff;
        position: relative;
    }
    .rwd-table.coupon-table tbody tr::before {
        content: "";
        width: 18px;
        height: 18px;
        background-color: #fff;
        border-radius: 100%;
        position: absolute;
        bottom: 14%;
        left: -3%;
    }
    .rwd-table.coupon-table tbody tr::after {
        content: "";
        width: 18px;
        height: 18px;
        background-color: #fff;
        border-radius: 100%;
        position: absolute;
        bottom: 14%;
        right: -3%;
    }
    .rwd-table.coupon-table td:before{
        color: #666;
        font-size: 15px;
    }
    .data-table.coupon-table td span{
        font-size: 15px;
        color: #666;
    }
}
/* 常見問題 */
.faq-page #content{margin-bottom: 50px;}

/* stylesheet */
.breadcrumb li:last-child a{
    color: var(--p-main-color);
}
 .product-btn .add-btn.buy{
     background-color: var(--p-second-color);
 }
 .likebox .modal-body{
    text-align: center;
    font-size: 17px;
    color: #222;
 }
 .likebox .modal-footer {
    text-align: center;
    margin: 0;
    border: 0;
    padding: 0 0 15px 0;
}
 
