/* ===== Summer Sale Hero (Hot Deals) ===== */
#ce-htd-hero-sec {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: stretch;
  /* Custom properties are set inline from the Customizer (page-templates/hot-deals.php). */
  background: var(--ce-htd-hero-bg, url(../imgs/ce-htd-hero-bg.jpg));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#ce-htd-hero-sec > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#ce-htd-hero-sec .row {
  flex: 1 0 auto;
}

.ce-htd-card-container {
  background: rgba(0, 0, 0, 0.256);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 4rem 0;
}

.ce-htd-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 80%;
}

.ce-htd-content {
  background: var(--ce-htd-card-bg, #163b66b2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  color: var(--primary-color);
  backdrop-filter: blur(2px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  gap: 5px;
  justify-content: center;
}

.ce-htd-price {
  color: var(--ce-htd-price-color, var(--theme-color-4));
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
}

.ce-htd-old {
  text-decoration: line-through;
  color: #cbd6d6;
}

.ce-htd-off {
  color: var(--ce-htd-off-color, var(--theme-color-4));
  font-weight: 700;
}

.ce-htd-lifetime {
  color: var(--theme-color-6);
}

.ce-htd-coupon-pill {
  background: var(--primary-color);
  color: var(--theme-color-2);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  display: inline-block;
  border: 2px dashed var(--theme-color-5);
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.ce-htd-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ce-htd-image-col img {
  max-height: 60vh;
  width: auto;
  object-fit: contain;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  #ce-htd-hero-sec {
    min-height: 0;
    overflow: visible;
  }

  #ce-htd-hero-sec > .container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .ce-htd-card-container {
    padding: 1rem 0;
  }

  .ce-htd-card {
    width: 100%;
  }

  .ce-htd-image-col img {
    max-height: 42vh;
    margin-top: 1.5rem;
  }

  .ce-htd-price {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .ce-htd-card-container {
    height: auto;
    padding: 2rem;
  }

  #ce-htd-hero-sec .row {
    flex-direction: column-reverse;
  }
}

@media (max-width: 575.98px) {
  .ce-htd-content {
    padding: 1rem 1.2rem;
  }

  .ce-htd-coupon-pill {
    font-size: 0.85rem;
    padding: 0.5rem 1.1rem;
  }
}

/* ===== Popular Bundles (Hot Deals) ===== */
#ce-htd-ppcrs-sec {
  padding: 60px 0;
  background: var(--bg-gradient-theme-10_11);
}

.ce-htd-ppcrs-title {
  color: var(--theme-color-1);
  font-weight: 700;
  margin-bottom: 3rem;
}

.ce-htd-ppcrs-card {
  background: var(--primary-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 37, 69, 0.06);
  margin-bottom: 1.6rem;
}

.ce-htd-ppcrs-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ce-htd-ppcrs-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.ce-htd-ppcrs-off-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--theme-color-3);
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}

.ce-htd-ppcrs-title-sm {
  color: var(--theme-color-2);
  font-weight: 700;
}

.ce-htd-ppcrs-badges {
  background: var(--theme-color-11);
}

.ce-htd-ppcrs-badge-item {
  color: #6c7a89;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

.ce-htd-ppcrs-badge-item:not(:last-child) {
  border-right: 1px solid var(--theme-color-1);
  padding-right: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
  .ce-htd-ppcrs-img-wrap {
    height: 160px;
  }

  .ce-htd-ppcrs-card .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* ===== WHY CHOOSE ===== */
.ce-htd-why-section {
  padding: 70px 0;
}

.ce-htd-why-card {
  background: var(--bg-gradient-theme-5_10);
  color: var(--primary-color);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
}

.ce-htd-why-icon {
  width: 100px;
  height: 100px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1rem;
}

@media (max-width: 575.98px) {
  .ce-htd-why-icon {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
  }
}

/* ===== lifetime CTA Section ===== */

#ce-lft-sec {
  background: var(--bg-gradient-theme-10_11);
  padding: 5rem 0;
  overflow: hidden;
}
.ce-lft-img{
    max-width: 350px;
    height: auto;
    position: relative;
    z-index: 1;
}