.page-huong-dan-thanh-toan {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #F5F7FA; /* Body background color from shared.css */
}

.page-huong-dan-thanh-toan__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-huong-dan-thanh-toan__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  background-color: #F5F7FA;
}

.page-huong-dan-thanh-toan__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}

.page-huong-dan-thanh-toan__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

.page-huong-dan-thanh-toan__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #E53935; /* Using brand color for main title */
}

.page-huong-dan-thanh-toan__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-huong-dan-thanh-toan__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-huong-dan-thanh-toan__btn-primary,
.page-huong-dan-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-huong-dan-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-huong-dan-thanh-toan__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-huong-dan-thanh-toan__btn-secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-huong-dan-thanh-toan__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-huong-dan-thanh-toan__hero-image {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
}

.page-huong-dan-thanh-toan__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-huong-dan-thanh-toan__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-huong-dan-thanh-toan__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 20px;
}

.page-huong-dan-thanh-toan__section-title--spacing {
    margin-top: 60px;
}

.page-huong-dan-thanh-toan__section-description {
  font-size: 1.05em;
  color: #666666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-huong-dan-thanh-toan__features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-thanh-toan__feature-item {
  flex: 1 1 calc(33% - 30px);
  max-width: calc(33% - 30px);
  background-color: #F5F7FA;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 280px;
}

.page-huong-dan-thanh-toan__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-thanh-toan__icon-box-media {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #E53935;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-huong-dan-thanh-toan__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-huong-dan-thanh-toan__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-huong-dan-thanh-toan__feature-text {
  font-size: 0.95em;
  color: #666666;
}

.page-huong-dan-thanh-toan__guide-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-huong-dan-thanh-toan__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-huong-dan-thanh-toan__step-by-step {
  margin-top: 40px;
}

.page-huong-dan-thanh-toan__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  overflow: hidden;
}

.page-huong-dan-thanh-toan__step-header {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background-color: #FF5A4F;
  color: #ffffff;
}

.page-huong-dan-thanh-toan__step-number {
  width: 35px;
  height: 35px;
  min-width: 35px; /* Ensure it doesn't shrink */
  border-radius: 50%;
  background-color: #E53935;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
  margin-right: 15px;
}

.page-huong-dan-thanh-toan__step-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.page-huong-dan-thanh-toan__step-content {
  padding: 25px;
  color: #333333;
}

.page-huong-dan-thanh-toan__step-content p {
  margin-bottom: 15px;
}

.page-huong-dan-thanh-toan__step-content a {
    color: #E53935;
    text-decoration: underline;
}

.page-huong-dan-thanh-toan__method-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 15px;
}

.page-huong-dan-thanh-toan__method-list li {
  margin-bottom: 8px;
  color: #333333;
}

.page-huong-dan-thanh-toan__important-notes {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 30px;
  color: #333333;
}

.page-huong-dan-thanh-toan__important-notes li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.page-huong-dan-thanh-toan__important-notes li strong {
    color: #E53935;
}

.page-huong-dan-thanh-toan__important-notes li a {
    color: #E53935;
    text-decoration: underline;
}

.page-huong-dan-thanh-toan__faq-list {
  margin-top: 30px;
}

.page-huong-dan-thanh-toan__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-huong-dan-thanh-toan__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  outline: none;
  transition: background-color 0.3s ease;
}

.page-huong-dan-thanh-toan__faq-item summary:hover {
  background-color: #f9f9f9;
}

.page-huong-dan-thanh-toan__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-huong-dan-thanh-toan__faq-qtext {
    flex-grow: 1;
    color: #333333;
}

.page-huong-dan-thanh-toan__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935;
  margin-left: 15px;
}

.page-huong-dan-thanh-toan__faq-answer {
  padding: 15px 25px 25px;
  color: #666666;
  font-size: 1em;
  border-top: 1px solid #E0E0E0;
}

.page-huong-dan-thanh-toan__faq-answer p {
    margin-bottom: 0;
}

.page-huong-dan-thanh-toan__final-cta {
  text-align: center;
  padding: 60px 0;
  background-color: #ffffff;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-thanh-toan__final-cta .page-huong-dan-thanh-toan__section-title {
  color: #E53935;
}

