/* style/payment-methods.css */

:root {
  --page-payment-methods-primary-color: #11A84E;
  --page-payment-methods-secondary-color: #22C768;
  --page-payment-methods-text-main: #F2FFF6;
  --page-payment-methods-text-secondary: #A7D9B8;
  --page-payment-methods-bg-dark: #08160F;
  --page-payment-methods-card-bg: #11271B;
  --page-payment-methods-border: #2E7A4E;
  --page-payment-methods-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-payment-methods-glow: #57E38D;
  --page-payment-methods-gold: #F2C14E;
  --page-payment-methods-divider: #1E3A2A;
  --page-payment-methods-deep-green: #0A4B2C;
}

.page-payment-methods {
  color: var(--page-payment-methods-text-main);
  background-color: var(--page-payment-methods-bg-dark);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-payment-methods__dark-section {
  background-color: var(--page-payment-methods-bg-dark);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 40px; /* Separates content from image */
}

.page-payment-methods__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-payment-methods__description {
  font-size: 1.1em;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
}

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-payment-methods-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-payment-methods__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__text-block {
  font-size: 1em;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 15px;
  text-align: left;
}

.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: var(--page-payment-methods-bg-dark);
}

.page-payment-methods__methods-section {
  padding: 60px 0;
}

.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__card-description {
  font-size: 0.95em;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-payment-methods__list li {
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 5px;
  font-size: 0.9em;
}

.page-payment-methods__list li strong {
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-button-gradient);
  color: #ffffff;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: none;
  color: var(--page-payment-methods-primary-color);
  border: 2px solid var(--page-payment-methods-primary-color);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--page-payment-methods-primary-color);
  color: #ffffff;
}

.page-payment-methods__steps-section {
  padding: 60px 0;
  background-color: var(--page-payment-methods-bg-dark);
}

.page-payment-methods__content-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__text-column {
  flex: 1;
  min-width: 0;
}

.page-payment-methods__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__ordered-list li {
  margin-bottom: 10px;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__ordered-list li strong {
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__cta-button {
  margin-top: 40px;
  width: auto;
}

.page-payment-methods__security-section {
  padding: 60px 0;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-payment-methods__security-list li {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__security-list li::before {
  content: '✅'; /* Unicode checkmark */
  font-size: 1.2em;
  color: var(--page-payment-methods-glow);
  flex-shrink: 0;
  margin-top: 2px;
}

.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: var(--page-payment-methods-bg-dark);
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-payment-methods-text-main);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-item summary {
  list-style: none;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-payment-methods-glow);
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image {
    height: 500px;
  }
  .page-payment-methods__content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__steps-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-bottom-section {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .page-payment-methods__sub-title {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  }

  .page-payment-methods__hero-image {
    height: 300px;
  }

  .page-payment-methods__card-image {
    height: 180px;
  }

  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__text-block,
  .page-payment-methods__card-description,
  .page-payment-methods__list li,
  .page-payment-methods__security-list li,
  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }

  .page-payment-methods__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-content,
  .page-payment-methods__text-column {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods 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;
    text-align: center;
  }

  .page-payment-methods__cta-button {
    margin-left: 0;
    margin-right: 0;
  }

  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
  }
}