FAQs

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FAQ | VIASWEAT</title>
<style>
  :root {
    --bg: #FAFAF8;
    --ink: #1C1C1A;
    --ink-soft: #5A5A56;
    --line: #E3E1DA;
    --accent: #3D4A3D;
    --accent-soft: #EEF1EA;
    --card: #FFFFFF;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
  }

  .faq-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 100px;
  }

  .faq-header {
    text-align: center;
    margin-bottom: 48px;
  }

  .faq-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
  }

  .faq-header p {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0;
  }

  .faq-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 56px;
  }

  .faq-nav a {
    font-size: 12.5px;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 7px 10px;
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .faq-nav a:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
  }

  @media (max-width: 480px) {
    .faq-nav {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .faq-category {
    margin-bottom: 44px;
    scroll-margin-top: 24px;
  }

  .faq-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
  }

  .faq-category-title .num {
    font-size: 11px;
    font-weight: 600;
    color: var(--card);
    background: var(--accent);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .accordion-item {
    border-bottom: 1px solid var(--line);
  }

  .accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 4px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    font-family: inherit;
  }

  .accordion-header:hover {
    color: var(--accent);
  }

  .accordion-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
    margin-top: 2px;
  }

  .accordion-icon::before,
  .accordion-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .accordion-icon::before { width: 12px; height: 1.5px; }
  .accordion-icon::after { width: 1.5px; height: 12px; transition: transform 0.25s ease; }

  .accordion-header[aria-expanded="true"] .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
  }

  .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .accordion-panel-inner {
    padding: 0 4px 20px;
    font-size: 13.5px;
    color: var(--ink-soft);
  }

  .accordion-panel-inner p { margin: 0 0 10px; }
  .accordion-panel-inner p:last-child { margin-bottom: 0; }

  .accordion-panel-inner ul,
  .accordion-panel-inner ol {
    margin: 8px 0;
    padding-left: 20px;
  }

  .accordion-panel-inner li { margin-bottom: 4px; }

  .accordion-panel-inner a {
    color: var(--accent);
    font-weight: 600;
  }

  .faq-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 14px;
    font-size: 12.5px;
  }

  .faq-table th,
  .faq-table td {
    border: 1px solid var(--line);
    padding: 8px 10px;
    text-align: center;
  }

  .faq-table th {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
  }

  .faq-table td:first-child,
  .faq-table th:first-child {
    text-align: left;
  }

  .faq-note {
    font-size: 12px;
    color: #9A968C;
    margin-top: 8px;
  }

  .hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 14px;
  }

  .hashtags span {
    font-size: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
  }

  .faq-contact {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--ink-soft);
  }

  .faq-contact a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
  }
</style>
</head>
<body>

