.ega-badge-ctd {
	display: flex;
	align-items: center;
}
.ega-badge-ctd > div:not(.ega-badge-ctd__colon) {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 38px;
	height: 38px;
	border-radius: 3px;
	font-size: 14px;
	background-color: var(--countdown-background);
}
.ega-badge-ctd__item {
	border-radius: 3px;
	color: var(--countdown-color);
	text-align: center;
	display: flex;
	place-items: center;
	place-content: center;
	font-size: 18px;
	font-weight: 500;
	line-height: 20px;
}
.ega-badge-ctd__item + span {
	font-size: 10px;
	line-height: 1.3;
	color: var(--countdown-color);
}
.ega-badge-ctd__colon {
	font-weight: bold;
	font-size: 22px;
	color: var(--countdown-background);
	margin: auto 3px;
}
.ega-badge-ctd__s {
	margin-right: 0px;
}
.flashsale {
	--background-color: #f4ebc1;
	--countdown-background: #d3232a;
	--countdown-color: #fff;
}
.flashsale__container {
	padding: 10px;
	background: var(--background-color, transparent);
}
.flashsale .heading-bar {
	background-color: transparent;
	margin-bottom: 5px;
}
.flashsale__title h5 {
	margin-bottom: 0
}
.flashsale__item .item_product_main {
	border-radius: 8px;
	    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 575px) {
	.flashsale__title {
		text-align: center;
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
}
@media (max-width: 575px) {
	.flashsale__header {
		justify-content: center;
		margin: auto;
	}
}
.flashsale__news-title{
	color: var(--news-color);
}
.flashsale__news a {
	margin: auto 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--news-color);
}
.flashsale__news a:hover {
	color: var(--primary-color)
}
.flashsale__news-list {
	max-width: 100%;
	overflow: hidden;
}
.flashsale__countdown-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-left: 15px;
}
@media (max-width: 767px) {
	.flashsale .heading-bar {
		margin-bottom: 0;
	}
	.flashsale__countdown-wrapper {
		flex-direction: column;
		margin: 0;
	}
	.ega-badge-ctd__item + span {
		display: none;
	}
	.ega-badge-ctd > div:not(.ega-badge-ctd__colon) {
		width: 24px;
		height: 24px;
	}
	.ega-badge-ctd__item {
		font-size: 14px;
	}
}
.flashsale__countdown-label {
	color: var(--heading-color);
	font-size: 16px;
}
@media (max-width: 767px) {
	.flashsale__countdown-label {
		display: none!important;
	}
}
.flashsale__bottom {
	padding: 0 10px 10px 10px;
}
@media (max-width: 767px) {
	.flashsale__bottom {
		padding: 0 8px 8px 8px;
		font-size: 12px;
	}
}

.flashsale__progressbar {
	display: block;
	width: 100%;
	height: 10px;
	background: var(--process-background);
	margin-top: 2px;
	border-radius: 9999px;
	position: relative;
	overflow: hidden;
}
.flashsale__progressbar.style2 {
	height: 18px;
}
.flashsale___percent {
	width: 0%;
	height: 100%;
	background:linear-gradient(270deg,var(--process-color2),var(--process-color1));
	border-radius: 9999px;
	position: absolute;
	top: 0;
	z-index: 1;
}
.flashsale__label{
	color: var(--stock-color);
	font-size: 12px;
}
.flashsale__label img {
	vertical-align: top;
}
.flashsale__progressbar .flashsale__label {
	font-size: 12px;
	position: relative;
	left: 0;
	z-index: 2;
	text-align: center;
	margin: auto;
}
.flashsale__title, .flashsale__title a.link {
    color: var(--heading-color);
}
.flashsale-v2-header{
    position:relative;
    overflow:hidden;
}

.flashsale-v2-header::before,
.flashsale-v2-header::after{
    content:"";
    position:absolute;
    top:70px;
    width:240px;
    height:2px;
    background:linear-gradient(90deg,
    transparent,
    #39ff14,
    transparent);
    box-shadow:
    0 0 10px #39ff14,
    0 0 25px #39ff14;
}

.flashsale-v2-header::before{
    left:80px;
    transform:rotate(-8deg);
}

.flashsale-v2-header::after{
    right:80px;
    transform:rotate(8deg);
}
.flashsale-title{
    position:relative;
    z-index:2;
}

.flashsale-title::before{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:320px;
    height:120px;
    background:radial-gradient(circle,
    rgba(57,255,20,.45),
    transparent 70%);
    filter:blur(25px);
    z-index:-1;
}
.flashsale-light{
    position:absolute;
    inset:0;
    pointer-events:none;
}

.flashsale-light::before{
    content:"";
    position:absolute;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#39ff14;
    left:15%;
    top:25%;
    box-shadow:
    200px 60px #39ff14,
    400px -20px #39ff14,
    650px 40px #39ff14,
    900px 10px #39ff14;
    animation:sparkMove 3s linear infinite;
}

