.page-phuong-thuc-thanh-toan {
  color: var(--text-main-color, #F2FFF6);
  background-color: var(--bg-color, #08160F);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-phuong-thuc-thanh-toan__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  background-color: var(--card-bg-color, #11271B);
}

.page-phuong-thuc-thanh-toan__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-phuong-thuc-thanh-toan__hero-content {
  max-width: 1200px;
  width: 90%;
  margin: 20px auto 40px auto;
  text-align: center;
  padding: 20px;
  background: rgba(17, 39, 27, 0.8); /* Slightly transparent card background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  z-index: 1;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
}

.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,
.page-phuong-thuc-thanh-toan__btn-text {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-phuong-thuc-thanh-toan__btn-secondary {
  background: var(--card-bg-color, #11271B);
  color: var(--main-color, #11A84E);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background: var(--main-color, #11A84E);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__btn-text {
  background: none;
  color: var(--glow-color, #57E38D);
  border: 1px solid var(--glow-color, #57E38D);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-phuong-thuc-thanh-toan__btn-text:hover {
  background: var(--glow-color, #57E38D);
  color: var(--card-bg-color, #11271B);
}

.page-phuong-thuc-thanh-toan__btn-inline {
  margin-right: 10px;
  margin-bottom: 10px;
}

.page-phuong-thuc-thanh-toan__cta-buttons--bottom {
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__home-content-box {
  max-width: 1200px;
  margin: -50px auto 50px auto;
  padding: 30px;
  background: var(--card-bg-color, #11271B);
  border: 2px solid var(--border-color, #2E7A4E);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.2);
  height: auto; /* Not fixed 700px, adjust for content */
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__home-content-inner {
  height: auto;
  overflow-y: visible;
}

.page-phuong-thuc-thanh-toan__section-title {
  color: var(--main-color, #11A84E);
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-phuong-thuc-thanh-toan__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--glow-color, #57E38D);
  border-radius: 2px;
}

.page-phuong-thuc-thanh-toan__sub-title {
  color: var(--text-main-color, #F2FFF6);
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan p {
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 15px;
}

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

.page-phuong-thuc-thanh-toan__payment-card,
.page-phuong-thuc-thanh-toan__advantage-item {
  background: var(--deep-green-color, #0A4B2C);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--divider-color, #1E3A2A);
}

.page-phuong-thuc-thanh-toan__payment-icon,
.page-phuong-thuc-thanh-toan__advantage-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: contain;
}

.page-phuong-thuc-thanh-toan__card-title,
.page-phuong-thuc-thanh-toan__advantage-title {
  color: var(--gold-color, #F2C14E);
  font-size: 1.3em;
  margin-bottom: 15px;
}

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

.page-phuong-thuc-thanh-toan__faq-item {
  background: var(--deep-green-color, #0A4B2C);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: var(--text-main-color, #F2FFF6);
  font-weight: bold;
  font-size: 1.1em;
  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: var(--glow-color, #57E38D);
  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 20px 15px 20px;
  color: var(--text-secondary-color, #A7D9B8);
  font-size: 0.95em;
}

.page-phuong-thuc-thanh-toan__faq-answer p {
  margin-bottom: 10px;
}

/* General image and button responsiveness */
.page-phuong-thuc-thanh-toan img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-phuong-thuc-thanh-toan__cta-buttons,
.page-phuong-thuc-thanh-toan__button-group,
.page-phuong-thuc-thanh-toan__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for responsiveness */
/* Generic carousel section (even if not used on this page, per requirement) */
.page-phuong-thuc-thanh-toan__hero-carousel-section { /* Placeholder, not used in this HTML */ }
.page-phuong-thuc-thanh-toan__hero-slider { /* Placeholder, not used in this HTML */ }
.page-phuong-thuc-thanh-toan__hero-slide { /* Placeholder, not used in this HTML */ }

/* Generic guide box section (even if not used on this page, per requirement) */
.page-phuong-thuc-thanh-toan__guide-box { /* Placeholder, not used in this HTML */ }
.page-phuong-thuc-thanh-toan__guide-grid { /* Placeholder, not used in this HTML */ }
.page-phuong-thuc-thanh-toan__guide-card { /* Placeholder, not used in this HTML */ }

/* Generic blog section (even if not used on this page, per requirement) */
.page-phuong-thuc-thanh-toan__blog-section { /* Placeholder, not used in this HTML */ }
.page-phuong-thuc-thanh-toan__blog-grid { /* Placeholder, not used in this HTML */ }

@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__hero-content {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-phuong-thuc-thanh-toan__home-content-box {
    max-width: 95%;
    padding: 25px;
  }

  .page-phuong-thuc-thanh-toan__payment-methods-grid,
  .page-phuong-thuc-thanh-toan__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-phuong-thuc-thanh-toan__hero-content {
    width: calc(100% - 30px);
    margin: 0 auto 20px auto;
    padding: 15px;
    transform: translateY(-30px);
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 1.8em; /* Adjusted for mobile readability */
    margin-bottom: 10px;
  }

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

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

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary,
  .page-phuong-thuc-thanh-toan__btn-text,
  .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__btn-inline {
    margin-right: 0;
  }

  .page-phuong-thuc-thanh-toan__home-content-box {
    max-width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px;
    height: auto;
  }

  .page-phuong-thuc-thanh-toan__home-content-inner {
    height: auto;
    overflow: visible;
  }

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

  .page-phuong-thuc-thanh-toan__section-title::after {
    width: 60px;
  }

  .page-phuong-thuc-thanh-toan__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-phuong-thuc-thanh-toan__payment-methods-grid,
  .page-phuong-thuc-thanh-toan__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__payment-card,
  .page-phuong-thuc-thanh-toan__advantage-item {
    padding: 20px;
  }

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

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

  /* Mobile specific for general images and containers */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-phuong-thuc-thanh-toan__section,
  .page-phuong-thuc-thanh-toan__card,
  .page-phuong-thuc-thanh-toan__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Placeholder media query blocks for "必写清单" even if not used in HTML */
  /* 顶区轮播 */
  .page-phuong-thuc-thanh-toan__hero-carousel-section { /* Mobile styles for carousel if present */ }
  .page-phuong-thuc-thanh-toan__hero-slider { /* Mobile styles for slider if present */ }
  .page-phuong-thuc-thanh-toan__hero-slide { /* Mobile styles for slide if present */ }
  /* 操作指引外框 + 五张 team 竖型卡 */
  .page-phuong-thuc-thanh-toan__guide-box { /* Mobile styles for guide box if present */ }
  .page-phuong-thuc-thanh-toan__guide-grid { 
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Example: 2 items in first row (span 3), 3 items in second row (span 2) */
    gap: 10px;
  }
  .page-phuong-thuc-thanh-toan__guide-card {
    padding-top: 0 !important; /* Reset padding-top */
    grid-column: span 3; /* Default to 2 columns */
  }
  .page-phuong-thuc-thanh-toan__guide-card:nth-child(3),
  .page-phuong-thuc-thanh-toan__guide-card:nth-child(4),
  .page-phuong-thuc-thanh-toan__guide-card:nth-child(5) {
    grid-column: span 2; /* Adjust for 3 items in a row */
  }
  .page-phuong-thuc-thanh-toan__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100%;
    height: auto;
  }
  /* 博客卡片区 */
  .page-phuong-thuc-thanh-toan__blog-section { /* Mobile styles for blog section if present */ }
  .page-phuong-thuc-thanh-toan__blog-grid {
    grid-template-columns: 1fr; /* Single column for blog cards on mobile */
    gap: 15px;
  }
}