/* ==========================================================================
   SECTION 04: DEAL HOT MOI NGAY (FLASH SALE)
   ========================================================================== */

.pog-deals-section {
  position: relative;
  padding: 28px 0 34px;
  background-color: #FFF3E6;
  background-image: linear-gradient(180deg, rgba(255, 248, 240, 0.25) 0%, rgba(255, 245, 234, 0.12) 100%),
                    url('../images/nen-deal-hot.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Header + Countdown Pill */
.pog-deals__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.pog-deals__title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pog-deals__bolt {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pog-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(250, 79, 38, 0.3);
  flex-shrink: 0;
}

.pog-deals__title {
  margin: 0 0 2px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pog-dark);
}

.pog-deals__subtitle {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #2D3138;
}

/* Orange Countdown Pill */
.pog-deals__timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #FA4F26 0%, #FF6B35 100%);
  padding: 8px 16px;
  border-radius: 9999px;
  box-shadow: 0 8px 22px rgba(250, 79, 38, 0.28);
  color: #FFFFFF;
}

.pog-deals__timer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
}

.pog-deals__digit {
  min-width: 38px;
  height: 36px;
  padding: 0 8px;
  border-radius: 9px;
  background: #FFF9F3;
  color: var(--pog-dark);
  font-size: 17px;
  font-weight: 800;
  line-height: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pog-deals__colon {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

/* 4-Column Product Grid */
.pog-deals__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pog-deal-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(26, 27, 30, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pog-deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(250, 79, 38, 0.14);
}

.pog-deal-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #FFF8F2;
  margin-bottom: 12px;
}

.pog-deal-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pog-deal-card:hover .pog-deal-card__img {
  transform: scale(1.05);
}

.pog-deal-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 44px;
  height: 28px;
  padding: 0 9px;
  border-radius: 9999px;
  background: var(--pog-primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(250, 79, 38, 0.32);
}

.pog-deal-card__rating {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 9999px;
  background: #FFF7ED;
  border: 1px solid #FDE68A;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  color: var(--pog-dark);
  white-space: nowrap;
}

.pog-deal-card__star {
  color: #F59E0B;
  flex-shrink: 0;
}

.pog-deal-card__rating-count {
  color: var(--pog-muted);
  font-weight: 600;
  font-size: 10.5px;
}

.pog-deal-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pog-deal-card__title {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.pog-deal-card__title a {
  color: var(--pog-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}

.pog-deal-card__title a:hover {
  color: var(--pog-primary);
}

.pog-deal-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.pog-deal-card__prices {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pog-deal-card__price-now {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--pog-primary);
  line-height: 1.2;
}

.pog-deal-card__price-old {
  font-size: 12px;
  color: #8A8F98;
  line-height: 1.2;
  margin-top: 2px;
}

.pog-deal-card__cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pog-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(250, 79, 38, 0.25);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.pog-deal-card__cart:hover {
  background: var(--pog-primary-hover);
  transform: scale(1.06);
}

.pog-deal-card__cart.added {
  background: #16A34A;
}

/* Progress Bar */
.pog-deal-card__progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pog-deal-card__progress-bar {
  width: 100%;
  height: 7px;
  border-radius: 9999px;
  background: #FFE5D0;
  overflow: hidden;
}

.pog-deal-card__progress-fill {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FA4F26 0%, #FF8A4C 100%);
}

.pog-deal-card__sold-text {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pog-muted);
}

/* Bottom CTA Pill */
.pog-deals__footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pog-deals__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FA4F26 0%, #FF6B35 100%);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(250, 79, 38, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pog-deals__more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(250, 79, 38, 0.36);
}

/* ==========================================================================
   RESPONSIVE DEAL HOT
   ========================================================================== */
@media (max-width: 992px) {
  .pog-deals-section {
    padding: 24px 0 28px;
  }
  .pog-deals__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .pog-deals-section {
    padding: 22px 0 26px;
  }
  .pog-deals__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }
  .pog-deals__bolt {
    width: 36px;
    height: 36px;
  }
  .pog-deals__digit {
    min-width: 34px;
    height: 32px;
    line-height: 32px;
    font-size: 15px;
  }
  .pog-deals__grid {
    gap: 10px;
  }
  .pog-deal-card {
    border-radius: 14px;
    padding: 8px;
    min-width: 0;
  }
  .pog-deal-card__media {
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .pog-deal-card__title {
    font-size: 13px;
    min-height: 36px;
    margin-bottom: 6px;
  }
  .pog-deal-card__price-row {
    gap: 4px;
    margin-bottom: 9px;
  }
  .pog-deal-card__price-now {
    font-size: 14px;
  }
  .pog-deal-card__price-old {
    font-size: 11px;
  }
  .pog-deal-card__rating {
    padding: 2px 5px;
    font-size: 10px;
    gap: 2px;
  }
  .pog-deal-card__rating-count {
    display: none;
  }
  .pog-deal-card__cart {
    width: 28px;
    height: 28px;
  }
  .pog-deal-card__cart svg {
    width: 14px;
    height: 14px;
  }
  .pog-deals__footer {
    margin-top: 16px;
  }
}
