.page-phuong-thuc-thanh-toan {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color from custom scheme */
}

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

.page-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background-color: #F5F7FA;
  color: #333333;
}

.page-phuong-thuc-thanh-toan__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-phuong-thuc-thanh-toan__hero-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #E53935;
  max-width: 550px;
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
}

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

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__hero-image {
  flex: 1 1 500px;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.page-phuong-thuc-thanh-toan__section-title--spacing {
  margin-top: 60px;
}

.page-phuong-thuc-thanh-toan__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-phuong-thuc-thanh-toan__feature-item {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
  background-color: #F5F7FA;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-phuong-thuc-thanh-toan__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FF5A4F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-phuong-thuc-thanh-toan__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-phuong-thuc-thanh-toan__feature-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__feature-text {
  color: #333333;
}

.page-phuong-thuc-thanh-toan__payment-methods-section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Light background from custom scheme */
  color: #333333;
}

.page-phuong-thuc-thanh-toan__method-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #ffffff; /* Card BG from custom scheme */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-phuong-thuc-thanh-toan__method-card--reverse {
  flex-direction: row-reverse;
}

.page-phuong-thuc-thanh-toan__method-image {
  flex: 1 1 400px;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__method-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-phuong-thuc-thanh-toan__method-content {
  flex: 1 1 400px;
}

.page-phuong-thuc-thanh-toan__method-title {
  font-size: 2em;
  color: #E53935;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__method-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 25px;
}

.page-phuong-thuc-thanh-toan__security-tips-section {
  padding: 60px 0;
  background-color: #E53935; /* Main color as dark background */
  color: #ffffff; /* White text for dark background */
}

.page-phuong-thuc-thanh-toan__security-tips-section .page-phuong-thuc-thanh-toan__section-title {
  color: #ffffff;
}

.page-phuong-thuc-thanh-toan__security-tips-section .page-phuong-thuc-thanh-toan__section-description {
  color: #f0f0f0;
}

.page-phuong-thuc-thanh-toan__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-phuong-thuc-thanh-toan__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-phuong-thuc-thanh-toan__tip-icon {
  font-size: 1.2em;
  color: #FF5A4F;
  line-height: 1.6;
}

.page-phuong-thuc-thanh-toan__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Light background from custom scheme */
  color: #333333;
}

.page-phuong-thuc-thanh-toan__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: #ffffff; /* Card BG from custom scheme */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #E0E0E0;
  list-style: none; /* For details/summary */
}

.page-phuong-thuc-thanh-toan__faq-question::-webkit-details-marker {
  display: none;
}

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  font-weight: 400;
  color: #E53935;
  transition: transform 0.3s ease;
}

details[open] .page-phuong-thuc-thanh-toan__faq-toggle {
  transform: rotate(45deg);
}

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-phuong-thuc-thanh-toan__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }

  .page-phuong-thuc-thanh-toan__hero-content,
  .page-phuong-thuc-thanh-toan__hero-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2.2em;
    text-align: center;
    max-width: 100%;
  }

  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 1em;
    text-align: center;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary,
  .page-phuong-thuc-thanh-toan a[class*="button"],
  .page-phuong-thuc-thanh-toan a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 1.8em;
  }

  .page-phuong-thuc-thanh-toan__section-description {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-phuong-thuc-thanh-toan__features-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__feature-item {
    max-width: 100%;
    padding: 20px;
  }

  .page-phuong-thuc-thanh-toan__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
  }

  .page-phuong-thuc-thanh-toan__payment-methods-section .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__security-tips-section .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__faq-section .page-phuong-thuc-thanh-toan__container {
    padding: 20px 15px;
  }

  .page-phuong-thuc-thanh-toan__method-card {
    flex-direction: column !important; /* Force column for both normal and reverse */
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
  }

  .page-phuong-thuc-thanh-toan__method-title {
    font-size: 1.6em;
    text-align: center;
  }

  .page-phuong-thuc-thanh-toan__method-text {
    font-size: 0.95em;
    text-align: justify;
  }

  .page-phuong-thuc-thanh-toan__method-image,
  .page-phuong-thuc-thanh-toan__method-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__section,
  .page-phuong-thuc-thanh-toan__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-phuong-thuc-thanh-toan__tips-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-phuong-thuc-thanh-toan__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }

  .page-phuong-thuc-thanh-toan__faq-answer {
    font-size: 0.9em;
    padding: 12px 20px 15px;
  }

  .page-phuong-thuc-thanh-toan__faq-list {
    margin-top: 30px;
  }

  .page-phuong-thuc-thanh-toan__cta-section {
    padding: 50px 0;
  }
}