label {
    font-weight: normal;
    color: var(--p-font-color);
    margin-bottom: 5px;
    cursor: pointer;
    position: relative;
}

select { min-height: inherit !important; }

input, select, .form-control, select.form-control:not([size]):not([multiple]), .form-control[readonly] {
    background-color: transparent;
    outline: 0;
    font-weight: normal;
    line-height: 1.3;
    font-size: 17px;
    font-weight: 300;
    border-radius: 0;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e3e3e3 !important;
    height: 48px;
    color: var(--p-font-color);
}
.form-control:disabled, .form-control[readonly] {
    background-color: #f3f3f3 !important;
}
input, .form-control{
    padding: 0 5px;
}
select{
    padding: 0;
}
textarea{
    min-height: 100px;
    width: 100%;
    border: 1px solid #e3e3e3 !important;
    padding: 10px !important;
	outline: 0;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder {
    font-weight: 300;
    color:#6c757d;
    opacity:0.6;
}
input::-moz-placeholder,
textarea::-moz-placeholder,
.form-control::-moz-placeholder {
    font-weight: 300;
    color:#6c757d;
    opacity:0.6;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder,
.form-control:-ms-input-placeholder {
    font-weight: 300;
    color:#6c757d;
    opacity:0.6;
}
input::-ms-input-placeholder,
textarea::-ms-input-placeholder,
.form-control::-ms-input-placeholder {
    font-weight: 300;
    color:#6c757d;
    opacity:0.6;
}
input::placeholder,
textarea::placeholder,
.form-control::placeholder {
    font-weight: 300;
    color:#6c757d;
    opacity:0.6;
}

.form-control:focus, input:focus, select:focus, textarea:focus, select.form-control:not([size]):not([multiple]):focus {
    border-color: var(--p-main-color) !important;
}
select, select.form-control:not([size]):not([multiple]) {
    background-color: #f9f9f9;
}
.form-control:focus, input:focus{
    background-color: transparent;
}
table + table{
    margin-top: 20px;
}
.col-form-label small{
    color:  var(--p-focus-color);
    padding-right: 3px;
}
input[type="radio"], input[type="checkbox"] {
    margin: 8px 5px 0 5px;
    width: 15px;
    height: 15px;
}
.color1{
	color:  #444444;
}
.col-sm-9.color1, .col-9.color1 {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    min-height: 48px;
    align-items: center;
    display: inline-flex;
}
.input-group .form-control {
    border-radius: 0;
    height: 46px;
	    box-shadow: none;
}
.input-group .input-group-btn > .btn, .input-group .input-group-addon {
    border-radius: 0;
	margin-bottom: 5px;
	background: var(--p-main-color) !important;
}
.red{
	color: var(--p-focus-color) !important;
}
.main-color{
	color: var(--p-main-color) !important;
}
/*************member & shoppingcart*****************/
.full-page{
	padding: 40px 0;
	margin: auto;
	float: none;
	overflow: hidden;
	min-height: 450px;
}
.full-page h1{
	font-size: 32px;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.form-container{
	font-size: 16px;
	padding: 50px;
	background-color: #f9f9f9;
	margin: auto;
}
.form-container p {
    font-size: 15px;
    font-weight: 300;
    margin-top: 0.25rem;
}
.form-container form{
	clear: both;
}
.form-container .form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 15px;
}
.form-container .form-group .col-form-label{
    font-size: 17px;
    font-weight: 300;
}
.form-container .form-group.top-line {
    border-top: 1px solid #e9e9e9;
    margin-top: 30px;
    padding-top: 30px;
}
.form-container .control-label {
   padding-right: 0;
   padding-left: 0;
  	width: 145px;
   text-align: right;
   line-height: 30px;
    font-size: 16px;
    font-weight: normal;
	}
.form-container .controls {
   line-height: 25px;
    font-size: 16px;
	line-height: 30px;
}
.form-container .controls label {
    white-space: nowrap;
}
.form-container .controls.color1 {
    display: flex;
    align-items: center;
    font-size: 17px;
    line-height: 1;
}
.form-container .form-inline .form-check {
    margin: 12px 0;
}
.form-container .controls .select_container {
    width: auto;
	float: left;
}
.form-container .controls .select_container select {
    padding: 10px 40px 10px 10px;
    height: 47px;
}

.form-container .text-error, label.error {
    display: block;
    clear: both;
    color: var(--p-focus-color) !important;
    margin-bottom: 10px;
    margin-top: 5px;
    font-size: 15px;
}
.input-group-btn {
    overflow: hidden;
    margin-bottom: 4px;
    display: inline-table;
}
.form-container.form-complete .form-group{
	line-height: 200%;
	min-height: 40px;
		}
.form-container .control-txt {
  padding: 10px 15px;
  font-size: 16px;
}

.form-container .form-result{
	margin-bottom: 5px;
	text-align: right;
	float: right;
}
.form-container .control-label small, .form-container .form-result small{
	color: #ff0036;
	margin: 0 5px;
}
.checkout-page .form-actions{
  text-align: center;
}
.checkout-page .form-actions input[type=checkbox].ace.input-lg + .lbl::before {
    top: -4px;
}
.checkout-page .form-actions.align-right{
  text-align:right;
}
.checkout-page .form-actions .order-btn{
    color: var(--p-font-color) !important;
    background-color: #f2f2f2;
    width: 220px;
}
.checkout-page .form-actions .order-btn:hover{
    background-color: #f7f7f7;
}
.checkout-page .form-actions .order-btn.buy-now{
    color: #fff !important;
}
.checkout-page .form-actions .order-btn.btn-sm {
    width: 120px;
    min-width: fit-content;
    padding: 7px 15px;
    font-size: 15px;
}
.form-actions label {
    display: block;
    margin-bottom: 1rem;
}
.form-container .help-inline{
	    float: none;
}

.form-container .button-s, form .button-s{	
	height:30px;
	line-height:30px;
	padding:0 20px;
}
.form-container #verifycodeImg{
	height: 45px;
	margin-right: 10px;
}
.middle i {
    font-size: 18px;
    margin-top: 8px;
}
.form-container .form-group.txt {
    margin-bottom: 20px;
    text-align: center;
	font-size: 15px;
}
.form-block.product_details .product-review-tab{
	margin-bottom: 0;
	margin-top: 0;
		}
/* .form-block.product_details .product-review-tab .nav{
    display: block;
    width: 100%;
} */
.form-block.product_details .product-review-tab .nav li{
	margin-bottom: -1px;
	width: auto;
}
.form-block.product_details .product-review-tab .nav li a {
    color: var(--p-font-color);
    border: 0;
    background-color: transparent;
    font-size: 18px;
    padding: 15px 35px;
    display: block;
    border: 1px solid transparent !important;
    border-radius: 6px 6px 0 0;
}
.form-block.product_details .product-review-tab .nav li a.active{
	background: #f9f9f9;
    border-bottom: 0;
}
.form-block.product_details .product-review-tab .nav li.active a::after{
	display: none;
	}
.form-block.product_details .product-review-tab .nav{
	border-bottom: 0;
}
.form-block.product_details .tab-content {
	margin-top: -1px;
    padding: 30px;
    background-color: #f9f9f9;
	width: 100%;
	margin-bottom: 0;
}
.form-block.product_details .tab-content input,
.payment-select1 .form-block input{
    background-color: #f9f9f9 !important;
}
.input-group-btn .btn {
    font-size: 14px;
    border: 0;
    border-radius: 0;
    margin-right: 4px;
}
.txtblock{
	padding: 70px;
	background-color: #f3f3f3;
	margin: 20px 0;
	line-height: 180%;
}
.txtblock ul{
	margin:0;
}
.txtblock li{
	background: url(images/icons/sidebar-link.png) no-repeat;
	padding-left: 15px;
	margin-bottom: 10px;
	line-height: 150%;
}
.success{
	background-color: #f4f4f4;
	text-align: center;
	font-size: 110%;
	border-radius: 5px;
	}
.success .title{
	font-size: 130%;
	font-weight:bold;
	}
.success p{
	margin: 20px 0;
		}
.steps {
	list-style: none;
	display: flex;
	width: 80%;
	padding: 0;
	margin: auto;
	margin-bottom: 30px;
	position: relative;
}
.steps li {
    text-align: center;
    flex: 1;
}
.steps li .step {
    border: 5px solid #ced1d6;
    color: var(--p-font-color);
    font-size: 13px;
    border-radius: 100%;
    background-color: #FFF;
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 50px;
    text-align: center;
}
.steps li.active .step, .steps li.active:before{
    border-color: var(--p-main-color);
	color: var(--p-main-color);
}


.steps li:before {
  display: block;
  content: "";
  width: 100%;
  height: 1px;
  font-size: 0;
  overflow: hidden;
  border-top: 4px solid #CED1D6;
  position: relative;
  top: 27px;
  z-index: 1;
}
.steps li.last-child:before {
  max-width: 50%;
  width: 50%;
}
.steps li:last-child:before {
  max-width: 50%;
  width: 50%;
}
.steps li:first-child:before {
  max-width: 51%;
  left: 50%;
}

.steps li.complete .step {
  cursor: default;
  color: #FFF;
  -webkit-transition: transform ease 0.1s;
  -o-transition: transform ease 0.1s;
  transition: transform ease 0.1s;
}
.steps li.complete .step:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  line-height: 30px;
  text-align: center;
  border-radius: 100%;
  content: "\f00c";
  background-color: #FFF;
  z-index: 3;
  font-family: FontAwesome;
  font-size: 17px;
  color: #87ba21;
}
.steps li.complete:hover .step {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  border-color: #80afd4;
}
.steps li.complete:hover:before {
  border-color: #80afd4;
}
.steps li .title {
    display: block;
    margin: 5px 0;
    max-width: 100%;
    color: var(--p-font-color);
    font-size: 15px;
    letter-spacing: 0;
}
.steps li.active .title {
	    color: var(--p-font-color);
}


.step-content {
  position: relative;
}
.step-content .step-pane {
  display: none;
  min-height: 200px;
  padding: 4px 8px 12px;
}
.step-content .step-pane.active {
  display: block;
}


@media (max-width: 575px){
    .steps li .title {
        font-size: 14px;
        font-weight: 300;
    }
}
.theme_title h3, .full-page .title {
    font-size: 38px;
    letter-spacing: 2px;
    color: var(--p-font-color);
    font-weight: 400;
    margin-bottom: 2rem;
}
.theme_title p {
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 10px;
	line-height: 30px;
}

.full-page .theme_title.center:after {
    top: 50px;
    margin-left: -33px;
}
.full-page .theme_title.center{
	margin-bottom: 0;
}
.full-page .theme_title.center + .form-container{
	margin-top: 20px;
}
.full-page .theme_title.center.no-border:after{
	display: none;
}

.center {
    text-align: center;
}

.cart-tabs .nav-pills {
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--p-main-color);
}
.cart-tabs .nav-pills li{
   flex: 1;
   max-width: 200px;
}
.cart-tabs .nav-pills li + li{
    margin-left: 10px;
}
.cart-tabs .nav-pills .nav-link {
    width: 200px;
    width: 100%;
    padding: 12px 10px 8px;
    font-size: 19px;
    font-weight: 400;
    background: #ededed;
    color: var(--p-font-color);
    text-align: center;
    /* align-items: center; */
    border-radius: 10px 10px 0 0;
    position: relative;
    cursor: pointer;
}
.cart-tabs .nav-pills .nav-link.active {
    background-color: var(--p-main-color);
    color: #fff;
}
.cart-tabs .nav-pills .nav-link span {
    font-size: 15px;
    font-weight: bold;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    display: inline-flex;
    padding: 0 5px;
    position: absolute;
    right: 20px;
    top: -10px;
}
.cart-tabs .nav-pills .nav-link.active span {
    /* background-color: #fff;
    color: var(--p-focus-color); */
}
.cart-tabs .tab-content{
    /* margin-top: 1rem; */
}
.shop_table {
	border: 1px solid #e4eded;
	width: 100%
}

.shop_table>tbody>tr>td,.shop_table>tbody>tr>th,.shop_table>tfoot>tr>td,.shop_table>tfoot>tr>th,.shop_table>thead>tr>th {
	padding: 10px;
	border-top: 1px solid #e4eded
}

.shop_table>tfoot,.shop_table>thead {
	background-color: #f3f2eb
}

.payment .payment_methods {
	list-style: none;
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #e4eded;
	border-radius: 2px;
	background-color: #f3f2eb
}

.payment .payment_box {
	margin: 10px 1.5%;
	padding: 10px 10px 0;
	border: 1px solid #e4eded;
	border-radius: 2px;
	background-color: #e4eded;
	display: none
}
.shop-cart-table {
	width: 100%;
}
.shop-cart-table th{
	padding: 10px;
	text-align: center;
    font-weight: 400;
    white-space: nowrap;
}
.shop-cart-table td{
    font-size: 17px;
	color: var(--p-font-color);
	padding: 20px 10px;
	border-bottom: 1px solid #e4eded;
	text-align: center;
	vertical-align: middle;
}
.no-item td{
	padding: 50px 0 !important;
}
.shop-cart-table .cart_table_title {
    color: var(--p-font-color);
    border-bottom: 1px solid #e4eded;
    font-size: 15px;
}
.shop-cart-table .cart_table_title .actions {
	width: 100%
}

.shop-cart-table .quantity {
	margin: 0
}
.shop-cart-table .quantity{
    width: 120px;
}
.shop-cart-table .quantity input[type="number"] {
    font-size: 17px;
    text-align: center;
    padding: 0 40px;
    height: 40px;
    border-radius: 40px;
}
.shop-cart-table .quantity span {
    width: 40px;
    height: 40px;
}
.shop-cart-table .quantity span i {
    font-size: 18px;
}
.shop-cart-table tr.gry,
.shop-cart-table tr.gry td{
	background-color: #f9f9f9;
}
.shop-cart-table tr.gry td.product-subtotal:before{
    display: none;
}
.shop-cart-table .product-remove {
	width: 5%;
	}
.shop-cart-table .product-remove a {
    color: #000;
    font-size: 21px;
    opacity: 0.5;
}
.shop-cart-table .product-remove a:hover {
    opacity: 1;
}
.shop-cart-table .product-remove .fa-times:before,
.campaign-title i.fa-times:before,
a.remove i.fa-times:before,
.shop-cart .shop-cart__list .item .remove:before{
	content: "\e9e4";
    font-family: 'Feather';
}
.shop-cart-table .product-thumbnail {
	width: 7%;
	padding: 20px 10px;
}
.shop-cart-table .product-thumbnail img{
	border: 1px solid #f1f1f1;
}
.product-name,
.shop-cart-table .product-name {
	text-align: left;
}
.shop-cart-table td.product-name {
	font-size: 15px;
	}
.shop-cart-table .product-name a{
    color: var(--p-font-color);
    font-size: 17px;
}


.form-block .shop-cart-table {
	margin-bottom: 1rem;
    border: 1px solid #e4eded;
}
.form-block .shop-cart-table td {
    border-bottom: 1px solid #e4eded;
}
.form-block .shop-cart-table .product-name a {
    font-size: 16px;
}


