/* ================= FOOTER STYLES ================= */
.site-footer {
  background-color: #fff;
  color: #000;
  padding: 40px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1 1 200px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1em;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  position: relative;
}

.footer-column.collapsible h3 {
  cursor: pointer;
}

.toggle-icon {
  position: absolute;
  right: 0;
  font-size: 1.2em;
  display: none; /* Hide + by default */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #000;
  text-decoration: none;
  font-size: 0.9em;
}

.prestige p {
  font-size: 0.9em;
  margin-bottom: 10px;
}

/* BASE STYLE for the new Prestige content wrapper */
.prestige-content p {
  margin-bottom: 10px;
}

.sign-up-link {
  color: #000;
  text-decoration: none;
  font-size: 0.9em;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}

.country-selector {
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.flag {
  font-size: 1.2em;
}

.download-app {
  margin-top: 20px;
  cursor: pointer;
}

.app-links {
  list-style: none;
}

.app-links li a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  font-size: 0.8em;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.footer-links li a {
  color: #000;
  text-decoration: none;
  font-size: 0.9em;
}

/* Desktop: Show content, hide + */
.footer-column ul,
#country-section,
.app-links {
  display: block;
}

.toggle-icon {
  display: none;
}

/* ... (existing CSS before media query) ... */

/* New base style for the new wrapper */
.prestige-content p {
  margin-bottom: 10px; /* Base space */
}

/* ================= Mobile Footer Accordion - Mimic Mobile Menu Spacing ================= */
@media (max-width: 768px) {
  /* ... (existing styles) ... */
  .toggle-icon {
    display: inline; /* <-- Ini membuat ikon terlihat di mobile */
  }

  .footer-column.prestige {
    /* Set margin for the entire non-collapsible column */
    margin-bottom: 25px; /* Increase space after Prestige column */
  }

  .footer-column h3 {
    margin-bottom: 0;
    padding-bottom: 15px; /* Increase padding under header for better touch target */
    font-size: 1.2em;
    border-bottom: 1px solid #eee; /* Add a subtle separator line */
  }
  
  /* Reset separator for the last column in mobile flow */
  .footer-top .footer-column:last-of-type h3 {
      border-bottom: none;
  }

  /* Style for the non-collapsible prestige content */
  .prestige-content {
    padding-top: 15px; /* Space between header and content */
  }
  
  .prestige-content p {
    font-size: 1em; /* Make it slightly larger for mobile readability */
    line-height: 1.4;
    margin-bottom: 0; /* Remove redundant bottom margin */
  }


  /* Hide content on mobile by default */
  .footer-column.collapsible ul,
  .country-collapsible #country-section {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    padding-left: 0;
  }

  /* Show when active - submenu like spacing */
  .footer-column.active ul,
  .country-collapsible.active #country-section {
    display: block;
    max-height: 500px;
    margin-top: 15px; /* Consistent top margin for open content */
    margin-bottom: 15px;
    padding-right: 20px; /* Add some right padding */
  }

  .footer-column.active ul li {
    margin-bottom: 15px;
  }
  
  .footer-column ul li a {
    font-size: 1em; /* Match h3 font size for consistency */
  }

  .country-collapsible h3 {
    border-bottom: none; /* No line under the last main header */
    padding-bottom: 0; /* Adjust spacing */
  }

  .country-selector {
    justify-content: flex-start;
    padding-bottom: 15px; /* Add bottom padding */
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px; /* Reduce gap between legal links */
  }
  
  .footer-links li a {
    font-size: 0.9em;
  }

  .footer-bottom {
    text-align: left; /* Align bottom text left for better mobile flow */
  }
  
  .footer-bottom p {
    margin-bottom: 15px;
  }
}