body {
  padding: 0;
  position: relative;
}
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.uudai-time{
  padding-left: .5rem;
  padding-right: .5rem;
  padding-bottom: .01rem 
}
.uudai-time-bg{
	padding: 20px 20px 20px 20px;	
  background: url(https://i.ibb.co/KzGgKLkh/flashsale-back.png) no-repeat;
  background-size: cover;
  width: 100%;
}
.uudai-time .uudai--title{
  display: inline-flex;
  
}
.uudai-time img{
  width: 32px;
  transform: translateY(0px);
}
.uudai-time h3{
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 900;
  font-style: italic;
  color: #fff;

}
.uudai--detail{
 /* margin-top: -2.25em;*/
}
.uudai--detail ul{
  padding: 0;
}
.uudai--detail ul li {
    display: inline-block;
    width: 31.695%;
    text-align: center;
    padding-bottom: .25rem;
    padding-top: .25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: .25rem;
    margin-top: 0.75em;
    cursor: pointer;
}
.uudai--detail ul li.active{
  background-color: #fff;
}
.uudai--detail ul li.active p{
  color: #dc2626;
}
.uudai--detail ul li.active sub{
  color: #000;
}
.uudai--detail ul li.dadienra p{
  text-decoration: line-through;
}
.uudai--detail ul li p{
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}
.uudai--detail ul li sub{
  color: #fff;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 500;
}


.uudai-info{
  background-color: #fff;
}

.uudai-info .content-tab{
  padding-bottom:20px;
}
.uudai-info ul li{
  background: url(https://s3-hcm-r1.s3cloud.vn/static/4Sdk5bkEJLvHe3y.png) no-repeat center center;
  background-size: cover;
  display: inline-block;
  width: 19.5%;
  text-align: center;
  padding: .25rem;
  border-radius: .25rem;
  margin-top: 0.75em;
  /* margin: 0.085%; */
  transform: scale(0.97);
}
.uudai-info ul {
  padding: 0;
}
.uudai-info ul li .uudai--text{
  min-height: 80px;
  text-align: left;
  padding: .05rem .25rem;
}
.uudai-info ul li .uudai--text div{
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 14px;
}
.uudai-info ul li .uudai--text p{
  width: 100%;
  overflow: hidden;
  /*white-space: nowrap;*/
  text-overflow: ellipsis;
  color: #ef4444;
  font-weight: 700;
}
.uudai-info ul li .uudai--img{
  height: 8.4rem;
  /* aspect-ratio: 16 / 9; */
  overflow: hidden;
  margin: auto;
}
.uudai-info ul li .uudai--img img{
  width: 100%;
}
.uudai-info ul li .uudai--button{
  font-weight: 800;
  padding-top: .375rem;
  padding-bottom:  .375rem;
}
.uudai-info ul li .uudai--button a{
  text-transform: uppercase;
  color: #fff;
  font-size: .875rem;
}
.uudai-info ul li{
  position: relative;
}
.uudai-info ul li div.active::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 7;
  background-color: #fff;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.uudai .content-tab .tab {
  display: none;
}
.uudai .tab.active {
  display: block;
  height: max-content;
}
.bg-white{
  background: #fff;
}

.uudai-info ul li .uudai-gia{
  display: inline-flex !important;
  
  justify-content: space-between;
  width: 100%;
  
  margin: 6px 0;
}
.uudai-info ul li  .uudai-gia .sale{
  color: #ef4444;
  font-weight: 600;
  font-size: 16px;
}
.uudai-info ul li .uudai-gia .gia{
  text-decoration: line-through;
  font-size: 13px;
}
.uudai-info ul li .uudai-gia > div{
  width: auto!important;
}
/* CARD */
.flashsale-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.25s ease;
    border: 1px solid #eee;
}

.flashsale-card:hover {
    transform: translateY(-4px);
}

/* ẢNH */
.flashsale-card .img {
    position: relative;
}

.flashsale-card .img img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

/* INFO */
.flashsale-card .info {
    padding: 8px;
}

.flashsale-card .title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.flashsale-card .desc {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* BUTTON */
.flashsale-card .btn {
    padding: 8px;
}

.flashsale-card .btn a,
.flashsale-card .btn button {
    width: 100%;
    height: 32px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, #ff7a00, #ff0000);
    color: #fff;
}

/* =========================
   TRẠNG THÁI HẾT SALE
========================= */
.flashsale-card.ended {
    background: #f3f3f3;
}

.flashsale-card.ended img {
    filter: grayscale(100%) opacity(0.6);
}

.flashsale-card.ended .btn a,
.flashsale-card.ended .btn button {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* =========================
   BADGE ĐỎ NÉT ĐỨT (GIỐNG ẢNH)
========================= */
.flashsale-card .badge {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    border: 2px dashed red;
    color: red;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    background: rgba(255,255,255,0.7);
    pointer-events: none;
}

/* =========================
   SẮP DIỄN RA
========================= */
.flashsale-card.coming img {
    filter: brightness(0.7);
}

.flashsale-card.coming .badge {
    border-color: orange;
    color: orange;
}