.page-phuong-thuc-thanh-toan {
  color: #FFF5E1; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Small top padding for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}

.page-phuong-thuc-thanh-toan__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-phuong-thuc-thanh-toan__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-phuong-thuc-thanh-toan__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 90%;
  text-align: center;
  color: #FFF5E1; /* Text Main */
  padding: 20px;
  border-radius: 10px;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #FFD86A; /* Gold for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-phuong-thuc-thanh-toan__lead-paragraph {
  font-size: clamp(1em, 1.8vw, 1.2em);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-phuong-thuc-thanh-toan__section {
  padding: 40px 20px;
  margin-bottom: 30px;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-phuong-thuc-thanh-toan__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-phuong-thuc-thanh-toan__features-grid,
.page-phuong-thuc-thanh-toan__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__feature-card,
.page-phuong-thuc-thanh-toan__tip-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-phuong-thuc-thanh-toan__dark-bg {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

.page-phuong-thuc-thanh-toan__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjust size as needed */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-phuong-thuc-thanh-toan__feature-title,
.page-phuong-thuc-thanh-toan__tip-title {
  font-size: 1.5em;
  color: #FFD86A; /* Gold for titles */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-phuong-thuc-thanh-toan__feature-text,
.page-phuong-thuc-thanh-toan__tip-text {
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
}

.page-phuong-thuc-thanh-toan__method-card,
.page-phuong-thuc-thanh-toan__issue-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border */
  color: #FFF5E1; /* Text Main */
}

.page-phuong-thuc-thanh-toan__method-title,
.page-phuong-thuc-thanh-toan__issue-title {
  font-size: 1.6em;
  color: #FFD86A; /* Gold for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-phuong-thuc-thanh-toan__sub-title {
  font-size: 1.3em;
  color: #F4D34D; /* Gold */
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-phuong-thuc-thanh-toan__steps-list,
.page-phuong-thuc-thanh-toan__notes-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #FFF5E1; /* Text Main */
}

.page-phuong-thuc-thanh-toan__steps-list li,
.page-phuong-thuc-thanh-toan__notes-list li {
  margin-bottom: 8px;
}

.page-phuong-thuc-thanh-toan__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #FFD86A;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background-color: transparent;
  color: #FFD86A; /* Gold */
  border: 2px solid #FFD86A;
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background-color: rgba(255, 216, 106, 0.1);
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-phuong-thuc-thanh-toan p,
.page-phuong-thuc-thanh-toan li {
  color: #FFF5E1; /* Ensure text is readable on dark backgrounds */
}

.page-phuong-thuc-thanh-toan__final-cta {
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-phuong-thuc-thanh-toan__hero-image {
    height: 250px; /* Adjust height for mobile hero image */
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    position: static;
    transform: none;
    padding: 15px;
    max-width: 100%;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    margin-bottom: 10px;
  }

  .page-phuong-thuc-thanh-toan__lead-paragraph {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-phuong-thuc-thanh-toan__section {
    padding: 30px 15px;
    margin-bottom: 20px;
  }

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

  .page-phuong-thuc-thanh-toan__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-phuong-thuc-thanh-toan__features-grid,
  .page-phuong-thuc-thanh-toan__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__feature-card,
  .page-phuong-thuc-thanh-toan__tip-card,
  .page-phuong-thuc-thanh-toan__method-card,
  .page-phuong-thuc-thanh-toan__issue-card {
    padding: 20px;
  }

  .page-phuong-thuc-thanh-toan__feature-title,
  .page-phuong-thuc-thanh-toan__tip-title,
  .page-phuong-thuc-thanh-toan__method-title,
  .page-phuong-thuc-thanh-toan__issue-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-phuong-thuc-thanh-toan__sub-title {
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 8px;
  }

  .page-phuong-thuc-thanh-toan__steps-list,
  .page-phuong-thuc-thanh-toan__notes-list {
    margin-left: 15px;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General image and container responsiveness for mobile */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__section,
  .page-phuong-thuc-thanh-toan__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}