.page-khuyen-mai {
  color: #FFF1E8; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-khuyen-mai__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Fixed header offset handled by body padding in shared.css */
  padding-bottom: 60px;
  background: #140C0C; /* Using body background as hero background */
}

.page-khuyen-mai__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-khuyen-mai__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-khuyen-mai__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-khuyen-mai__hero-description {
  font-size: 1.125rem;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-khuyen-mai__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-khuyen-mai__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-khuyen-mai__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-khuyen-mai__section-description {
  font-size: 1rem;
  color: #FFF1E8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-khuyen-mai__intro-section {
  padding: 60px 0;
  background: #140C0C;
}

.page-khuyen-mai__promo-categories {
  padding: 60px 0;
  background: #140C0C;
}

.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai__promo-card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai__promo-card-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-khuyen-mai__promo-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-khuyen-mai__promo-card-text {
  font-size: 0.95rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__guide-section {
  padding: 60px 0;
  background: #140C0C;
}

.page-khuyen-mai__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai__guide-step {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.page-khuyen-mai__guide-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.page-khuyen-mai__guide-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-khuyen-mai__guide-text {
  font-size: 0.95rem;
  color: #FFF1E8;
}

.page-khuyen-mai__guide-image {
  margin-top: 50px;
  text-align: center;
}

.page-khuyen-mai__guide-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__terms-section {
  padding: 60px 0;
  background: #140C0C;
  text-align: center;
}

.page-khuyen-mai__faq-section {
  padding: 60px 0;
  background: #140C0C;
}

.page-khuyen-mai__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-khuyen-mai__faq-item {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-khuyen-mai__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-khuyen-mai__faq-qtext {
  flex-grow: 1;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFF1E8;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  content: '−';
}

.page-khuyen-mai__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF1E8;
  line-height: 1.7;
}

.page-khuyen-mai__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-khuyen-mai__dark-section {
  background: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
}

/* Buttons */
.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__btn-small {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C;
  border: 2px solid transparent;
}

.page-khuyen-mai__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-khuyen-mai__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C;
}

.page-khuyen-mai__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C;
  border: none;
  margin-top: auto; /* Push button to bottom of card */
}

.page-khuyen-mai__btn-small:hover {
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-khuyen-mai__hero-content {
    text-align: center;
  }

  .page-khuyen-mai__hero-cta-buttons {
    justify-content: center;
  }

  .page-khuyen-mai__promo-grid,
  .page-khuyen-mai__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-khuyen-mai__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }

  .page-khuyen-mai__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-khuyen-mai__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-khuyen-mai__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons - Mobile specific */
  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary,
  .page-khuyen-mai__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General content sections */
  .page-khuyen-mai__container {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-khuyen-mai__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-khuyen-mai__section-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  /* Promo Categories */
  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-khuyen-mai__promo-card-image {
    max-height: 150px;
  }

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

  /* Guide Section */
  .page-khuyen-mai__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuyen-mai__guide-step {
    padding: 25px;
  }

  .page-khuyen-mai__guide-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }

  /* Images - Mobile specific */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* FAQ Section */
  .page-khuyen-mai__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-khuyen-mai__faq-toggle {
    font-size: 1.5rem;
  }

  .page-khuyen-mai__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  /* CTA Section */
  .page-khuyen-mai__cta-section {
    padding: 50px 0;
  }
}