.shop-cart-table td .pro-item{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.item-thumbs{
    width: 70px;
    margin-right: 15px;
    border: 1px solid #efefef;
}
.item-info{
    flex: 1;
}
.item-info .price, .item-info .qty{
    display: none;
}
.item-info .amount {
    padding: 2px 5px;
    background-color: #ccc;
    color: #fff;
    display: inline-block;
    line-height: 1;
    margin-left: 5px;
    border-radius: 2px;
}
.shop-cart-table .product-name .increase {
    display: block;
    width: fit-content;
    color: #fff;
    padding: 1px 10px;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 300;
    position: relative;
    border-radius: 4px;
    background-color: var(--p-main-color);
}
.shop-cart-table .product-name .increase::after {
    content: '';
    display: none;
    position: absolute;
    z-index: 1;
    top: 50%;
    margin-top: -5px;
    left: -10px;
    border: 5px solid transparent;
    width: 5px;
    height: 5px;
    border-right-color: var(--p-main-color);
}
.shop-cart-table .product-name .increase.free {
    background-color: #ff96ad;
}

.shop-cart-table .product-name .increase.free::after {
    border-right-color: #ff96ad;
}

.shop-cart-table .increase.normal,
.data-table .increase.normal {
    background-color: #77d637;
}

.shop-cart-table .increase.normal::after,
.data-table .increase.normal::after {
    border-right-color: #77d637;
}

.shop-cart-table .increase.low,
.data-table .increase.low {
    background-color: #5fcfff;
}

.shop-cart-table .increase.low::after,
.data-table .increase.low::after {
    border-right-color: #5fcfff;
}

.shop-cart-table .increase.cool,
.data-table .increase.cool {
    background-color: #7ce1e8;
}

.shop-cart-table .increase.cool::after,
.data-table .increase.cool::after {
    border-right-color: #7ce1e8;
}
        
td.product-name .spec, .item-info .spec{
    color: #777;
    font-size: 14px;
    width: auto;
    display: block;
}
td.product-name .spec small, .item-info .spec small{
    margin:  0 2px;
    color: #ddd;
}
.shop-cart-table td.product-name .note {
    color: #f76686;
    display: block;
	font-size: 14px;
}
.shop-cart-table td.product-name .note strong{
    font-weight: 500;
}
.shop-cart-table .product-name .price {
    font-size: 17px;
}
.shop-cart-table .product-name .price-old {
    margin-right: 5px;
    float: none;
}
.shop-cart-table  .event{
    font-size: 15px;
    color: var(--p-main-light);
}
.shop-cart-table  .event::before,
.discount-list span.thumb::before{
    font-family: "FontAwesome";
    margin-right: 3px;
}
.shop-cart-table  .event.yes::before,
.discount-list.yes span.thumb::before{
    content: "\f00c";
}
.shop-cart-table  .event.no::before,
.discount-list.no span.thumb::before{
    content: "\f00d";
}
.shop-cart-table  .event.no {
    color: var(--p-focus-color);
}
.shop-cart-table .product-price {
	width: 10%
}
.shop-cart-table .price-old{
	display: block;
	float: none;
		}
.price-old {
    font-weight: 300;
    text-decoration: line-through;
    margin-left: 5px;
    font-size: 15px;
    line-height: 16px;
    color: #999;
}

.shop-cart-table small {
    font-size: 100%;
	}
.shop-cart-table .product-quantity {
	width: 15%;
	float: none;
}
.shop-cart-table input#product-quantity{
	display: table-cell;
	border: 1px solid #ddd;
	height: 40px;
	width: 40px;
	line-height: 40px;
	font-weight: normal;
	font-size: 17px;
}
.shop-cart-table .btn-input-group{
	display: table-cell;
	width: 25px;
}
.shop-cart-table span#product-quantity-plus{
	border-bottom: 0;
}
.shop-cart-table span#product-quantity-plus, 
.shop-cart-table span#product-quantity-minus{
	width: 20px;
	height: 20px;
	line-height:20px;
}
.shop-cart-table .product-quantity .qty-set {
	display: table;
	margin: auto;
}
.shop-cart-table .product-quantity input[type="text"]{
	margin-bottom: 0;
}
.shop-cart-table .product-subtotal {
	width: 10%
}

.shop-cart-table .cart_table_action {
	background-color: #f3f2eb
}

.shop-cart-table .cart_table_action .actions {
	padding: 8px 0
}

.shop-cart-table .cart_table_action .actions .btn {
	margin-left: 10px
}

.shop-cart-table .cart_table_action .input-text {
	width: 120px;
	display: inline-block;
	height: 36px;
	background-color: #fff
}
.display-phone {
    display: none !important;
}
.total-block {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 1rem;
}
.total-block.cart{
    justify-content: flex-end;
}
.total{
    font-size: 17px;
	color: var(--p-font-color);
	clear: both;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}
.total th{
	font-weight: 400;
}
.total th, .shopping-cart .total td{
	text-align:right;
	background-color:transparent;
	padding: 5px 10px;
	border: 0;
}
.total th {
    display: inline-flex;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-end;
}
.total td {
    width: 90px;
    font-size: 18px;
    white-space: nowrap;
    text-align: right;
    font-family: 'Lato', sans-serif;
}
.total td small{
    font-size: 15px;
}
.total td input[type="text"]{
    width: auto;
    padding: 7px;
    height: 35px;
    line-height: 35px;
}
.total tr:hover{
	background-color:transparent;
}
.total tr.total-cash{
	border-top: 1px dotted #ccc;
}
.total tr.total-cash strong{
    font-size: 125%;
    font-weight: 500;
}
.total tr.total-cash th{
	padding-top: 15px;
}
.total tr.total-cash td{
    color: var(--p-focus-color);
    padding-top: 10px;
}
.total tr.total-cash td span{
    font-size: 15px;
    display: block;
    color: var(--p-font-color);
}
.total.full{
    margin-bottom: 0;
}
.total.full table{
    width: 100%;
}
.total.full tr {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}
.total.full th {
    justify-content: flex-start;
    padding: 0;
    font-size: 17px;
    align-items: center;
}
.total.full th p{
    margin: 0;
    font-size: 17px;
}
.total.full td {
    font-size: 18px;
    white-space: nowrap;
}

.total.full tr.total-cash{
margin-top: 10px;
}
.total.full .form-actions {
    margin-left: 0.5rem;
}

.coupon {
    padding-right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.5rem;
    position: relative;
    padding-bottom: 30px;
}
.coupon a {
    display: block;
    padding: 5px 0;
    font-size: 15px;
    text-decoration: underline;
    margin-left: 1rem;
}
.checkout-page .coupon input{
    width: 270px;
    margin-bottom: 0;
    line-height: 22px;
    height: 46px;
    background-color: transparent !important;
}
.coupon .add-btn {
    font-size: 15px;
    font-weight: 300;
    width: 80px;
    min-width: auto;
    padding: 8px 5px;
}
.coupon p{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: left;
    color: var(--p-focus-color);
    margin-bottom: 0;
}
/* 優惠券modal */
.coupon-list.modal-dialog {
    width: 750px;
}
.coupon-list .modal-body .data-table,
.policy .modal-body {
    max-height: 400px;
    padding: 1.5rem;
    overflow-y: scroll;
}
.policy .modal-body {
    max-height: 500px;
}

.coupon-list .modal-header,
.coupon-list .modal-footer{
    padding: 1rem 1.5rem;
    border-color: #f5f6f8;
}
.coupon-list .data-table th {
    border: 0;
    border-bottom: 1px solid #e9e9e9;
    background-color: var(--p-main-color);
    color: #fff;
    text-align: left;
}
.coupon-list .data-table tbody tr {
    border: 0;
    border-bottom: 1px solid #e9e9e9;
}
.coupon-list .data-table tr td{
    /* max-width: 190px; */
    padding: 12px 8px;
    color: #333;
    text-align: center;
    border: 0;
}
.coupon-list .data-table tr {
    position: relative;
}
.coupon-list .data-table tr td.tick {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.coupon-list .data-table .coupon-title{
    text-align: left;
    position: relative;
    padding-left: 35px;
    width: 90%;
}
.coupon-list .data-table .coupon-title label{
    justify-content: flex-start;
    padding-left: 0;
}
.coupon-list .data-table .coupon-title p {
    margin: 0.25rem 0;
    /* color: var(--p-main-color); */
    line-height: 1.3;
}
.coupon-list .data-table .coupon-title span {
    color: #999;
    font-size: 15px;
    font-weight: 300;
}
.coupon-list .data-table .coupon-title span.coupon-no {
    background-color: var(--p-font-color);
    padding: 0 5px;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
}

.coupon-list .data-table tr td label {
    width: 100%;
    text-align: left;
    position: absolute;
    padding: 17px 8px;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    height: 100%;
}
.coupon-list .data-table tr td label input[type=radio].ace.input-lg + .lbl::before {
    top: -12px;
    margin-right: 0;
}
.coupon-list .data-table input {
    width: 25px;
    height: 25px;
    margin: 0;
}
@media(max-width: 992px){
    .total-block {
        flex-direction: column;
        align-items: flex-end;
    }
    .total-block.no-coupon {
        flex-direction: row;
    }
    .coupon {
        margin: 0 0 1rem 0;
        /* flex-direction: row-reverse; */
    }
    /* .coupon p{
        text-align: right;
    } */
    .checkout-page .coupon input {
        width: 200px;
    }
    .coupon a {
        margin: 0 0 0 1rem;
    }
    .coupon-list .data-table tr td.tick {
        padding: 0;
    }
    .coupon-list .data-table tr td.tick label {
        /* position: inherit;
        padding: 0;
        width: 24px;
        height: 24px;
        margin: 0; */
    }
}
@media(max-width: 767px){
    
    .coupon-list .modal-body{
        padding: 10px;
    }
}
@media(max-width: 575px){
    .total {
        font-size: 14px;
    }
    .total td {
        width: 90px;
        font-size: 17px;
    }
    .total th{
       padding-left: 0;
       padding-right: 0;
    }
    .total.full th {
        align-items: flex-start;
        flex-direction: column;
        font-size: 16px;
    }
    .total.full td {
        /* font-size: 17px; */
    }
    .total.full .form-actions {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    .coupon {
        
    }
    .coupon a {
        margin-left: 10px;
        white-space: nowrap;
    }
    .checkout-page .coupon input {
        width: 70%;
    }
    .coupon .add-btn {
        width: 25%;
    }
}

/***未符合折扣活動**/
.discount-event{
    margin-top: 2rem;
}

.discount-event h5 {
    font-size: 17px;
    font-weight: 400;
    color: var(--p-font-color);
    margin-bottom: 0.75rem;
}
.discount-list {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border: 0px solid #e4eded;
    padding: 5px;
    margin-bottom: 1rem;
    position: relative;
    -webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 0 5px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 10%);
}
.discount-list::before {
    content: "";
    width: 21px;
    height: 36px;
    background: url(../images/icon/discount-circle.png) no-repeat;
    background-size: 100%;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: -3px;
}
.discount-list h5 {
    width: 100px;
    min-height: 100px;
    display: flex;
    align-items: center;
    margin: 0;
    justify-content: center;
    background-color: #61C9C1;
    color: #fff;
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}
.discount-list .txt {
    width: calc(100% - 105px);
    background-color: #f4f2f2;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.discount-list .txt p {
    color: var(--p-font-color);
    font-size: 17px;
    line-height: 1.3;
    margin: 5px 0 0 0;
}
.discount-list span.thumb {
    background-color: var(--p-main-color);
    padding: 2px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
}
.discount-list span.margin {
    font-size: 14px;
    color: var(--p-focus-color);
}
.discount-list .discount {
    color: var(--p-focus-color);
    font-size: 17px;
    line-height: 20px;
    position: absolute;
    right: 0;
    top: 8px;
}


.discount-list.no h5 {
    background-color: #e4e4e4;
    color: #808080;
}
.discount-list.no span.thumb {
    background-color: #808080;
}
.miss .discount-list li p {
    width: calc(100% - 90px);
}
.miss .discount-list li span.thumb {
    color: #999;
    background-color: #f7f7f7;
}
.miss .discount-list li p.txt span {
    color: var(--p-main-color);
}
/***加價購***/
.shop-additional {
    margin-top: 1rem;
    
}
.full-page .shop-additional .title {
    margin-bottom: 0;
    padding: 1.1rem 2rem 1rem 3.25rem;
    font-size: 20px;
    line-height: 0.8;
    letter-spacing: normal;
    color: #fff;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url(../images/icon/additional-icon.png) no-repeat 15px center;
    background-color: var(--p-main-color);
    background-size: 30px;
}

.shop-additional .shop-list{
    background-color: #f9f9f9;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 0 0 10px 10px;
}
.shop-additional .shop-list .shop-product{
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
    -moz-box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
}
.shop-additional .shop-list .shop-grid .shop-product .product-body {
    padding: 0;
}
.shop-additional .shop-list .shop-list-body.shop-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 1rem !important;
}
.shop-additional .shop-list .product-image a,
.shop-campaign .shop-list .product-image a {
    border: 0 !important;
    padding: 0 !important;
}
.shop-additional .shop-list .shop-product .product-body .name {
    font-size: 15px;
    height: 35px;
    letter-spacing: 0;
}
/* .shop-additional .shop-list .shop-product .price .new-price{
    font-size: 23px;
    display: inline-flex;
    align-items: center;
} */
.shop-additional .shop-list .shop-product .price{
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}
.shop-additional .shop-list .shop-product .price .new-price span{
    font-size: 160%;
}

.shop-additional .shop-list .shop-product .price .old-price{
    font-size: 15px;
    font-weight: 300;
}
.shop-additional .pro-select select {
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    border-radius: 40px;
    padding: 0 12px;
    border: 1px solid #e3e3e3 !important;
    background-color: #fff;
}
.shop-additional .shop-list .product-button {
    justify-content: space-between !important;
    margin: 0 !important;
}
.shop-additional .shop-list .add-to-cart {
    width: calc(100% - 85px);
    min-width: auto;
    letter-spacing: 0;
    font-weight: normal;
    height: 40px;
    line-height: 40px;
}
.shop-additional .shop-list .quantity {
    width: 80px;
}
.shop-additional .shop-list .quantity input[type="number"]  {
    height: 40px;
    border: 1px solid #e3e3e3 !important;
}
.shop-additional .pro-select select,
.shop-additional .shop-list .quantity input[type="number"],
.shop-additional .shop-list .add-to-cart {
    border-radius: 6px;
}
.shop-additional .quantity input[type="number"] {
    padding: 0 30px;
    font-size: 15px;
}
.shop-additional .quantity input[type="number"]:focus {
    border-color: #ccc !important;
  }
.shop-additional .product-button .quantity span {
    width: 30px;
    height: 40px;
}
.shop-additional .product-button .quantity span i {
    font-size: 17px;
}

@media(max-width: 1199px){
    .shop-additional .shop-list .shop-list-body.shop-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width: 992px){
    .shop-additional .shop-list .shop-list-body.shop-grid {
        grid-template-columns: 1fr 1fr;
    }
    .shop-additional .shop-list {
        padding: 1rem 1rem 0.5rem 1rem;
    }
}
@media(max-width: 767px){
    .shop-additional {
        background-color: transparent;
        padding: 0;
    }
    
    .shop-additional .shop-list .shop-product {
        padding: 0.75rem;
    }
    
    .shop-additional .product-button .quantity span {
        width: 40px;
    }
}
@media(min-width: 575px){
    .shop-additional .shop-list .shop-product{
        display: flex;
        justify-content: space-between;
    }
    .shop-additional .shop-list .shop-grid .shop-product .product-image {
        width: 30%;
        margin-bottom: 0;
    }
    .shop-additional .shop-list .shop-grid .shop-product .product-image img {
        max-width: 100%;
    }
    .shop-additional .shop-list .shop-grid .shop-product .product-body {
        width: 70%;
        text-align: left;
    }
    .shop-additional .shop-list .shop-product .price {
        justify-content: flex-start;
    }
}
@media(max-width: 575px){
    .shop-additional .shop-list {
        margin: 0;
    }
    .shop-additional .shop-list .shop-grid .shop-product .product-image img {
        max-width: 60%;
    }
    .shop-additional .shop-list .shop-list-body.shop-grid {
        grid-template-columns: 1fr 1fr;
    }
    .shop-additional .shop-list .product-button {
        flex-direction: column;
        margin: 0 !important;
    }
    .shop-additional .shop-product .product-body > div, .shop-additional .shop-list .quantity {
        margin-bottom: 0.25rem;
    }
    .shop-additional .shop-list .product-button > * {
        width: 100% !important;
    }
}

/***活動專區***/


.shop-campaign{

}
.campaign-heading > *{
    margin-bottom: 1rem !important;
}
.full-page .campaign-heading h1.title{
    font-size: 32px;
    font-weight: 400;
}
.campaign-heading > p{
    font-size: 17px;
}
.shop-campaign .editor-block{
    margin-bottom: 2rem;
}

