/*
header.site-menu+main{
	padding-top:68px;
}
*/

.woocommerce-NoticeGroup-checkout{
	box-sizing:border-box;
}

main.checkout .woocommerce-notices-wrapper{
	width:100%;
	margin-top:35px;
}

body.cart main > section, 
main.shop .woocommerce-notices-wrapper, 
main.checkout .woocommerce-notices-wrapper{
	box-sizing:border-box;
	padding:0 40px;
}

.woocommerce-notices-wrapper > .woocommerce-error, 
.woocommerce-NoticeGroup-checkout > .woocommerce-error{
	border-width:0 0 0 5px;
	border-color:#900;
	border-style:solid;
	background-color:#C00;
	color:#FFF;
}

.woocommerce-notices-wrapper > .woocommerce-error::before, 
.woocommerce-NoticeGroup-checkout > .woocommerce-error::before{
	color:#FFF;
}

article[id] .woocommerce-notices-wrapper{
	margin-top:35px;
}

article[id] .woocommerce-notices-wrapper > .woocommerce-error > li{
	color:#FFF;
}

.woocommerce .woocommerce-info, 
main.checkout .woocommerce-info{
	background-color:#4BC4D8;
	color:#FFF;
	border-color:#2BA4B8;
	border-width:0 0 0 5px;
	border-style:solid;
	text-align:center;
}

.woocommerce .woocommerce-info::before, 
main.checkout .woocommerce-info::before{
	color:#FFF;
	content:'\e016';
	position:relative;
	top:auto;
	left:auto;
	margin-right:5px;
}

body.cart main section > h1{
	font-weight:400;
	margin-top:35px;
}

.item__photo > img{
	object-fit:cover;
	width:100% !important;
}

main[role="main"]:not(class) > section > h1{
	text-align:center;
	margin:30px auto;
}

/*===Single product start===*/
.wp-video{
	margin:auto;
}

SPAN[data-currency]{
	
}

SPAN[data-currency]::before{
	content:attr(data-currency);
}

.product-intro h1 > div{
	display:flex;
}

.add-fav.add-to-wishlist > span::before, 
.add-fav.remove-from-wishlist > span::before{
	content:attr(data-label);
}

form.variations_form div.colors > label{
	
}

form.variations_form div.colors > label[data-stock="0"]::before{
	position:absolute;
	width:100%;
	height:100%;
	background-color:rgba(0, 0, 0, 0.35);
	top:0;
	left:0;
	content:'';
}

form.variations_form div.colors > label[data-stock="0"] > span::before{
	position:absolute;
	width:100%;
	height:35px;
	text-align:center;
	color:#C00;
	content:'Out of stock';
	font-size:11px;
	left:0;
	bottom:-35px;
	text-transform:uppercase;
}

.product-list__item__price.sale > .amount{
	display:block;
}

.product-intro.woocommerce .sale{
	flex-wrap:wrap;
}

.product-intro.woocommerce .sale > span.addt-text{
	flex-basis:100%;
}

.product-intro.woocommerce .sale > .amount:nth-of-type(1){
	color:#CCC;
	margin-right:10px;
}

.product-intro.woocommerce .sale > .amount:nth-of-type(1), 
.product-list__item__price.sale > .amount:nth-of-type(1){
	text-decoration:line-through;
}

.product-intro.woocommerce .sale > .amount:nth-of-type(2), 
.product-list__item__price.sale > .amount:nth-of-type(2){
	color:#AF2727;
}

.product-intro.woocommerce .sale > .amount:nth-of-type(2){
	font-weight:600;
}
/*===Single product end===*/

/*===Shop===*/
/*
main.shop .load-more > .arrow.hide, 
main.shop .load-more.success .spinner{
	display:none;
}

main.shop .load-more > .arrow.hide+.spinner{
	max-height:inherit;
}

.msg-success{
	display:none;
}

main.shop .load-more.success .msg-success{
	display:block;
}
*/
/*===Shop===*/

/*===Checkout start===*/
div.payment_method_cwtpfw > P{
	display:none;
}

div#cwtpfw_payment-data{
	padding-left:32px;
	display:none;
}

/*
form#order_review div#cwtpfw_payment-data{
	display:block;
}
*/

div#cwtpfw_payment-data+div.row{
	display:none;
}

label[for="cwtpfw_remember"]{
	display:none;
}

FIELDSET#wc-cwtpfw-cc-form{
	border:none;
}

LI.woocommerce-SavedPaymentMethods-new INPUT[name="wc-cwtpfw-payment-token"]+label, 
LI.woocommerce-SavedPaymentMethods-token INPUT[name="wc-cwtpfw-payment-token"]+label{
	position:relative;
	padding:0 0 0 30px;
}

