/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/*
.grid-product .product-title{
	height: auto !important;
}
.grid-product .product-title a{
	overflow: hidden;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 1.1em;
	padding: 5px 0;
}


.box-text-products .product-title{
	height: auto !important;
}


.box-text-products .product-title a{
	overflow: hidden;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 1.1em;
	padding: 5px 0;
}
*/
.product-gallery-slider__indexing{
	display: none;
}
@media only screen and (max-width: 767px) {
	.product-gallery-slider__indexing{
		position: absolute;
		bottom: 10px;
		right: 10px;
		padding: 5px 12px;
		font-size: 16px;
		opacity: .65;
		background: #fff;
		color: #000;
		border-radius: 12.4px;
		border: 1px solid rgba(0,0,0,.2);
		line-height: 1;
		display: block;
	}
	.product-main .product-thumbnails {
  		display: none;
	}
}

/*
Để sticky add to cart - button Add to card xuống dòng
*/

.sticky-add-to-cart--active{
	display: grid;
	z-index: 9999;
}
.sticky-add-to-cart--active .sticky-add-to-cart__product{
	gap: 5px;
}
.sticky-add-to-cart--active .single_add_to_cart_button{
	justify-self: center;
}
.sticky-add-to-cart--active .mini-coupon,
.sticky-add-to-cart--active .aff-copy-button,
.sticky-add-to-cart--active .aff-copy-button > input,
.sticky-add-to-cart--active .aff-text-commission{
	margin: 0;
}


/*
Product css
*/
.single-product .section-content{
	z-index: initial;
}

.products .box,
.grid-product .box,
.related .box,
.product-small.box{
	border: none !important;
}
.products .box-text-products,
.grid-product .box-text-products,
.related .box-text-products,
.box-text-products{
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.products .price-wrapper,
.grid-product .price-wrapper,
.related .price-wrapper,
.box-text-products .price-wrapper{
	margin-top: 8px !important;
	display: flex;
	align-items: center;
	width: 100%;
}
.products .price-wrapper .bubble-sale,
.grid-product .price-wrapper .bubble-sale,
.related .price-wrapper .bubble-sale,
.box-text-products .price-wrapper .bubble-sale{
	height: auto;
	line-height: 1;
	padding: 2px 5px;
}
.products .price-wrapper .price,
.grid-product .price-wrapper .price,
.related .price-wrapper .price,
.box-text-products .price-wrapper .price{
	font-size: 18px !important;
	margin: 0 !important;
}
.single-product-price{
	display: flex;
	width: 100%;
}
.single-product-price .amount{
	font-size: 28px !important;
}
.products .price-wrapper del,
.grid-product .price-wrapper del,
.related .price-wrapper del,
.products .price-wrapper .product-sold,
.grid-product .price-wrapper .product-sold,
.related .price-wrapper .product-sold,
.box-text-products .price-wrapper del,
.box-text-products .price-wrapper .product-sold,
.single-product-price del{
	font-size: 13px !important;
	color: #888 !important;
	vertical-align: baseline;
}
.single-product-price del {
	display: flex;
	align-self: center;
	margin-left: 5px;
}
.single-product-price del .amount {
	font-size: 14px !important;
}
.single-product-price .bubble-sale{
	display: flex;
	padding: 5px 8px;
	font-size: 14px;
}
.sticky-add-to-cart button.single_add_to_cart_button{
	width: auto !important;
	height: auto !important;
}

.products .price-wrapper .product-sold,
.grid-product .price-wrapper .product-sold,
.related .price-wrapper .product-sold,
.box-text-products .price-wrapper .product-sold{
	margin-left: 3px;
	margin-right: 5px;
	margin-top: 4px;
}

/*Buy now*/
.sticky-add-to-cart:not(.sticky-add-to-cart--active){
	display: grid;
	grid-template-columns: auto 1fr 1fr;
	grid-gap: 15px;
}
.sticky-add-to-cart:not(.sticky-add-to-cart--active) .quantity{
	margin: 0;
}
.sticky-add-to-cart .single_add_to_cart_button:not(.single_buy_now_button){
	background-color: #fcb900 !important;
}
.sticky-add-to-cart:not(.sticky-add-to-cart--active) .single_add_to_cart_button{
	grid-column: span 2;
	margin: 0;
	width: auto;
}
.sticky-add-to-cart:not(.sticky-add-to-cart--active) .single_buy_now_button{
	grid-column: span 3;
	margin: 0;
	width: 100%;
	padding-top:8px;
	padding-bottom: 2px;
}
/*Temu Add to cart*/
.button.clickbot-add-to-cart{
	width: 43px;
	height: 28px;
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	-webkit-justify-content: center;
	align-items: center;
	-webkit-align-items: center;
	flex-direction: row;
	cursor: pointer;
	position: relative;
	padding: 0 10px 0 9px;
	background: none;
	border: none;
	margin: 0;
	box-shadow:none;
	line-height: 1;
	min-height: 0;
	align-self: center;
	margin-left: auto;
}
.button.clickbot-add-to-cart::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 15px;
	background: #fff;
	border: 1px solid #222;
	transition: width .15s ease,height .15s ease;
}
.button.clickbot-add-to-cart:hover::before{
	transform: scale(1.08);
	background: #fff;
	border: 1.5px solid #222;
}
.button.clickbot-add-to-cart span{
	position: relative;
	z-index: 10;
	width: 24px;
	height: 24px;
	display: inline-block;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 version=%221.1%22 xmlns:xlink=%22http://www.w3.org/1999/xlink%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22M4.599 4.828c.424 0 .86.082 1.333.367a2.55 2.55 0 0 1 1.04 1.236l.08.212.033.131.434 2.652.736 4.669c.08.49.477.86.961.914l.123.007h8.139c.498 0 .928-.334 1.062-.823l.027-.125 1.14-6.106a.9.9 0 0 1 1.783.218l-.014.112-1.136 6.084a2.9 2.9 0 0 1-2.686 2.435l-.176.005H9.339a2.9 2.9 0 0 1-2.862-2.437l-.852-5.397-.299-1.818-.025-.066a.781.781 0 0 0-.228-.312l-.07-.049a.753.753 0 0 0-.307-.103L4.6 6.628H2.6a.9.9 0 0 1-.113-1.793l.113-.007h1.999Zm8.958-.028a.9.9 0 0 1 .893.787l.007.113v1.7h1.7a.9.9 0 0 1 .113 1.793l-.113.007h-1.7v1.7a.9.9 0 0 1-1.793.113l-.007-.113V9.2h-1.7a.9.9 0 0 1-.113-1.793l.113-.007h1.7V5.7a.9.9 0 0 1 .9-.9Zm-3.96 15.628a1.2 1.2 0 1 0 0-2.399 1.2 1.2 0 0 0 0 2.4Zm7.682 0a1.2 1.2 0 1 0 0-2.399 1.2 1.2 0 0 0 0 2.4Z%22%3E%3C/path%3E%3C/svg%3E");
}

