/* Khuyến Mãi Page Styles - 789pet Red Gold Theme */
body {
  padding-top: var(--header-offset, 80px);
  margin: 0;
}

.page-khuyen-mai {
  color: #FFF1E8;
  background-color: #140C0C;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* HERO Section - Hero image on top, content below */
.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  padding: 10px 0 0 0;
  background: linear-gradient(135deg, #1a0a0a 0%, #140C0C 100%);
}

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

.page-khuyen-mai__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 24/7;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai__hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  text-align: center;
  box-sizing: border-box;
}

.page-khuyen-mai__hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #F3C54D;
  margin: 0 0 16px;
  max-width: 100%;
}

.page-khuyen-mai__hero-description {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #FFF1E8;
  margin: 0 auto 24px;
  max-width: 800px;
  opacity: 0.95;
}

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

.page-khuyen-mai__btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  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:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 197, 77, 0.25);
}

.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border: none;
}

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

.page-khuyen-mai__btn--secondary:hover {
  background: rgba(243, 197, 77, 0.1);
}

/* Promo Grid Section */
.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
}

.page-khuyen-mai__promo-card {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.page-khuyen-mai__promo-card:hover {
  box-shadow: 0 8px 30px rgba(198, 31, 31, 0.3);
}

.page-khuyen-mai__promo-card-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-khuyen-mai__promo-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.page-khuyen-mai__promo-card-body {
  padding: 20px;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__promo-card-tag {
  position: absolute;
  top: -12px;
  right: 16px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-khuyen-mai__promo-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F3C54D;
  margin: 0 0 12px;
  line-height: 1.3;
}

.page-khuyen-mai__promo-card-body p {
  color: #FFF1E8;
  margin: 0 0 20px;
  font-size: 0.9rem;
  flex: 1;
}

.page-khuyen-mai__promo-card-link {
  color: #F3C54D;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.page-khuyen-mai__promo-card-link:hover {
  color: #FFB04A;
  text-decoration: underline;
}

/* Terms & Conditions Section */
.page-khuyen-mai__terms-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-khuyen-mai__terms-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #F3C54D;
  text-align: center;
  margin: 0 0 16px;
}

.page-khuyen-mai__terms-intro {
  text-align: center;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 32px;
}

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

.page-khuyen-mai__terms-item {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  padding: 24px;
}

.page-khuyen-mai__terms-item h3 {
  color: #F3C54D;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-khuyen-mai__terms-item p {
  color: #FFF1E8;
  font-size: 0.9rem;
  margin: 0;
}

/* Guide Section */
.page-khuyen-mai__guide-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  box-sizing: border-box;
}

.page-khuyen-mai__guide-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  color: #F3C54D;
  margin: 0 0 16px;
}

.page-khuyen-mai__guide-intro {
  text-align: center;
  color: #FFF1E8;
  margin: 0 0 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-khuyen-mai__guide-item {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 16px;
  padding: 24px;
}

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

.page-khuyen-mai__guide-item h3 {
  color: #F3C54D;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-khuyen-mai__guide-item p {
  color: #FFF1E8;
  font-size: 0.9rem;
  margin: 0;
}

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

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

  .page-khuyen-mai__hero-image {
    aspect-ratio: 4/3;
    border-radius: 8px;
  }

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

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

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

  .page-khuyen-mai__terms-section {
    padding: 32px 16px;
  }

  .page-khuyen-mai__guide-section {
    padding: 16px 16px 32px;
  }

  .page-khuyen-mai__guide-item {
    padding: 16px;
  }

  .page-khuyen-mai__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: auto;
  }

  .page-khuyen-mai__hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

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

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

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

/* Accordion styles if needed for FAQ (unused) */
.page-khuyen-mai__faq-details {
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #2A1212;
}

.page-khuyen-mai__faq-toggle {
  color: #FFF1E8;
  padding: 16px;
  cursor: pointer;
}