.swatch-element {
	position: relative;
	margin: 8px 10px 0px 0px;
}
.swatch-element.color {
	margin: 8px 15px 0px 0px;
}


.swatch-element.color + .tooltip {
	z-index: -1;
	white-space: nowrap;
}
.swatch-element.color:hover + .tooltip {
	opacity: 1;
	z-index: 100;
	top: -30px;
	min-width: 30px;
	background: #000;
	color: #fff;
	padding: 4px 6px;
	font-size: 10px;
	border-radius: 4px;
}
.swatch-element.color:hover + .tooltip:after {
	content: '';
	position: absolute;
	left: 16px;
	bottom: -3px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 3px 2.5px 0 2.5px;
	border-color: #000 transparent transparent transparent;
}
.swatch-element label {
	padding: 10px;
	font-size: 14px;
	border-radius: 6px;
	height: 30px !important;
	min-width: auto !important;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.swatch .swatch-element.soldout {
	pointer-events: none;
}
.swatch .swatch-element.soldout label, .swatch .swatch-element.soldout input:checked + label {
	border: 1px solid #ddd;
	color: #ddd;
}
.swatch-element input {
	width: 100%;
	height: 100%;
	opacity: 0;
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	cursor: pointer;
}
.swatch .swatch-element:not(.soldout) input:checked + label {
	border-color: var(--primary-color) !important;
	color: var(--primary-color);
	position: relative;
}

.swatch .swatch-element input:checked + label:after {
	content: none;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfkCw8RJSHXzNuNAAAAfElEQVQoz7WRsQ2CYBQGLwRCaLRkDwqdwcLCSZjCmj2AgtoJXMbEUquzEAz+8Je89r675sGG59ka0ig+0ZFbJDGbgRwoAXemi/hb1QZw793ebB739cPgTdV2qvzZAFY+VL+VwB4nB59j5RLYhBVXcTBZw7NJDAN49LrFyz67GnkMHStx0wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xNVQxNzozNzozMyswMDowMGfDTJEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTVUMTc6Mzc6MzMrMDA6MDAWnvQtAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==");
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 0px;
	right: 0;
	width: 6px;
	height: 6px;
}
.swatch .swatch-element input:checked + label:before {
	content: none;
	padding: 4px;
	font-size: 10px;
	line-height: 1;
	position: absolute;
	top: -15px;
	right: -13px;
	background: var(--primary-color);
	width: 26px;
	height: 24px;
	transform: rotate(45deg);
}
.swatch .color label {
	width: 24px;
	min-width: unset !important;
	height: 24px !important;
	line-height: 24px !important;
	border-radius: 6px !important;
	margin-top: 8px;
}
.swatch .color label:before {
	content: none;
}
.swatch {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 0 0 10px;
}
.swatch .header {
	font-weight: bold;
	padding-right: 20px;
	min-width: 115px;
	color: #333;
}
.swatch .color label {
	position: relative;
	z-index: 2;
	border-radius: 100% !important;
}
.swatch .color span {
	content: '';
	position: absolute;
	width: 30px;
	height: 30px;
	border-radius: 100%;
	background: #fff;
	top: 50%;
	left: 50%;
	z-index: 0;
	transform: translate(-50%, -50%);
}
.swatch .color input:checked + label {
	border-color: #eee !important;
}
.swatch .color input:checked ~ span {
	opacity: 1;
	border: 2px solid var(--primary-color);
}
.quick-view-product .swatch {
	padding: var(--block-spacing) 0;
}
.item_product_main .swatch-element.color {
	margin-right: 5px;
	margin-top: 5px;
}
.item_product_main .swatch .color label {
	width: 26px;
	height: 26px!important;
	line-height: 26px!important;
	padding: 0;
}
/** Product infor **/
.product-detail-left {
	border-top-left-radius: 0.25rem;
	border-bottom-left-radius: 0.25rem;
}
.details-product .details-pro {
	--block-spacing: 10px;
	border-top-right-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}
.title-product, .title-product a {
	font-weight: 700;
	font-size: 20px;
	color: var(--text-color)
}
@media (max-width: 767px) {
	.title-product {
		font-size: 1.2rem;
	}
	/*.details-product .details-pro .form-product{
		display: flex;
 		flex-direction: column;
	}
	.product-gift-mobile{
		order: 99
	}*/
}
.details-pro .group-status .line {
	color: #999;
}
.details-pro .group-status {
	font-size: 14px;
}
@media (max-width: 575px) {
	.details-pro .group-status .line {
		display: none;
	}
}
.status_name, .status_name a {
	color: #007bff;
}
.details-product .details-pro .price-box {
	position: relative;
	margin: 15px 0 10px;
	background: #f1f1f1;
	border-radius: 4px;
	display: block;
}
.details-product .details-pro .product-badge {
	display: block;
}
.details-product .details-pro .product-price {
	font-size: 20px;
	color: var(--price-color);
	line-height: 24px;
	font-family: inherit;
	font-weight: 700;
}
.details-product .details-pro .product-price-old {
	font-size: 16px;
}

.button_actions .btn_base {
	width: 100%;
}
.button_actions {
	display: flex;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
.button_actions .btn {
	transition: all 0.3s ease;
	font-weight: 700;
	text-decoration: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-flow: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	height: 55px;
	font-size: 14px;
	line-height: 20px;
	padding: 5px 10px;
	line-height: 42px;
}
.button_actions .btn span {
	/*font-weight: 400;*/
	font-size: small;
	text-transform: uppercase;
}
.buynow, .quick-view-product .button_actions .btn-cart {
	grid-column: 1 / -1;
	background-color: var(--buynow-bg);
	color: var(--buynow-text-color);
}
quick-view-product .button_actions .btn-cart{
	width: 100%
}
.buynow{
	line-height: 20px !important;
}
.buynow:hover {
	color: var(--buynow-text-color);
	opacity: .8;
}
.button_actions .btn-cart, .btn-installment {
	background-color: #fff;
	color: var(--buynow-bg);
	border: 1px solid var(--buynow-bg);
	margin-top: 10px;
	width: calc(50% - 5px);
}
.button_actions .btn-cart:hover, .btn-installment:hover {
	background-color: var(--buynow-bg);
	color: #fff;
}
.button_actions .btn-cart {
	margin-right: 5px;
}
.btn-installment {
	margin-left: 5px;
}
.button_actions .btn:only-child, .button_actions .btn.is-full {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	text-transform: uppercase;
}
.button_actions .btn-cart strong {
	font-size: 16px;
}
.button_actions .btn-cart:hover, .btn-installment:hover {
	filter: brightness(1.2);
}
@media (max-width: 575px) {
	.button_actions .btn {
		min-width: 100%;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
}
.quick-view-product .button_actions .btn-cart{
	width: 100%
}
.button_actions .btn_contact{
	background-color: var(--buynow-bg);
  	color: var(--buynow-text-color);
}
.soluong.show {
	//display: grid;
}
.soluong {
	align-items: center;
	grid-template-columns: 80px 1fr;
	margin-bottom: 20px;
}
.soluong label {
	margin: 0;
	font-weight: bold;

}
#ega-sticky-addcart .soluong {
	margin-bottom: 0;
}
.soluong label {
	color: #727272;
	justify-content: flex-start;
}
.input_number_product, .custom-btn-number {
	border: none;
	display: flex;
	min-height: 36px;
	height: 100%;
	margin-bottom: 0;
	margin-top: 0;
	align-items: center;
}
button.btn.btn_num {
	border-radius: 0;
	padding: 4px;
	width: 30px;
	border: 1px solid #ced4da;
	height: 100%;
	width: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8c9196;
}
button.btn.btn_num.num_1 {
	border-right: none;
	border-radius: 4px 0 0 4px;
}
button.btn.btn_num.num_2 {
	border-radius: 0 4px 4px 0;
	border-left: none;
}
.prd_quantity {
	border: 0;
	width: 55px !important;
	text-align: center;
	border-top: 1px solid #ced4da;
	border-bottom: 1px solid #ced4da;
	border-radius: 0;
	height: 100%;
}
.details-product .details-pro .price-box, #ega-sticky-addcart .price-box {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	background: transparent;
	padding-left: 0;
	padding-right: 0;
	margin-top: calc(var(--block-spacing) * 2);
	column-gap: 4px;
}
#ega-sticky-addcart .price-box {
	border-top: none;
}
.details-product .price-box .label_product, #ega-sticky-addcart .label_product {
	border-radius: 4px;
	background: var(--label-background);
	color: var(--label-color);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	padding: 3px 8px;
	font-weight: bold;
	margin-left: 10px;
}
.product-price-old {
	color: #979797 !important;
	margin-left: 5px;
	font-size: 14px;
	font-weight: normal;
}
.product-price-old:empty{
	display: none
}
.save-price {
	font-size: 14px;
	width: 100%;
}
.save-price span {
	color: var(--price-color);
}
.details-product .quickview-info .price-box {
	margin-top: var(--block-spacing);
	padding-top: var(--block-spacing);
	padding-top: var(--block-spacing);
}
.quick-view-product .product-summary ul{
	padding-left: 20px;
}