.shop-campaign .shop-list .shop-list-body.shop-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
}
.shop-campaign .shop-list .shop-product {
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e5dc;
}
.shop-campaign .shop-list .shop-product.selected {
    border: 2px solid var(--p-main-color) !important;
}
.shop-campaign .shop-list .shop-product:hover {
    border: 1px solid #e5e5dc;
}
.shop-campaign .shop-list .shop-grid .shop-product .product-image img {
    max-width: 100%;
}
.shop-campaign .pro-tag {
    margin: 0;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
}
.shop-campaign .pro-tag span {
    background-color: #fff;
    color: var(--p-main-color);
    border-color: var(--p-main-color);
}
.shop-campaign .shop-list .shop-product .product-body .name {
    font-size: 24px;
    height: auto;
    margin-bottom: 1rem;
}
.shop-campaign .shop-product .product-body .description {
    text-align: justify;
}
.shop-campaign .shop-list .shop-product .price {
    justify-content: flex-start;
    align-items: baseline;
    margin-bottom: 0;
}
.shop-campaign .shop-product .price .new-price span {
    font-size: 180%;
}
.shop-campaign .shop-list .shop-product .price .new-price{
    font-size: 16px;
}
.pick-block {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    background: #fff;
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
}
.pick-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f3f3;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    position: relative;
}
.pick-title .text{
    font-size: 17px;
    line-height: 1.5;
    white-space: nowrap;
}
.pick-title .text a{
    font-size: 105%;
    font-weight: 500;
}
.pick-title .text br{
    display: none;
}
.pick-title .text .add-btn {
    padding: 7px;
    min-width: 120px;
    font-size: 15px;
    border-radius: 40px;
}
.pick-title .action {
    display: flex;
    align-items: center;
}
.pick-title .price {
    margin-bottom: 0;
    flex-flow: row wrap;
}
.pick-title .new-price.original-price{
    margin-right: 1rem;
}
.pick-title .add-to-cart {
    height: 50px;
    font-size: 17px;
    margin-left: 1rem;
    cursor: pointer;
}
.pick-list{
    position: relative;
}
.pick-list .swiper {
    padding: 0 0.75rem 0 0;
    position: relative;
}
.pick-list .swiper .grid-product {
    padding: 10px;
    margin: 1rem 0 0.25rem 0;
    position: relative;
}
.pick-list .swiper .grid-product .image{
    border-radius: 0;
}

.pick-list .grid-product .pro-body {
    margin: 0.25rem 0 0 0;
    padding: 0;
    line-height: 1.2;
    min-height: 40px;
}
.pick-list .grid-product .name{
    font-size: 14px;
    height: 35px;
    display: inline;
}
.pick-list .amount {
    background-color: var(--p-main-color);
    color: #fff;
    border-radius: 3px;
    display: flex;
    width: fit-content;
    padding: 0 2px;
    margin: auto;
    margin-top: 5px;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    font-size: 14px;
}
.pick-list .remove {
    background-color: #bfbfbf;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -10px;
    top: -10px;
}
.pick-list .btndrop {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: url(../images/icon/btndrop.png) no-repeat;
    background-size: cover;
    width: 40px;
    height: 30px;
    margin: auto;
    transition: all 0s ease 0s;
    display: none;
}
.pick-list .btndrop.collapsed{
    transition: all 0s ease 0s;
    transform: rotate(180deg);
    display: flex;
}
.pick-list .swiper-button-next, .pick-list .swiper-button-prev {
    margin-top: calc(-15px - (var(--swiper-navigation-size)/ 2));
}
.sticky-top.pick-block{
    position: fixed;
    top: 127px;
    width: 100%;
    left: 0;
    z-index: 2;
    padding: 0.5rem 0;
    border-radius: 0;
}
.sticky-top .pick-title {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    min-height: 55px;
}
/* .sticky-top.pick-block .container {
    display: flex;
    flex-direction: column-reverse;
}
.sticky-top .pick-title {
    margin: 0.5rem 0 0 0;
    border-bottom: 0;
    padding: 0;
} */
.sticky-top .grid-product .image img {
    max-width: 60%;
}
.sticky-top .pick-list .amount ,.pick-list .grid-product .name{
    display: inline;
}
.sticky-top .pick-list .btndrop {
    display: flex;
}
.sticky-top + .editor-block, .sticky-top + .shop-list {
    margin-top: 350px;
}





/***加價區/贈品區***/
.shop-campaign .campaign-additional .shop-list .shop-list-body.shop-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
}
.shop-campaign .campaign-additional .title {
    background-color: var(--p-main-color);
    text-align: center;
    color: #fff;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 32px;
    line-height: 1.5;
}

@media(min-width: 575px){
    .shop-campaign .shop-list .shop-product{
        display: flex;
        justify-content: space-between;
        padding: 1.5rem;
    }
    .shop-campaign .shop-list .shop-grid .shop-product .product-body,
    .shop-campaign .campaign-additional .shop-list .shop-grid .shop-product .product-body {
        width: calc(100% - 170px);
        padding: 0;
        text-align: left;
    }
    .shop-campaign .shop-list .shop-grid .shop-product .product-image,
    .shop-campaign .campaign-additional .shop-list .shop-grid .shop-product .product-image {
        width: 150px;
    }
    .shop-campaign .shop-list .shop-product .product-body .product-button {
        width: 400px;
        justify-content: flex-start;
    }
    .shop-campaign .product-button .quantity {
        width: 150px;
        margin-right: 0.25rem;
    }
    .shop-campaign .shop-list .add-to-cart {
        min-width: 180px;
    }
}
@media(min-width: 768px){
    .shop-campaign .shop-list .shop-grid .shop-product .product-body,
    .shop-campaign .campaign-additional .shop-list .shop-grid .shop-product .product-body {
        width: calc(100% - 200px);
        text-align: left;
    }
    .shop-campaign .shop-list .shop-grid .shop-product .product-image,
    .shop-campaign .campaign-additional .shop-list .shop-grid .shop-product .product-image {
        width: 180px;
    }
    
}
@media(min-width: 992px){
    .shop-campaign .shop-list .shop-grid .shop-product .product-body {
        width: calc(100% - 200px);
        padding: 0px 180px 0px 20px;
    }
    .shop-campaign .shop-list .shop-grid .shop-product .product-image {
        width: 200px;
        margin-bottom: 0;
    }
    .shop-campaign .shop-list .shop-product .product-body .product-button {
        position: absolute;
        flex-direction: column;
        right: 0;
        top: 0;
        width: 160px;
    }
    .shop-campaign .shop-list .shop-product .product-body .product-button > *{
        width: 100%;
        min-width: auto;
        margin-bottom: 0.5rem;
    }
    .shop-campaign .campaign-additional .shop-list .shop-product .product-body .product-button {
        position: inherit;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
    }
    .shop-campaign .campaign-additional .shop-list .shop-product .product-body .product-button > * {
        width: 160px;
        margin-right: 0.25rem;
    }
}
@media(max-width: 1199px) and (min-width: 992px){
    .pick-title .text br{
        display: block;
    }
}
@media(max-width: 575px){
    .pick-title .text {
        white-space: inherit;
    }
}
@media(max-width: 1199px){
    .sticky-top.pick-block {
        top: 120px;
    }
    .shop-campaign .campaign-additional .shop-list .shop-list-body.shop-grid {
        grid-template-columns: 1fr;
    }
}
@media(max-width: 992px){
    .full-page .campaign-heading h1.title {
        font-size: 28px;
    }
    .sticky-top.pick-block {
        top: 120px;
    }
    .pick-block {
        padding: 1.5rem;
    }
    .pick-block .container {
        max-width: 100%;
        padding: 0;
    }
    .sticky-top.pick-block .container{
        padding-right: 15px;
        padding-left: 15px;
    }
    .pick-title {
        flex-direction: column;
        align-items: flex-start;
    }
    .pick-title .action {
        margin-top: 0.25rem;
        width: 100%;
        justify-content: flex-end;
    }
    /* .pick-title .action .add-to-cart {
        position: absolute;
        right: 0;
        top: 0.25rem;
    } */
    .pick-title .price {
        margin-top: 0.25rem;
    }
    .shop-campaign .campaign-additional .title {
        font-size: 28px;
    }
}
@media (max-width: 767px){
    .pick-title .text {
        font-size: 15px;
    }
}
@media (max-width: 575px){
    .full-page .campaign-heading h1.title {
        font-size: 24px;
    }
    .campaign-heading > p {
        font-size: 15px;
    }
    .pick-block {
        position: fixed;
        top: auto !important;
        bottom: 0 !important;
        width: 100%;
        left: 0;
        z-index: 5 !important;
        padding: 0.5rem 0;
        border-radius: 0;
        margin-bottom: 0;
    }
    .pick-block .container {
        padding-right: 15px;
        padding-left: 15px;
        display: flex;
        flex-direction: column-reverse;
    }
    .pick-title {
        margin: 0 !important;
        border-bottom: 0;
        padding: 0 !important;
    }
    /* .pick-title .price {
        flex-direction: column;
    } */
    .pick-title .action .add-to-cart {
        position: inherit;
        min-width: 160px;
        margin-left: 0;
    }
    .sticky-top + .editor-block, .sticky-top + .shop-list {
        margin-top: 0;
    }
    
    .shop-campaign .shop-list .shop-grid .shop-product .product-image img {
        max-width: 60%;
    }
    .shop-campaign .shop-list .shop-grid .shop-product .product-body {
        text-align: left;
        padding: 0;
    }
    .shop-campaign .shop-list .shop-product .product-body .product-button {
        justify-content: space-between;
    }
    .shop-campaign .product-button .quantity {
        width: 140px;
    }
    .shop-campaign .shop-list .add-to-cart {
        min-width: calc(100% - 150px);
        height: 50px;
    }
    /* .shop-campaign .shop-list .shop-list-body.shop-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
    }
    .shop-campaign .shop-list .shop-product .product-body .name {
        font-size: 16px;
    }
    .shop-campaign .shop-product .product-body .description {
        display: none;
    } */
    .shop-campaign .shop-product .price .new-price span {
        font-size: 160%;
    }
    .pick-title .action {
        justify-content: space-between;
        width: 100%;
        margin-top: 0.5rem;
    }
    .grid-product .image img {
        max-width: 60%;
    }
    .pick-list {
        margin-bottom: 0.5rem;
        display: flex;
        flex-direction: column-reverse;
    }
    .pick-list .swiper-button-next, .pick-list .swiper-button-prev {
        margin-top: calc(20px - (var(--swiper-navigation-size)/ 2));
    }
    .pick-list .btndrop {
        display: flex;
        margin-top: 0;
        transform: rotate(180deg);
    }
    .pick-list .btndrop.collapsed {
        transform: rotate(0deg);
    }
    .pick-list .amount ,.pick-list .grid-product .name{
        display: inline;
    }
    
}