LI.woocommerce-SavedPaymentMethods-new INPUT[name="wc-cwtpfw-payment-token"]:checked+label, 
LI.woocommerce-SavedPaymentMethods-token INPUT[name="wc-cwtpfw-payment-token"]:checked+label{
	
}

LI.woocommerce-SavedPaymentMethods-new INPUT[name="wc-cwtpfw-payment-token"]+label::before, 
LI.woocommerce-SavedPaymentMethods-token INPUT[name="wc-cwtpfw-payment-token"]+label::before{
	position:absolute;
	content:'';
	top:0;
	left:0;
	width:26px;
	height:26px;
	background-size:18px;
	background-position:50%;
	background-repeat:no-repeat;
	background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyN3B4IiBoZWlnaHQ9IjI3LjAwMnB4IiB2aWV3Qm94PSIwIDAgMjcgMjcuMDAyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNyAyNy4wMDIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiM5OTk5OTkiIGQ9Ik0wLDEzLjUwM0MwLDYuMDQ2LDYuMDQ0LDAuMDAzLDEzLjQ5OSwwbDAsMEMyMC45NTcsMC4wMDMsMjYuOTk4LDYuMDQ2LDI3LDEzLjUwM2wwLDBjLTAuMDAyLDcuNDU1LTYuMDQzLDEzLjQ5Ny0xMy41LDEzLjQ5OWwwLDBDNi4wNDQsMjcsMCwyMC45NTgsMCwxMy41MDNMMCwxMy41MDN6IE0zLDEzLjUwM0MzLjAxMSwxOS4zMDEsNy43MDEsMjMuOTkxLDEzLjQ5OSwyNGwwLDBjNS43OTctMC4wMDksMTAuNDkxLTQuNzAxLDEwLjUtMTAuNDk3bDAsMGMtMC4wMTEtNS44LTQuNzAzLTEwLjQ5Mi0xMC41LTEwLjUwMmwwLDBDNy43MDEsMy4wMTEsMy4wMTEsNy43MDMsMywxMy41MDNMMywxMy41MDN6Ii8+PC9zdmc+');
}

LI.woocommerce-SavedPaymentMethods-new INPUT[name="wc-cwtpfw-payment-token"]:checked+label::before, 
LI.woocommerce-SavedPaymentMethods-token INPUT[name="wc-cwtpfw-payment-token"]:checked+label::before{
	background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyN3B4IiBoZWlnaHQ9IjI3LjAwMnB4IiB2aWV3Qm94PSIwIDAgMjcgMjcuMDAyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNyAyNy4wMDIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIGZpbGw9IiMzOUI1NEEiIHBvaW50cz0iNy40ODgsMTQuMTA0IDkuNjA4LDExLjk4IDEyLjE1NSwxNC41MjYgMTcuMzksOS4yOTMgMTcuMzksOS4yOTUgMTkuNTEyLDExLjQxNSAxMi4xNTUsMTguNzcxICIvPjxwYXRoIGZpbGw9IiMzOUI1NEEiIGQ9Ik0wLDEzLjUwM0MwLDYuMDQ2LDYuMDQ0LDAuMDAzLDEzLjQ5OSwwbDAsMEMyMC45NTcsMC4wMDMsMjYuOTk4LDYuMDQ2LDI3LDEzLjUwM2wwLDBjLTAuMDAyLDcuNDU1LTYuMDQzLDEzLjQ5Ny0xMy41LDEzLjQ5OWwwLDBDNi4wNDQsMjcsMCwyMC45NTgsMCwxMy41MDNMMCwxMy41MDN6IE0zLDEzLjUwM0MzLjAxMSwxOS4zMDEsNy43MDEsMjMuOTkxLDEzLjQ5OSwyNGwwLDBjNS43OTctMC4wMDksMTAuNDkxLTQuNzAxLDEwLjUtMTAuNDk3bDAsMGMtMC4wMTEtNS44LTQuNzAzLTEwLjQ5Mi0xMC41LTEwLjUwMmwwLDBDNy43MDEsMy4wMTEsMy4wMTEsNy43MDMsMywxMy41MDNMMywxMy41MDN6Ii8+PC9zdmc+');
}

div.row.coupon{
	/* flex-wrap:wrap; */
}

div.row.coupon > ul.woocommerce-error{
	flex-basis:96%;
	margin:10px auto 0;
}

form.woocommerce-checkout.manual-pay > div:not(.checkout-step-6){
	display:none;
}

