/* Khuyến mãi page styles */
.page-khuyen-mai {
  max-width: 100%;
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px 40px;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1920/560;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(255, 140, 26, 0.25);
}

.page-khuyen-mai__hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-khuyen-mai__hero-title {
  max-width: 900px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FF8C1A;
  margin: 0;
}

.page-khuyen-mai__hero-description {
  max-width: 1000px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
  margin: 0;
}

.page-khuyen-mai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Buttons */
.page-khuyen-mai__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #0D0E12;
  box-shadow: 0 4px 16px rgba(255, 140, 26, 0.4);
}

.page-khuyen-mai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 176, 77, 0.6);
}

.page-khuyen-mai__btn--secondary {
  background: transparent;
  color: #FFB04D;
  border: 2px solid #FFB04D;
}

.page-khuyen-mai__btn--secondary:hover {
  background: rgba(255, 140, 26, 0.15);
  transform: translateY(-2px);
}

/* Promo Grid */
.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.page-khuyen-mai__promo-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__promo-card--highlight {
  border: 2px solid #FFB04D;
  box-shadow: 0 8px 32px rgba(255, 176, 77, 0.15);
  grid-column: span 2;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 140, 26, 0.2);
}

.page-khuyen-mai__promo-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-khuyen-mai__promo-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-khuyen-mai__promo-badge--hot {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #0D0E12;
}

.page-khuyen-mai__promo-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF3E6;
  margin: 0;
  line-height: 1.4;
}

.page-khuyen-mai__promo-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #D0DDE7;
  margin: 0;
  flex-grow: 1;
}

.page-khuyen-mai__promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-khuyen-mai__promo-list-item {
  font-size: 0.85rem;
  color: #D0DDE7;
  padding-left: 20px;
  position: relative;
}

.page-khuyen-mai__promo-list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF8C1A;
  font-weight: 700;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__btn {
  margin-top: 12px;
}

/* Detail Section */
.page-khuyen-mai__detail-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.page-khuyen-mai__detail-header {
  text-align: center;
  margin-bottom: 24px;
}

.page-khuyen-mai__detail-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #FF8C1A;
  margin: 0 0 8px;
}

.page-khuyen-mai__detail-subheading {
  font-size: 1rem;
  color: #D0DDE7;
  margin: 0;
}

.page-khuyen-mai__detail-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 16px;
  padding: 32px 40px;
}

.page-khuyen-mai__detail-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF3E6;
  margin: 0 0 16px;
}

.page-khuyen-mai__detail-content p:last-child {
  margin-bottom: 0;
}

.page-khuyen-mai__quote {
  border-left: 4px solid #FF8C1A;
  margin: 20px 0 0;
  padding: 8px 0 8px 20px;
}

.page-khuyen-mai__quote p {
  color: #FFB04D;
  font-style: italic;
  font-size: 1.1rem;
  margin: 0;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

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

.page-khuyen-mai__faq-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #FF8C1A;
  text-align: center;
  margin: 0 0 32px;
}

.page-khuyen-mai__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #FFF3E6;
  list-style: none;
  transition: background-color 0.2s ease;
}

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

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

.page-khuyen-mai__faq-toggle {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border: 1px solid #FF8C1A;
  border-radius: 50%;
  color: #FF8C1A;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #0D0E12;
  border-color: transparent;
}

.page-khuyen-mai__faq-answer {
  padding: 0 20px 20px 54px;
  color: #D0DDE7;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.page-khuyen-mai__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-khuyen-mai__promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-khuyen-mai__promo-card--highlight {
    grid-column: span 2;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding: 10px 16px 24px;
    gap: 16px;
  }

  .page-khuyen-mai__hero-image {
    aspect-ratio: 2/1;
    max-width: 100%;
    height: auto;
  }

  .page-khuyen-mai__hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

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

  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__promo-card--highlight {
    grid-column: span 1;
  }

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

  .page-khuyen-mai__detail-content {
    padding: 20px;
  }

  .page-khuyen-mai__detail-heading,
  .page-khuyen-mai__faq-heading {
    font-size: 1.5rem;
  }

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

  .page-khuyen-mai__promo-card-desc,
  .page-khuyen-mai__promo-list-item {
    font-size: 0.85rem;
  }

  .page-khuyen-mai__quote p {
    font-size: 1rem;
  }

  .page-khuyen-mai__faq-answer {
    padding-left: 20px;
  }

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

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