.order-btn, .btn, .add-btn, .process-button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff !important;
    background-color: var(--p-main-color);
    min-width: 180px;
    border-radius: 6px;
    white-space: nowrap;
    border: 0;
    text-align: center;
}
.add-btn i{
    opacity: 0.7;
    font-size: 15px;
}
.order-btn:last-child{
	margin-right: 0;
}
.order-btn:hover, .btn:hover, .add-btn:hover, .process-button:hover{
	color: #fff;
    background-color: #118783;
}
.add-btn.line-login, .add-btn.btn-line, .btn.btn-line {
    background-color: #06c755;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.add-btn.line-login::before {
    content: "";
    display: inline-flex;
    width: 30px;
    height: 30px;
    background-image: url(../images/icon/icon-line-w.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.add-btn.line-login:hover, .add-btn.btn-line:hover, .btn.btn-line:hover{
    background-color: #029f42;
}
.divider {
    clear: both;
}
.add-btn + .add-btn,
.order-btn + .order-btn{
	margin-left: 5px !important;
}

.add-btn.btn-sm {
    padding: 8px 30px !important;
    font-size: 15px;
    min-width: 140px;
}
.add-btn.btn-xs{
    padding: 2px 6px !important;
    font-size: 13px;
    border-radius: 5px;
    min-width: fit-content;
}
.add-btn.btn-gry{
	background-color: #999;
}
.add-btn:disabled {
    cursor: default;
    background-color: var(--p-main-color);
    
}
.add-btn.btn-outline{
    background-color: #fff;
    border: 1px solid #ccc;
    color: var(--p-font-color) !important;
}
.add-btn.btn-outline:hover{
    background-color: var(--p-font-color);
    border-color: var(--p-font-color);
    color: #fff !important;
}
.add-btn.btn-outline.btn-delete:hover{
    background-color: var(--p-focus-color);
    border-color: var(--p-focus-color);
}
.add-btn.btn-red{
	background-color: var(--p-focus-color);
}
.add-btn.btn-red:hover{
	background-color: var(--p-focus-color);
}
span.add-btn {
    cursor: default;

}

.full {
    width: 100% !important;
}
/****checkout-page***************/
.checkout-page{
	position: relative;
    margin: 1rem 0;
}

.checkout-page .form-container, .payment-select1, .complete-block{
	margin: auto;
    width: 1000px;
    max-width: 100%;
}
.checkout-page .form-container, .member-page .form-container{
	background-color: transparent;
	padding: 0;
}
.checkout-page .form-container .form-block,
.member-page .form-container .form-block,
.payment-select1{
	border: 1px solid var(--p-main-color);
	padding: 30px;
	margin-bottom: 30px;
	overflow: hidden;
}
.checkout-page .form-container h4, .payment-select1 h4, .member-page .form-container h4 {
    clear: both;
    border-bottom: 1px dotted #e3e3e3;
    font-size: 24px;
    font-weight: 300;
    padding-bottom: 15px;
    color: var(--p-font-color);
    margin-bottom: 20px;
    margin-top: 0;
}
.form-container h4.d-flex {
    align-items: center;
}
.checkout-page .form-container h4 label {
    margin: 0 10px;
    font-size: 16px;
    font-weight: 300;
}

.checkout-page .form-container h4 label input[type=checkbox].ace.input-lg + .lbl::before{
    top: -5px;
}
.member-page .form-container h4 .date {
    color: #999;
    font-size: 15px;
    font-weight: 300;
}
.text-link {
    text-decoration: underline;
}
.member-page .form-container h4 .text-link {
    color: #999;
    font-size: 15px;
    font-weight: 300;
}
.form-block .btndrop {
    position: relative;
    display: block;
}
.form-block .btndrop span {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px;
    background-color: var(--p-main-color);
    color: #fff;
    border-radius: 6px;
}
.form-block .btndrop[data-toggle='collapse'] span:after {
    content: "\f107";
    font-family: 'FontAwesome';
    font-size: 21px;
    margin-left: 0.25rem;
}
.form-block .btndrop[data-toggle='collapse'][aria-expanded="true"] span:after {
    content: "\f106";
}
.form-block .shop-cart-table td {
    padding: 10px 10px;
}
.form-block .shop-cart-table .cart_table_title {
    border-bottom: 0;
    background-color: #eff7f7;
    background-color: var(--p-main-color);
    color: #fff;
}

@media (min-width: 1200px){
    .checkout-page .form-block > .row .col-xl-8,
    .checkout-page .form-block .tab-pane > .row .col-xl-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 90%;
        flex: 0 0 90%;
        max-width: 90%;
    }
}

.checkout-page input,
.checkout-page select,
.checkout-page select.form-control:not([size]):not([multiple]),
.checkout-page .form-control[readonly],
.checkout-page textarea,
.member-page select,
.modal-body select  {
    background-color: #fff !important;
}
.checkout-page input,
.checkout-page .form-control[readonly],
.checkout-page .form-control:disabled {
    background-color: #f7f7f7 !important;
}

.checkout-page .cart-login {
    margin-bottom: 1.25rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    border: 1px solid #e4eded;
    padding: 0.75rem;
}
.checkout-page .cart-login p{
    margin: 0 0.5rem;
    width: 100%;
}
.checkout-page .cart-login .add-btn {
    padding: 8px;
    min-width: 130px;
    margin-left: 0.5rem;
}
.discount-check{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.total th i {
    font-size: 17px;
    margin-right: 5px;
}
.discount-check i {
    font-size: 21px;
    color: var(--p-main-color);
}


@media (max-width: 992px){
    .checkout-page .cart-login {
        font-size: 16px;
        position: relative;
    }
}
@media (max-width: 767px){
    /* .checkout-page .cart-login {
        flex-direction: column;
        align-items: flex-start;
    } */
}
@media (max-width: 575px){
    .checkout-page .cart-login p {
        margin: 0;
        position: relative;
        width: 100%;
        /* padding-right: 100px; */
    }
    .checkout-page .cart-login p + p{
        margin-top: 0.5rem;
    }
    /* .checkout-page .cart-login .add-btn {
        position: absolute;
        right: 0;
        top: 0;
        min-width: 80px;
    } */
    .add-btn.btn-sm {
        padding: 8px 15px !important;
        min-width: fit-content;
    }
}

@media (max-width: 379px){
    .add-btn.btn-sm {
        min-width: fit-content;
    }
}


/* 購物車-熱門活動 */
.campaign{
    border-bottom: 0;
    margin-top: 1rem;
}
.campaign .shop-cart-table {
    border: 1px solid rgb(29 175 171 / 50%);
}
.campaign .shop-cart-table .cart_table_title,
.campaign .shop-cart-table td{
    border-color: rgb(29 175 171 / 50%);
}
.campaign .shop-cart-table .cart_table_title{
    background-color: #eff7f7;
    color: var(--p-font-color);
}
.campaign-title {
    background-color: var(--p-main-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    position: relative;
}
.campaign-title h4 {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #fff !important;
    line-height: 1.3;
    margin: 0 !important;
    padding: 5px 5px 5px 60px !important;
    display: flex;
    align-items: center;
    border: 0 !important;
}
.campaign-title a{
    color: #fff;
}
.campaign-title h4 span {
    position: absolute;
    left: -4px;
    font-size: 16px;
    white-space: nowrap;
    background-color: var(--p-focus-color);
    color: #fff;
    padding: 8px;
    padding-right: 15px;
    margin-right: 10px;
    border-radius: 0 50px 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.campaign-title h4 span::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: -5px;
    left: 0;
    border-style: solid;
    border-width: 0 5px 5px 0;
    border-color: transparent #ab0c00 transparent transparent;
}
.campaign-title a i {
    margin-right: 5px;
    font-size: 21px;
    padding: 10px;
}
.price-campaign {
    color: var(--p-focus-color);
    /* font-weight: 500;
    font-size: 18px; */
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-width: 130px;
}
.campaign .shop-cart-table .price-campaign small{
    font-size: 15px;
    margin-right: 5px;
}

.campaign .shop-cart-table td,
.campaign .shop-cart-table th {
    padding: 10px !important;
}
.campaign .shop-cart-table tbody td.product-subtotal{
    border-left: 1px solid rgb(29 175 171 / 50%);
}
.campaign .shop-cart-table tfoot td.product-subtotal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0;
}

.order-detail .campaign-title{
    min-height: 40px;
}
.order-detail .campaign-title h4 {
    font-size: 16px !important;
    padding-left: 55px !important;
}
.order-detail .campaign-title h4 span {
    font-size: 15px;
    padding: 5px 10px;
}
.member-page .order-detail .total td{
    font-size: 17px;
}
.member-page .order-detail .total tr.total-cash td{
    color: var(--p-font-color);
}
@media (max-width: 767px){
    .campaign-title h4 {
        display: flex;
        font-size: 17px !important;
    }
    .campaign-title h4 span {
        font-size: 15px;
    }
    .campaign .shop-cart-table {
        border-bottom: 1px solid rgb(29 175 171 / 50%);
    }
    .campaign .shop-cart-table td, .campaign .shop-cart-table th {
        padding: 5px 10px !important;
    }
    .campaign .shop-cart-table .cart_table_item {
        border-color: rgb(29 175 171 / 50%);
        padding: 10px 0;
    }
    .campaign .shop-cart-table .product-quantity, .campaign .item-info .qty {
        position: absolute;
        right: 10px;
        top: 15px;
        justify-content: flex-end !important;
        width: fit-content !important;
        line-height: 60px !important;
        font-size: 15px;
    }
    .price-campaign {
        min-width: auto;
        margin-left: 0.5rem;
    }
    .campaign .shop-cart-table .pro-item {
        padding-right: 60px;
        align-items: center;
    }
    
}
@media (max-width: 575px){
    .campaign-title h4 {
        font-size: 15px !important;
        line-height: 1.3;
    }
}

/***********payment-select**********/
.payment-select{
  margin: 10px 0;
  padding: 10px 20px 6px 20px;
  border: 1px solid #e4eded;
  clear: both;
  text-align: right;
}
.payment-select1 ul {
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
}

.payment-select1 ul li {
    color: #333;
    /* width: 25%; */
    padding-right: 4rem;
    display: inline-block;
}
.payment-select1 ul li:last-child {
    padding-right: 0;
}
 .payment-select1 ul li a {
    color: #999;
    text-decoration: none;
}
.payment-select1 .second li{
	padding-left: 34px;
}
.payment-select1 .second li:last-child{
	border: 0;
}
.payment-select1 ul li span.title {
    color: var(--p-font-color);
    font-size: 17px;
    font-weight: 300;
    width: 100%;
    letter-spacing: 0;
}
.payment-select1 ul li span.title i {
    font-size: 20px;
    margin-left: 5px;
}
.payment-select1 ul li span.title img {
    height: 30px;
}
.payment-select1 span.txt {
    width: 70%;
    font-size: 14px;
    line-height: 25px;
    text-align: justify;
	float: left;
}
.payment-select1 ul li label {
    display: block;
    padding: 3px 0;
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    border: 1px solid transparent;
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* justify-content: center; */
}
.payment-select1 ul li.active label {
    border-color: var(--p-main-color);
}
.payment-select1 img{
	display: inline-block;
	}
.payment-select1 .select_container {
    margin: 0 0 0 5px;
    width: auto;
    display: inline-grid;
}
.payment-select1 .select_container select {
    background-color: #fff;
    border-color: #ddd;
    height: 30px;
    padding: 0 5px;
    font-size: 16px;
}
.payment-select1 img, .payment-select1 .txt2 a {
	display: inline-block;
	    color: #444;
}
.payment-select1 input[type=radio].ace.input-lg + .lbl::before {
    top: -2px;
}
.payment-select1 input[type=radio].ace.input-lg:checked + .lbl::before {
    content: '\f00c';
    font-size: 17px;
}
.payment-select.selected{
	  padding: 15px 20px;
}
.payment-select.selected strong{
	  color: #EE778C;
}
.payment-select label{
	margin-right: 10px;
}
.payment-select1 .form-block{
    border: 0 !important;
    background-color: #f9f9f9;
    margin: 0 !important;
}
.payment-select1 .form-block h5 {
    font-size: 24px;
    margin-bottom: 1rem;
}
.payment-select1 ul.payment-method{
    flex-direction: column;
}
.payment-select1 ul.payment-method li {
    width: 100%;
    margin-bottom: 10px;
}
.payment-select1 h4 .shipping-info1 {
    font-size: 16px;
    color: var(--p-main-color);
}
.payment-select1 .shipping-info {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    transition: .2s;
    font-size: 16px;
    font-weight: 300;
}
.payment-select1 .shipping-info p{
    margin-bottom: 0;
}
.card-number{
    display: flex;
    align-items: center;
}
.card-number input + input{
    margin-left: 10px;
}
.card-number input + input::before {
    content: " - ";
    display: inline-flex;
    width: 20px;
    color: #666;
    font-size: 18px;
}

.card-number span{
    display: inline-flex;
    margin: 5px;
}
.complete-block {
    padding: 40px 50px;
    border: 1px solid #26C6B6;
    margin-bottom: 30px;
    line-height: 1.5;
    font-size: 18px;
}
.complete-block h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;

}
.complete-block h2::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    content: "";
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
}
.complete-block h2.order-success::before {
    background-image: url(../images/icon/order-success.png);
}
.complete-block h2.order-error::before {
    background-image: url(../images/icon/order-error.png);
}
.complete-block p{
	margin-bottom: 0.5rem;
    font-weight: 300;
}
.complete-block p:last-child{
	margin-bottom: 0;
}
.complete-block a{
    font-weight: 400;
}
.complete-block strong {
    font-size: 21px;
    font-weight: 500;
}
.complete-block .credit-card{
	margin-top: 10px;
}
.complete-block .credit-card button{
	margin-left: 10px;
}
.complete-block ul.pay-info, .form-complete ul.pay-info {
    background-color: #f9f9f9;
    padding: 1rem;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 300;
    width: 100%;
    margin-bottom: 0.25rem;
}
.complete-block ul.pay-info strong{
    font-size: 16px;
    font-weight: 400;
}
.cart-empty{
    width: 500px;
    max-width: 100%;
    margin: auto;
    text-align: center;
}
.cart-empty img{
   width: 200px;
}
.cart-empty p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 3rem;
}
@media (max-width: 992px){
    .payment-select1 ul.payment-method{
        flex-direction: row;
    }
    .payment-select1 ul.payment-method li {
        width: 50%;
    }
    .payment-select1 .form-block {
        margin-top: 1rem !important;
    }
}

@media (max-width: 767px){
    .payment-select1 .form-block h5 {
        font-size: 21px;
        font-weight: 300;
    }
}

@media (max-width: 575px){
    .payment-select1 ul.payment-method li {
        width: 100%;
    }
    .complete-block {
        padding: 20px;
        font-size: 16px;
    }
    .complete-block h2 {
        font-size: 24px;
        margin-bottom: 0.75rem;
    }
    .complete-block h2::before {
        width: 28px;
        height: 28px;
    }
}

