/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
body, p, h1, h2, h3, h4, h5, h6, button, input, textarea, select{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif!important;
}

/* search form */
.searchwp-live-search-results-showing{
	z-index: 9999999999!important;
}
.search-form{
	display: flex;
	position: relative;
	background-color: #222222;
	border-radius: 10px;
}
.search-form label{
	width: 100%;
}
.search-form .search-field{
	background-color: #222222;
	border-style: none;
	color: #fff;
}
.search-form .search-submit{
	background-color: transparent;
	border-style: none;
	border-radius: 10px;
	color: transparent;
	border-radius: 0 10px 10px 0;
	z-index: 1;
	width: 50px;
}
.search-form:before{
	content: '';
	position: absolute;
	right: 18px;
	width: 24px;
	height: 24px;
	display: block;
	background-color: #fff;
	-webkit-mask-image: url('/wp-content/uploads/2025/02/search.svg');
	mask-image: url('/wp-content/uploads/2025/02/search.svg');
	mask-repeat: no-repeat;
	mask-size: cover;
	top: 50%;
	transform: translatey(-50%);
}
.searchwp-live-search-results-container{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.searchwp-live-search-result{
	align-items: center;
	flex-wrap: nowrap;
}
.searchwp-live-search-result--img img{
	width: 40px;
	aspect-ratio: 1/1;
	border-radius: 50%;
	object-fit: cover;
}
.searchwp-live-search-result h4{
	margin: 0;

	font-weight: 500;
}
.searchwp-live-search-result h4 a{
	color: #000;
}
.searchwp-live-search-result--price{
	font-weight: bold;
}
.searchwp-live-search-result--price ins{
	text-decoration: none;
}
.searchwp-live-search-result--price del{
	opacity: .5;
    color: #000;
    font-weight: 400;
}
.dangky-t-1 .row{
	display: flex;
	gap: 20px;
	margin: 20px 0;
}
.dangky-t-1 .row .col{
	width: 100%;
}
.wpcf7-form-control-wrap{
	display: block;
}
.wpcf7-submit{
	border-color: rgba(0, 0, 0, .05);
	color: #fff;
	background-color: #7a7a75;
	text-transform: uppercase;
	font-weight: bold;
}
@media (max-width: 740px) {
	.dangky-t-1 .row{
		flex-direction: column;
	}
}

/* single product */
.isures-ivp--related_wrap .isures-ivp--attr_item{
  box-shadow: 0 0 0 0.14rem #c4c4c5;
}
.isures-ivp--related_wrap .isures-ivp--attr_item.active{
  box-shadow: 0 0 0 0.14rem #7dbb44;
}
.isures-ivp--related_wrap .isures-ivp--attr_item.active svg{
  display: none;
}
form.cart .isures-ivp--attribute_wrap, .isures-ivp--option--info .price{
  display: none!important;
}
.ct-km {
	margin-bottom: 20px;
	padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
	width: 100%;
}
.ct-km ul {
	padding-left: 0;
	list-style-type: none;
	color: #212529;
}
.ct-km ul li{
	margin-bottom: 5px;
}
.ct-km svg {
	margin-bottom: -3px;
	fill: #7ac142;
}

.div-block-information{
	border-radius: 20px;
	border: 1px solid #dee2e6;
	padding: 10px 20px;
}
.div-block-information .box-title__title{
	font-size: 1em;
	color: #000;
	font-weight: bold;
}
.div-block-information table{
	vertical-align: top;
	text-align: left;
	border-radius: 16px;
	overflow: hidden;
}
.div-block-information table td{
	font-weight: 400;
	font-size: 13px;
	padding: 8px;
	border-width: 0 0 1px 0;
	border-color: #dee2e6;
}
.div-block-information table td:first-child{
	width: 26%;
}

div.woocommerce-variation-price,
div.woocommerce-variation-availability,
div.hidden-variable-price {
	height: 0px !important;
	overflow: hidden;
	position: relative;
	line-height: 0px !important;
	font-size: 0% !important;
}
@media (max-width: 740px) {
	.ct-km ul {
		font-size: 14px;
	}
}

/* single post */
.contact-info {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 5px;
	font-size: 16px;
}
.contact-info a {
	color: #0073aa;
	text-decoration: none;
}
.contact-info a:hover {
	text-decoration: underline;
}
.flatsome-product-grid {
  margin-top: 10px;
  gap: 10px;
}
.product-item {
  text-align: center;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}
.product-item .product-thumbnail > img{
  aspect-ratio: 1/1;
  object-fit: scale-down;
}
.product-item .name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-item .name a {
  font-size: 14px;
  color: #000!important;
}
.product-item:hover {
  transform: scale(1.05);
}
.price {
  font-size: 0.9em;
  color: #d70018;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}
.price ins {
  text-decoration: none;
  margin-top: -5px;
  display: block;
}
.price del {
  color: #111;
  font-weight: 400;
  opacity: 0.6;
}
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  font-size: 12px;
}
.star-rating {
  display: inline-block;
  font-size: 12px;
  height: 1em;
  line-height: 1;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="green"><path d="M12 17.3l6.2 3.7-1.6-7.1 5.4-4.7-7.2-.6L12 2 9.2 8.6l-7.2.6 5.4 4.7-1.6 7.1z"/></svg>') repeat-x;
  background-size: contain;
  width: calc(var(--rating) * 12px);
}
.review-count {
  margin-left: 5px;
  color: blue;
}
.product-thumbnail {
  display: block;
  position: relative;
}
.discount-label {
  position: absolute;
  top: 5px;
  left: -10px;
  background: #81d742;
  color: white;
  font-size: 12px;
  height: 40px;
  width: 40px;
  align-content: center;
  font-weight: bold;
  border-radius: 50%;
}
.single-post .button {
	padding: 10px 20px;
	font-size: 16px;
	transition: background 0.3s ease-in-out;
	margin: 10px 20px 10px 0;
	font-weight: 600;
	color: #fff!important;
	text-transform: capitalize;
	display: inline-block;
} 
.single-post .button.secondary {
	background: #81d742;
}
.single-post .button.expanded {
	width: 100%;
	text-align: center;
}
.depth-1 > .children {
	margin-left: 2em !important;
}
.custom-row{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap:15px;
}
.custom-testimonial{
	border: 1px solid #eee;
	border-radius: 16px;
	padding: 10px 20px;
	box-shadow: 0 30px 40px 0 rgba(0, 0, 0, .2);
	background-color: #f4f4f4;
}
.custom-accordion {
	margin-top: 20px;
}
.accordion-header {
	cursor: pointer;
	width: 100%;
	text-align: left;
	padding: 12px 15px;
	border: none;
	font-size: 16px;
	display: flex;
	align-items: center;
	color: #000;
	transition: font-weight 0.3s;
	border-top: 1px solid #ddd;
	transition: border-color 0.3s;
}
.accordion-item.active .accordion-header {
	font-weight: bold;
	background-color: #f7f7f7;
	border-color: #7a7a75;
}
.accordion-header svg {
	transition: transform 0.3s;
	margin-right: 20px;
}
.accordion-item.active .accordion-header svg {
	transform: rotate(180deg);
}
.accordion-body {
	display: none;
	padding: 10px 15px;
	background: #fff;
	font-size: 14px;
	color: #333;
}
.load-more-products{
	background-color: #D70018;
	font-weight: 600;
	color: #FFFFFF;
	border-radius: 4px 4px 4px 4px;
	line-height: 1.2em;
	display: block;
	margin: 10px auto;
}
.single-post .trade-price{
  font-size: 12px;
	margin: 10px 0;
	text-align: left;
}
.single-post .trade-price >div > span{
  font-weight: bold;
  color: #ff0000;
}

@media (max-width: 740px) {
	.flatsome-product-grid {
		grid-template-columns: repeat(2, 1fr)!important;
	}
	.custom-row>div{
		width: 100%!important;
	}
}

/* product category */
.subcategory-item {
  text-align: center;
	padding: 10px;
}
.subcategory-item img {
	width: 100px;
	aspect-ratio: 1 / 1;
	object-fit: scale-down;
	transition: all .3s;
	margin: 0 auto 5px;
}
.subcategory-item:hover img {
  transform: translatey(-5px);
}
.subcategory-item p {
  color: #000;
}
.subcategory-item p:hover {
  color: #7dbd44;
}
@media (max-width: 740px) {
	.subcategory-item img {
		width: 80px!important;
		margin: 0 auto!important;
	}
}

/* thu cũ */
.e-loop-item{
	cursor: pointer;
}
#hinh_anh_san_pham img{
	object-fit: scale-down;
	height: 100px;
}
.select-tinh-trang .elementor-icon-list-item{
	padding: 5px 10px;
	border-radius: 4px;
	border: 1px solid #CCC;
	margin-bottom: 10px;
	background-color: #fff;
	cursor: pointer;
}
.select-tinh-trang.battery .elementor-icon-list-items{
	display: grid;
	grid-template-columns: repeat(3,1fr);
}
.select-tinh-trang.battery .elementor-icon-list-items > li span{
	width: 100%;
	text-align: center;
}
.select-tinh-trang .elementor-icon-list-item.active, .select-tinh-trang .elementor-icon-list-item:hover{
	background-color: #0d6efd;
	border-color: #0d6efd;
}
.select-tinh-trang .elementor-icon-list-item.active span, .select-tinh-trang .elementor-icon-list-item:hover span{
	color: #fff;
}

