/**
 * COMPONENTS CSS
 * Chứa CSS cho các components nhỏ: FlipCountdown, LiveChat, Product Promotion, Footer
 */

/* ==================== FLIP COUNTDOWN ==================== */
.FlipCountdown_flip-card__d5z1B {
  perspective: 1000px;
  width: 36px;
  height: 40px;
}

.FlipCountdown_flip-card-inner__sruyf {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: bottom;
}

.FlipCountdown_flip-card-back__DtOL2,
.FlipCountdown_flip-card-front__5fljn {
  position: absolute;
  backface-visibility: hidden;
  background-color: #fff;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  height: 100%;
  line-height: 40px;
  text-align: center;
  border-radius: 6px;
}

.FlipCountdown_flip-card-back__DtOL2 {
  transform: rotateX(180deg);
}

@media screen and (max-width: 768px) {
  .FlipCountdown_flip-card__d5z1B {
    width: 30px;
    height: 34px;
  }
  .FlipCountdown_flip-card-back__DtOL2,
  .FlipCountdown_flip-card-front__5fljn {
    font-size: 16px;
    line-height: 34px;
  }
}

/* ==================== LIVE CHAT ==================== */
#cs-live-chat {
  display: none !important;
}

#cs-live-chat[style*="height: 100%"],
#cs-live-chat[style*="height: 450px"] {
  display: block !important;
}

/* ==================== PRODUCT PROMOTION ==================== */
.product-item .promotion {
  width: auto;
  display: flex;
  gap: 5px;
  border-radius: 5px;
  background: #f2f2f3;
  align-items: flex-start;
  margin-left: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  overflow: hidden;
}

.product-item .promotion .promo-list {
  min-width: 53px;
  height: 35px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.product-item .promotion .promo-list > ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.product-item .promotion .promo-list > ul li {
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.product-item .promotion .promo-list > ul li.pmh-title {
  padding: 2px 0 0;
  background: #2b2b30;
  font-size: 12px;
  font-weight: 400;
}

.product-item .promotion .promo-list > ul li.pmh-content {
  background: #0891b2; /* Xanh nước biển */
}

.product-item .promotion .promo-list:empty {
  display: none;
}

.product-item .promotion .promo-list + p {
  width: calc(100% - 50px);
  -webkit-line-clamp: 2;
}

.product-item .promotion .coupon-price,
.product-item .promotion .gift-cont {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media screen and (max-width: 640px) {
  .product-item .promotion {
    font-size: 10px;
  }
  .product-item .promotion .promo-list {
    width: 50px;
    height: 32px;
    font-size: 7px;
  }
  .product-item .promotion .promo-list > ul li.pmh-title {
    padding: 0;
    font-size: 10px;
  }
  .product-item .promotion .promo-list + p {
    width: calc(100% - 48px);
  }
}

/* ==================== FOOTER ==================== */
.Footer_footer-contact-info__7DVFR {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 8px;
}

.Footer_footer-contact-info__7DVFR strong {
  color: #0891b2;
  font-size: 12px;
}