input[type=checkbox].ace,
input[type=radio].ace {
  opacity: 0;
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
label input[type=checkbox].ace,
label input[type=radio].ace {
  z-index: -100 !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
}
input[type=checkbox].ace:checked,
input[type=radio].ace:checked,
input[type=checkbox].ace:focus,
input[type=radio].ace:focus {
  outline: none !important;
}
input[type=checkbox].ace + .lbl, input[type=radio].ace + .lbl {
    position: relative;
    margin: 0;
    /* height: 30px; */
    line-height: 25px;
    cursor: pointer;
    padding-left: 30px;
    /* display: block; */
}
input[type=checkbox].ace + .lbl::before, input[type=radio].ace + .lbl::before {
    cursor: pointer;
    font-family: fontAwesome;
    font-weight: normal;
    font-size: 12px;
    content: "\a0";
    border: 1px solid var(--p-main-color);
    box-shadow: none !important;
    border-radius: 0;
    display: inline-block;
    text-align: center;
    height: 16px;
    line-height: 14px;
    min-width: 16px;
    margin-right: 5px;
    position: absolute;
    left: 0;
}
input[type=checkbox].ace:checked + .lbl::before,
input[type=radio].ace:checked + .lbl::before {
  display: inline-block;
  content: '\f00c';
  border-color: var(--p-main-color);
  color:  var(--p-main-color);
}

input[type=checkbox].ace:active + .lbl::before,
input[type=radio].ace:active + .lbl::before,
input[type=checkbox].ace:checked:active + .lbl::before,
input[type=radio].ace:checked:active + .lbl::before {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px 1px 3px rgba(0, 0, 0, 0.1);
}
input[type=checkbox].ace.ace-checkbox-2 + .lbl::before,
input[type=radio].ace.ace-checkbox-2 + .lbl::before {
  box-shadow: none;
}
input[type=checkbox].ace.ace-checkbox-2:checked + .lbl::before,
input[type=radio].ace.ace-checkbox-2:checked + .lbl::before {
  background-color: #f9a021;
  border-color: #f9a021;
  color: #FFF;
  
}
input[type=checkbox].ace:disabled + .lbl::before,
input[type=radio].ace:disabled + .lbl::before,
input[type=checkbox].ace[disabled] + .lbl::before,
input[type=radio].ace[disabled] + .lbl::before,
input[type=checkbox].ace.disabled + .lbl::before,
input[type=radio].ace.disabled + .lbl::before {
  background-color: #DDD !important;
  border-color: #CCC !important;
  box-shadow: none !important;
  color: #BBB;
}
.checkbox label input[type=checkbox].ace + .lbl,
.radio label input[type=radio].ace + .lbl {
  margin-left: -10px;
}
input[type=radio].ace + .lbl::before {
  border-radius: 100%;
  font-size: 10px;
  font-family: FontAwesome;
  line-height: 15px;
  height: 17px;
  min-width: 17px;
  border: 1px solid #c8c8c8;
}
input[type=radio].ace:checked + .lbl::before {
  content: "\f111";
}
input[type=checkbox].ace.input-lg + .lbl::before {
  border-radius: 4px;
  font-size: 16px;
  height: 24px;
  line-height: 21px;
  min-width: 24px;
  top: -4px;
  
}
input[type=radio].ace.input-lg + .lbl::before {
  font-size: 14px;
  height: 24px;
  line-height: 22px;
  min-width: 24px;
  top: 0;
  color: var(--p-main-color);
  background-color: #f9f9f9;
  margin-right: 5px;
}


/***---------會員專區----------***/
section.member-page{
	padding: 3rem 0 5rem 0;
	overflow: hidden;
}
.member-page .page-title{
	margin-bottom: 20px;
}
.member-page .page-title.d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.member-page .page-title h2 {
    margin-top: 0;
    font-size: 34px;
    font-weight: 300;
}

.member-page .form-container .form-block{
	border: 1px solid #eaeaea;
}
.member-page .form-container .form-block .form-row.row{
    width: 90%;
    /* align-items: flex-start; */
}
.member-page .form-row.row .color1.flex-column {
    align-items: stretch;
}
.member-page .form-row.row .color1 .account-no a{
    color: var(--p-font-color);
}
.form-row.row .col-form-label,
.form-complete .form-row label {
    display: flex;
    text-align: right;
    min-height: 48px;
    font-weight: 300;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}
/* .member-page .form-row.row .col-form-label::after {
    content: "：";
} */
.member-page .form-row.row.form-actions .col-form-label::after {
    display: none;
}

.form-complete ul.pay-info {
    font-size: 16px;
    padding: 0.5rem;
}



@media (max-width: 1199px){
    .member-page .form-container .form-block .form-row.row{
        width: 95%;
    }
}
@media (max-width: 575px){
    .member-page .form-container .form-block .form-row.row{
        width: 100%;
        align-items: baseline;
        margin-left: 0;
    }
    .form-row.row .col-form-label, .form-complete .form-row label {
        text-align: left;
        justify-content: flex-start;
        padding-right: 0;
        min-height: revert;
    }
    .col-sm-9.color1, .col-9.color1 {
        min-height: auto;
    }
    .form-complete ul.pay-info {
        font-size: 15px;
        line-height: 1.8;
    }
}
.member-page .third-party{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed #dcdcdc;
    position: relative;
    margin-top: 10px;
}
.member-page .third-party p {
    flex: 1;
    margin: 0 0 0 1rem;
    font-size: 17px;
    color: #333;
}
.member-page .third-party .btn {
    min-width: auto;
    width: 50px;
    height: 50px;
    padding: 5px;
    border-radius: 10px;
}
.member-page .third-party.yes .btn {
    cursor: default;
}
.member-page .third-party.none .btn {
    width: 170px;
}
.member-page .third-party.none .btn img{
    margin-right: 0.25rem;
}
.member-page .third-party .txt {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 300;
    color: var(--p-focus-color);
}

.member-page .third-party .gray{
    color: #999;
}

@media only screen and (max-width: 575px){

    .member-page .third-party.none {
        flex-direction: column;
        align-items: flex-start;
    }
    .member-page .third-party .txt{
        margin-top: 0.5rem;
    }
    
}
.block-account .title-header{
    display: none;
	position: relative;
  	margin-bottom: 0;
	font-size: 17px;
}
/* .block-account .block-content{
	border-bottom: 1px solid #e9e9e9;
	padding:20px 0;
} */
.block-account .block-content ul{
	margin: 0;
}
.block-account .block-content > ul > li {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 300;
}
.block-account .block-content > ul > li a{
    border: 1px solid #e9e9e9;
	padding: 12px 10px;
	display:block;
	color: #000;
	}
.block-account .block-content > ul > li.current a,
.block-account .block-content > ul > li:hover a{
	background: var(--p-main-color);
	border-color: transparent;
	color: #fff;
}
.data-table {
	width: 100%;
	text-align:center;
}
.data-table .add-btn {
    width: auto;
    padding: 7px 10px;
    min-width: 80px;
    display: inline-block;
    /* line-height: 1.5; */
    font-size: 14px;
    margin-top: 5px;
    text-decoration: none;
}
.data-table .btn-group-vertical{
    margin-top: 5px;
}
.data-table .btn-group-vertical .add-btn{
    margin-top: 0;
}
.data-table .btn-group-vertical .add-btn + .add-btn{
    margin: 5px 0 0 0 !important;
}
.data-table th.wrap {
	white-space: normal;
}
.data-table th {
    padding: 10px;
    border-bottom: 1px solid #e9e9e9;
    text-align: center;
    background-color: var(--p-main-color);
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    font-weight: 400;
}
.data-table.text-left th {
	text-align: left;
}
.data-table.card-table th {
    min-width: 100px;
}

.data-table tbody tr {
    /* border: 1px solid #e9e9e9; */
    position: relative;
}
.data-table tr td {
    padding: 10px;
    border-bottom: 1px solid #e9e9e9;
    vertical-align: middle;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--p-font-color);;
}
.data-table tr td a{
	text-decoration: underline;
    display: block;
}
.data-table tr td .rwd-state {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.data-table td h3 {
	margin: 0;
	line-height: 100%;
}
body table.data-table {
	border-collapse: collapse;
}
.data-table thead {
	border: 1px solid #e9e9e9;
}
.data-table tfoot {
	border-top: none;
	border-top: 1px solid #e9e9e9;
}
.data-table  .first.odd,
.box-account  .data-table .odd {
	background: none;
}
.data-table.address-table, .data-table.return-table{
    text-align: left;
}
.data-table.address-table .addr{
    position: relative;
    padding: 12px;
}
.data-table.address-table .rwd-action{
    width: 30%;
}
.data-table.address-table td.addr label {
    padding: 17px 8px;
    justify-content: flex-start;
}
.data-table.address-table td.addr label input[type=radio].ace.input-lg + .lbl::before {
    top: -12px;
}
.data-table.address-table td.addr ul {
    margin-left: 35px;
    text-align: left;
}
.data-table.address-table td.addr li,
.giftlist .item li {
    font-size: 16px;
    font-weight: 300;
    color: var(--p-font-color);
}
.data-table.address-table td.addr li.name,
.giftlist .item li.name {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    display: flex;
    align-items: baseline;
}
.data-table.address-table td.addr li.name span.tag,
.giftlist .item li .tag {
    font-size: 13px;
    font-weight: 300;
    color: #000;
    padding: 1px 5px;
    border-radius: 5px;
    margin-left: 5px;
    background-color: var(--p-font-color);
    color: #fff;
}

.data-table.return-table label {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}
.data-table.return-table select {
    border: 1px solid #e3e3e3;
    padding: 0 10px;
}
.data-table.return-table label select {
    display: block;
    margin-left: 30px;
    width: auto;
    line-height: 40px;
    height: 40px;
    padding: 5px;
}
.data-table.return-table label span {
    display: block;
    margin-left: 30px;
}
.data-table.return-table select,
.data-table.return-table textarea {
    font-size: 15px;
}
/**我的地址**/

.giftlist {
    margin-top: 10px;
}
.giftlist > .row {
    margin-right: -10px;
    margin-left: -10px;
}
.giftlist > .row > div{
    padding-right: 10px;
    padding-left: 10px;
}
.giftlist .item {
    border: 1px solid #eaeaea;
    padding: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
.giftlist .item .add-btn{
    min-width: 50%;
    
}
.giftlist .item ul {
    font-size: 16px;
    line-height: 25px;
    color: #333;
    max-height: 100px;
    margin-bottom: 1rem;
}
.giftlist .actions {
    display: flex;
    align-items: center;
}
.giftlist .item.add{
    height:  calc(100% - 20px);
}
.giftlist .item.add a {
    height:  calc(100% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.giftlist .item.add i {
    display: block;
    font-size: 25px;
    margin-bottom: 5px;
}
.giftlist .actions a.close,
.favoritelist a.close {
    background: url(../images/icon/icon-close.svg) no-repeat center #ced1d6;
    background-size: 35px;
    width: 35px;
    height: 35px;
    padding: 0;
    opacity: 1;
    position: absolute;
    right: 15px;
    top: 0;
    z-index: 1;
}
.favoritelist a.close {
    position: inherit;
}

.favoritelist .product-list .product-thumb .button-group {
    justify-content: space-evenly;
    width: 100%;
}
.favoritelist .product-list .product-thumb .button-group button {
    flex: 1;
    line-height: 35px;
}
.category-block .product-list .product-thumb {
   width: auto !important;
}

.product-list .product-thumb .caption {
    width: 100%;
}

@media only screen and (max-width: 767px){
    .data-table.address-table .rwd-action {
        width: 10%;
    }
    .data-table.address-table .rwd-action .add-btn + .add-btn{
       margin: 5px 0 0 0 !important;
    }
    .data-table .btn-group-vertical {
        margin-top: 0;
    }
    .data-table.rwd-table tr td.order-state {
        padding-top: 0 !important;
    }
}

@media only screen and (max-width: 575px){
    .data-table.address-table td.addr li {
        font-size: 15px;
    }
    .member-page .form-actions .order-btn {
        width: 100%;
    }
    .giftlist .item {
        margin-bottom: 1rem;
    }
    .giftlist .item .add-btn{
        min-width: 120px;  
    }
    .giftlist .item.add {
        height: 160px;
    }
    .member-page .third-party p {
        margin: 0 0.5rem;
    }
    .member-page .btn {
        min-width: fit-content;
        padding: 10px 20px;
    }
}

.coupon-list .item {
    display: flex;
    align-items: center;
    border: 1px solid #e9e9e9;
    padding: 20px;
    margin-bottom: -1px;
    position: relative;
}
.coupon-list .item.used::before,
.coupon-list .item.expired::before {
    content: "";
    position: absolute;
    /* top: 0;
    left: 0; */
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: rgb(255 255 255 / 50%);
    background-image: url(../images/icon/used.png);
    background-size: 100px;
    background-position: 50px center;
    background-position: right center;
    background-repeat: no-repeat;
}
.coupon-list .item.expired::before {
    background-image: url(../images/icon/expired.png);
}
.coupon-txt .item li.inline {
    margin-right: 5px;
    display: inline-block;
}
.coupon-list .item .coupon-value {
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #eff7f7;
    margin-right: 1rem;
}
.coupon-list .item .coupon-value span{
    color: #999;
}
.coupon-list .item .coupon-value h6 {
    font-size: 2.5rem;
    color: var(--p-main-color);
    display: flex;
    align-items: center;
}
.coupon-list .item .coupon-value h6 strong{
    font-weight: bolder;
    font-size: 120%;
}
.coupon-list .item .coupon-value h6 small{
    font-size: 70%;
    margin: 0 3px;
}
.coupon-list .item .coupon-txt li{
    margin-bottom: 5px;
    font-size: 17px;
}
.coupon-list .item .coupon-txt li.inline{
    width: fit-content;
    display: inline-block;
}
.coupon-list .item .coupon-txt li.inline + li.inline{
    margin-left: 1rem;
}
.coupon-list .item .coupon-txt span{
    color: #b0b0b0 ;
    margin-right: 0.5rem;
    font-size: 90%;
}
.coupon-list .item .coupon-txt strong{
    font-weight: 600;
    color: var(--p-main-color);
}
@media only screen and (max-width: 767px){
    .coupon-list .item {
        align-items: flex-start;
    }
    .coupon-list .item .coupon-txt li.inline {
        width: 100%;
        display: block;
        margin-left: 0 !important;
    }
    .coupon-list .item .coupon-value {
        width: 130px;
        height: 130px;
    }
    .coupon-list .item.used::before, .coupon-list .item.expired::before {
        background-position: center center;
    }
}

@media only screen and (max-width: 575px){
    .coupon-list .item {
        padding: 15px;
        margin-top: 1rem;
        justify-content: space-between;
    }
    .coupon-list .item.used::before, .coupon-list .item.expired::before {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
    }
    .coupon-list .item .coupon-txt li {
        margin-bottom: 2px;
        font-size: 15px;
    }
    .coupon-list .item .coupon-value {
        width: 80px;
        height: 80px;
        margin-right: 0;
    }
    .coupon-list .item .coupon-txt {
        width:  calc(100% - 90px);
    }
    .coupon-list .item .coupon-value h6 {
        font-size: 1.5rem;
    }
    .coupon-list .item .coupon-value h6 small {
        font-size: 90%;
    }
}
.a-center input.checkbox {
	float: none;
}
label.required em {
    font-weight: normal;
    padding: 0 5px 0 0;
    vertical-align: middle;
    color: #E1464D;
}
.page-title h1{
	font-size: 25px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 13px;
	line-height: 25px;
}
.page-title h1:after{
	position: absolute;
    left: 50%;
    margin-left: -18px;
    margin-top: 37px;
    height: 3px;
    width: 36px;
    z-index: 9;
    background: #57B3DF;
    border-radius: 90px;
    content: '';
    opacity: 1;
}
.controls .add-btn {
    margin: 0 10px 5px 0;
    padding: 8px 30px;
}
.controls .add-btn.btn-action {
    margin: 0 10px 10px 0;
    padding: 8px 50px;

}
.page-title h2 {
    /* border-bottom: 1px solid #e9e9e9; */
    font-size: 27px;
    /* padding-bottom: 13px; */
}
.block-title{
	margin: 10px 0px 0px 0px;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 8px;
    position: relative;
	text-align: center;
}
.block-title:before{
	content: "";
    float: right;
    position: absolute;
    margin-top: 26px;
    width: 30px;
    z-index: 10;
    height: 2px;
	margin-left: 15px; 
}
.member-page .btn-group {
	    margin-bottom: 3px;
}

.member-page .phone-btn .add-btn {
	padding: 5px 20px;
    margin: 5px 2px 0 0;
}

.member-page p .add-btn{
	margin: 0;
}
.member-page .faq-content-area{
	margin-top: 30px;
	}
.member-page .faq-content-area .accordion .acc-btn {
    background: none;
	border-bottom: 1px solid #e9e9e9;
	color: #37333D;
	margin-bottom: 20px;
}
.member-page .faq-content-area .accordion .acc-btn .toggle-icon {
    left: 0px;
    top: 18px;
	color: #000;
}
.member-page .faq-content-area .accordion-box .accordion .acc-content {
    background: none;
    padding: 0;
}
.member-page .form-actions {
    margin-top: 20px;
}
.member-page .shop-cart-table .cart_table_title {
    background-color: var(--p-main-color);
    color: #fff;
	}
.member-page .campaign .shop-cart-table .cart_table_title {
    background-color: #eff7f7;
    color: var(--p-font-color);
    }
.member-page .shop-cart-table.shop-message th{
    border: 1px solid #e9e9e9;
}
.member-page .shop-cart-table td {
    color: #333;
    /* border: 1px solid #e9e9e9; */
}
.member-page .shop-cart-table td .pro-item{padding-right: 0;}
.shop-cart-table .message-type {
    width: 20%;
}
.shop-cart-table .message-type span{
	font-size: 14px;
    font-weight: 300;
}
.shop-cart-table .message-info {
    width: 60%;
}
.shop-cart-table td.message-type, .shop-cart-table td.message-info {
	text-align: left;
}
.shop-cart-table td.message-time {
    width: 20%;
    font-size: 14px;
}
.shop-cart-table.shop-message td {
    border-right: 1px solid #e9e9e9;
    border-left: 1px solid #e9e9e9;
}
.faq-btn{
	display: block;
	padding: 15px 0;
	color: #fff;
	text-align: center;		
}
.faq .togglet i{
	font-size: 20px;
    padding-right: 5px;
    color: #88957A;
}
.shop-cart-table.shop-message .bg2 td, .shop-cart-table.shop-message .bg2 span {
    background-color: #f9f9f9;
    color: #333 !important;
	
}
.notice {
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 17px !important;
    color: var(--p-focus-color);
    width: 100%;
}
.form-row .notice {
    text-align: left;
    margin-bottom: 0;
    margin-top: 0.5rem;
}
.form-row .notice + .notice{
    margin-top: 0;
}
.notice-regi ul, .notice-regi p{
    font-size: 19px;
    color: var(--p-main-color);
    line-height: 1.7;
    font-weight: normal;
    margin: 0;
}
.notice-regi ul{
    display: flex;
}
.notice-regi li + li{
    margin-left: 1rem;
}
@media(max-width: 576px){
    .notice-regi ul{
        font-size: 16px !important;
    }
    .notice-regi li + li {
        margin-left: 0.5rem;
    }
}
span.forget {
    font-size: 15px;
    margin-top: 5px;
    display: block;
    padding: 0;
}
span.forget a{
	color: #555;}

    .products-mail .product_title{
        font-size: 19px;
        color: #000;
    }
    .products-mail .description {
        color: #555;
        font-size: 15px;
    }
    .products-mail li{
        margin-bottom: 10px;
    }
    .products-mail li.verifycode {
        display: flex;
    }
    .products-mail li.verifycode input{
        width: 50%;
    }
    
    .products-mail #verifycodeImg {
        height: 47px;
        margin: 0 10px;
    }
    .products-mail .add-btn {
        width: 100%;
        margin-top: 10px;
    }
    .products-mail .middle i {
        font-size: 25px;
        margin-top: 10px;
    }
.input-prepend>[class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
}
.input-prepend{
    margin-bottom: 15px;
}
.row.input-prepend{
	/* color:  #59493f;
	margin-bottom: 10px;
	overflow: hidden; */
    margin: 0 -5px;
    align-items: center;
}
@media (max-width: 992px){
    .input-prepend select, .input-prepend input{border: 1px solid var(--p-main-color);}
}
.input-prepend select, .input-prepend input{
    border: 1px solid #e3e3e3;
    padding: 0 10px;
    border-radius: 6px;
}

.input-prepend input.full-input {
    width: 30%;
}
.input-prepend .btn {
    padding: 0 10px;
    background-color: var(--p-main-color);
    color: #fff;
    height: 48px;
    margin-left: 0.25rem;
    min-width: 80px;
}
.input-prepend .add-btn {
    padding: 7px 30px;
	width: auto;
}
.input-prepend .select_container {
	width: auto;
	float: left;
	margin-bottom: 0;
}

/***分享網址***/
.share-link{
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 30px;
}
.share-link p{
    margin-bottom: 10px;
}
.share-link .input-prepend {
    position: relative;
}
.share-link .input-prepend input,
.share-link .input-prepend .add-btn {
    height: 55px;
    border-color: var(--p-main-color) !important;
}
.share-link .input-prepend input{
    background-color: #fff;
}
.share-link .input-prepend .btn-group {
    position: absolute;
    right: 0;
}
.share-link .input-prepend .add-btn {
    padding: 10px 15px;
    min-width: 120px;
    font-size: 16px;
    border: 0;
    border-radius: 0 6px 6px 0;
}
.recommend-txt {
    font-size: 17px;
    line-height: 30px;
}
.recommend-txt ul{
	    list-style-type: disc;
	    padding-left: 25px;
}
.add-btn.line-share-btn {
    background-color: #06c755;
    min-width: 200px;
    padding: 15px 20px;
    font-size: 17px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    margin-top: 20px;
    border-radius: 70px;
}
.add-btn.line-share-btn i{
    background-image: url(../images/icon/share.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 0.25rem;
}
/* 分享進度 */
.recommend-list p.lead{
    line-height: 2;
    margin-bottom: 0;
}
.recommend-list a.order-btn{
    margin-top: 0;
    background-color: #06c755;
    border-radius: 5px;
    padding: 10px;
    font-weight: 600;
}
@media(max-width: 767px){
    .recommend-list .add-user{flex-direction: column;}
    .recommend-list a.order-btn{width: 100%;}
}
.recommend-list .add-user{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f7f7;
    padding: 10px;
    margin-bottom: 20px;
}

.modal-dialog .modal-content {
    border-radius: 0;
    border: 0;
}
.modal .modal-dialog {
	min-width: 360px;
}
.modal .modal-dialog {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - 1rem);
    margin: 0 auto;
}
.modal-body {
    font-size: 16px;
    padding: 40px;
}
.modal-body h4 {
    color: var(--p-main-color);
    font-size: 28px;
    margin-bottom: 15px;
}
.modal-body {
    font-size: 17px;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 0;
}
h3.modal-title{
	font-size: 21px;
	margin-top: 0;
}

.modal-body .form-block{
    border: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}
.modal-body .form-block .form-row.row{
    width: 100% !important;
}


#addToCart .modal-header {
    border: none;
    position: absolute;
    right: 0;
    top: 0;
	z-index: 99;
}
.modal-content button.close, .increase_item.favorite_item .close {
    width: 45px;
    height: 45px;
    border-radius: 0;
    line-height: 45px;
	opacity: 1;
    font-family: "Questrial", sans-serif;
	text-align: center;
    font-size: 23px;
    text-shadow: none;
    position: inherit;
    right: 0;
    top: 0;
    color: #000;
    margin: 0;
    opacity: .8;
}
#addToCart .product_details h2 {
    margin-right: 30px;
    font-size: 23px;
    line-height: 28px;
	margin-bottom: 0;
}
#addToCart .product_details .thumb {
    width: 80px;
    float: left;
    margin-right: 10px;
}
#addToCart .product_details .product-price.price {
    font-size: 25px;
    background-color: transparent;
	padding: 0;
}
#addToCart .product_details .product-price.price .price-old {
    font-size: 17px;
}
.first-login #verifycodeImg{
	height: 45px;
    margin-right: 5px;
}
.first-login .help-inline{
	padding-left: 5px;
}
.modal-content button.close {
    right: 0;
    position: absolute;
    top: 0;
    font-size: 35px;
    z-index: 10;
}
.modal-content button.close span{
	line-height: 25px;
}





