/* ===== Khuyến Mãi Page Styles ===== */
.page-khuyen-mai {
  color: #333333;
  overflow-x: hidden;
}

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

/* Hero Section */
.page-khuyen-mai__hero-section {
  padding-top: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF6FC 100%);
}

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

.page-khuyen-mai__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  border-radius: 12px;
}

.page-khuyen-mai__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0 24px;
  text-align: center;
}

.page-khuyen-mai__hero-title {
  color: #0477DB;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 800px;
  margin: 0 auto 12px;
}

.page-khuyen-mai__hero-description {
  max-width: 700px;
  margin: 0 auto 24px;
  color: #444;
  line-height: 1.6;
}

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

/* Buttons */
.page-khuyen-mai__btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__btn--primary {
  background: #EA7C07;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(234, 124, 7, 0.3);
}

.page-khuyen-mai__btn--secondary {
  background: #26A9E0;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.3);
}

.page-khuyen-mai__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Logo Grid Section */
.page-khuyen-mai__logo-grid-section {
  padding: 24px 0;
}

.page-khuyen-mai__section-title {
  text-align: center;
  color: #0477DB;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px;
}

.page-khuyen-mai__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  width: 100%;
}

.page-khuyen-mai__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  box-sizing: border-box;
}

.page-khuyen-mai__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: contain;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  background: #fff;
}

.page-khuyen-mai__logo-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: #0477DB;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.page-khuyen-mai__logo-cta:hover {
  background: #0056A4;
}

.page-khuyen-mai__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-khuyen-mai__logo-item:nth-child(6) {
  grid-column: 3;
}

/* Guide Section */
.page-khuyen-mai__guide-section {
  padding: 24px 0 48px;
  background: #F8FCFF;
}

.page-khuyen-mai__guide-title {
  text-align: center;
  color: #0477DB;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
}

.page-khuyen-mai__guide-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
  color: #444;
  line-height: 1.6;
}

.page-khuyen-mai__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

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

.page-khuyen-mai__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  margin: 0 auto;
}

.page-khuyen-mai__guide-figure figcaption {
  text-align: center;
  padding: 8px 0 0;
  color: #555;
  font-size: 15px;
}

/* Promo List Section */
.page-khuyen-mai__promo-list {
  padding: 32px 0;
}

.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-khuyen-mai__promo-card {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}

.page-khuyen-mai__promo-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-khuyen-mai__promo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
}

.page-khuyen-mai__promo-title {
  color: #222;
  font-size: 20px;
  line-height: 1.4;
  margin: 16px 0 8px;
}

.page-khuyen-mai__promo-card p {
  color: #555;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  padding: 32px 0;
  background: #F8FCFF;
}

.page-khuyen-mai__faq-item {
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  padding: 0 16px;
}

.page-khuyen-mai__faq-question {
  cursor: pointer;
  font-weight: 600;
  color: #0477DB;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

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

.page-khuyen-mai__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #26A9E0;
}

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

.page-khuyen-mai__faq-item p {
  color: #555;
  padding: 0 0 16px;
  margin: 0;
  line-height: 1.6;
}

/* CTA Section */
.page-khuyen-mai__cta-section {
  padding: 48px 0;
  background: linear-gradient(135deg, #26A9E0 0%, #0477DB 100%);
}

.page-khuyen-mai__cta-title {
  color: #FFFFFF;
  text-align: center;
  margin: 0 0 12px;
}

.page-khuyen-mai__cta-section p {
  color: #FFFFFF;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-khuyen-mai__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-khuyen-mai__logo-item:nth-child(5),
  .page-khuyen-mai__logo-item:nth-child(6) {
    grid-column: auto;
  }

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

@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding-top: 8px;
  }

  .page-khuyen-mai__hero-image {
    aspect-ratio: 2/1;
  }

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

  .page-khuyen-mai__hero-actions,
  .page-khuyen-mai__cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .page-khuyen-mai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .page-khuyen-mai__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-khuyen-mai__logo-item:nth-child(5),
  .page-khuyen-mai__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-khuyen-mai__section-title {
    font-size: 22px;
  }

  .page-khuyen-mai__guide-title {
    font-size: 22px;
  }

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

  .page-khuyen-mai__guide-image,
  .page-khuyen-mai__promo-image {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
  }

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

  .page-khuyen-mai {
    max-width: 100%;
    overflow-x: hidden;
  }
}