/* ===== Hot Deal Grid Section ===== */
.hotdeal-grid {
  --lime: #B4CF32;
  --lime-hi: #CBE455;
  --lime-lo: #96A927;
  --ink: #E6E7EA;
  --dark-bg: rgba(11, 14, 19, 0.75);

  position: relative;
  padding: clamp(40px, 6vw, 80px) 0;
  color: var(--ink);
}

.hotdeal-grid__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

/* ===== Section Header ===== */
.hotdeal-section {
  margin-bottom: clamp(40px, 5vw, 60px);
}

.hotdeal-section:last-child {
  margin-bottom: 0;
}

.hotdeal-section__header {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hotdeal-section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin: 0;
  color: #0b0e13;
  text-align: left;
}

/* ===== Cards Grid ===== */
.hotdeal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

/* ===== Individual Card ===== */
.hotdeal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #BADA3A 0%, #A5C72E 100%);
  border: 3px solid var(--lime);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 6px rgba(180, 207, 50, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotdeal-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.5),
    0 0 0 8px rgba(180, 207, 50, 0.15);
}

/* Card Media */
.hotdeal-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  box-sizing: border-box;
}

.hotdeal-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(1.02);
  border-radius: 8px;
}

/* Card Body */
.hotdeal-card__body {
  flex: 1;
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotdeal-card__title {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  color: #0b0e13;
}

.hotdeal-card__excerpt {
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.6;
  color: #0b0e13;
  margin: 0;
  opacity: 0.9;
}

.hotdeal-card__content {
  font-size: clamp(13px, 1.5vw, 14px);
  line-height: 1.7;
  color: #0b0e13;
}

.hotdeal-card__content ul {
  margin: 8px 0;
  padding-left: 20px;
  list-style: none;
}

.hotdeal-card__content ul li {
  position: relative;
  padding-left: 6px;
  margin-bottom: 6px;
}

.hotdeal-card__content ul li::before {
  content: "•";
  position: absolute;
  left: -14px;
  color: #0b0e13;
  font-weight: bold;
}

.hotdeal-card__price {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 800;
  color: #0b0e13;
  margin-top: auto;
  padding-top: 8px;
}

/* Card Actions */
.hotdeal-card__actions {
  margin-top: 8px;
}

.hotdeal-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--lime-hi) 0%, var(--lime) 55%, var(--lime-lo) 100%);
  color: #0b0e13;
  font-weight: 800;
  font-size: clamp(14px, 1.6vw, 15px);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.hotdeal-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.hotdeal-card__btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Card Conditions Badge */
.hotdeal-card__conditions {
  background: linear-gradient(135deg, #FFF9C4 0%, #F9E79F 100%);
  color: #0b0e13;
  font-size: clamp(12px, 1.4vw, 13px);
  font-weight: 700;
  line-height: 1.5;
  padding: 12px 16px;
  text-align: center;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hotdeal-cards {
    grid-template-columns: 1fr;
  }

  .hotdeal-section__title {
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hotdeal-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .hotdeal-cards {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: reduce) {

  .hotdeal-card,
  .hotdeal-card__btn {
    transition: none !important;
  }

  .hotdeal-card:hover {
    transform: none;
  }

  .hotdeal-card__btn:hover {
    transform: none;
  }
}