.modal.warningbox{
	z-index: 1051;
}
.warningbox.txtbox .modal-dialog{
	width: 900px;

}
.warningbox.txtbox .modal-body{
	text-align: left;
}
.warningbox.txtbox .modal-dialog .theme-title h3 {
    text-align: left;
    font-size: 25px;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 10px;
}

.warningbox h4{
	text-align: center;
	padding: 0;
	
}
.warningbox .modal-footer{
	text-align: center;
	margin: 0;
	border: 0;
	padding: 0 0 15px 0;
}
.warningbox .modal-footer .add-btn{
	margin: 0;
}
.warningbox .modal-body{
	text-align: center;
}
.warningbox .modal-header{
	padding: 10px;
}
.modal-dialog.first-login {
    width: 500px;
}
.modal-dialog .form-container {
    padding: 0px;
    background-color: transparent;
}
.modal-dialog.first-login select, .modal-dialog.first-login select.form-control:not([size]):not([multiple]),.modal-dialog.first-login .login-btn h6 span{
    background-color: #fff;
}
.modal-body .product-btn .add-btn {
    margin-bottom: 0;
}
.login-btn{
    margin-top: 1rem;
}
.login-form .add-btn.fb-login {
    background-color: #4e71a8 !important;
}
.login-btn .add-btn + .add-btn{
    margin-top: 1rem;
    margin-left: 0 !important;
}
.order-login {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
    border-left: 1px solid #e3e3e3;
}
.login-page .sub-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 1.5rem;
    width: 100%;
}
/***login***/
.login-page {
    margin: auto;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-left: 0;
    padding-right: 0;
}
.login-page .theme_title h3,
.login-page .title{
    letter-spacing: 0;
    font-size: 36px;
    font-weight: 300;
}
.login-page.line-login {
    width: 600px;
    max-width: 100%;
}

.login-page.line-login .form-control,
.login-page.line-login .form-row .input-group-append{
    font-size: 19px;
    height: 60px !important;
}
.login-page .steps, .checkout-page .steps {
    max-width: 100%;
    width: 600px;
    margin-bottom: 1rem;
}
.login-form.form-container .form-group {
    padding: 0;
}
.login-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.form-row.m-b-10 {
    margin-bottom: 1rem;
}
.form-row .password{display: flex;}
.form-row .password .text-error {
    position: absolute;
    bottom: -26px;
    margin: 0;
}
.form-row .input-group-append {
    position: absolute;
    left: 5px;
    height: 48px;
}
.form-row .input-group-append + input,
.form-row .input-group-append + select{
    padding-left: 1.75rem;
}
.form-row .input-group-append.f-right {
    left: auto;
    right: 5px;
}
.login-form .form-row .forget {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    white-space: nowrap;
}
.form-row .input-group-append .input-group-text {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    color: var(--p-font-color);
    opacity: 0.8;
    padding: 0;
    font-size: 24px;
}
.form-row .input-group-append .input-group-text .feather-user{
    font-size: 27px;
}
.form-row .input-group-append .input-group-text.input-group-icon{
    font-size: 15px;
    padding: 0;
}
.form-row .input-group-append .input-group-text.input-group-icon i::before{
    display: none;
}
.form-row .input-group-append .input-group-text.input-group-icon i{
    width: 25px;
    height: 25px;
    background-size: 100%;
}
.form-row .input-group-append .input-group-text.input-group-icon .feather-eye{
    background-image: url(../images/icon/icon-eye.png);
}
.form-row .input-group-append .input-group-text.input-group-icon .feather-eye-off{
    background-image: url(../images/icon/icon-eye-close.png);
}
.login-form .add-btn.btn-sm {
    padding: 12px 0 !important;
    font-size: 14px;
    min-width: auto;
}

.row.login-form{
    flex-wrap: nowrap;
}

.notmember {
    margin-top: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.notmember .add-btn {
    background-color: var(--p-second-color) !important;
    padding: 8px;
    min-width: 100px;
    margin: 0 0 0 10px;
    font-size: 15px;
}
.login-btn h6 {
    padding: 1rem 0;
    margin: 0.5rem 0 0 0;
    text-align: center;
    position: relative;
    font-size: 15px;
    font-weight: normal;
    color: #555;
}
.login-btn h6::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #e3e3e3;
    display: block;
    position: absolute;
    bottom: 23px;
}
.login-btn h6 span {
    background-color: #f9f9f9;
    position: absolute;
    width: 60px;
    left: 50%;
    margin-left: -30px;
    top: 0;
    z-index: 2;
}



/***訂單查詢***/
.order-tabs .notmember {
    justify-content: center;
}
.order-tabs .notice:not(.notice.red) {
    color: var(--p-main-color);
    margin-top: 0;
    text-align: left;
}


@media (max-width:992px){
    .order-login {
        flex-direction: row;
        align-items: center;
        padding: 2rem 0 0 0;
        border: 0;
    }
    .login-page .order-login .sub-title {
        margin: 0 1rem 0 0;
    }
}


@media (max-width: 767px){
    .row.login-form{
        flex-wrap: wrap;
    }
}

@media (max-width: 575px){
.login-page .sub-title {
    font-size: 24px;
    margin-bottom: 1rem;
}
}


.col-xs-12.cart-btnbox{
    padding-right: 0;
    padding-left: 0;
	float:  none;

}
/***加入經銷商***/
.login-form.dealer-form {
    width: 1080px;
	max-width: 100%;
}
 .form-container.dealer-form .control-label {
	width: 23%;
}
.dealer-form .label-group{
	overflow: hidden;
	margin-bottom: 5px;
}

.label-group label{
	padding-left: 0;
	line-height: 25px;
	margin-bottom: 0;
	width: 24%;
    padding: 5px 5px 5px 0;
}
.label-group label.full{
	width: 100%;
}
.dealer-form .c-checkbox label {
    font-size: 17px;
}
.dealer-form .c-checkbox label a {
	    color: #000;
}

