/*
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.   ***************/
p.price.product-page-price.price-on-sale del .woocommerce-Price-amount.amount{
	font-size: 100%;
}
h1, h2, h3, h4, h5, h6 {
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 
}
@keyframes runglac{
	0% {
		-webkit-transform: rotate(0) scale(1) skew(1deg);
		transform: rotate(0) scale(1) skew(1deg);
	}
	10% {
		-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
		transform: rotate(-25deg) scale(1) skew(1deg);
	}
	20% {
		-webkit-transform: rotate(25deg) scale(1) skew(1deg);
		transform: rotate(25deg) scale(1) skew(1deg);
	}
	30% {
		-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
		transform: rotate(-25deg) scale(1) skew(1deg);
	}
	40% {
		-webkit-transform: rotate(25deg) scale(1) skew(1deg);
		transform: rotate(25deg) scale(1) skew(1deg);
	}
	50% {
		-webkit-transform: rotate(0) scale(1) skew(1deg);
		transform: rotate(0) scale(1) skew(1deg);
	}
	100% {
		-webkit-transform: rotate(0) scale(1) skew(1deg);
		transform: rotate(0) scale(1) skew(1deg);
	}
}
.runglac{
	margin-right: 5px;
	-webkit-animation: runglac 1s infinite ease-in-out;
	animation: runglac 1s infinite ease-in-out;
	-webkit-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}
/* Home page - trang chủ */
.sc__wc .icon-box:not(:last-child){
	margin-bottom: 30px;
}
.sc__wc .icon-box .icon-box-text h3{
	padding-bottom: 0;
	margin-bottom: 0;
}
.sc__wc .icon-box .icon-box-img{
	border-radius: 100px;
	padding: 10px;
	background: linear-gradient(90deg, #fdc97d, #d0a73c);
	transition: 0.6s;
}
.sc__wc.wc--not_circle .icon-box .icon-box-img{
	border-radius: unset;
	background: unset;
}
.sc__wc .icon-box:hover .icon-box-img{
	transform: rotateY(180deg);
}
.sc__wc .icon-box .icon-box-img img{
	padding-top: 0;
	margin-top: 0;
}
/* End home page */
/* Footer */
footer#footer .section-bg.fill{
	background-image: url('/wp-content/uploads/2024/10/footer_pattent.png');
}
.z-index{
	z-index: 9;
}
.absolute-footer {
	display: none;
}
/* End footer */
.contact_support {
	display: none;
	position: sticky;
	top: 200px;
	height: auto;
	width: auto;
	border-radius: 12px;
	max-width: 100% !important;
	background: #fff;
	z-index: 1000;
	box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.8);
	overflow: hidden;
}
/* Single product */
.product-short-description{
	max-height: 300px;
	overflow-y: scroll; 
	overflow-x: hidden;
}
/* Custom scrollbar for product short description */
.product-short-description {
	overflow-y: auto; /* Enables vertical scrolling */
	max-height: 300px; /* Set a max height to trigger scrolling */
	margin-bottom: 10px;
}
.product-price-container.is-large{
	margin-top: 10px;
}
/* Scrollbar styling */
.product-short-description::-webkit-scrollbar {
	width: 8px; /* Width of the scrollbar */
}

.product-short-description::-webkit-scrollbar-thumb {
	background-color: var(--primary-color); /* Scrollbar thumb color */
	border-radius: 10px; /* Round edges */
}

.product-short-description::-webkit-scrollbar-thumb:hover {
	background-color: #ff5555; /* Scrollbar thumb color on hover */
}