.icon-button-play {
	width: 20px !important;
}
.product-promotion {
	background-color: var(--body-background);
	padding: 10px;
	margin-bottom: 10px;
}
.product-promotion__heading {
	color: #fff;
	margin-bottom: 8px;
	background-color: var(--primary-color);
	font-size: 14px;
	font-weight: 700;
	padding: 5px 10px;
}
.product-promotion ul {
	margin-bottom: 0;
	border-radius: 4px;
	padding: 8px 8px 8px 28px;
	background: #fff
}
.product-promotion ul li {
	padding: 3px 0;
}
.product-specifications table {
	border-collapse: unset;
	border-spacing: 0;
}
.product-specifications table, #specification-modal table {
	max-width: 100%;
}
.product-specifications table td {
	padding: 8px;
	border-right: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}
.product-specifications table tr:nth-of-type(odd) {
	background-color: var(--body-background);
}
.product-specifications table tr:first-child td {
	border-top: 1px solid var(--border-color);
}
.product-specifications table tr td:first-child {
	border-left: 1px solid var(--border-color);
	width: 40%;
}
.product-specifications table tr:first-child td:first-child {
	border-top-left-radius: 8px;
}
.product-specifications table tr:first-child td:last-child {
	border-top-right-radius: 8px;
}
.product-specifications table tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}
.product-specifications table tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}
.product-hotline a {
	font-weight: bold;
	color: var(--primary-color);
}
.details-product .product-promo-tag {
	margin-top: 5px;
	margin-bottom: 5px;
}
.sapo-appcombo-module-detail {
	margin-top: 20px;
}
.tooltiptext{
	visibility: hidden;
	opacity: 0;
	width: 300px;
	border-radius: 4px;
	position: absolute;
	z-index: 2;
	top: 30px;
	left: 50%;
	background: #fff;
	border: 1px solid #e0e0e0;
	color: #333;
	font-weight: 100;
	text-align: center;
	padding: 10px;
	font-size: 14px;
	font-style: normal;
	transition: .3s;
	z-index: 99;
	transform: translateX(-50%);
}
@media(max-width: 991px){
	.tooltiptext{
		left: 0;
		transform: none;
		width: calc(100vw - 20px);
	}
}
.tooltiptext .summary{
	display: -webkit-box;
	-webkit-line-clamp: 5; /* Giới hạn 5 dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vendor-tooltip::after {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	background: #fff;
	position: absolute;
	top: calc(100% + 2px);
	left: 9px;
	transform: rotate(-45deg) translateX(-50%);
	z-index: 2;
	visibility: hidden;
	opacity: 0;
	transition: .3s;

}
@media(min-width: 992px){
	.vendor-tooltip::after {
		top: 100%
	}
}
.vendor-tooltip.active::after{
	visibility: visible;
	opacity: 1;
	z-index: 100;
}
.tooltiptext .manu-img {
	display: block;
	margin: auto auto 10px;
	max-width: 200px;
	max-height: 100px;
}
.tooltiptext.active{
	visibility: visible;
	opacity: 1
}
@media(min-width: 992px){
	.pc-relative{
		position: relative
	}
}
@media(max-width: 991px){
	.mb-relative{
		position: relative
	}
}
.tooltiptext-content, .tooltiptext-content .summary{
	border-color: #eee !important;
	position: relative;
}
.tooltiptext-content .manu-img{
	flex: 1;
	min-width: 80px;
	object-fit: contain;
}
.tooltiptext-content p:last-of-type{
	margin-bottom: 0;
	
}
.tooltiptext-content p:last-of-type.clamped{
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	display: -webkit-box;
}
.tooltiptext-content .toggle-button{
	color: var(--primary-color);
	position: absolute;
	bottom: 0;
	right: 0;
	padding-left: 10px;
	background: linear-gradient(to right, rgba(255,255,255,0), white 10%);
	border: none;
	font-size: 14px;
	cursor: pointer;
}
.embed-responsive-custom{
	padding-top: 51.25%;
}
.product-summary-content ul{
	margin-bottom: 0
}
.form_product_content{
	display: flex;
  	flex-wrap: wrap;
  	align-items: stretch;
  	gap: 10px 10px;
}
.count_btn_style{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 10px;
	width: 100%;
}

.count_btn_style .input_number_product,.count_btn_style .custom-btn-number{
	width: 100%;
  	max-height: 36px;
}
.count_btn_style .button_actions{
	width: 100%;
}
.quick-view-product .product-summary ul, .product-summary-content ul{
  list-style: none !important;
  padding-left: 0px !important; /* thêm khoảng cách để ảnh không bị đè */
} 

