/* Page-specific styles for Khuyến Mãi */
.page-khuyen-mai {
  background-color: #B71C1C;
  color: #FFF5E1;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.page-khuyen-mai * {
  box-sizing: border-box;
}
.page-khuyen-mai__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-khuyen-mai__intro-section {
  padding: 10px 16px 24px;
  margin: 0;
  background: linear-gradient(135deg, #7A0E0E 0%, #B71C1C 100%);
}
.page-khuyen-mai__intro-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.page-khuyen-mai__page-title {
  color: #F4D34D;
  font-weight: 700;
  line-height: 1.3;
  margin: 16px 0 20px;
  letter-spacing: 0.5px;
  max-width: 100%;
}
.page-khuyen-mai__intro-quote {
  color: #FFF5E1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 auto 24px;
  max-width: 800px;
}
.page-khuyen-mai__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 16px 0;
  width: 100%;
}
.page-khuyen-mai__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}
.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.page-khuyen-mai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 204, 102, 0.5);
}
.page-khuyen-mai__btn--secondary {
  background: linear-gradient(180deg, #E53935 0%, #C91F17 100%);
  color: #FFF5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.page-khuyen-mai__btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.5);
}
.page-khuyen-mai__btn--outline {
  background: transparent;
  color: #F2B544;
  border: 2px solid #F2B544;
}
.page-khuyen-mai__btn--outline:hover {
  background: #F2B544;
  color: #7A0E0E;
}
.page-khuyen-mai__section-title {
  color: #F4D34D;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.3;
}
.page-khuyen-mai__text {
  color: #FFF5E1;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 16px;
}
.page-khuyen-mai__overview-section {
  padding: 40px 16px;
  background-color: #B71C1C;
}
.page-khuyen-mai__promo-section {
  padding: 40px 16px;
  background-color: #7A0E0E;
}
.page-khuyen-mai__promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.page-khuyen-mai__promo-card {
  background-color: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.page-khuyen-mai__promo-image {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.page-khuyen-mai__promo-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.page-khuyen-mai__promo-title {
  color: #F4D34D;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 12px;
}
.page-khuyen-mai__promo-text {
  color: #FFF5E1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 16px;
  flex-grow: 1;
}
.page-khuyen-mai__guide-section {
  padding: 40px 16px;
  background-color: #B71C1C;
}
.page-khuyen-mai__products-section {
  padding: 40px 16px;
  background-color: #7A0E0E;
}
.page-khuyen-mai__products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.page-khuyen-mai__product-card {
  background-color: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.page-khuyen-mai__product-image {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}
.page-khuyen-mai__product-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.page-khuyen-mai__product-title {
  color: #F4D34D;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.page-khuyen-mai__product-text {
  color: #FFF5E1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 12px;
  flex-grow: 1;
}
.page-khuyen-mai__link {
  color: #FFCC66;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}
.page-khuyen-mai__link:hover {
  color: #F4D34D;
}
.page-khuyen-mai__blog-section {
  padding: 40px 16px;
  background-color: #B71C1C;
  position: relative;
}
.page-khuyen-mai__blog-container {
  position: relative;
}
.page-khuyen-mai__blog-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.page-khuyen-mai__blog-slider::-webkit-scrollbar {
  display: none;
}
.page-khuyen-mai__blog-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 200px;
  background-color: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.page-khuyen-mai__blog-card:hover {
  transform: translateY(-4px);
}
.page-khuyen-mai__blog-image {
  width: 100%;
  overflow: hidden;
}
.page-khuyen-mai__blog-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-khuyen-mai__blog-title {
  font-size: 0.95rem;
  margin: 12px 16px 16px;
  line-height: 1.4;
}
.page-khuyen-mai__blog-title a {
  color: #F4D34D;
  text-decoration: none;
  transition: color 0.2s;
}
.page-khuyen-mai__blog-title a:hover {
  color: #FFCC66;
  text-decoration: underline;
}
.page-khuyen-mai__blog-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.page-khuyen-mai__blog-prev,
.page-khuyen-mai__blog-next {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.page-khuyen-mai__blog-prev:hover,
.page-khuyen-mai__blog-next:hover {
  transform: scale(1.1);
}
.page-khuyen-mai__cta-section {
  padding: 40px 16px 60px;
  background: linear-gradient(135deg, #7A0E0E 0%, #B71C1C 100%);
  text-align: center;
}
@media (max-width: 1024px) {
  .page-khuyen-mai__promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-khuyen-mai__products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-khuyen-mai__blog-card {
    flex-basis: calc(33.333% - 12px);
  }
}
@media (max-width: 768px) {
  .page-khuyen-mai__page-title {
    font-size: 1.35rem;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.4rem;
  }
  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__products-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__blog-card {
    flex-basis: 100%;
  }
  .page-khuyen-mai__btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%;
  }
  .page-khuyen-mai__cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .page-khuyen-mai img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-khuyen-mai__container {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-khuyen-mai__blog-prev,
  .page-khuyen-mai__blog-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .page-khuyen-mai__page-title {
    font-size: 1.2rem;
  }
  .page-khuyen-mai__intro-quote {
    font-size: 0.95rem;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.25rem;
  }
}