/* ===== Khuyến Mãi Page Styles ===== */
.page-khuyen-mai {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #08160F;
  color: #F2FFF6;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== Hero Section ===== */
.page-khuyen-mai__hero-section {
  padding: 10px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.page-khuyen-mai__hero-image-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 12/5;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 8px 32px rgba(87, 227, 141, 0.15);
}

.page-khuyen-mai__hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 32px;
  text-align: center;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-khuyen-mai__hero-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
}

.page-khuyen-mai__hero-desc {
  font-size: 1.05rem;
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto 24px;
  padding: 0 8px;
}

.page-khuyen-mai__hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ===== Buttons ===== */
.page-khuyen-mai__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  box-shadow: 0 4px 20px rgba(18, 153, 74, 0.4);
}

.page-khuyen-mai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(87, 227, 141, 0.5);
}

.page-khuyen-mai__btn--secondary {
  background: #11271B;
  color: #F2C14E;
  border: 1px solid #2E7A4E;
}

.page-khuyen-mai__btn--secondary:hover {
  border-color: #57E38D;
  color: #57E38D;
}

.page-khuyen-mai__btn--gold {
  background: linear-gradient(180deg, #F2C14E 0%, #D4A02A 100%);
  color: #11271B;
  box-shadow: 0 4px 20px rgba(242, 193, 78, 0.3);
}

/* ===== Section Heading ===== */
.page-khuyen-mai__section-heading {
  text-align: center;
  padding: 48px 16px 24px;
}

.page-khuyen-mai__section-tag {
  color: #57E38D;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.page-khuyen-mai__section-title {
  color: #F2FFF6;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 12px;
}

.page-khuyen-mai__section-sub {
  color: #A7D9B8;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ===== Promo Cards ===== */
.page-khuyen-mai__promo-section {
  padding: 0 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-khuyen-mai__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin: 24px auto 0;
}

.page-khuyen-mai__promo-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(87, 227, 141, 0.2);
}

.page-khuyen-mai__promo-card-image {
  overflow: hidden;
}

.page-khuyen-mai__promo-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__promo-card-body {
  padding: 24px;
}

.page-khuyen-mai__promo-card-title {
  color: #F2FFF6;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-khuyen-mai__promo-card-desc {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.page-khuyen-mai__promo-card-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.page-khuyen-mai__promo-card-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #F2FFF6;
  font-size: 0.9rem;
}

.page-khuyen-mai__promo-card-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D;
  font-weight: 700;
}

.page-khuyen-mai__promo-card-actions {
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-khuyen-mai__promo-card-actions .page-khuyen-mai__btn {
  width: 100%;
  max-width: 100%;
}

/* ===== How To Section ===== */
.page-khuyen-mai__how-section {
  padding: 24px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-khuyen-mai__how-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.page-khuyen-mai__how-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.page-khuyen-mai__how-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.page-khuyen-mai__how-title {
  color: #F2FFF6;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-khuyen-mai__how-desc {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Guide Section ===== */
.page-khuyen-mai__guide-section {
  padding: 24px 24px 48px;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-khuyen-mai__guide-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.page-khuyen-mai__guide-text h3 {
  color: #F2C14E;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-khuyen-mai__guide-text p {
  color: #A7D9B8;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.page-khuyen-mai__guide-figure {
  text-align: center;
}

.page-khuyen-mai__guide-figure img {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  display: inline-block;
}

/* ===== FAQ Section ===== */
.page-khuyen-mai__faq-section {
  padding: 24px 24px 48px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-khuyen-mai__faq-list {
  margin-top: 24px;
}

.page-khuyen-mai__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: #F2FFF6;
  font-size: 1rem;
  list-style: none;
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
  display: none;
}

.page-khuyen-mai__faq-toggle {
  color: #57E38D;
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 16px;
  flex-shrink: 0;
}

.page-khuyen-mai__faq-answer {
  padding: 0 24px 20px;
  color: #A7D9B8;
  font-size: 0.95rem;
  border-top: 1px solid #1E3A2A;
}

.page-khuyen-mai__faq-answer p {
  margin: 16px 0 0;
}

/* ===== CTA Section ===== */
.page-khuyen-mai__cta-section {
  background: linear-gradient(135deg, #0A4B2C 0%, #11271B 100%);
  border-top: 1px solid #2E7A4E;
  border-bottom: 1px solid #2E7A4E;
  padding: 48px 24px;
  text-align: center;
  margin-top: 24px;
}

.page-khuyen-mai__cta-title {
  color: #F2FFF6;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.page-khuyen-mai__cta-desc {
  color: #A7D9B8;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 24px;
  padding: 0 12px;
}

.page-khuyen-mai__cta-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-khuyen-mai__cta-actions .page-khuyen-mai__btn {
  min-width: 220px;
  width: auto;
  max-width: 100%;
}

/* ===== Tablet (1024px) ===== */
@media (max-width: 1024px) {
  .page-khuyen-mai__how-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-khuyen-mai__promo-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Mobile (768px) ===== */
@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding: 8px 0 0;
  }

  .page-khuyen-mai__hero-image {
    aspect-ratio: 2/1;
    border-radius: 12px;
  }

  .page-khuyen-mai__hero-content {
    margin: 20px auto 24px;
  }

  .page-khuyen-mai__hero-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }

  .page-khuyen-mai__hero-actions .page-khuyen-mai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-khuyen-mai__promo-section {
    padding: 0 16px 32px;
  }

  .page-khuyen-mai__promo-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-khuyen-mai__promo-card-body {
    padding: 16px;
  }

  .page-khuyen-mai__how-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-khuyen-mai__how-section {
    padding: 16px 16px 32px;
  }

  .page-khuyen-mai__guide-section {
    padding: 16px 16px 32px;
  }

  .page-khuyen-mai__guide-figure {
    width: 100%;
  }

  .page-khuyen-mai__guide-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  .page-khuyen-mai__faq-section {
    padding: 16px 16px 32px;
  }

  .page-khuyen-mai__faq-question {
    padding: 14px 16px;
  }

  .page-khuyen-mai__faq-answer {
    padding: 0 16px 16px;
  }

  .page-khuyen-mai__cta-section {
    padding: 32px 16px;
  }

  .page-khuyen-mai__cta-actions {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .page-khuyen-mai__cta-actions .page-khuyen-mai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Prevent all images from overflowing */
  .page-khuyen-mai img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ===== Small Mobile (480px) ===== */
@media (max-width: 480px) {
  .page-khuyen-mai__section-heading {
    padding: 32px 12px 16px;
  }

  .page-khuyen-mai__section-title {
    font-size: 1.3rem;
  }

  .page-khuyen-mai__btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}