<div class="faq-wrap">

  <div class="faq-header">
    <h1>Frequently Asked Questions</h1>
    <p>Can't find what you're looking for? Email us at hello@viasweat.com and we'll get back to you soon.</p>
  </div>

  <nav class="faq-nav" aria-label="FAQ categories">
    <a href="#cat-product">Product Info</a>
    <a href="#cat-shipping">Orders & Shipping</a>
    <a href="#cat-returns">Returns & Exchanges</a>
    <a href="#cat-preorder">Pre-Orders</a>
    <a href="#cat-payment">Payments</a>
    <a href="#cat-contact">Contact Us</a>
    <a href="#cat-secure">Security</a>
    <a href="#cat-brand">Community</a>
  </nav>

  <!-- Product Information -->
  <section class="faq-category" id="cat-product">
    <div class="faq-category-title"><span class="num">1</span>Product Information</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Are VIASWEAT products originally designed?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>All VIASWEAT products are originally designed by our in-house team. We believe great activewear isn't just about comfort — it should accompany you through every workout and everyday moment. That's why we continue to invest in design and development, aiming to bring you products that combine performance, aesthetics, and comfort.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What materials are VIASWEAT products made from?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Our full range of products features moisture-wicking, breathable, and comfortable performance.</p>
          <p>Our main fabrics are primarily eco-friendly nylon and high-performance stretch fibers, with different products using different materials depending on the design. Please refer to each product page for the exact fabric composition.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Do VIASWEAT sports bras/tanks come with bra pads?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Most VIASWEAT sports bras and tanks come with removable padding (with some exceptions), which can be taken out based on your personal preference for comfort, support, and a natural shape.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Sizing Guide
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Please refer to the size chart below:</p>
          <table class="faq-table">
            <tr><th>VIASWEAT Sizing</th><th>S</th><th>M</th><th>L</th></tr>
            <tr><td>Australia (AU)</td><td>6</td><td>8</td><td>10</td></tr>
            <tr><td>United States (US)</td><td>2</td><td>4</td><td>6</td></tr>
            <tr><td>Europe (EU)</td><td>34</td><td>36</td><td>38</td></tr>
            <tr><td>Japan (JP)</td><td>5</td><td>7</td><td>9</td></tr>
          </table>
          <p>If you're still unsure which size is right for you, feel free to email us at <a href="mailto:hello@viasweat.com">hello@viasweat.com</a> and we'll help you find the perfect fit.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Product Care
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Every VIASWEAT product is quality-tested and will maintain good color and quality under normal washing conditions. To extend the life of your garment, we recommend:</p>
          <ul>
            <li>Wash inside out in cold water</li>
            <li>Wash light and dark garments separately</li>
            <li>Avoid fabric softener</li>
            <li>Avoid bleach</li>
            <li>Avoid direct sunlight</li>
            <li>Do not dry clean or iron</li>
            <li>Tumble dry or spin dry, then hang to air-dry in a shaded area</li>
            <li>Machine wash only in water below 30°C</li>
            <li>Follow the care label instructions</li>
          </ul>
        </div></div>
      </div>

    </div>
  </section>

  <!-- Orders & Shipping -->
  <section class="faq-category" id="cat-shipping">
    <div class="faq-category-title"><span class="num">2</span>Orders & Shipping</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          How long will it take to receive my order?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Thank you for shopping with VIASWEAT! Once your order is placed, please allow 1–2 business days for order processing. Estimated delivery times after dispatch are as follows (excluding weekends and holidays):</p>
          <ul>
            <li>Taiwan: approx. 1–2 business days</li>
            <li>Asia: approx. 3–4 business days</li>
            <li>Other regions: approx. 4–5 business days</li>
          </ul>
          <p>Orders within Taiwan are shipped via HCT Logistics, while international orders are shipped via Goodmaji Logistics. Once your order ships, we'll send you a shipping confirmation with tracking information so you can follow your order every step of the way.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          How is shipping calculated?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>We offer worldwide shipping, calculated by region and order value as follows:</p>
          <table class="faq-table">
            <tr><th>Region</th><th>Free Shipping</th><th>Below Threshold</th></tr>
            <tr><td>Taiwan</td><td>Orders over NTD 2,000</td><td>NTD 80 shipping fee</td></tr>
            <tr><td>Hong Kong / Macau</td><td>Orders over NTD 2,000</td><td>NTD 150 shipping fee</td></tr>
            <tr><td>Singapore / Malaysia / Japan / South Korea</td><td>Orders over NTD 3,000</td><td>NTD 300 shipping fee</td></tr>
            <tr><td>USA / Canada / Europe / Australia</td><td>Orders over NTD 6,000</td><td>NTD 600 shipping fee</td></tr>
          </table>
          <p class="faq-note">*Free return shipping is not available for international orders.</p>
          <p>If your shipping region isn't listed above, please email us at <a href="mailto:hello@viasweat.com">hello@viasweat.com</a> and we'll help confirm shipping methods and rates.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Where do VIASWEAT orders ship from?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>All orders ship from Taipei, Taiwan.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Do you ship internationally? Will I need to pay customs or import duties?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>VIASWEAT offers worldwide shipping. Please note that we're currently unable to deliver to P.O. Boxes, so please provide a complete and accurate shipping address and country at checkout to ensure smooth delivery.</p>
          <p>Any customs duties, import taxes, VAT, or other related fees incurred due to destination country regulations are the responsibility of the recipient. If you have questions about applicable fees, we recommend checking with your local customs office before placing your order.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What happens if my order is delayed or arrives damaged?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>If delivery is delayed due to logistics, customs, weather, or similar factors, we'll do our best to help track your order's progress. If your item arrives with visible damage, please contact customer service as soon as possible with photos of the product and packaging, and we'll assist with next steps.</p>
          <p>Please note that VIASWEAT is unable to control the shipping process, so we cannot be held responsible for delays or additional costs resulting from carrier logistics, customs procedures, or incorrect/incomplete shipping addresses.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What if my item is out of stock after I've completed checkout?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>We sincerely apologize if this happens. We'll contact you right away by email or phone, and if you'd like to cancel your order, we'll issue a full refund to make sure your rights are protected.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Can I change or cancel my order after checkout?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Once an order is placed and payment is completed, it cannot be modified or canceled. If you'd like to return an item, please refer to our Returns & Exchanges Policy.</p>
        </div></div>
      </div>

    </div>
  </section>

  <!-- Returns & Exchanges -->
  <section class="faq-category" id="cat-returns">
    <div class="faq-category-title"><span class="num">3</span>Returns & Exchanges</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Does VIASWEAT accept returns? What's your returns policy?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>To make sure every Active Girl finds the right fit, VIASWEAT offers returns and exchanges within a 7-day inspection period for orders placed on our website. If the remaining order value after a return falls below the free-shipping threshold of $2,000, the original shipping fee of $80 will be charged.</p>
          <p>Customers outside Taiwan who need to arrange a return or exchange should email us at <a href="mailto:returns@viasweat.com">returns@viasweat.com</a>. International return shipping, customs duties, and related fees are the customer's responsibility.</p>
          <p>Returns or exchanges are not accepted after the 7-day inspection period.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What should I do if the item I receive is damaged or defective?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>We do our best to ensure the highest quality for every item, but if the product you receive has any defect or issue, please email us at <a href="mailto:returns@viasweat.com">returns@viasweat.com</a> and we'll take care of it as quickly as possible.</p>
          <p>Before requesting a return or exchange, please review the following:</p>
          <ul>
            <li>VIASWEAT will help track delivery progress in the case of logistics delays or other unforeseeable circumstances, but cannot guarantee delivery timing.</li>
            <li>If a return brings the order below the free-shipping threshold (NTD 2,000), the original shipping fee of NTD 80 will be deducted from your refund.</li>
            <li>For returns within Taiwan, VIASWEAT will arrange courier pickup; if pickup isn't possible, please ship the item back yourself.</li>
            <li>Once the returned item is received and confirmed to meet return conditions, we'll process your refund as soon as possible.</li>
            <li>Credit card payments: refunds will be issued to your original card, with the actual posting time depending on your card issuer's process.</li>
            <li>Cash on Delivery (COD): please provide your bank account details to our customer service email for the refund.</li>
          </ul>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What's the process for requesting a return or exchange?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>VIASWEAT currently offers free returns and exchanges within Taiwan only. Please click here to access the return request form.</p>
          <p>After submitting the form, our customer service team will contact you to guide you through the process. Once we receive your returned item, you'll receive your refund (or exchange item). Refunds take 7–14 business days to process.</p>
          <p>For credit card payments: once we receive your returned item, the refund will be issued directly back to the credit card used for the original purchase. Depending on your card issuer, it may take an additional 2–10 business days to appear in your account.</p>
        </div></div>
      </div>

    </div>
  </section>

  <!-- Pre-Orders -->
  <section class="faq-category" id="cat-preorder">
    <div class="faq-category-title"><span class="num">4</span>Pre-Orders</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What is a pre-order?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Get it first! We offer pre-orders so you can easily secure new arrivals before they officially launch. To protect both parties, full payment is required at checkout and orders cannot be changed. If you need to return or exchange a pre-order item after it arrives, please refer to our Returns & Exchanges Policy.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          How soon will I receive my pre-order?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Pre-orders are fulfilled in the order they were placed and typically ship within a few weeks. We'll send you a shipping confirmation email as soon as your item ships — thank you for your patience!</p>
        </div></div>
      </div>

    </div>
  </section>

  <!-- Payment Methods -->
  <section class="faq-category" id="cat-payment">
    <div class="faq-category-title"><span class="num">5</span>Payment Methods</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What payment methods does VIASWEAT accept?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>We currently accept:</p>
          <ul>
            <li>Visa</li>
            <li>Mastercard</li>
            <li>JCB</li>
            <li>Cash on Delivery (COD)</li>
          </ul>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          What currency will I be charged in?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>By default, our system charges in New Taiwan Dollars (NTD). For international orders, we've added a convenient region-switching option on our site to make shopping easier for you!</p>
        </div></div>
      </div>

    </div>
  </section>

  <!-- Contact Us -->
  <section class="faq-category" id="cat-contact">
    <div class="faq-category-title"><span class="num">6</span>Contact Us</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          How can I contact customer service?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Feel free to email us at <a href="mailto:hello@viasweat.com">hello@viasweat.com</a> — we'll get back to you as quickly and warmly as possible!</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          How do I stay updated on new products?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Join the VIASWEAT membership or follow us on Facebook and Instagram to stay up to date on new products and promotions.</p>
        </div></div>
      </div>

    </div>
  </section>

  <!-- Secure Shopping -->
  <section class="faq-category" id="cat-secure">
    <div class="faq-category-title"><span class="num">7</span>Secure Shopping</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Is it safe to shop on the VIASWEAT online store?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>The VIASWEAT website uses GeoTrust SSL (Secure Socket Layering) to ensure that your information while shopping with us is stored and used securely, and your rights will never be compromised. If you have any concerns, please refer to our Privacy Policy. If you're still worried about the risks of online shopping, feel free to email us at <a href="mailto:hello@viasweat.com">hello@viasweat.com</a> and we'll be happy to help.</p>
        </div></div>
      </div>

    </div>
  </section>

  <!-- Brand & Community -->
  <section class="faq-category" id="cat-brand">
    <div class="faq-category-title"><span class="num">8</span>Community</div>
    <div class="accordion">

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Does VIASWEAT currently have any promotions?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Want to know about our latest promotions? Become a VIASWEAT member or follow our Facebook page & Instagram to stay in the loop!</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Show Your Confidence
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>We can't wait to see you shine in VIASWEAT! Just share your photos on Instagram or Facebook and tag us with any of the following hashtags:</p>
          <div class="hashtags">
            <span>#VIASWEAT</span>
            <span>#VIASWEATactivewear</span>
            <span>#VIASWEATActiveGirl</span>
            <span>#lookfeeldo</span>
            <span>#lookfeeldoamazing</span>
            <span>#amazinghappensVIASWEAT</span>
          </div>
          <p>You could be featured on our official website, Instagram, Facebook, or other official brand platforms, letting even more people see your confidence and style.</p>
          <p>By publicly sharing your photo with the hashtags above, you agree that VIASWEAT may use your photo on our official platforms and in related marketing. We also respect every creator and reserve the right not to feature content that doesn't meet our guidelines or policies.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          Once I upload a photo, who owns the rights to it?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>You always retain ownership of your photo. By participating and uploading a tagged photo, you agree that VIASWEAT may use your photo, and we may feature it on VIASWEAT's official website, Instagram, Facebook page, or other promotional channels.</p>
        </div></div>
      </div>

      <div class="accordion-item">
        <button class="accordion-header" aria-expanded="false">
          How do I request removal of my photo from VIASWEAT's Instagram or Facebook page?
          <span class="accordion-icon"></span>
        </button>
        <div class="accordion-panel"><div class="accordion-panel-inner">
          <p>Please email <a href="mailto:hello@viasweat.com">hello@viasweat.com</a> and we'll assist you as soon as possible.</p>
        </div></div>
      </div>

    </div>
  </section>

  <div class="faq-contact">
    Still have questions? Email us at <a href="mailto:hello@viasweat.com">hello@viasweat.com</a> and we'll get back to you as quickly and warmly as possible.
  </div>

</div>

<script>
document.querySelectorAll('.accordion-header').forEach(btn => {
  btn.addEventListener('click', () => {
    const panel = btn.nextElementSibling;
    const isOpen = btn.getAttribute('aria-expanded') === 'true';

    btn.setAttribute('aria-expanded', String(!isOpen));
    panel.style.maxHeight = isOpen ? null : panel.scrollHeight + 'px';
  });
});
</script>

</body>
</html>