/*.flashsale__countdown-wrapper {
		flex-direction: column;
		margin: 0;
	}*/
.ega-badge-ctd {
  display: flex;
  align-items: center;
}
.ega-badge-ctd > div:not(.ega-badge-ctd__colon) {
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.ega-badge-ctd__item {
  border-radius: 3px;
  color: var(--countdown-color);
  text-align: center;
  display: flex;
  place-items: center;
  place-content: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 20px;
}
.ega-badge-ctd__item + span {
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 1px;
  color: var(--countdown-color);
}
.ega-badge-ctd__colon {
  font-weight: bold;
  font-size: 12px;
  color: var(--stock-color);
  margin: auto 3px;
  //opacity: 0;
}
.ega-badge-ctd__s {
  margin-right: 0px;
}

.flashsale {
  --background-color: #f4ebc1;
  --countdown-background: #d3232a;
  --countdown-color: #fff;
}
.flashsale .heading-bar {
  background-color: transparent;
  margin-bottom: 5px;
}
.flashsale__container {
  padding: 10px;
  background: var(--background-color, transparent);
}
.flashsale__title {
  color: var(--heading-color);
	position:relative;
}

.flashsale__title h5 {
  margin-bottom: 0;
}
/*.flashsale__title a.link {
  color: var(--heading-color);
}*/
.flashsale__item .item_product_main {
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.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: 45px;
  background: var(--subheader-color);
  padding: 3px 20px;
  border-radius: 3px;
}
.flashsale__countdown-label {
  color: var(--heading-color);
  font-size: 1rem;
}
.flashsale__bottom {
  padding: 0 10px 10px 10px;
}
.flashsale__progressbar {
  display: block;
  width: 100%;
  height: 10px;
  background: var(--process-background);
  margin-top: 2px;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
}
.flashsale__label {
  font-size: 12px;
  position: relative;
  left: 0;
  z-index: 2;
  text-align: center;
  margin: auto;
}
.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;
}

.details-product .ega-badge-ctd__colon {
  font-weight: unset;
  font-size: unset;
  line-height: 1;
  opacity: 1;
}
.details-pro .flashsale__countdown-wrapper {
    margin-left: 0;
}
.details-product .ega-badge-ctd > div:not(.ega-badge-ctd__colon) {
  width: 60px;
}
.details-product .ega-badge-ctd__item + span {
  display: inline-block;
  font-size: unset;
  margin: 0 0 0 5px;
}

@media (max-width: 575px) {
  .flashsale__title {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .flashsale__header {
    justify-content: center;
    margin: auto;
  }
	.details-product .ega-badge-ctd__item + span{display:none;}
	.details-product .ega-badge-ctd > div:not(.ega-badge-ctd__colon){width:22px;}
}
@media (max-width: 767px) {
  .flashsale .heading-bar {
    margin-bottom: 0;
  }
  .ega-badge-ctd__item {
    font-size: 14px;
  }
  .ega-badge-ctd__item + span {
    display: none;
  }
  .ega-badge-ctd {
    margin-top: 3px;
  }
  .ega-badge-ctd > div:not(.ega-badge-ctd__colon) {
    width: 24px;
    height: 24px;
    align-items: center;
  }
  .ega-badge-ctd__colon {
    font-size: 0.8rem;
    opacity: 1;
  }
  .flashsale__countdown-wrapper {
    flex-direction: row;
    width: 100%;
    margin-left: 0;
    align-items: center;
    justify-content: flex-start;
  }
  .flashsale__countdown-label {
    display: none;
    margin: 3px 5px 0 0 !important;
  }
  .flashsale__bottom {
    padding: 0 8px 8px 8px;
    font-size: 12px;
  }
}
@media(max-width:480px){
	#template-index .flashsale__header-wrap{
		width: 100%;
		justify-content: center;
	}
	#template-index .flashsale__header-wrap img{display:none;}
	#template-index .flashsale__title:before {
		content: "";
		background-image: url(flashsale-hot.png);
		background-size: auto 100%;
		width: 25px;
		height: 25px;
		display: inline-block;
	}
}
/*# sourceMappingURL=flashsale.css.map */


/*** Bounce Clock ***/
.bounce-clock {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 767px) {
    .bounce-clock {
        width: 100%;
        left: 0;
        transform: initial;
        bottom: 0;
        flex-direction: row;
        justify-content: center;
    }
}

.clock__block {
    background-color: var(--countdown-background);
    color: var(--countdown-color);
	box-shadow: 0 .1rem .3rem var(--countdown-background);
    border-radius: 0.5rem;
    font-size: 1em;
    line-height: 2;
    margin: 5px;
    overflow: hidden;
    text-align: center;
    width: 2rem;
    height: 2rem;
    transition: background-color .3s, box-shadow .3s;
}

@media (max-width: 991px) {
    .clock__block {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.3em;
    }
}

.clock__block--small {
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 2rem var(--countdown-background);
    font-size: 1em;
    line-height: 3;
    width: 3rem;
    height: 3rem;
}

.clock__colon {
    display: none;
    font-size: 2em;
    opacity: 0.5;
    position: relative;
}

.clock__colon:before,
.clock__colon:after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    top: -0.05em;
    left: -0.05em;
    width: 0.1em;
    height: 0.1em;
    transition: background-color .3s;
}

.clock__colon:before {
    transform: translateY(-200%);
}

.clock__colon:after {
    transform: translateY(200%);
}

.clock__digit-group {
    display: flex;
    flex-direction: column-reverse;
}

.clock__digits {
    width: 100%;
    height: 100%;
	pointer-events:none;
}

.clock__block--bounce {
    animation: bounce 0.75s;
}

.clock__block--bounce .clock__digit-group {
    animation: roll 0.75s ease-in-out forwards;
    transform: translateY(-50%);
}

.clock__block--delay1,
.clock__block--delay1 .clock__digit-group {
    animation-delay: 0.1s;
}

.clock__block--delay2,
.clock__block--delay2 .clock__digit-group {
    animation-delay: 0.2s;
}

/* Beyond mobile */
@media (min-width: 768px) {
    .bounce-clock {
        flex-direction: row;
    }

    .clock__colon {
        display: inherit;
    }
}

/* Animations */
@keyframes bounce {

    from,
    to {
        animation-timing-function: ease-in;
        transform: translateY(0);
    }

    50% {
        animation-timing-function: ease-out;
        transform: translateY(15%);
    }
}

@keyframes roll {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }
}

.clock__box {
    padding-top: 15px;
    position: relative;
}

@media (max-width: 991px) {
    .clock__box {
        padding-top: 20px;
    }
}

.clock__box:after {
    position: absolute;
    content: attr(data-time-name);
    height: 15px;
    line-height: 15px;
    text-align: center;
    font-size: 12px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 991px) {
    .clock__box:after {
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }
}

.bounce-clock.time-name--top .clock__box:after {
	top: 0;
}

.bounce-clock.time-name--bottom .clock__box{
	padding-top: 0;
	padding-bottom: 15px;
}

.bounce-clock.time-name--bottom .clock__box:after {
	top: auto;
	bottom: 0;
}