.product-short-description::-webkit-scrollbar-track {
	background-color: #f1f1f1; /* Scrollbar track color */
}
.woocommerce-billing-fields p{
	width: 100%;
}
.contact_support .button.single_add_to_cart_button.button.alt{
	display: none
}
/* Danh mục sản phẩm */
.is-divider.small{
	display: none;
}
#shop-sidebar{
	box-shadow: 2px 2px 4px 4px rgba(0,0,0,0.05);
	border-radius: 8px;
	padding: 8px;
	background: #fff;
}
.widget-title.shop-sidebar {
	text-align: center;
	display: block;
	padding: 10px 8px;
	background: var(--fs-color-secondary);
	line-height: 1;
	margin: 0 0 10px 0;
	color: var(--primary-color);
	border-radius: 4px;
}
/* trang giỏ hàng */
.wc-block-grid .wc-block-grid__products{
	flex-wrap: nowrap;
}
a.wp-block-button__link.add_to_cart_button.ajax_add_to_cart{
	background: var(--primary-color);
}
.post-sidebar.large-3.col{
	padding: 0;
}
.post-sidebar #secondary a{
	color: var(--fs-color-secondary);
}
.post-sidebar #secondary a:hover{
	color: var(--primary-color);
}
.post-sidebar #secondary{
	box-shadow: 0 0 2px 4px rgba(0,0,0,0.05);
	border-radius: 4px;
	padding: 15px 8px;
	background: #fff;
}
.recent-blog-posts a{
	display: -webkit-box;         
	-webkit-line-clamp: 2;         
	-webkit-box-orient: vertical;
	overflow: hidden;            
	text-overflow: ellipsis;   
	padding-bottom: 0;
	margin-bottom: 0;
	color: var(--fs-color-secondary);
}
.recent-blog-posts a:hover{
	color: var(--primary-color);
}
.widget-title{
	display: inline-block;
	text-align: center;
	width: 100%;
	background: var(--fs-color-secondary);
	color: #fff;
	padding: 8px;
	line-height: 1;
	border-radius: 4px;
} 
.widget{
	margin-bottom: 8px;
}
.tab-products .tab a{
	color: #fff;
	padding: 5px 20px;
	border-radius: 4px;
	border: 2px solid #fff;
}
.is-divider{
	display: none;
}
.sc_blog .box-text{
	background: var(--primary-color);
}
.tab-products .tab {
	padding: 5px;
	border-radius: 4px;
	font-weight: 500;
	min-width: 100px;
	background: var(--primary-color);
	color: #fff;
	transition: background-color 0.3s ease;
	margin-right: 12px;
}
.tab-products .tab:hover a{
	color: var(--fs-color-secondary);
}
.tab-products .tab.active{
	background: var(--fs-color-secondary);
	color: var(--primary-color);
}
.tab-products .tab.active a{
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}
.custom-product-page .info-products span.woocommerce-Price-amount.amount{
	font-size: 180%;
	color: red;
}
#copyButton {
    background-color: #4CAF50;
    color: white;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 9px;
	margin-left: 10px;
    cursor: pointer;
	padding: 2px 12px;
    border-radius: 4px;
}

#copyButton:hover {
    background-color: #45a049;
}

#copyMessage {
    margin-top: 10px;
}

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


}

@media (max-width: 541px){
	.sc__wc .icb__mb--right .icon-box-img{
		order: -1;
	}
	.sc__wc .icb__mb--right .icon-box-text{
		text-align: left;
		padding-left: 1em;
		padding-right: 0;
	}
	.sc__wc .icon-box .icon-box-img{
		width: 60px !important;
	}
	.sc__wc .icon-box{
		margin-bottom: 10px !important;
	}
	.icb__mb--right{
		padding-bottom: 0;
	}
	.sc__wc .icon-box{
		display: block;
	}
	.sc__wc .icon-box .icon-box-img{
		text-align: center;
		margin: 0 auto;
		display: block;
	}
	.sc__wc .icon-box .icon-box-text{
		padding: 0;
		text-align: center;
	}
	.sc__wc .icon-box .icon-box-text p{
		font-size: 13px;
	}
	.sc__tieuchuan h5{
		font-size: 12px;
	}
	.sc__tieuchuan p{
		font-size: 11px;
	}
	.contact_support{
		position: fixed;
		bottom: 5px;
		top: unset;
		right: 10px;
		left: 10px; 
		width: 95%;
		margin: 0 auto;
		max-width: 100% !important;
	}
	.cart button.single_add_to_cart_button.button.alt,
	button.ux-buy-now-button.button.primary.ml-half{
		width: 100%;
	}
	.contact_support .add-to-cart-container.form-normal.is-small,
	.contact_support .product-price-container.is-normal{
		display: inline-block;
		margin-right: 10px;
	}
	.contact_support form{
		margin-bottom: 0;
	}

	.contact_support button.single_add_to_cart_button.button.alt{
		display: none;
	}
	.contact_support .cart button.single_add_to_cart_button.button.alt,
	.contact_support button.ux-buy-now-button.button.primary.ml-half{
		width: auto;
	}
	.product-small .box-text.text-center.is-xlarge {
		font-size: 90%;
	}
	.home ul.nav.nav-simple.nav-uppercase.nav-size-normal.nav-center {
		display: block;
		text-wrap: nowrap;
		overflow: scroll;
	}
	li.html.custom.html_topbar_left {
		text-align: center;
	}
	.product-small .box-text.box-text-products{
		padding: 5px;
	}
	footer#footer .ux-menu.stack.stack-col.justify-start.ux-menu--divider-solid{
		justify-content: flex-start;
		flex-direction: row;
		flex-wrap: wrap;
		column-gap: 30px;
	}
	footer#footer .ux-menu-link.flex.menu-item{
		display: inline-flex;
	}
	footer#footer .ux-menu-link__link.flex{
		border-bottom: none;
	}
	.info-banking{
		display: flex;
		flex-wrap: wrap;
	}
}