@keyframes sparkMove{
0%{transform:translateY(0);}
50%{transform:translateY(-10px);}
100%{transform:translateY(0);}
}
.section_flashsale{

position:relative;

overflow:hidden;

background:#10171c;

padding:35px 0;

}
.section_flashsale{

background:

radial-gradient(circle at left,
rgba(124,255,0,.08),
transparent 25%),

radial-gradient(circle at right,
rgba(124,255,0,.08),
transparent 25%),

linear-gradient(#12181d,#0d1217);

}
.section_flashsale:before{

content:"";

position:absolute;

left:0;

top:0;

width:220px;

height:140px;

background:#99ff00;

clip-path:polygon(0 0,100% 0,60% 100%,0 100%);

}

.section_flashsale:after{

content:"";

position:absolute;

right:0;

top:0;

width:220px;

height:140px;

background:#99ff00;

clip-path:polygon(40% 0,100% 0,100% 100%,0 100%);

}
.flashsale .product-item{

background:#111820;

border:2px solid #8dff00;

border-radius:12px;

overflow:hidden;

transition:.3s;

}
/*=========================
ATIX PRODUCT RIBBON
==========================*/

.product-thumbnail{
    position:relative;
}

.atix-product-ribbon{

position:absolute;

top:12px;

left:12px;

z-index:20;

background:#9cff00;

color:#111;

font-weight:900;

font-size:14px;

padding:8px 22px;

line-height:1;

text-transform:uppercase;

clip-path:polygon(0 0,94% 0,100% 100%,0 100%);

box-shadow:0 0 12px rgba(124,255,0,.45);

}

.atix-product-ribbon:after{

content:"";

position:absolute;

right:-10px;

top:0;

width:14px;

height:100%;

background:#111;

transform:skew(-25deg);

}
.section_flashsale{

background:#10171c;

padding:35px 0;

}

.section_flashsale .item_product_main{

background:#111820;

border:2px solid #7dff00;

border-radius:12px;

overflow:hidden;

transition:.3s;

}

.section_flashsale .item_product_main:hover{

transform:translateY(-6px);

box-shadow:0 0 25px rgba(124,255,0,.45);

}
.section_flashsale .price{
    color:#97ff00 !important;
    font-size:20px !important;
    font-weight:700 !important;
    line-height:1.2;
}

.section_flashsale .compare-price{
    color:#8c8c8c !important;
    font-size:14px !important;
    text-decoration:line-through;
}
/* Tên sản phẩm luôn màu trắng */
.section_flashsale .product-name a,
.section_flashsale .product-name,
.section_flashsale .product_name a,
.section_flashsale h3.product-name a{
    color:#fff !important;
}

/* Hover vẫn màu xanh */
.section_flashsale .item_product_main:hover .product-name a,
.section_flashsale .product-name a:hover{
    color:#97ff00 !important;
}
.section_flashsale .flashsale__label{
    color:#fff !important;
}

.section_flashsale .flashsale__label *{
    color:#fff !important;
}


/*====================================================
FLASH SALE MOBILE
====================================================*/
@media (max-width:767px){

.section_flashsale{
    padding:15px 0;
    overflow:hidden;
}

.section_flashsale:before,
.section_flashsale:after{
    display:none;
}

/* Không nhấc card khi hover */
.section_flashsale .item_product_main,
.section_flashsale .item_product_main:hover{
    transform:none;
    box-shadow:none;
}

/* Card */
.section_flashsale .item_product_main{
    border-radius:12px;
    border:2px solid #7dff00;
}

/* Ảnh */
.section_flashsale .product-thumbnail{
    padding:8px;
}

/* Ribbon */
.atix-product-ribbon{
    top:8px;
    left:8px;
    font-size:11px;
    padding:5px 12px;
}

/* Tên */
.section_flashsale .product-name,
.section_flashsale .product-name a{
    font-size:14px;
    line-height:20px;
    min-height:40px;
}

/* Giá */
.section_flashsale .price{
    font-size:17px!important;
}

.section_flashsale .compare-price{
    font-size:12px!important;
}

/* Progress */
.flashsale__progressbar{
    height:7px;
}

/* Hết hàng */
.flashsale__label{
    color:#fff!important;
}

/* Countdown */
.ega-badge-ctd>div:not(.ega-badge-ctd__colon){
    width:28px;
    height:28px;
}

.ega-badge-ctd__item{
    font-size:15px;
}

/* Owl */
.section_flashsale .owl-stage{
    display:flex;
    align-items:stretch;
}

.section_flashsale .owl-item{
    display:flex;
}

}
@media(max-width:767px){

.section_flashsale .owl-stage{
    transition-timing-function:linear!important;
}

.section_flashsale .owl-item{
    backface-visibility:hidden;
    transform:translateZ(0);
}

}
.flashsale-viewall-wrap{
    text-align:center;
    margin-top:20px;
}

.flashsale-viewall{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:12px 28px;

    border:2px solid #8dff00;
    border-radius:999px;

    color:#8dff00;
    text-decoration:none;
    font-weight:700;

    transition:.3s;
}

.flashsale-viewall:hover{
    background:#8dff00;
    color:#111;
    box-shadow:0 0 20px rgba(141,255,0,.5);
}

@media(max-width:767px){

.flashsale-viewall-wrap{
    margin-top:15px;
}

.flashsale-viewall{
    width:90%;
    padding:13px 0;
    font-size:15px;
}

}