.sticky-add-to-cart:not(.sticky-add-to-cart--active) .slide-add-to-cart{
	grid-column: span 3;
}
.sticky-add-to-cart--active .single_buy_now_button{
	margin-left: 15px;
	padding-left: 55px !important;
	padding-right: 55px !important;
	font-size: 1em;
}

@media (max-width: 800px){
	.row-small > .col, .row-small > .flickity-viewport > .flickity-slider > .col{
		padding-right: 2px;
		padding-left: 2px;
	}
	.products .price-wrapper del, 
	.grid-product .price-wrapper del, 
	.related .price-wrapper del, 
	.box-text-products .price-wrapper del,
	.products .price-wrapper .bubble-sale, 
	.grid-product .price-wrapper .bubble-sale, 
	.related .price-wrapper .bubble-sale, 
	.box-text-products .price-wrapper .bubble-sale{
		display: none;
	}
		.products .price-wrapper .price, .grid-product .price-wrapper .price, .related .price-wrapper .price, .box-text-products .price-wrapper .price{
			font-size: 14px !important;
		}
		.products .price-wrapper del, .grid-product .price-wrapper del, .related .price-wrapper del, .products .price-wrapper .product-sold, .grid-product .price-wrapper .product-sold, .related .price-wrapper .product-sold, .box-text-products .price-wrapper del, .box-text-products .price-wrapper .product-sold, .single-product-price del{
			font-size: 12px !important;
		}
	.button.clickbot-add-to-cart{
		width: 33px;
		height: 23px;
		margin-right: 5px;
	}
	.button.clickbot-add-to-cart span{
		width: 17px;
		height: 17px;
	}	
	.products .price-wrapper .product-sold, .grid-product .price-wrapper .product-sold, .related .price-wrapper .product-sold, .box-text-products .price-wrapper .product-sold {
		margin-top: 0 !important;
	}
}