/* ====== Khuyến Mãi Page Styles (BEM) ====== */
.page-khuyen-mai{
  background-color: #F5F7FA;
  color: #333333;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-khuyen-mai__hero-section{
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  padding: 10px 0 0 0;
}
.page-khuyen-mai__hero-image-wrapper{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}
.page-khuyen-mai__hero-image{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.page-khuyen-mai__hero-content{
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  text-align: center;
  color: #ffffff;
}
.page-khuyen-mai__hero-title{
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.page-khuyen-mai__hero-subtitle{
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto 24px;
  opacity: 0.95;
}
.page-khuyen-mai__hero-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Buttons */
.page-khuyen-mai__btn{
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.page-khuyen-mai__btn--primary{
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229,57,53,0.3);
}
.page-khuyen-mai__btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229,57,53,0.4);
}
.page-khuyen-mai__btn--secondary{
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-color: #ffffff;
}
.page-khuyen-mai__btn--secondary:hover{
  background: rgba(255,255,255,0.25);
}
.page-khuyen-mai__btn--small{
  padding: 8px 20px;
  font-size: 0.85rem;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #fff;
}
.page-khuyen-mai__btn--ghost{
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.page-khuyen-mai__btn--ghost:hover{
  background: rgba(255,255,255,0.1);
}

/* Promo Section */
.page-khuyen-mai__promo-section{
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}
.page-khuyen-mai__section-header{
  text-align: center;
  margin-bottom: 32px;
}
.page-khuyen-mai__section-title{
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #E53935;
  margin: 0 0 8px;
  line-height: 1.3;
}
.page-khuyen-mai__section-desc{
  max-width: 720px;
  margin: 0 auto;
  color: #666666;
}
.page-khuyen-mai__promo-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-khuyen-mai__promo-card{
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}
.page-khuyen-mai__promo-card:hover{
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.page-khuyen-mai__promo-image{
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.page-khuyen-mai__promo-info{
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}
.page-khuyen-mai__promo-title{
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #333333;
  padding-right: 60px;
}
.page-khuyen-mai__promo-desc{
  font-size: 0.9rem;
  color: #666666;
  margin: 0 0 16px;
  flex: 1;
}
.page-khuyen-mai__promo-tag{
  position: absolute;
  top: 20px;
  right: 20px;
  background: #E53935;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.page-khuyen-mai__promo-info .page-khuyen-mai__btn--small{
  align-self: flex-start;
  margin-top: auto;
}

/* Rules Section */
.page-khuyen-mai__rules-section{
  background: #FFFFFF;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
  padding: 48px 20px;
}
.page-khuyen-mai__rules-wrapper{
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.page-khuyen-mai__rule-item{
  background: #F5F7FA;
  border-left: 4px solid #E53935;
  padding: 20px;
  border-radius: 0 12px 12px 0;
}
.page-khuyen-mai__rule-title{
  font-size: 1rem;
  font-weight: 700;
  color: #E53935;
  margin: 0 0 8px;
}
.page-khuyen-mai__rule-text{
  font-size: 0.9rem;
  color: #333333;
  margin: 0;
}
.page-khuyen-mai__inline-link{
  color: #E53935;
  text-decoration: underline;
}

/* FAQ Section */
.page-khuyen-mai__faq-section{
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px;
}
.page-khuyen-mai__faq-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-khuyen-mai__faq-item{
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
}
.page-khuyen-mai__faq-question{
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #333333;
  background: #FFFFFF;
  transition: background 0.2s ease;
}
.page-khuyen-mai__faq-question:hover{
  background: #f8f9fa;
}
.page-khuyen-mai__faq-question::-webkit-details-marker{
  display: none;
}
.page-khuyen-mai__faq-toggle{
  font-size: 1.4rem;
  font-weight: 400;
  color: #E53935;
  line-height: 1;
  margin-left: 16px;
  flex-shrink: 0;
}
.page-khuyen-mai__faq-answer{
  padding: 0 20px 16px;
  color: #555555;
  font-size: 0.9rem;
}

/* CTA Section */
.page-khuyen-mai__cta-section{
  padding: 0 20px 48px;
}
.page-khuyen-mai__cta-banner{
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  color: #ffffff;
}
.page-khuyen-mai__cta-title{
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 8px;
}
.page-khuyen-mai__cta-text{
  opacity: 0.95;
  margin: 0 0 24px;
}
.page-khuyen-mai__cta-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

@media (max-width: 768px){
  .page-khuyen-mai__hero-image{
    aspect-ratio: 16/9;
  }
  .page-khuyen-mai__hero-content{
    padding: 16px 16px 32px;
  }
  .page-khuyen-mai__promo-grid{
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__promo-card{
    max-width: 100%;
  }
  .page-khuyen-mai__btn{
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }
  .page-khuyen-mai__hero-actions,
  .page-khuyen-mai__cta-actions{
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
  }
  .page-khuyen-mai__hero-actions .page-khuyen-mai__btn,
  .page-khuyen-mai__cta-actions .page-khuyen-mai__btn{
    width: 100%;
    box-sizing: border-box;
  }
  .page-khuyen-mai img{
    max-width: 100% !important;
    height: auto !important;
  }
  .page-khuyen-mai__promo-title{
    padding-right: 0;
  }
  .page-khuyen-mai__promo-tag{
    position: static;
    align-self: flex-start;
    margin-bottom: 12px;
  }
}