#upgrade-price, #sell-price{
	cursor: pointer;
}
#form-thu-cu{
	display: none;
}
#form-thu-cu .e-form__buttons > span{
	align-content: center;
	margin-left: 50px;
	background: #fff;
	border: 1px solid #000;
	color: #000;
	cursor: pointer;
}
#list-sp-doi-moi .elementor-widget-loop-grid{
	display: grid;
	grid-template-columns: repeat(4,1fr);
	height: 500px;
	overflow-y: auto;
}
#list-sp-doi-moi .elementor-widget-loop-grid .e-loop-item{
	border: 1px solid #ccc;
	border-radius: .35rem;
	padding: .55rem .75rem .75rem;
	box-shadow: 0 .125rem .35rem rgb(33 37 41 / 7%);
}
#list-sp-doi-moi .elementor-widget-loop-grid .e-loop-item img{
	width: 100px;
	margin: auto;
	display: block;
}
#list-sp-doi-moi .elementor-widget-loop-grid .e-loop-item .elementor-heading-title{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4em;
	font-size: 15px;
	font-weight: 500;
	color: #000;
	margin: 5px 0px;
}
.tradeup-price-info{
	display: flex;
	flex-direction: column;
	font-size: 11px;
}
.tradeup-price-info > span{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.tradeup-price-info > span > span{
	min-width: 65px;
	max-width: 50%;
	border-radius: 4px;
	color: #fff;
	background-color: #ff0000;
	text-align: center;
	font-weight: 500;
}
.tradeup-price-info > span > b{
	font-size: 1.19em;
	color: #000;
}
@media (max-width: 740px) {
	#list-sp-doi-moi .elementor-widget-loop-grid{
		grid-template-columns: repeat(2, 1fr);
	}
}