
	:root {
		--mainColor: #1a51a2;
		--subColor: #6dbd45;
		--hover: #6dbd45;
		--textColor: #000000;
		--price: #d31100;
		--bgHeader: #1a51a2;
		--txtHeader: #ffffff;
		--bgBodySub: #e4efff;
		--bgincol: linear-gradient(to right, #ea4420, rgba(234, 68, 32, 0.8), rgba(234, 68, 32, 0.3), rgba(234, 68, 32, 0));
		--textorder: #be1f2e;
	}
	
	#modal-banner {
		bottom: 0;
		left: 0;
		overflow-x: auto;
		overflow-y: auto;
		position: fixed;
		right: 0;
		top: 0 !important;
		z-index: 9999;
	}

	#modal-banner .modal-banner-promo {
		position: absolute;
		width: 400px;
		top: 50%;
		left: 50%;
		height: auto;
		margin: 0 auto;
		padding: 5px;
		transform: translate(-50%, -50%);
		background-color: transparent;
		z-index: 8011;
	}

	#modal-banner .modal-banner-promo .modal-body {
		position: relative;
		width: 100%;
		opacity: 0;
		animation-delay: 0.2s;
		animation-duration: 0.3s;
		animation-timing-function: ease-out;
		animation-fill-mode: forwards;
		animation-name: popup-fade-in-up;
		aspect-ratio: 400/566; /* Thay thế 400/400 nếu dùng trong HTML thì xử lý bằng JS hoặc inline style */
	}

	#modal-banner .modal-banner-promo .modal-body img.lazyload {
		opacity: 0;
		background: transparent !important;
	}

	#modal-banner .modal-banner-promo .modal-body img.lazyload.loaded {
		opacity: 1;
		background: transparent;
	}

	#modal-banner .modal-banner-promo .modal-body form {
		margin: 0px;
	}

	#modal-banner .modal-banner-promo .modal-body form a.banner-promotion {
		display: flex;
		background: #ddd;
		border-radius: 10px;
	}

	#modal-banner .modal-banner-promo .modal-body form a.banner-promotion img {
		width: 100%;
		border-radius: 10px;
	}

	#modal-banner .modal-banner-promo .modal-body form .check-close {
		display: flex;
		align-items: center;
		color: #fff;
		justify-content: center;
		margin-top: 12px;
	}

	#modal-banner .modal-banner-promo .modal-body form .check-close input {
		display: inline-block;
		background: #fff;
		width: 20px;
		height: 20px;
		opacity: 1;
		position: relative;
		top: inherit;
		left: inherit;
		margin-right: 8px;
		cursor: pointer;
	}

	#modal-banner .modal-banner-promo .modal-body form .check-close label {
		margin: 0px;
		text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
	}

	@media (max-width: 767px) {
		#modal-banner .modal-banner-promo {
			width: calc(100% - 40px);
		}
	}

	#modal-banner .modal-banner-promo .modalbanner-close {
		background-color: var(--mainColor);
		border-radius: 10px;
		height: 30px;
		width: 30px;
		position: absolute;
		text-align: center;
		top: 0;
		right: 0;
		color: #fff;
		opacity: 1;
		font-weight: normal;
		text-shadow: none;
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		float: none;
	}

	#modal-banner .modal-banner-promo .modalbanner-close svg {
		width: 20px;
		height: 20px;
	}

	#modal-banner .modal-banner-promo .modalbanner-close:hover {
		background: var(--subColor);
	}

	#modal-banner .modalbanner-overlay {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1040;
		width: 100vw;
		height: 100vh;
		background-color: #000;
		opacity: 0.8;
	}
	
	
	.jas-sale-pop {
	background: #fff;
	bottom: -100%;
	left: 20px;
	right: 15px;
	padding: 10px 30px 10px 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	opacity: 0;
	visibility: hidden;
	transition: all 2s;
	z-index: 99999;
	position: fixed;
	right: auto;
	overflow: hidden;
}

.jas-sale-pop a img {
	max-width: 65px;
	width: auto;
	height: auto;
}

.jas-sale-pop .mr__20 {
	margin-right: 10px;
	width: 65px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.jas-sale-pop h4 {
	color: #222;
	margin: 0;
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 5px;
}

.jas-sale-pop h3 {
	margin: 0;
	font-size: 14px;
	max-width: 255px;
	line-height: 20px;
	text-transform: capitalize;
	max-height: 40px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.jas-sale-pop h3 a {
	color: #222;
	margin: 0;
	font-size: 14px;
}

.jas-sale-pop .jas-sale-pop-timeago {
	color: #878787;
	font-size: 12px;
}

.jas-sale-pop .pe-7s-close {
	right: 5px;
	top: 5px;
	cursor: pointer;
	position: absolute;
	display: inline-block;
	width: 10px;
	height: 10px;
	background: url('close.svg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.jas-sale-pop.slideUp {
	bottom: 20px;
	opacity: 1;
	visibility: visible;
}

.jas-sale-pop.middle-xs {
	-webkit-box-align: center;
	-ms-flex-align: center;
}

.jas-sale-pop.flex {
	box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.jas-sale-pop.flex {
	z-index: 1024;
	top: auto !important;
}

@media (max-width: 480px) {
	.jas-sale-pop {
		left: 10px;
		right: 10px;
		max-width: 290px;
	}
	.jas-sale-pop .jas-sale-pop-content {
		overflow: hidden;
		max-width: 180px;
	}
}

@media (max-width: 321px) {
	.jas-sale-pop {
		left: 10px;
		right: 10px;
		max-width: 220px;
	}
	.jas-sale-pop .jas-sale-pop-content {
		max-width: 180px;
	}
}

