अक्सर पूछे जाने वाले प्रश्न

<style>
.accordion { background:#f1f1f1; cursor:pointer; padding:14px; font-weight:bold; border:none; width:100%; text-align:left; }
.panel { padding:10px; display:none; background:#fff; border:1px solid #ddd; }
</style>

<button class="accordion">आपकी वापसी नीति क्या है?</button>
<div class="panel">हम खराब या गलत वस्तुओं के लिए 7 दिनों के भीतर वापसी स्वीकार करते हैं।</div>

<button class="accordion">क्या आप पूरे भारत में डिलीवरी करते हैं?</button>
<div class="panel">हाँ, हम विश्वसनीय कूरियर भागीदारों के माध्यम से पूरे भारत में शिपिंग करते हैं।</div>

<script>
const acc = document.getElementsByClassName("accordion");
for (let i = 0; i < acc.length; i++) {
  acc[i].onclick = function () {
    this.classList.toggle("active");
    let panel = this.nextElementSibling;
    panel.style.display = panel.style.display === "block" ? "none" : "block";
  };
}
</script>