.page-khuyen-mai {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --page-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  color: var(--text-main); /* Body background is dark, so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

/* Hero Section */
.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top margin, assuming body has padding-top from shared.css */
  padding-bottom: 40px;
  background-color: var(--page-bg);
  position: relative;
  overflow: hidden;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-khuyen-mai__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-khuyen-mai__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-khuyen-mai__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-khuyen-mai__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-khuyen-mai__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-khuyen-mai__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.page-khuyen-mai__btn-link {
  background: none;
  color: var(--primary-color);
  border: 2px solid transparent;
  padding: 10px 0;
}

.page-khuyen-mai__btn-link:hover {
  text-decoration: underline;
}

/* Common Section Styles */
.page-khuyen-mai__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-khuyen-mai__section-description {
  font-size: 1.1em;
  color: var(--text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Promotions Overview Section */
.page-khuyen-mai__promotions-overview {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.page-khuyen-mai__dark-section {
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-khuyen-mai__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__promotion-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--border-color);
}

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

.page-khuyen-mai__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-khuyen-mai__card-text {
  font-size: 1em;
  color: var(--text-main);
  padding: 0 15px 20px 15px;
}

/* Guide Section */
.page-khuyen-mai__guide-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.page-khuyen-mai__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__step-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-khuyen-mai__step-icon {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 8px rgba(255, 140, 26, 0.3);
}

.page-khuyen-mai__step-icon img {
  
  
  object-fit: contain;
}

.page-khuyen-mai__step-number {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background-color: var(--deep-orange);
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  border: 2px solid var(--card-bg);
}

.page-khuyen-mai__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-khuyen-mai__step-text {
  font-size: 1em;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* Terms Section */
.page-khuyen-mai__terms-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.page-khuyen-mai__terms-list {
  list-style: disc inside;
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding-left: 20px;
}

.page-khuyen-mai__terms-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Special Promotions Section */
.page-khuyen-mai__special-promotions {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.page-khuyen-mai__special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__special-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--border-color);
}

/* Why Choose Section */
.page-khuyen-mai__why-choose-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.page-khuyen-mai__benefits-list {
  list-style: none;
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding: 0;
}

.page-khuyen-mai__benefits-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
  text-align: left;
}

.page-khuyen-mai__benefits-list li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

/* General Image and Button Responsive Styles */
.page-khuyen-mai img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai__btn-link,
.page-khuyen-mai a[class*="button"],
.page-khuyen-mai a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__promotion-grid,
.page-khuyen-mai__step-grid,
.page-khuyen-mai__special-grid,
.page-khuyen-mai__cta-buttons,
.page-khuyen-mai__button-group,
.page-khuyen-mai__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles for Tablets and Mobiles */
@media (max-width: 768px) {
  .page-khuyen-mai {
    font-size: 15px;
  }

  .page-khuyen-mai__container {
    padding: 15px;
  }

  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-khuyen-mai__hero-content {
    padding: 0 15px;
  }

  .page-khuyen-mai__main-title {
    font-size: 2em;
  }

  .page-khuyen-mai__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-khuyen-mai__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-khuyen-mai__promotions-overview,
  .page-khuyen-mai__guide-section,
  .page-khuyen-mai__terms-section,
  .page-khuyen-mai__special-promotions,
  .page-khuyen-mai__why-choose-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__promotion-grid,
  .page-khuyen-mai__step-grid,
  .page-khuyen-mai__special-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuyen-mai__promotion-card,
  .page-khuyen-mai__step-item,
  .page-khuyen-mai__special-card {
    padding: 20px 15px;
  }

  .page-khuyen-mai__card-title,
  .page-khuyen-mai__step-title {
    font-size: 1.3em;
  }

  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary,
  .page-khuyen-mai__btn-link,
  .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;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-khuyen-mai__cta-buttons,
  .page-khuyen-mai__button-group,
  .page-khuyen-mai__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* No specific hero carousel or guide box for this page, so no rules for those. */
  /* This page does not have a home_content box, so no rules for that. */
  /* This page does not have a blog grid section, so no rules for that. */
}