.page-phuong-thuc-thanh-toan {
  font-family: 'Arial', sans-serif;
  background-color: #0D0E12; /* Custom background color */
  color: #FFF3E6; /* Custom text color */
  line-height: 1.6;
}

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

.page-phuong-thuc-thanh-toan__hero-title-section {
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  text-align: center;
  background: #0D0E12; /* Ensure consistent background */
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-phuong-thuc-thanh-toan__intro-description {
  font-size: 1.1em;
  color: #FFF3E6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-phuong-thuc-thanh-toan__subsection-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #FFA53A;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan p {
  margin-bottom: 1em;
  color: #FFF3E6;
}

.page-phuong-thuc-thanh-toan__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__list-item {
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-phuong-thuc-thanh-toan__method-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-phuong-thuc-thanh-toan__method-card {
  background-color: #17191F; /* Custom card background */
  border: 1px solid #A84F0C; /* Custom border color */
  border-radius: 12px;
  padding: 25px;
  flex: 1 1 calc(33.333% - 24px);
  max-width: calc(33.333% - 24px);
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-phuong-thuc-thanh-toan__method-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  object-fit: cover;
}

.page-phuong-thuc-thanh-toan__card-title {
  font-size: 1.5em;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__card-description {
  font-size: 0.95em;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button gradient */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-phuong-thuc-thanh-toan__cta-center {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 60px;
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  background: #17191F;
  color: #FF8C1A;
  padding: 12px 25px;
  border: 2px solid #FF8C1A;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-phuong-thuc-thanh-toan__security-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px auto;
  display: block;
  max-width: 800px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  object-fit: cover;
}

.page-phuong-thuc-thanh-toan__link {
  color: #FFA53A;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-phuong-thuc-thanh-toan__link:hover {
  color: #FFB04D;
}

.page-phuong-thuc-thanh-toan__faq-section {
  padding-bottom: 60px;
}

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

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: #17191F; /* Custom card background */
  border: 1px solid #A84F0C; /* Custom border color */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFA53A;
  cursor: pointer;
  list-style: none;
}

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

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FF8C1A;
  transition: transform 0.3s ease;
}

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

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6;
}

/* General image responsive style */
.page-phuong-thuc-thanh-toan img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

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

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2em;
  }

  .page-phuong-thuc-thanh-toan__intro-description {
    font-size: 1em;
  }

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

  .page-phuong-thuc-thanh-toan__subsection-title {
    font-size: 1.5em;
  }

  .page-phuong-thuc-thanh-toan__method-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
  }

  .page-phuong-thuc-thanh-toan__method-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Buttons responsive */
  .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__cta-center {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsive */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Container responsive */
  .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__method-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-phuong-thuc-thanh-toan__method-cards {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 0 20px 15px;
  }
}