.file-upload .item {
    border-radius: 6px;
    margin-bottom: 10px;
    margin-top: 0.5rem;
    border: 1px dashed #ccc;
    padding: 5px;
    text-align: center;
}
.file-upload .item a.delete {
    position: absolute;
    top: -5px;
    right: 5px;
    border-radius: 100%;
    background-color: var(--p-main-color);
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
}
.btn-file {
    overflow: hidden;
    position: relative;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--p-main-color);
}
.btn-file>input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translate(-300px, 0) scale(4);
    font-size: 23px;
    direction: ltr;
    cursor: pointer;
}
.success-sale,.fail-sale {
    background-image: url(../images/success.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-color: rgb(247 102 134 / 20%);
    background-size: auto 100%;
    border: rgb(247 102 134 / 20%) 1px solid;

}
.success-sale.display .number h3{color: #eb5d68;}
.fail-sale {
    background-image: url(../images/fail.png?20220110);
    background-color: #f1f1f1;
    border: #ccc 1px solid;
}
/* .grey-bg {
    background-color: #f1f1f1;
} */

/******fix-right***/
.fix-right {
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    z-index: 2;
}
.fix-right a {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.fix-right a img {
    width: 70px;
    border-radius: 100%;
    padding: 12px;
}
.fix-right a span{
    color: #222;
    font-weight: 500;
    text-shadow: 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff;
    
}
.fix-right .line img {
    background-color: #06C755;
}

.browsing-history{
	width: 70px;
	margin: auto;
	background-color: #fff;
}
.browsing-history span{
	text-align: center;
    display: block;
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
	padding: 2px 0;
    font-size: 13px;
    margin-bottom: -1px;
	} 
.browsing-history ul{
	margin: 0;
	list-style:none;
	border: 1px solid #000;
	padding: 0;
}

.browsing-history li{
	padding: 5px;
	border-bottom: 1px solid #e8dac4;
}
.browsing-history li a {
    height: 55px;
    display: block;
    overflow: hidden;
}
.browsing-history li i{
	 font-size: 25px;
    width: 35px;
    height: 35px;
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-top: 15px;
    color: #999;
}
.browsing-history li.line i{margin-top: 10px;}
.browsing-history li.line:hover i{
	    background-image: url(../images/icon/icon-line-g.svg);
}
.browsing-history li:last-child{
	border: 0;
}
@media only screen and (max-width: 1366px) {
	.fix-right {
		width: 75px;
    }
}
@media(max-width: 767px) {
    .fix-right {
        width: 70px;
    }
}
@media (max-width: 575px){
    .fix-right {
        right: 0.5rem;
        width: 55px;
    }
    .fix-right a img {
        width: 55px;
        padding: 8px;
    }
    .fix-right a span {
        width: 55px;
        text-align: center;
        font-size: 13px;
        font-weight: normal;
        line-height: 1.2;
    }
}
/*****我的收藏***/
.increase_item.favorite_item {
	position: relative;
	margin: 0 -1px -1px 0;
}
.increase_item.favorite_item .proimg {
    margin-left: 0;
	width: 25%;
}
.increase_item.favorite_item .icons a.button i {
    margin-top: 0;
}
.increase_item.favorite_item .close {
    font-size: 13px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    position: absolute;
    top: 0;
    right: 0;
}
.increase_item.favorite_item .price {
	margin-top: 5px;
}
.increase_item.favorite_item .add-btn {
	margin-top: 15px;
}

/*** 會員等級***/
.level-block {
    background-color: #F3F3F3;
    padding: 20px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 30px;
    clear: both;
    margin-top: 20px;
    overflow: hidden;
}
.level-block li{
    margin-bottom: 10px;
}
.level-block .level {
    font-size: 19px;
    font-weight: 500;
	display: inline-block;
	    	  }
.level-block .level img{margin: 0 5px 0 5px; width: 45px;}

.level-block .upgrade {
    background-color: #fff;
    padding: 30px;
}
.level-block .upgrade .price{
	font-size: 23px;
}
.level-block .level.level1 {color: #f80;}
.level-block .level.level2 {color: #49d5e4;}

.level-block .progress {
    margin: 20px 0 0 0;
    font-size: 12px;
    line-height: 30px;
    height: 30px;
    border-radius: 15px;
    width: 100%;
    display: inline-block;
    background-color: #f4ebdd !important;
}
.level-block .progress-bar {
    font-size: 14px;
    line-height: 30px;
    background-color: var(--p-main-color);
    box-shadow: none;
	}
.level-block.qrcodebox {
    padding: 30px;
}
.level-block.qrcodebox > .row{
    justify-content: flex-end;
}
.level-block.qrcodebox .qrcode {
    text-align: center;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding-right: 0;
}

.level-compare{
	margin-bottom: 50px;
	}
.level-compare ul{
	overflow: hidden;
}
.level-compare li{
	width: 25%;
	display: block;
	float: left;
	position: relative;
}
.level-compare li.level1{ background-color: #F3F3F3; }
.level-compare li.level2{ background-color: #f2f0e2; }
.level-compare li.level3{ background-color: #f1ffde; }
.level-compare li.level4{ background-color: #ffedf0; }

.level-compare li .level-title{
	height: 220px;
	background-color: #fff;
    font-size: 20px;
    text-align: center;
    border-bottom: 4px solid #3e3e3f;
		}

.level-compare li.level1 .level-title{ padding-top: 170px; }
.level-compare li.level2 .level-title{ padding-top: 100px; background: url(../images/level-color2.jpg) repeat-x 0 165px #fff; color: #9CC93A;}
.level-compare li.level3 .level-title{ padding-top: 50px; background: url(../images/level-color3.jpg) repeat-x 0 120px #fff; color: #0A6A34; }
.level-compare li.level4 .level-title{ padding-top: 0px; background: url(../images/level-color4.jpg) repeat-x 0 80px #fff; color: #F24261; }

.level-compare li .level-info{
    padding: 50px 15px;
    height: 250px;
    font-size: 15px;
	padding: 70px 15px 50px 15px;
	text-align: justify;
			}
.level-compare li .level-info img{
	position: absolute;
	left: 34%;
	top: 0;
			}
.level-compare li.level1 .level-info img { top: 230px; }
.level-compare li.level2 .level-info img { top: 177px; }
.level-compare li.level3 .level-info img { top: 94px; }
.level-compare li.level4 .level-info img { top: 120px; left: 15%; }

.level-compare li .level-info span, .level-compare li .level-info strong{
	font-weight: 600;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 3px;
					}
.level-compare li .level-info strong{
	font-size: 20px;
					}
.level-compare li .level-info small{
	font-size: 14px;
					}
.level-timeline li{
	margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px dotted #ccc;
							}
.level-timeline li img{
    margin-top: 15px;
							}

/* ----------------------------------------------------------------------
    PAGE 404
-------------------------------------------------------------------------*/
section.full-page.page-404{
    padding: 6rem 0 10rem 0;
    min-height: auto;
    text-align: center;
    background: #a3dcf0;
    background: -moz-linear-gradient(top,  #fff 0%, #a3dcf0 100%);
    background: -webkit-linear-gradient(top,  #fff 0%,#a3dcf0 100%);
    background: linear-gradient(to bottom,  #fff 0%,#a3dcf0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#a3dcf0',GradientType=0 );
    position: relative;
}
section.full-page.page-404::before,
section.full-page.page-404::after{
    content: "";
    width: 405px;
    height: 250px;
    max-width: 30%;
    position: absolute;
    bottom: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}
section.full-page.page-404::before{
    left: 0;
    background-image: url(../images/404bg-l.png);
}
section.full-page.page-404::after{
    right: 0;
    background-image: url(../images/404bg-r.png);
}
.page-404 h3,
.page-404 p {
    margin-bottom: 1rem;
    /* color: #fff;
    text-shadow: 2px 2px 5px #7ad1df; */
}
.page-404 .theme_title h3{
    font-weight: 400;
    letter-spacing: 0;
}
.page-404 p {
    font-size: 19px;
    font-weight: 300;
    line-height: 1.5;
}
.page-404 .input-group {
	width: 450px;
	}
.page-error-404 {
	color: #dedede;
    display: block;
    font-size: 120px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: sans-serif, 'Microsoft JhengHei';
}
.page-error-404 img{
	width: 400px;
    max-width: 80%;
}
.page-404 .input-group-btn{
	    display: table-cell;
}
.modal-footer{
    justify-content: center;
}
.service-block{
    height: 450px;
    overflow-y: auto;
}
ol.note {
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.5;
}
ol.note li{
    margin-bottom: 0.5rem;
}
.limited-time{
    padding: 0.75rem;
    background-color: #fff;
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
    -moz-box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
}
.limited-txt{
    color: var(--p-focus-color);
    margin: 0 0 0.5rem 0;
    font-size: 16px !important;
    line-height: 1.2;
    font-weight: 400;
}
.countdown, .sale-time {
    line-height: 1.5;
    font-size: 15px;
}
.countdown {
    display: flex;
    align-items: baseline;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 500;
}
.sale-time {
    margin-top: 5px;
    font-weight: 400;
    letter-spacing: 1px;
}
.sale-time li {
    display: flex;
    align-items: baseline;
}
.sale-time li span{
   display: inline-block;
}
.sale-time i {
    font-size: 16px;
    color: #999;
    margin-right: 5px;
    width: 20px;
    text-align: center;
    display: inline-block;
}
.countdown span {
    font-size: 21px;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-radius: 2px;
    justify-content: center;
    color: var(--red);
    margin: 0 10px;
}
                    
/**送禮小卡***/

.card-select{
	overflow: hidden;
}
.card-select ul {
	margin-left: -10px;
    margin-right: -10px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.card-select ul li {
    width: 33%;
    text-align: center;
    padding: 10px;
}
.card-select ul li a {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 17px;
    color: #59493f;
}
.card-select ul li a img {
	margin-bottom: 10px;
}
.card-select ul li.active a {
    background-color: var(--p-main-color);
    border-color: var(--p-main-color);
    color: #fff;
}
.card-select ul li.active a label{
    color: #fff;
}
.card-select input[type=radio].ace:checked + .lbl::before {
    content: '\f00c';
	border-color: var(--p-main-color);
	color: var(--p-main-color);
}
/*.member-page .steps {
    margin-bottom: 20px;
}*/
.card-edit {
    background-color: #fff1d2;
    padding: 30px;
}
.card-edit+.form-block {
    margin-top: -30px;
}
.card-form input {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #ffc541;
    width: 150px;
    padding: 5px;
	color: #222;
	font-size: 16px !important;
}
.card-form input::-webkit-input-placeholder {
	color: #891c21;}
.card-form input:-ms-input-placeholder {
	color: #891c21;}
.card-form input::-ms-input-placeholder {
	color: #891c21;}
.card-form input::placeholder {
	color: #891c21;}
.card-form .controls {
    width: 100%;
    overflow: hidden;
    line-height: 30px;
	font-size: 17px;
	color: #222;
}
.card-form .controls.color1 {
    color: #891c21;
}
.card-form .controls textarea, .card-form .controls .txt-block {
    width: 100%;
    min-height: 180px;
    margin: 30px 0;
    border: 0;
	font-size: 17px;
}
.modal-dialog.card-preview {
    width: 1000px;
	max-width: 95%;
}

.color-filter{
	margin: 10px 0 ;
	
}
.color-filter li {
    display: inline-block;
    margin: 0 1px 5px;
}
.color-filter li a {
    color: #555;
    display: flex;
    height: 60px;
    line-height: 60px;
    width: 50px;
    padding: 5px;
    position: relative;
    transition: all 0.5s ease-out 0s;
    -webkit-transition: all 0.5s ease-out 0s;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.00);
}
.color-filter li.active a {
    border: 1px solid #e5e5e5;
}
.color-filter a span {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 4px;
}
.color-filter li.active a::after {
    font-size: 19px;
    bottom: 0px;
    color: rgb(0, 0, 0);
    content: "\f00c";
    font-family: fontawesome;
    position: absolute;
    text-shadow: 0px 2px 3px rgba(255, 255, 255, 0.8);
}
.coupon-table{
    text-align: left;
  }
  .data-table.coupon-table td span {
    display: flex;
    flex: 1;
  }
  .data-table.coupon-table tr td {
    padding: 20px 10px;
    font-size: 15px;
}
.data-table.coupon-table tr td a{
    display: inline-block;
    color: var(--p-main-color);
}
/*----div table----*/
.order_table {
    display: table;
    width: 100%;
}

.table_row {
    display: table-row;
    vertical-align: middle;
    width: 100%;
}

.tb_col {
    border-right: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    padding: 6px;
    display: table-cell;
    vertical-align: middle;
    line-height: 25px;
}

.tb_col.orders-info {
    text-align: left;
}

.tb_head>.tb_col {
    text-align: center;
    border-bottom: 0;
    line-height: 20px;
    vertical-align: middle;
}

.order_list .tb_col:first-child,
.tb_head .tb_col:first-child,
.orders_info .tb_col:first-child,
.tb_sub_head .tb_col:first-child {
    border-left: 1px solid #e9e9e9;
}
.orders_info ul.delivery-list {
    list-style-type: disc;
    margin-left: 2rem;
}
.orders_info ul.delivery-list ::marker {
    font-size: 1.25rem;
    color: #d7d7d7;
}
.tb_head {
    background: #cc0f36;
    color: #fff;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.tb_sub_head {
    width: 100%;
    background-color: #f9f9f9;
    color: #3b3b3b;
}
.tb_sub_head .tb_col{
    border-top: 1px solid #e9e9e9;
}
.tb_col .orders-btn {
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    font-size: 1rem;
    line-height: 1;
    border-radius: 0.1875rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    display: inline-block;
    background: #73696b;
    padding: 10px 20px;
    color: #fff;
}
.orders_detail {
    display: table;
    font-size: 0.9em;
    border-top: 0;
}

.contact_info {
    padding: 15px 8px;
}

.contact_info .tb_col {
    border: 0;
}

#table-detail {
    display: none;
}

.order_list .tb_col .order_type .orders-btn.closed {
    display: none;
}

.order_list .tb_col .order_type.active .orders-btn.closed {
    display: inline-block;
}

.order_list .tb_col .order_type.active .orders-btn.open {
    display: none;
}

.col_1 {
    width: 8%;
}

.col_2 {
    width: 17%;
}

.col_3 {
    width: 25%;
}

.col_4 {
    width: 33%;
}

.col_5 {
    width: 42%;
}

.col_6 {
    width: 50%;
}

.col_7 {
    width: 58%;
}

.col_8 {
    width: 67%;
}

.col_9 {
    width: 75%;
}

.col_10 {
    width: 83%;
}

.col_11 {
    width: 92%;
}

.col_12 {
    width: 100%;
}
/***配送進度***/
.delivery-step {
    padding: 0px;
    list-style: none;
    width: 100%;
    display: flex;
    padding: 30px 5px 15px 5px;
    background-color: #f9f9f9;
    margin: 0.5rem 0;
}

.delivery-step li {
    width: 100%;
    text-align: center;
}
.delivery-step li:before {
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    font-size: 0;
    overflow: hidden;
    border-top: 2px solid #c6c6c6;
    position: relative;
    z-index: 1;
}
.delivery-step li:last-child:before {
    max-width: 50%;
    width: 50%;
}
.delivery-step li:first-child:before {
    max-width: 51%;
    left: 50%;
}
.delivery-step li .dot {
    font-size: 13px;
    border-radius: 100%;
    background-color: #c6c6c6;
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 48px;
    text-align: center;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #c6c6c6;
    left: 0;
    top: -13px;
}
.delivery-step li.selected .dot {
    background: var(--p-main-color);
    box-shadow: 0 0 0 1px var(--p-main-color);
}
.delivery-step li.selected:before {
    border-color: var(--p-main-color);
}
.delivery-step li p {
    width: 100%;
    margin: 0px !important;
    position: relative;
    text-align: center;
    padding: 0 !important;
    border-bottom: 0 !important;
    white-space: nowrap;
}
.delivery-step li p span {
    font-size: 14px;
    margin: 0 3px;
    color: #999;
}
.delivery-step li p span:first-child {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    color: var(--p-font-color);
    font-weight: 400;
}

.delivery-step li.selected p span:first-child {
    color: var(--p-main-color);
}


.reward-block{
    display: flex;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 30px;
}
.reward-block .form-block{
    height: 100%;
    margin-bottom: 0 !important;
}
.reward-block .add-btn {
    background-color: var(--p-main-color);
}
.form-complete .reward-block .form-row label {
    text-align: left;
}

.money-draw {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ededed;
    padding-bottom: 10px;
}

.money-draw span {
    display: block;
    margin-bottom: 10px;
}
.money-draw span a:hover,.money-draw-info li a:hover{color: var(--p-main-color) !important;}

.money-draw-info, .account-num {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}
.money-draw-info li, .account-num li {
    font-size: 16px;
    display: flex;
    margin-bottom: 10px;
    align-items: baseline;
}
.money-draw-info li span {
    font-size: 18px;
    color: var(--p-focus-color);
}
.money-draw-info li{
    justify-content: space-between;
}
.account-num li strong{
   font-weight: normal;
   width: 85px;
}
.account-num li span{
    color: var(--p-main-color);
   
}
/* 會員-經銷商-下方水平功能選單 */
ul.member-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
}
ul.member-menu li{
    /* min-width: 70px; */
    flex: 1;
    border-right: 1px solid #eaeaea;
    border-top: 0px solid #eaeaea;
}
ul.member-menu li:last-child{
    border-right: 0;
}
ul.member-menu li a,ul.member-menu li button {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    padding: 20px 0;
    color: var(--p-font-color);
    background-color: #f9f9f9;
    border: 0;
    width: 100%;
    box-shadow: none !important;
}
ul.member-menu li a i, ul.member-menu li button i {
    width: 30px;
    height: 25px;
    margin-bottom: 5px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-filter: grayscale(1);
}
ul.member-menu li span{
    white-space: nowrap;
    font-weight: 400;
}
/* ul.member-menu li.morebtn {
    max-width: 60px;
} */
ul.member-menu li:last-child {
    border-right: 0;
}
#member-moremenu {
    position: absolute;
    min-width: 70px;
    border: 0;
    margin: 0;
    top: auto !important;
    bottom: 100%;
    padding: 0;
    border-radius: 0;
    right: 0;
    left: 90%;
    top: auto !important;
    bottom: 100%;
    margin-left: -40px;
}
@media (max-width: 992px){
    #member-moremenu{left: 85%;}
}
@media (max-width: 575px){
    #member-moremenu{left: 90%;}
    ul.member-menu li a, ul.member-menu li button {
        font-size: 13px;
    }
    .delivery-step {
        overflow-x: scroll;
    }
}
#member-moremenu li {
    border-right: 0;
}
i.fa.bt-user {
	background-image: url("../images/icon/icon-bt-01.png?20230214");
}
i.fa.bt-orders {
	background-image: url("../images/icon/icon-bt-02.png?20230214");
}
i.fa.bt-coupoon {
	background-image: url("../images/icon/icon-bt-04.png?20230214");
}
i.fa.bt-link {
	background-image: url("../images/icon/icon-bt-10.png?20230214");
}
i.fa.bt-address {
    background-image: url("../images/icon/icon-bt-12.png?20230214");
}
ul.member-menu li.current span {
    color: var(--p-main-color);
    font-weight: 400;
}
ul.member-menu li.current a i {
    -webkit-filter:grayscale(0);
}

/*會員中心*/
.member-center-page .block-title {
    margin: 0;
    padding-bottom: 0;
    font-size: 22px;
    text-align: left;
    color: var(--p-main-color);
    border-bottom: 1px solid var(--p-main-color);
    display: flex;
    align-items: center;

}
.member-center-page h2{
    text-align: center;
    font-size: 35px;
    margin-bottom: 1rem;
}
.member-center-page .container img{width: 30px;margin-right: 3px;}
ul.member-menu.member-center {
    flex-flow: row wrap;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 10px;
}
ul.member-menu.member-center li {
    border: 0;
    padding: 15px;
    width: calc(100% / 5);
    flex: inherit;
}
ul.member-menu.member-center li a {
    text-align: center;
    padding: 30px 0;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid #ebebeb;
}
ul.member-menu.member-center li a:hover {
    border: 1px solid var(--p-main-color);
}
ul.member-menu.member-center li a h2 {
    font-size: 15px;
    color: #333;
    font-weight: normal;
    margin-top: 15px;
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
}
ul.member-menu.member-center li:hover h2{color: var(--p-main-color);}
ul.member-menu.member-center li a h2 span {
    font-size: 14px;
    line-height: 14px;
    min-width: 18px;
    height: 18px;
    border-radius: 100%;
    padding: 0;
}
ul.member-menu.member-center li a h2 span {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    margin-left: 5px;
    background-color: #F44336;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 15px;
    padding: 3px;
    line-height: 10px;
}
ul.member-menu.member-center li a i{
    width: 60px;
    height: 50px;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}
ul.member-menu.member-center li:hover i{
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}
@media (max-width: 992px){
    ul.member-menu.member-center li {
        width: calc(100% / 4);
    }
    .product-detail-page .fix-right,
    .member-page .fix-right {
        bottom: 10.5rem;
      }
}
@media (max-width: 767px){


    ul.member-menu.member-center{
        margin-left: -5px;
        margin-right: -5px;
    }
    ul.member-menu.member-center li {
        width: calc(100% / 3);
        padding: 5px;
    }
    ul.member-menu.member-center li a{
        padding: 15px 0;
        border: 1px solid #ebedf0;
    }
    ul.member-menu.member-center li a i{
        width: 38px;
        height: 30px;
    }
    ul.member-menu.member-center li a h2{
        font-size: 14px;
        margin-bottom: 0;
        margin-top: 10px;
    }
    .member-center-page h2{font-size: 28px;}
    ul.member-menu.member-center li a i{-webkit-filter: grayscale(0);}
}

@media (max-width: 575px){
    .countdown span {
        margin: 0 7px;
    }
}


@media (max-width: 379px){
    ul.member-menu.member-center li a h2 {
        font-size: 12px;
    }
    ul.member-menu.member-center li a h2 span{
        margin-left: 2px;
        font-size: 13px;
    }
}
@media only screen and (max-width: 1080px) {

    .browsing-history{
        width: 60px;
    }
    .browsing-history li {
        padding: 3px;
    }
    .browsing-history li a {
    }
    
    .page-error-404 {
        font-size: 170px;
        margin-bottom: 30px;
    }	
}
@media (max-width: 992px) {	
    /* .fix-right {
        display: none;
        top: 100px;
        width: 70px;
    } */
    .block-account .block-content {
        display: none;
        margin-bottom: 2rem;
        border: 0;
        padding: 0 15px;
        margin-right: -15px;
        margin-left: -15px;
        background-color: #fff;
    }
    .block-account .title-header {
        display: none;
    }
    .block-account .block-content ul{
        list-style: none;
        /* white-space: nowrap; */
        overflow-x: scroll;
        overflow-y: hidden;
        display: flex;
        width: 100%;
    }
    .block-account .block-content > ul > li{
        display: inline-block;
        width: auto;
        text-align: center;
        margin-bottom: 0;
        position: relative;
        width: 20%;
    } 
    .block-account .block-content > ul > li a {
        margin: 0px;
        padding: 10px 5px;
        border-right: 0;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .block-account .block-content > ul > li:last-child a {
        border-right: 1px solid #e9e9e9;
    }
    .shop-cart-table .product-thumbnail {
        width: 15%;
        padding: 15px 0;
    }
    /* .modal .modal-dialog {
        margin: 5% auto;
    } */
    .modal-dialog.first-login {
        width: 95%;
        /* margin: 0; */
        /* min-width: auto; */
    }	
    .payment-select1 ul li span.title{
        width: 100%;
        border: 0;
    }
    .payment-select1 span.txt {
    width: 100%;
    margin: 5px 0 0 35px;
    }
    .card-img {
        margin-bottom: 30px;
    }
    .payment-select1 ul li {
        width: 33%;
        padding-right: 0;
    }

}

@media (max-width: 767px) {	
    .checkout-page {
        margin-top: 0;
    }
    .theme_title h3, .full-page .title {
        margin-bottom: 1rem;
    }
    section.member-page {
        padding: 2rem 0 3rem 0;
        background-color: #f9f9f9;
    }
    .breadcrumb-block + .member-page {
        
    }
    .member-page .form-container .form-block,
    .rwd-table tbody tr,
    .giftlist .item,
    .level-block,
    .coupon-list .item{
        background-color: #fff;
        border: 0;
        -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
        -moz-box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
        box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
        border-radius: 10px;
    }
    .block-account .block-content > ul > li a {
        border: 0;
        height: 60px;
        line-height: 1.2;
    }
    /* .block-account .block-content > ul > li a span{
        display: none;
    } */
    .block-account .block-content > ul > li:last-child a {
        border-right: 0;
    }
    .block-account .block-content > ul > li.current a, .block-account .block-content > ul > li:hover a {
        background: #f9f9f9;
        color: var(--p-main-color);
        border-radius: 6px 6px 0 0;
        border-top: 2px solid #f3f3f3;
    }
    span.forget {
        margin-top: 5px;
        display: block;
        text-align: center;
        padding: 0;
    }
    .payment-select1 ul li {
        width: 50%;
    }
    .payment-select1 ul li span.title {
    width: 100%;
    border: 0;
    }
    .payment-select1 span.txt,
    .payment-select1 ul li span.txt2 {
        font-size: 13px;
        margin-left: 0;
        display: block;
        line-height: 20px;
        padding-left: 30px;
    }
    .payment-select1 ul li span.txt2{
        margin-left: 26px;
        margin-top: 5px;
        line-height: 18px;
        }
    .form-container .form-group.form-txt{
    padding: 10px;
    margin: 0 -15px;
    }

    .hidden-phone{
        display:none !important;
    }
    .display-phone{
        display: block !important;
    }
    .data-table .cart-detail {
        text-align: left;
                }
    


    #addToCart .modal-dialog{
        margin: 0;
        min-width: 100%;
            }
    #addToCart .modal-dialog .modal-content {
        border: 0;
    }
    .modal-body {
        padding: 30px;
    }
    .cart-tabs .nav-pills .nav-link {
        font-size: 17px;
    }
    .shop-cart-table td {
        padding: 15px 5px;
    }
    .form-block.product_details .product-review-tab .nav{
        display: flex;
        flex-wrap: nowrap;
    }
    .form-block.product_details .product-review-tab .nav li a {
        font-size: 16px;
        padding: 15px 10px;
    }
    .form-block.product_details .tab-content {
        padding: 20px;
    }
    .label-group label {
        width: 35%;
    }
    .data-table tr td a {
        display: inline-block;
    }
    .data-table tr td{
        padding: 5px 10px;
    }
    /* .data-table thead{
        border: 0;
    } */
    .rwd-table th {
        display: none;
    }
    .data-table.rwd-table tr td {
        display: flex;
        flex-wrap: wrap;
        border: 0;
        text-align: left;
        padding: 5px 10px !important;
        border: 0;
        align-items: baseline;
        font-size: 16px;
    }
    .data-table tr td .rwd-state {
        flex-direction: row;
        align-items: baseline;
        width: calc(100% - 85px);
        justify-content: space-between;
    }
    .data-table tr td .rwd-state .add-btn{
        margin-top: 0;
    }
    .data-table.coupon-table.coupon-title {
        color: var(--p-main-color);
        font-size: 17px;
    }
    .data-table tr td.point-info{
        position: absolute;
        top: 30px;
        right: 5px;
        font-size: 20px;
    }
    .rwd-table.coupon-table td {
        display: flex;
        flex-wrap: wrap;
    }
    .rwd-table td:before {
        content: attr(data-th) " :";
        padding-right: 15px;
        font-weight: 300;
        font-size: 15px;
        width: 85px;
    }
    .rwd-table td.product-name:before, .rwd-table td.rwd-action:before{
        display: none;
    }
    .rwd-table td.rwd-action,
    .data-table.rwd-table tr td.rwd-action {
        position: absolute;
        top: 15px;
        right: 15px;
        height: calc(100% - 55px);
    }
    .rwd-table td.rwd-action label {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        text-align: right;
        padding: 10px 5px 0 0;
    }
    .rwd-table.return-table td:before{
        width: auto;
        margin-bottom: 10px;
    }
    .rwd-table.return-table tr td:last-child{
        padding-left: 35px;
    }
    .rwd-table.return-table tr td:last-child:before{
        display: none;
    }
    .rwd-table.coupon-table td:before {
        width: 100px;
    }
    .rwd-table td.coupon-title:before {
        display: none;
    }
    .rwd-table tbody tr {
        margin-bottom: 0;
        display: block;
        padding: 0; 
        /* border: 1px solid var(--p-main-color); */
    }
    .data-table.rwd-table tbody tr {
        margin-bottom: 15px;
        padding: 10px;
        position: relative;
    }
    .form-block .data-table.rwd-table tbody tr {
        padding: 0;
        box-shadow: none;
    }
    .form-block .data-table.rwd-table tr td {
        padding: 5px 0 !important;
    }
    .data-table.rwd-table tbody tr:last-child, .data-table.rwd-table:last-child {
        /* margin-bottom: 0; */
    }
    .rwd-table thead {
        border: 0;
    }
    .level-block .upgrade{
        padding: 15px;
    }
    .shop-cart-table.cart-table-m thead .product-quantity,
    .shop-cart-table.cart-table-m thead .product-subtotal,
    .shop-cart-table.cart-table-m thead .product-remove{
        display: none;
    }
    .cart-table-m .cart_table_title{
        display: none;
    }
    .cart-table-m .cart_table_item{
        position: relative;
        display: block;
        overflow: hidden;
        border-bottom: 1px solid #ebebeb;
        padding: 15px 0;
    }
    /* .checkout-page .shop-cart-table .pro-item{padding-right: 0;} */
    .shop-cart-table.cart-table-m td{
        display: flex;
        padding: 0;
        border: 0;
    }
    .shop-cart-table td .pro-item {
        width: 100%;
        padding-right: 30px;
        align-items: flex-start;
        font-size: 16px;
    }
    .shop-cart-table .price-old {
        /* margin: 3px 0 0 0;
        font-size: 14px; */
    }
    .form-block .cart-table-m .cart_table_item {
        padding: 10px 0;
    }
    .form-block .shop-cart-table.cart-table-m td {
        padding: 5px 10px;
    }
    .form-block .shop-cart-table.cart-table-m .product-subtotal {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 18px;
    }
    .form-block .campaign .shop-cart-table tfoot td.product-subtotal {
        position: inherit;
    }
    .form-block .shop-cart-table td .pro-item {
        padding-right: 110px;
    }
    .form-block .campaign .item-info .qty {
        line-height: 1 !important;
        margin-top: 10px;
    }
    .item-info .price, .item-info .qty{
        display: block;
        font-family: 'arial', sans-serif;
        font-size: 15px;
    }
    .shop-cart-table.cart-table-m td.product-price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        /* position: absolute; */
        /* top: 60px; */
        /* right: 0; */
    }
    .shop-cart-table.cart-table-m .product-quantity, .shop-cart-table .product-name .product-quantity {
        float: left;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        margin-left: 75px;
        margin-left: 0;
        margin-top: 10px;
        width: fit-content;
    }
    .shop-cart-table.cart-table-m .product-subtotal,
    .shop-cart-table .product-name .product-subtotal{
        float: right;
        text-align: right;
        display: block;
        line-height: 40px;
        font-size: 19px;
        margin-top: 10px;
        width: fit-content;
    }
    .shop-cart-table .product-name .product-quantity{
        display: block;
        width: 60%; 
        height: auto; 
        padding-left: 0;
        margin-top: 15px;
    }
    .shop-cart-table .product-name .product-subtotal{
        display: block;
        width: 40%;
        line-height: 20px;
        margin-top: 15px;
    }
    .shop-cart-table .product-name .product-quantity::before,.shop-cart-table .product-name .product-subtotal::before{display: none;}
    .shop-cart-table .product-quantity .storehouse {margin-left: 3px;font-size: 13px;}
    .shop-cart-table.cart-table-m .product-remove {
        position: absolute;
        top: 15px;
        justify-content: center;
        font-size: 20px;
        right: 0;
        padding: 0;
    }
    .shop-cart-table.cart-table-m .product-remove a,
    .campaign-title a i{
        font-size: 19px;
    }
    .shop-cart-table.cart-table-m .product-subtotal:before,
    .shop-cart-table.cart-table-m .product-quantity:before{
        font-size: 15px;
        content: attr(data-th) " :";
        padding-right: 5px;
        font-family: "Microsoft JhengHei", "Noto Sans", "-apple-system", "Apple Color Emoji", "sans-serif";
    }
    .shop-cart-table.cart-table-m .quantity {
        width: 160px;
    }
    .item-thumbs {
        width: 60px;  
    }
    .shop-cart-table.cart-table-m .product-quantity .qty-set{
        margin: 0;
        display: block;
    }
    .shop-cart-table.cart-table-m .product-quantity input {
        padding: 5px 7px;
        height:  40px;
        border-color: #ebebeb;
    }
    .card-select ul li {
        width: 100%;
    }
    #addToCart.modal, #delivery-notice.modal {
        top: auto;
        padding-right: 0 !important;
    }
    #addToCart .modal-dialog, 
    #delivery-notice .modal-dialog, 
    #point-cart .modal-dialog{
        margin: 0;
        min-width: 100%;
    }
    .order_list .tb_col:first-child, .tb_head .tb_col:first-child, .orders_info .tb_col:first-child, .tb_sub_head .tb_col:first-child {
        border: 0;
    }
    .tb_col, .tb_foot>.tb_col {
        width: 100%;
        border: none;
        border-bottom: 1px solid transparent;
        line-height: 25px;
        text-align: left;
        padding: 5px 0;
    }
    .col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8, .col_9, .col_10 {
        position: relative;
        width: 100%;
        float: left;
    }
    .order_list>.tb_col.order_no {
        color: #FFF !important;
        background-color: #cc0f36;
        padding: 8px 5px;
    }
    .tb_col.order_no[data-title]:before {
        color: #FFF;
        margin: 0;
        background-color: inherit;
    }
    .tb_col[data-title]:before {
        position: absolute;
        left: 0;
        content: attr(data-title);
        font-size: 15px;
        font-weight: 300;
        padding: 2px 5px;
        color: var(--p-font-color);
        margin-top: 0;
        width: 90px;
        margin-bottom: 2px;
    }
    .tb_col .orders-btn {
        display: block;
        margin: 6px 0;
        padding: 15px;
        font-size: 15px;
        letter-spacing: 1px;
    }
    .order_list .tb_col .order_type.active .orders-btn.closed {
        display: block;
    }
    .orders_detail {
        font-size: 15px;
        border: 0;
    }
    .orders_info {
        display: inline-block;
        clear: both;
        border: 1px solid #e8e8e8;
        margin-bottom: 15px;
        padding: 5px 10px;
    }
    .orders_info ul.delivery-list {
        margin-left: 1.5rem;
    }
    .orders_info .tb_col {
        padding-left: 85px;
        position: relative;
        min-height: 40px;
    }
    .hidden-xs{
        display: none;
    }
}
@media all and (max-width: 767px){

    /* .checkout-page .form-container h4, .payment-select1 h4, .member-page .form-container h4 {
        font-size: 21px;
    } */
    .form-container {
        padding: 50px 30px;
    }
    .form-container .control-label {
        width: 23%;
        float: left;
        font-size: 15px;
        }
    .form-container .controls {
    width: 77%;
    }
    .login-form.form-container .col-xs-7 .controls {
        width: 100%;
    }
    .modal-dialog.first-login .add-btn.first-buy {
        padding: 15px 35px;
        font-size: 16px;
    }
    .shop-cart-table .product-quantity {
        padding: 10px 0;
    }
    .first-login .modal-body{
        padding: 40px 20px;
        /* min-height: 100vh; */
        overflow: auto;
    }
    .checkout-page .form-container .form-block, 
    .member-page .form-container .form-block,
    .payment-select1{
        padding: 15px;
    }
    .member-page .form-container .form-block{
        margin-bottom: 15px;
    }
    .block-account .block-content > ul > li.current:after{
        display: none;
    }	
}
@media all and (max-width: 575px){
    .display-phone{
        display: block;
        margin-top: 5px;
    }
    .shop-cart-table  .event a{
        font-size: 14px;
    }
    .form-container {
        padding: 30px 0;
        background-color: transparent;
    }
    select,
    select.form-control:not([size]):not([multiple]),
    .login-btn h6 span {
        background-color: #fff;
    }
    .form-container .control-label, .form-container .controls {
    width: 100%;
    text-align: left;
    }
    .login-page {
        margin: 0;
    }
    .login-form .order-btn{
        width: 100%;
    }
    .order-btn, .add-btn {
        min-width: 150px;
        padding: 10px 30px;
    }
    .checkout-page .form-actions .order-btn,
    .page-404 .add-btn {
        width: 48%;
    }

    .input-prepend #s_state, 
    .input-prepends input{
        width: 100%;
    }
    .shop-cart-table .product-name a {
        font-size: 16px;
        line-height: 20px;
        display: inline-block;
    }
    .shop-cart-table .product-name .price {
        font-weight: normal;
    }
    .shop-cart-table  .event {
        font-size: 14px;
        /* position: absolute;
        left: 0;
        bottom: 0; */
    }
    .shop-cart-table .product-name .increase {
        margin-bottom: 5px;
    }
    .shop-cart-table.cart-table-m .product-subtotal:before,
    .shop-cart-table.cart-table-m .product-quantity:before{
        display: none;
    }
    .cart-tabs .nav-pills li {
        width: 160px;
    }
    .cart-tabs .nav-pills .nav-link {
        padding: 11px 8px 6px;
        border-radius: 8px 8px 0 0;
    }
    .form-block .shop-cart-table td .pro-item {
        padding-right: 75px;
    }
    .notice {
        text-align: left;
        font-size: 15px;
    }
    .form-container .form-group {
        padding: 10px 0;
        border-bottom: 0px dotted #e4eded;
        margin-left: 0;
        margin-right: 0;
    }
    .form-container .control-label {
        width: 100% !important;
        text-align: left;
        font-size: 17px;
    }
    .form-container .controls {
        width: 100%;
        padding-bottom: 5px;
    }
    .checkout-page .form-container h4, .payment-select1 h4, .member-page .form-container h4 {
        font-size: 23px;
    }
    .checkout-page .form-container h4 label {
        margin: 0 5px;
    }
    .block-account .block-content > ul > li {
        font-size: 15px;
        font-weight: 400;
        flex: 1;
    }
    .block-account .block-content > ul > li a {
        height: 50px;
        color: var(--p-font-color);
    }
    .fixed-button ul.button-menu li a {
        padding: 12px 0;
    }
    .fixed-button ul.button-menu li img {
        width: 25px;
        height: 25px;
    }
        .fixed-button ul.product-btn .add-btn {
        padding: 10px 0;
    }
    .fixed-button ul.button-menu li span{
        font-size: 12px;
        display: none;
    }

    .modal {
        padding-right: 0 !important;
    }
    .modal .modal-dialog {
        margin: 10px auto;
        max-width: 100%;
        width: 95% !important;
    }
    .modal-body {
        padding: 30px;
    }
    .page-error-404 {
        font-size: 110px;
    }
    .first-login .theme_title, .login-page .theme_title {
        text-align: center;
    }
    .first-login .theme_title:after, .login-page .theme_title:after {
        margin-left: -33px;
    }

    #addToCart .modal-body {
        padding: 2rem 1rem 1rem 1rem;
    }
    .trx_addons_attrib_item.trx_addons_attrib_button {
        margin: 0 0 3px 0;
        min-width: 50px;
    }
    #addToCart .product_details .thumb {
        display: none;
        }
    #addToCart.modal {
        max-height: 100%;
        overflow-y: scroll;
    }
    .input-prepend .select_container {
        width: 100%;
        margin-bottom: 5px;
        border: 1px solid #ebebeb;
    }
    .input-prepend .add-btn {
        border: 1px solid #000;
    }
    .share-link .input-prepend .add-btn {
        padding: 10px 15px;
        min-width: auto;
        font-size: 14px;
    }
    .share-link .input-prepend input {
        padding: 10px 15px;
    }
    .level-block.qrcodebox {
        padding: 15px;
    }
    .level-block.qrcodebox > .row{
        margin-right: -5px;
        margin-left: -5px;
    }
    .level-block.qrcodebox > .row > div{
        padding-right: 5px;
        padding-left: 5px;
    }
    .recommend-txt {
        font-size: 15px;
        line-height: 25px;
        margin-left: 0;
    }
    .qrcode {
        margin-bottom: 20px;
    }
    .payment-select1 ul li {
        width: 100%;
    }
    .add-btn.line-share-btn {
        width: 100%;
    }

    .reward-block{
        margin-bottom: 0;
    }
        .reward-block > div {
        margin-bottom: 30px !important;
    }
    .form-complete .reward-block .form-row > div{
        width: auto;
    }
    .form-row .input-group-append.d-none.d-sm-flex + input {
        padding-left: 5px;
    }
    .form-row .input-group-append.d-none.d-sm-flex + select {
        padding-left: 0;
    }
    .delivery-step li p span {
        font-size: 12px;
        margin: 0 2px;
    }
    .delivery-step li p span:first-child{
        font-size: 14px;
    }
    .member-page .form-block .btndrop span {
        font-size: 16px;
    }
    section.full-page.page-404 {
        padding: 4rem 0 8rem 0;
    }
    section.full-page.page-404::before, section.full-page.page-404::after {
        height: 8rem;
        max-width: 35%;
    }
    .page-404 .theme_title h3 {
        font-size: 28px;
    }
    .page-404 p {
        font-size: 17px;
        line-height: 1.3;
    }
    .page-404 .input-group {
        width: 100%;
    }
    }
    @media all and (max-width: 390px){
        .label-group label {
        width: 49%;
        }
        #addToCart .modal-body {
            padding: 15px;
        }
}
@media all and (max-width: 320px){
    .form-container {
        padding: 0;
    }
    .order-btn, .btn, .add-btn {
        min-width: auto;
    }
    .modal .modal-dialog {
        min-width: inherit;
    }
    input, select, .form-control, select.form-control:not([size]):not([multiple]), .form-control[readonly] {
        font-size: 15px;
    }
    .login-btn .add-btn {
        width: calc(100% - 10px);
    }
    .order-btn {
        width: 100%;
    }
    .order-btn + .order-btn{
        margin-top: 10px;
    }
    .notice {
        font-size: 14px;
        background-color: #f9f9f9;
        padding: 15px;
        margin-bottom: 10px;
    }
    .cart-tabs .nav-pills li{
        width: 140px;
    }
    .cart-tabs .nav-pills li + li {
        margin-left: 5px;
    }
}