.quick-view-product .product-summary ul li, .product-summary-content ul li {
	position: relative;
  	padding-left: 30px;
	min-height: 24px;
  	line-height: 24px;
}
.quick-view-product .product-summary ul li:empty, .product-summary-content ul li:empty{
	display: none
}
.quick-view-product .product-summary ul li + li, .product-summary-content ul li + li {
	margin-top: 8px;
}
.quick-view-product .product-summary ul li::before, .product-summary-content ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0%; /* điều chỉnh dọc để căn giữa */
	width: 24px;
	height: 24px;
	background-size: contain;
	background-repeat: no-repeat;
}

/*=========================================================================*/
@media (max-width: 991px) {
	.mew_mobi_bar {
		top: initial !important;
		bottom: 0;
		left: 0;
		background: #fff;
		width: 100%;
		z-index: 11;
		box-shadow: rgba(0, 0, 0, 0.08) 0px -4px 8px 0px, rgba(0, 0, 0, 0.08) 0px -4px 8px 1px;
		transition: all 0.5s;
		transform: translateY(0);
	}
	.mew_mobi_bar .item {
		width: 20%;
		/*padding-bottom: 8px;*/
	}
	.mew_mobi_bar .item > .small{
		color: var(--buynow-bg)
	}
	.mew_mobi_bar .item .btn-cart-indicator,
	.mew_mobi_bar .item .wishlist-indicator {
		right: -10px;
		color: #fff;
		background: var(--buynow-bg);
		min-width: 18px;
		display: inline-block;
		height: 18px;
		font-size: 13px;
		border-radius: 50%;
		top: -5px;
	}
	.mew_mobi_bar .item .btn-cart-indicator.hidden,
	.mew_mobi_bar .item .wishlist-indicator.hidden {
		transform: scale(0);
		visibility: hidden;
	}
	.mew_mobi_bar .item svg {
		max-width: 20px;
		margin: 0 auto;
		fill: var(--textColor);
	}
	.mew_mobi_bar .item .tit {
		font-size: 10px;
	}
	.mew_mobi_bar .item.active svg,
	.mew_mobi_bar .item:hover svg,
	.mew_mobi_bar .item.open svg {
		fill: var(--mainColor);
	}
	.mew_mobi_bar .item.active .tit,
	.mew_mobi_bar .item:hover .tit,
	.mew_mobi_bar .item.open .tit {
		color: var(--mainColor);
	}
	.mew_mobi_bar .product-action_buynow{
		width: 40%;
		background: var(--buynow-bg);
	}
	.fix-phone {
		bottom: 65px;
		right: 10px;
		transform: scale(1);
		top: inherit !important;
	}
	.fix-phone.active {
		opacity: 1;
		pointer-events: auto;
		z-index: 11;
		visibility: visible;
	}
	.navigation-bottom .btn-cart {
		position: fixed !important;
		right: 0;
		bottom: 0;
		background: var(--mainColor);
		border: none;
		height: 55px;
		justify-content: center;
	}
	.navigation-bottom .btn-cart:after {
		content: '';
		position: absolute;
		filter: brightness(0.7);
		top: 0;
		left: -7px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 0 7px 7px;
		border-color: transparent transparent var(--mainColor) transparent;
	}
	.navigation-bottom .btn-cart svg {
		fill: #fff;
	}
	footer .bgk {
		margin-bottom: 55px;
	}
	.w-mb-50.ratio1by1 {
		padding-bottom: calc((100% - 15px) / 2) !important;
	}
	.form-product-swatch{
		bottom: -100%;
	}
	.form-product-swatch.active{
		position: fixed !important;
		bottom: 0;
		background: #fff;
		z-index: 1003;
		width: calc(100%);
		left: 0;
		padding: 15px 10px 10px 10px;
		border-radius: 20px 20px 0 0;
		box-shadow: 0px 0px 3px 0px #ccc;
		transition: 0.5s all;
		overflow: auto;
		max-height: 90dvh;
	}
	.form-product-swatch.active + .form-product-swatch-overlay{
		bottom: 0 !important;
		left: 0;
		overflow-x: auto;
		overflow-y: auto;
		position: fixed;
		right: 0;
		top: 0 !important;
		background-color: #000;
		opacity: .5;
		z-index: 1001
	}
}