
	.swatch-element {
		position: relative;
		/**margin: 8px 10px 0px 0px; **/
	}
	.swatch-element:not(.color){
			overflow: hidden

	}
	.swatch-element-list{
		display: flex;
		flex-wrap: wrap;
		gap: 10px 
	}
	.swatch-div{
		margin-bottom: 30px
	}
	.swatch-element.color {
		/**margin: 8px 15px 0px 0px;**/
	}
	

								.swatch-element.color .xanh-den {
		background-color:#2E314E;
	}
	.swatch-element.color .xanh-den.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_1.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .den {
		background-color:#111112;
	}
	.swatch-element.color .den.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_2.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .kem {
		background-color:#f8f6f1;
	}
	.swatch-element.color .kem.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_3.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .hong {
		background-color:#f5cac8;
	}
	.swatch-element.color .hong.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_4.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .nau-nhat {
		background-color:#A77862;
	}
	.swatch-element.color .nau-nhat.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_5.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .nau-dam {
		background-color:#4E2C29;
	}
	.swatch-element.color .nau-dam.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_6.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .xanh-la {
		background-color:#93C062;
	}
	.swatch-element.color .xanh-la.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_7.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .cam {
		background-color:#F8632E;
	}
	.swatch-element.color .cam.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_8.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .do {
		background-color:#ec042f;
	}
	.swatch-element.color .do.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_9.png) no-repeat center center;
		background-size: cover;
	}
									.swatch-element.color .trang {
		background-color:#f1f0f1;
	}
	.swatch-element.color .trang.image-type {
		background: url(/assets/bizweb.dktcdn.net/100/492/958/themes/921762/assets/color_10.png) no-repeat center center;
		background-size: cover;
	}
		
	.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.color:hover label{
		box-shadow: 0 0 0 1px #000, inset 0 0 0 4px #fff;
		transform: scale(1.1);
	}
	.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-element input {
		width: 100%;
		height: 100%;
		opacity: 0;
		position: absolute;
		z-index: 3;
		top: 0;
		left: 0;
		cursor: pointer;
		
	}
	.swatch .swatch-element:not(.color) input:checked + label {
	border-color: var(--primary-color) !important;
		color: var(--primary-color); 
		position: relative;
	}
	.swatch .swatch-element:not(.color) input:checked + label:after {
		content: '';
		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:not(.color) input:checked + label:before {
		content: '';
		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);
		    border-radius: 100%;
	}
	.swatch .color label {
		width: 33px;
		min-width: unset !important;
		height: 33px !important;
		line-height: 33px !important;
		border-radius: 6px !important;
		border: 1px solid #eee;
	}
	.swatch .color label:before {
		content: none;
	}
	.swatch {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
	}
	.swatch .header {
		font-weight: bold;
		color: #333;
		flex: 0 0 100%;
		display: flex;
		justify-content: space-between;
		align-items: center
	}
	.swatch .color label {
		position: relative;
		z-index: 2;
		border-radius: 100% !important;
		transition: box-shadow .25s ease, transform .25s ease;
		border: none
	}
	.swatch .color span {
		content: '';
		position: absolute;
		width: calc(100% + 1px);
		height: calc(100% + 1px);
		border-radius: 100%;
		background: #fff;
		top: 50%;
		left: 50%;
		z-index: 0;
		transform: translate(-50%, -50%);
		box-shadow: 0 0 0 1px rgba(0,0,0,.1);
	}
	.swatch .color input:checked + label {
		box-shadow: 0 0 0 1px #000, inset 0 0 0 4px #fff;
	}
	.swatch .color input:checked ~ span {
		opacity: 1;
		border: 1px solid #ccc;
	}
	.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;
	}
	.swatch-color .swatch-element.color:hover + .tooltip{
    opacity: 1;
    z-index: 100;
    min-width: 30px;
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    top: auto;
    bottom: calc(100% + 12px);
    left: calc(50% );
    transform: translateX(-50%);
    font-size: 12px;
	}
	.swatch-color .swatch-element.color:hover + .tooltip:after {
		border-style: solid;
		border-width: 3px 2.5px 0 2.5px;
		border-color: #000 transparent transparent transparent;
		background: #333333;
		content: "";
		height: 8px;
		position: absolute;
		transform: rotate(45deg);
		width: 8px;
		left: calc(50% - 4px);
		bottom: -4px;
	}
	span.swatch-value {
    font-weight: normal;
    font-size: 14px;
}
