/*
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.   ***************/
#main{background: #e8e8e8;}
.home .box-image img{height: auto !important;}
.nav-left{justify-content: center;}

.tax-product_cat .row.category-page-row .isures-filter--wrap{margin-left: -10px;margin-right: -10px;}
.tax-product_cat .row.category-page-row .isures-filter--wrap .isures_type_image{margin-bottom: 0px !important;}
.tax-product_cat .row.category-page-row .isures-scroll--wrap_dropdown{padding-left: 10px;padding-right: 10px;margin-top: 0px;}
.isures-term--filter{border: unset;border-bottom-right-radius: unset;border-bottom-left-radius: unset;}
.tax-product_cat .box-image img{max-width: 70%;width: auto;height: auto !important; max-height: 105px;}
.tax-product_cat .products.row{background: #fff;border-left: 1px solid #e8e8e8;border-top: 1px solid #e8e8e8;}
.product-small.col{border-right: 1px solid #e8e8e8;border-bottom: 1px solid #e8e8e8;background-size: 0% 1px; /* bắt đầu = 0 */transition: background-size 0.3s ease; /* tốc độ chạy */position: relative;background-image: linear-gradient(to right, #00733A 0%, #00733A 100%);background-repeat: no-repeat;background-position: left bottom;}
.product-small.col:hover {
  background-size: 100% 1px; /* chạy full chiều ngang */
}
.tax-product_cat .products.row .product-small.box{padding: 30px 10px;}
.tax-product_cat .products.row .product-small.box .box-image img{-o-object-fit: contain;object-fit: contain;}
.product-small.box{background: #fff;padding: 30px 10px;border-radius: 10px;}
img.size-full.alignnone{margin-bottom: 0px;}
.category-page-row{padding-top: 15px;}
.page-title-inner{padding-top: 10px;padding-bottom: 10px;}
ins .woocommerce-Price-amount{width: 100%;display: block;padding: 5px 0px;}
.price-wrapper .price > .woocommerce-Price-amount > bdi,.price-wrapper .price > ins> .woocommerce-Price-amount > bdi{color: #dd3333;font-size: 18px;}
.title-wrapper{position: relative;}

.box-image{text-align: center;}
.product-section{border-top: unset;}
.product-category-logo img{width: auto;height: 25px;}
.primium-images-product img, .exclusive-images-product img{width: auto !important;height: 45px;position: absolute;top: 5px;z-index: 999}
.primium-images-product img{left: 5px;}
.exclusive-images-product img{right: 5px;}

.btn-gradient{
	border: none;
  background: linear-gradient(270deg, #ff5722, #00ff10, #ee0202, #F1D037);
  background-size: 800% 800%;
  animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.product-category-logo{height: 25px;overflow: hidden;display: inline-block;position: relative;}
.text-sale-on{width: 100%;display: inline-block;position: relative;min-height: 25px;}
.saving-amount{font-size: 10px;background: #D7383B;padding: 4px 6px;border-radius: 15px;display: inline-block;width:auto;text-align: center;margin-bottom: 15px;}
.saving-amount span.woocommerce-Price-amount{color: #fff !important;}
.custom-sale-percent{padding: 5px 0px;display: inline-block;width: 100%;height: 30px;color: #f90000;margin: 0px 0px 10px 0px;}
.custom-sku-display{position: absolute;top: 4px;right: 5px;color: #333;font-size: 11px;padding: 2px 0px 2px 10px;font-weight: 500;border-radius: 5px;z-index: 10;pointer-events: none;background: #f1f1f11;}
.online-items{font-size: 12px;width: auto;display: inline-block;position: absolute;right: 0;color: #0a8559;}
.custom-icon-hot{position: absolute;right: 10px;top: 0px;z-index: 99999;}

.thong-so-ky-thuat_detail, .single-product .tab-panels .entry-content{height: 600px;min-height: 100px;overflow: hidden;/*border-right: 1px solid #e3e3e3;border-bottom: 1px solid #e3e3e3;*/text-align: justify;}
.thong-so-ky-thuat_detail{border-left: 1px solid #e3e3e3;padding: 0px;}
.thong-so-ky-thuat_detail li:nth-child(even){background: #e3e3e3;}
.thong-so-ky-thuat_detail li{padding: 0px 10px 0px 10px;}

.thong-so-ky-thuat h3,.single-product #tab-title-description a{color: #fff;background: #01743d !important;padding: 7px 10px;font-size: 16px;border-radius: 5px;line-height: 25px;}
.thong-so-ky-thuat ul li{list-style: none;padding: 10px;margin: 0px;font-size: 14px;}
.thong-so-ky-thuat ul li:nth-child(odd){background: #e3e3e3;}
.thong-so-ky-thuat ul li:nth-child(even){background: #fff;}

.single-product .single_add_to_cart_button.button{border-radius: 5px;margin-bottom: 0px;text-transform: uppercase;}
.single-product .single_add_to_cart_button.button button span{text-transform: unset !important;}
.single-product .single_add_to_cart_button, .single-product .ux-buy-now-button.button{width: 47% !important;padding-top: 8px;padding-bottom: 8px;font-weight: 600;font-size: 15px;}
.single-product .ux-buy-now-button.button{border-radius: 5px;background: #dd3333;text-transform: uppercase;}
.single-product .box-image img{height: auto !important; max-height: 105px;width: auto;}
.single-product .ux-products-list.product_list_widget .product-title{font-size: 14px;line-height: 25px;display: inline-block;}
.single-product .ux-products-list.product_list_widget del, .single-product .ux-products-list.product_list_widget ins{width: auto; display: inline-block;}
.single-product h1.product-title.entry-title{color: #01743d;}
.single-product .product_meta{margin-bottom: 0px;}

.product-title.woocommerce-loop-product__title{font-weight: 600;}

.product-small .box-image{padding-top: 0px;padding-bottom: 0px;}
#tab-reviews,#tab-title-reviews{display: none;}

.label-regular{font-weight: 500;color: #555;}
.label-sale{font-weight: 600;color: #c00; /* màu đỏ cho giá bán */}
.price-old{color: #999;margin-right: 5px;}
.price-new{width: auto;display: inline-block;}
.price-new bdi{font-size: 32px !important;font-weight: bold;color: #e60000;}


.ux-quantity.quantity,.productSpecification_title{display: none;}

.product-short-description{border-radius: 10px;border: 1px solid rgb(185, 185, 185);padding: 10px;font-size: 14px;line-height: 25px;max-height: 200px;overflow-y: auto;margin-top: 25px;}
.product-short-description ul{margin-bottom: 0px;}
.product-short-description ul li{font-size: 13px;line-height: 25px;margin-bottom: 0px;margin-left: 10px;}

.promotion-content{border: 1px solid #f00;padding: 15px 5px;margin-top: 20px;background-color: #fff;border-radius: 7px;position: relative;}
.promotion-content ul,.commit-content--wrap ul{margin-bottom: 0px;}
.promotion-content ul li,.commit-content--wrap ul li{position: relative;margin: 0 !important;list-style: none;padding: 4px 10px;padding-left: 10px;color: #444B52;font-size: 13px;padding-left: 25px;}
.promotion-content ul li::before,.commit-content--wrap ul li::before{content: "";display: inline-block;position: absolute;left: 5px;top: 8px;width: 15px;height: 15px;border-radius: 50%;background: url('https://dienmaythinhphat.com.vn/wp-content/uploads/2025/09/checked-light.svg');background-repeat: repeat;background-size: auto;background-repeat: no-repeat;background-size: cover;}
.promotion-content h2{margin-top: 0;}
.promotion-content p{margin-bottom: 0;}
.cam-ket-ban-hang{margin-top: 0px;padding: 0px;}
.cam-ket-ban-hang p{margin-bottom: 0;}
.cta-random-btn{position: fixed;bottom: 20px;left: 20px;background: #f44336;color: white;padding: 15px 25px;border-radius: 50px;font-size: 16px;text-decoration: none;box-shadow: 0 3px 10px rgba(0,0,0,0.3);z-index: 99999;display: inline-block;margin: 5px;}
.cta-buttons{position: fixed;bottom: 20px;left: 20px;background: #f44336;color: white;padding: 0px;border-radius: 50px;font-size: 16px;text-decoration: none;box-shadow: 0 3px 10px rgba(0,0,0,0.3);z-index: 99999;display: inline-block;margin: 5px;}
.phone-ctas{bottom: 150px;}
.zalo-ctas{position: fixed;bottom: 70px;left: 20px;z-index: 99999;background: transparent;}
.phone-ctas img, .zalo-ctas img{height: 50px;width: auto;}

#footer .ux-menu .ux-menu-link.menu-item .ux-menu-link__text{font-size: 14px;line-height: 23px;}
.stock-status::before {
  content: "✔️ ";
  color: #0f9d58;
}
.stock-status.out-of-stock::before {
  content: "❌ ";
  color: #d93025;
}

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


}