#deliver-address-field, 
#billdeliver-address-field, 
#billing-address-field, 
#shipping-address-field{
	position:relative;
	width:100%;
}

#deliver-address-field::before, 
#billdeliver-address-field::before, 
#billing-address-field::before, 
#shipping-address-field::before{
	position:absolute;
	content:attr(data-prefix);
	font-size:14px;
	height:48px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-weight:400;
	padding-left:15px;
}

#deliver-address-field:not([data-length])::before, 
#billdeliver-address-field[data-length]::before, 
#billing-address-field:not([data-length])::before, 
#shipping-address-field:not([data-length])::before{
	width:0;
	overflow:hidden;
}

#deliver-address-field[data-length="2"]::before, 
#billdeliver-address-field[data-length="2"]::before, 
#billing-address-field[data-length="2"]::before, 
#shipping-address-field[data-length="2"]::before{
	width:48px;
}

#deliver-address-field[data-length="3"]::before, 
#billdeliver-address-field[data-length="3"]::before, 
#billing-address-field[data-length="3"]::before, 
#shipping-address-field[data-length="3"]::before{
	width:62px;
}

#deliver-address-field[data-length="4"]::before, 
#billdeliver-address-field[data-length="4"]::before, 
#billing-address-field[data-length="4"]::before, 
#shipping-address-field[data-length="4"]::before{
	width:76px;
}

#deliver-address-field[data-length="5"]::before, 
#billdeliver-address-field[data-length="5"]::before, 
#billing-address-field[data-length="5"]::before, 
#shipping-address-field[data-length="5"]::before{
	width:90px;
}

#deliver-address-field[data-length="6"]::before, 
#billdeliver-address-field[data-length="6"]::before, 
#billing-address-field[data-length="6"]::before, 
#shipping-address-field[data-length="6"]::before{
	width:104px;
}

#deliver-address-field[data-length="2"] > input, 
#billdeliver-address-field[data-length="2"] > input, 
#billing-address-field[data-length="2"] > input, 
#shipping-address-field[data-length="2"] > input{
	padding-left:56px;
}

#deliver-address-field[data-length="3"] > input, 
#billdeliver-address-field[data-length="3"] > input, 
#billing-address-field[data-length="3"] > input, 
#shipping-address-field[data-length="3"] > input{
	padding-left:70px;
}

#deliver-address-field[data-length="4"] > input, 
#billdeliver-address-field[data-length="4"] > input, 
#billing-address-field[data-length="4"] > input, 
#shipping-address-field[data-length="4"] > input{
	padding-left:84px;
}

#deliver-address-field[data-length="5"] > input, 
#billdeliver-address-field[data-length="5"] > input, 
#billing-address-field[data-length="5"] > input, 
#shipping-address-field[data-length="5"] > input{
	padding-left:98px;
}

#deliver-address-field[data-length="6"] > input, 
#billdeliver-address-field[data-length="6"] > input, 
#billing-address-field[data-length="6"] > input, 
#shipping-address-field[data-length="6"] > input{
	padding-left:112px;
}
/*===Checkout end===*/

/*===My account start==*/
div.account__setting ul.woocommerce-message, 
div.account__setting ul.woocommerce-error{
	margin:1em 0 0;
}

body.log-in-page main > section{
	margin:auto;
	width:100%;
	max-width:1080px;
}

body.log-in-page main > section > h1{
	margin-top:35px;
	margin-bottom:20px;
}

/*
body.log-in-page main > section H2, 
body.log-in-page main > section form.woocommerce-form{
	margin-top:25px;
}
*/

body.log-in-page main > section form.woocommerce-form{
	margin-top:25px;
}

form[name="applyRepair"] > .woocommerce-error{
	margin:10px 0 0;
}

div.repair-list{
	padding:0 10px 15px;
}

div.repair-list:not(:nth-last-child(1)){
	margin-bottom:15px;
	border-bottom:dotted 1px #999;
}

div.repair-list .date{
	margin:0 0 5px;
	line-height:100%;
	font-size:.8rem;
}

div.repair-list > div{
	display:flex;
}


div.repair-list span{
	font-size:.9rem;
}

div.repair-list span:first-child{
	color:#999;
	flex-basis:80px;
}

div.repair-list span:last-child{
	color:#333;
}

.item__info__group .application{
	display:flex;
}

#myaccount-order-list .item__info__group .application > a{
	margin:0 0 0 5px;
}

#myaccount-order-list .item__info{
	flex-basis:min-content;
}

