#base_topdeal_product .title-wrapper {
  text-align: center;
}
#base_topdeal_product .title-wrapper h5 {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
#base_topdeal_product .title-wrapper .section-description {
  color: var(--global-palette5);
  font-size: 14px;
  margin-bottom: 0;
}
#base_topdeal_product .product-thumb .image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
#base_topdeal_product .product-thumb .image a {
  display: block;
  height: 100%;
}
#base_topdeal_product .product-thumb .image a img:not(.hover-image) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  border-radius: 0;
}
#base_topdeal_product .product-thumb .image .hover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
#base_topdeal_product .product-thumb:hover .image a img:not(.hover-image) {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.product-thumb .image {
  position: relative;
}
.product-thumb .image .countdown {
  position: absolute;
  content: "";
  top: auto;
  bottom: 15px;
  left: 0;
  right: 0;
}
.product-thumb .image .countdown .countbox.hastime {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
}
.product-thumb .image .countdown .countbox.hastime .timebox {
  background-color: #FEF2F2;
  border: 1px solid rgba(223, 48, 48, 0.3);
  border-radius: 5px;
  padding: 4px 5px;
  line-height: 12px;
  display: block;
}
.product-thumb .image .countdown .countbox.hastime .timebox .timebox-inner strong {
  line-height: 16px;
  font-size: 12px;
  color: #df3030;
  font-weight: 600;
}
.product-thumb .image .countdown .countbox.hastime .timebox .time {
  display: none;
}

@media (max-width: 767px) {
  .product-thumb .countdown .countbox.hastime .timebox {
    padding: 2px 3px;
  }
  .product-thumb .countdown .countbox.hastime .timebox .timebox-inner strong {
    font-size: 11px;
  }
}
@media (max-width: 540px) {
  .product-thumb .image .countdown .countbox.hastime {
    -webkit-column-gap: 3px;
    -moz-column-gap: 3px;
    column-gap: 3px;
  }
  .product-thumb .image .countdown .countbox.hastime .timebox {
    padding: 3px 4px;
  }
  .product-thumb .image .countdown .countbox.hastime .timebox .timebox-inner strong {
    line-height: 14px;
    font-size: 11px;
  }
  .product-thumb .image .countdown {
    bottom: 10px;
}
}