.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-khuyen-mai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-khuyen-mai__section {
  padding: 60px 0;
}

.page-khuyen-mai__section-title {
  font-size: 36px;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-khuyen-mai__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  display: block;
}

.page-khuyen-mai__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 100px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-khuyen-mai__hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.page-khuyen-mai__hero-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
}

.page-khuyen-mai__hero-cta {
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  color: #F2FFF6; /* Text Main */
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.page-khuyen-mai__hero-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* General Buttons */
.page-khuyen-mai__btn-primary {
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  color: #F2FFF6; /* Text Main */
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
  border: none;
}

.page-khuyen-mai__btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-khuyen-mai__btn-secondary {
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  color: #11A84E; /* Main Color */
  background: #F2FFF6; /* Text Main */
  border: 2px solid #11A84E; /* Main Color */
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.page-khuyen-mai__btn-secondary:hover {
  transform: translateY(-2px);
  background: #11A84E; /* Main Color */
  color: #F2FFF6; /* Text Main */
}

/* Promotion Cards */
.page-khuyen-mai__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.page-khuyen-mai__promotion-card {
  background: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

.page-khuyen-mai__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__card-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-khuyen-mai__card-description {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* How-To Steps */
.page-khuyen-mai__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-khuyen-mai__dark-section .page-khuyen-mai__section-title {
  color: #F2C14E; /* Gold */
}

.page-khuyen-mai__dark-section .page-khuyen-mai__text-block {
  color: #A7D9B8; /* Text Secondary */
}

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

.page-khuyen-mai__step-item {
  background: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-khuyen-mai__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__step-title {
  font-size: 20px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-khuyen-mai__step-item p {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-khuyen-mai__step-item a {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-khuyen-mai__step-item a:hover {
  color: #57E38D; /* Glow */
}

.page-khuyen-mai__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Terms Section */
.page-khuyen-mai__list {
  list-style: disc;
  padding-left: 40px;
  margin-top: 20px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-khuyen-mai__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-khuyen-mai__list li a {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-khuyen-mai__list li a:hover {
  color: #57E38D; /* Glow */
}

/* Why Choose Section */
.page-khuyen-mai__medium-bg {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-khuyen-mai__medium-bg .page-khuyen-mai__section-title {
  color: #F2C14E; /* Gold */
}

.page-khuyen-mai__medium-bg .page-khuyen-mai__text-block {
  color: #A7D9B8; /* Text Secondary */
}

.page-khuyen-mai__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.page-khuyen-mai__feature-item {
  background: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-khuyen-mai__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__feature-title {
  font-size: 20px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-khuyen-mai__feature-item p {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-khuyen-mai__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}

details.page-khuyen-mai__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question:hover {
  background: rgba(46, 122, 78, 0.2); /* Border with transparency */
}

.page-khuyen-mai__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-khuyen-mai__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer {
  padding: 0 25px 20px;
  background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 0 0 8px 8px;
}

details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

/* Bottom CTA */
.page-khuyen-mai__cta-bottom-section {
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-khuyen-mai__cta-bottom-section .page-khuyen-mai__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-khuyen-mai__cta-bottom-section .page-khuyen-mai__text-block {
  color: #A7D9B8; /* Text Secondary */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding: 0 20px;
}

/* Global image responsiveness */
.page-khuyen-mai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-khuyen-mai__hero-image-wrapper {
    height: 500px;
  }
  .page-khuyen-mai__hero-content {
    padding-top: 80px;
  }
  .page-khuyen-mai__hero-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
  }
  .page-khuyen-mai__hero-description {
    font-size: 17px;
  }
  .page-khuyen-mai__section-title {
    font-size: 32px;
  }
  .page-khuyen-mai__grid-3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-khuyen-mai__grid-2-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Hero Section Mobile */
  .page-khuyen-mai__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 40px;
  }
  .page-khuyen-mai__hero-image-wrapper {
    height: 350px;
    position: relative; /* Make it flow naturally */
    margin-bottom: 20px;
  }
  .page-khuyen-mai__hero-image {
    object-fit: contain !important; /* Prevent cropping */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    filter: brightness(0.7);
  }
  .page-khuyen-mai__hero-content {
    padding: 0 15px;
    max-width: 100%;
  }
  .page-khuyen-mai__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-khuyen-mai__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-khuyen-mai__hero-cta {
    font-size: 18px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Sections Mobile */
  .page-khuyen-mai__section {
    padding: 40px 0;
  }
  .page-khuyen-mai__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-khuyen-mai__text-block {
    font-size: 15px;
    padding: 0 15px;
    text-align: left;
  }
  .page-khuyen-mai__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Promotion Cards Mobile */
  .page-khuyen-mai__grid-3-cols {
    grid-template-columns: 1fr; /* Single column layout */
    padding: 0 15px;
    overflow-x: hidden;
  }
  .page-khuyen-mai__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__card-title {
    font-size: 20px;
  }
  .page-khuyen-mai__card-description {
    font-size: 14px;
  }

  /* How-To Steps Mobile */
  .page-khuyen-mai__steps-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-khuyen-mai__step-title {
    font-size: 18px;
  }
  .page-khuyen-mai__step-item p {
    font-size: 14px;
  }

  /* Terms Section Mobile */
  .page-khuyen-mai__list {
    padding-left: 25px;
    font-size: 14px;
  }
  .page-khuyen-mai__list li {
    font-size: 15px;
  }

  /* Why Choose Section Mobile */
  .page-khuyen-mai__grid-2-cols {
    grid-template-columns: 1fr; /* Single column layout */
    padding: 0 15px;
  }
  .page-khuyen-mai__feature-title {
    font-size: 18px;
  }
  .page-khuyen-mai__feature-item p {
    font-size: 14px;
  }

  /* FAQ Section Mobile */
  .page-khuyen-mai__faq-list {
    padding: 0 15px;
  }
  details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question {
    padding: 15px 20px;
  }
  .page-khuyen-mai__faq-qtext {
    font-size: 16px;
  }
  .page-khuyen-mai__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer {
    padding: 0 20px 15px;
  }
  details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer p {
    font-size: 15px;
  }

  /* Bottom CTA Mobile */
  .page-khuyen-mai__cta-bottom-section {
    padding: 60px 0;
  }
  .page-khuyen-mai__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary,
  .page-khuyen-mai a[class*="button"],
  .page-khuyen-mai a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General Image & Container Mobile */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-khuyen-mai__card-image {
    height: 180px;
  }
  .page-khuyen-mai__feature-icon {
    width: 70px;
    height: 70px;
  }
}