#modal__termination .woocommerce-error > li{

	/*
	 * /checkout 時 padding-left 35px 有點問題
	 * 結構 form.woocommerce-checkout > div.woocommerce-NoticeGroup-checkout > ul.woocommerce-error > li
	 * 需確認終止續約頁面的結構
	 */
	padding-left:35px !important;

}

#myaccount-order-list .current .btn.disabled{
	opacity:0.75;
	cursor:default;
}

#myaccount-order-list .current .btn.disabled:hover{
	border-color:#e3e3e3;
	background-color:#FFF;
	color:#777;
}

#add_payment_method .tappay-container{
	padding:0;
	display:block;
}

#add_payment_method .tpfield{
	border:none;
	padding:0 15px;
	max-width:none;
}

#card-number > iframe, 
#card-expiration-date > iframe, 
#card-ccv > iframe{
	float:none !important;
}

#card-number > iframe{
	width:200px !important;
}

#card-expiration-date > iframe, 
#card-ccv > iframe{
	width:100px !important;
}

#modal__change-creditcard .woocommerce-error > li{
	margin-left:30px !important;
}

#add_payment_method .btn-wrap.loading{
	position:relative;
}

#add_payment_method .btn-wrap.loading::before{
	content:'';
	background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgc3R5bGU9Im1hcmdpbjphdXRvO2Rpc3BsYXk6YmxvY2s7IiB3aWR0aD0iMjAwcHgiIGhlaWdodD0iMjAwcHgiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMzAiIHN0cm9rZT0iIzRiYzRkOCIgc3Ryb2tlLXdpZHRoPSIyMCIgZmlsbD0ibm9uZSI+PC9jaXJjbGU+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMzAiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxMCIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgZmlsbD0ibm9uZSI+ICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMXMiIHZhbHVlcz0iMCA1MCA1MDsxODAgNTAgNTA7NzIwIDUwIDUwIiBrZXlUaW1lcz0iMDswLjU7MSI+PC9hbmltYXRlVHJhbnNmb3JtPiAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlLWRhc2hhcnJheSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMXMiIHZhbHVlcz0iMTguODQ5NTU1OTIxNTM4NzYgMTY5LjY0NjAwMzI5Mzg0ODgyOzk0LjI0Nzc3OTYwNzY5MzggOTQuMjQ3Nzc5NjA3NjkzNzc7MTguODQ5NTU1OTIxNTM4NzYgMTY5LjY0NjAwMzI5Mzg0ODgyIiBrZXlUaW1lcz0iMDswLjU7MSI+PC9hbmltYXRlPjwvY2lyY2xlPjwvc3ZnPg==');
	background-position:50%;
	background-repeat:no-repeat;
	background-size:100%;
	width:50px;
	height:50px;
}

#add_payment_method .btn-wrap.loading > button{
	display:none;
}

.account__prescription .woocommerce-notices-wrapper{
	margin-bottom:70px;
}
/*===My account end==*/

div.account__order > div.woocommerce-notices-wrapper{
	margin-top:0;
}

ul.woocommerce-error > li::before{
	display:none;
}

span.password-input{
	width:100%;
}


/*===Mini cart===*/
#minicart-dropdown .btn--installment{
	cursor:default;
}

#minicart-dropdown .btn--installment:hover{
	background-color:#59c2ed;
}
/*===Mini cart===*/

/*===DEV===*/
main.checkout form.woocommerce-checkout div.field{
	/* max-height:none !important; */
}
/*===DEV===*/

/*===Debug===*/
/*
 * 因為 <head> 中的 html{margin-top:32px !important}
 * 顯示 admin bar 時，build/js/vendor/select2.js 會造成偏移
 * 若用 WooCommerce 的 selectWoo.js 取代 select2.js 則會正常顯示
 * 目前暫時用 margin-top:-32px 處理
 */
body.admin-bar > .select2-container{
	margin-top:-32px;
}

/*===Thank you page===*/
body.woocommerce-order-received .woocommerce-order-details, 
body.woocommerce-order-received .woocommerce-customer-details{
	display:none;
}
/*===Thank you page===*/

@media only screen 
and (min-width: 320px) 
and (max-width: 782px){

	.shop .slick-slider{
		touch-action:auto;
		ms-touch-action:auto;
	}

	body.log-in-page section > h1, 
	body.log-in-page .u-column1.col-1 > h2, 
	body.log-in-page .u-column2.col-2 > h2{
		font-size:22px;
		padding:0 15px;
		margin:0;
	}

	iframe{
		max-width:100%;
		width:auto;
		height:auto;
	}

	li.cw-ppmm_do-log-in, 
	li.menu-item-1387{
		display:none;
	}

}