.page-huong-dan-thanh-toan__final-cta .page-huong-dan-thanh-toan__btn-primary {
  margin-top: 30px;
  font-size: 1.1em;
  padding: 15px 35px;
}

.page-huong-dan-thanh-toan__copyright-section {
    padding: 20px 0;
    background-color: #333333;
    text-align: center;
    margin-top: 40px;
}

.page-huong-dan-thanh-toan__copyright {
    color: #ffffff;
    font-size: 0.9em;
    margin: 0;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-huong-dan-thanh-toan {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-huong-dan-thanh-toan__container {
    padding: 0 15px !important; /* Ensure padding for containers */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* HERO Section */
  .page-huong-dan-thanh-toan__hero-section {
    padding-top: 10px !important; /* Fixed top padding for header offset */
    padding-bottom: 20px;
  }

  .page-huong-dan-thanh-toan__hero-container {
    flex-direction: column; /* Stack content and image */
    padding: 20px 0;
  }

  .page-huong-dan-thanh-toan__hero-content,
  .page-huong-dan-thanh-toan__hero-image {
    flex: 1 1 100%; /* Full width */
    max-width: 100%;
    min-width: unset;
  }

  .page-huong-dan-thanh-toan__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 font size for mobile */
    text-align: center;
  }

  .page-huong-dan-thanh-toan__hero-description {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
  }

  .page-huong-dan-thanh-toan__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%; /* Ensure button container is full width */
  }

  .page-huong-dan-thanh-toan__btn-primary,
  .page-huong-dan-thanh-toan__btn-secondary,
  .page-huong-dan-thanh-toan a[class*="button"],
  .page-huong-dan-thanh-toan a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Intro Section */
  .page-huong-dan-thanh-toan__intro-section {
    padding: 30px 0;
  }

  .page-huong-dan-thanh-toan__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-huong-dan-thanh-toan__section-title--spacing {
    margin-top: 40px;
  }

  .page-huong-dan-thanh-toan__section-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-huong-dan-thanh-toan__features-grid {
    flex-direction: column; /* Stack feature items */
    gap: 20px;
    margin-top: 20px;
  }

  .page-huong-dan-thanh-toan__feature-item {
    max-width: 100%; /* Full width */
    flex: 1 1 100%;
    padding: 20px;
  }

  .page-huong-dan-thanh-toan__icon-box-media {
    width: 100px; /* Adjust size but keep square */
    height: 100px;
    margin-bottom: 15px;
  }

  /* Guide Section (Steps) */
  .page-huong-dan-thanh-toan__guide-section {
    padding: 30px 0;
  }

  .page-huong-dan-thanh-toan__step-item {
    margin-bottom: 15px;
  }

  .page-huong-dan-thanh-toan__step-header {
    padding: 15px 20px;
  }

  .page-huong-dan-thanh-toan__step-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 1em;
    margin-right: 10px;
  }

  .page-huong-dan-thanh-toan__step-title {
    font-size: 1.2em;
  }

  .page-huong-dan-thanh-toan__step-content {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-huong-dan-thanh-toan__content-image {
    margin: 20px auto;
  }

  /* Important Notes & FAQ */
  .page-huong-dan-thanh-toan__important-notes,
  .page-huong-dan-thanh-toan__faq-list {
    margin-top: 20px;
  }

  .page-huong-dan-thanh-toan__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-huong-dan-thanh-toan__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }

  /* Final CTA */
  .page-huong-dan-thanh-toan__final-cta {
    padding: 30px 15px;
    margin-top: 40px;
  }

  .page-huong-dan-thanh-toan__final-cta .page-huong-dan-thanh-toan__btn-primary {
    margin-top: 20px;
    font-size: 1em;
    padding: 12px 25px;
  }

  /* General Image adaptation */
  .page-huong-dan-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Copyright Section */
  .page-huong-dan-thanh-toan__copyright-section {
    padding: 15px 0;
    margin-top: 20px;
  }

  .page-huong-dan-thanh-toan__copyright {
    font-size: 0.85em;
  }
}