.page-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0A0A0A;
  overflow: hidden;
  min-height: 500px;
}

.page-phuong-thuc-thanh-toan__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-phuong-thuc-thanh-toan__hero-content {
  position: relative;
  z-index: 2;
  color: #FFF6D6;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-phuong-thuc-thanh-toan__intro-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFF6D6;
}

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

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

.page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

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

.page-phuong-thuc-thanh-toan__section {
  padding: 60px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

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

.page-phuong-thuc-thanh-toan__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-phuong-thuc-thanh-toan__paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF6D6;
}

.page-phuong-thuc-thanh-toan__keyword {
  color: #FFD36B;
  font-weight: 600;
}

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

.page-phuong-thuc-thanh-toan__method-card,
.page-phuong-thuc-thanh-toan__info-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-phuong-thuc-thanh-toan__method-card:hover,
.page-phuong-thuc-thanh-toan__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-phuong-thuc-thanh-toan__method-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
}

.page-phuong-thuc-thanh-toan__method-title,
.page-phuong-thuc-thanh-toan__info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__method-description,
.page-phuong-thuc-thanh-toan__info-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-phuong-thuc-thanh-toan__method-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.page-phuong-thuc-thanh-toan__method-features li {
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  color: #FFF6D6;
}

.page-phuong-thuc-thanh-toan__feature-icon {
  color: #FFD36B;
  margin-right: 10px;
  font-size: 1.2rem;
  line-height: 1;
}

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

.page-phuong-thuc-thanh-toan__security-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}

/* FAQ Styles */
details.page-phuong-thuc-thanh-toan__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  color: #FFF6D6;
}
details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__faq-question::-webkit-details-marker {
  display: none;
}
details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-phuong-thuc-thanh-toan__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-phuong-thuc-thanh-toan__faq-item .page-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__hero-content {
    max-width: 768px;
  }
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  }
}

@media (max-width: 849px) {
  .page-phuong-thuc-thanh-toan__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    filter: brightness(0.2); /* Even darker for mobile readability */
  }
}

@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Small top padding for mobile */
  }
  .page-phuong-thuc-thanh-toan__hero-content {
    padding: 15px;
  }
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-phuong-thuc-thanh-toan__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-phuong-thuc-thanh-toan__section {
    padding: 40px 0;
  }
  .page-phuong-thuc-thanh-toan__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-phuong-thuc-thanh-toan__paragraph {
    font-size: 1rem;
  }
  .page-phuong-thuc-thanh-toan__methods-grid,
  .page-phuong-thuc-thanh-toan__info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-phuong-thuc-thanh-toan__method-card,
  .page-phuong-thuc-thanh-toan__info-card {
    padding: 20px;
  }
  .page-phuong-thuc-thanh-toan__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }
  .page-phuong-thuc-thanh-toan__method-title,
  .page-phuong-thuc-thanh-toan__info-title {
    font-size: 1.3rem;
  }
  .page-phuong-thuc-thanh-toan__method-description,
  .page-phuong-thuc-thanh-toan__info-description {
    font-size: 0.95rem;
  }
  .page-phuong-thuc-thanh-toan__method-features li {
    font-size: 0.95rem;
  }
  .page-phuong-thuc-thanh-toan__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 30px;
  }
  details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__faq-question { padding: 15px; }
  .page-phuong-thuc-thanh-toan__faq-qtext { font-size: 1rem; }
  details.page-phuong-thuc-thanh-toan__faq-item .page-phuong-thuc-thanh-toan__faq-answer { padding: 0 15px 15px; }

  /* General image responsiveness for all images within the page content */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
}