xx

<style>
  .pd-dropdown {
    margin: 1em 0;
  }

  .pd-header {
    cursor: pointer;
    font-weight: bold;
    padding: 0.6em 0;
    font-size: 1.1em;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .pd-arrow {
    transition: transform 0.25s ease;
    font-size: 1.2em;
    line-height: 1;
  }

  .pd-content {
    display: none;
    padding: 0.6em 0;
  }

  .pd-open .pd-content {
    display: block;
  }

  .pd-open .pd-arrow {
    transform: rotate(180deg);
  }
</style>

<div class="pd-dropdown" onclick="this.classList.toggle('pd-open')">
  <div class="pd-header">
    Product details
    <span class="pd-arrow">▾</span>
  </div>

  <div class="pd-content">

    {% if product and product.metafields.wk_brand_name.mvm_brand_name %}
      <p>
        <strong>Brand:</strong>
        {{ product.metafields.wk_brand_name.mvm_brand_name.value | default: product.metafields.wk_brand_name.mvm_brand_name }}
      </p>
    {% endif %}

    {% if product and product.metafields.custom.dimensions %}
      <p>
        <strong>Dimensions:</strong>
        {{ product.metafields.custom.dimensions.value | default: product.metafields.custom.dimensions }}
      </p>
    {% endif %}

    {% if product and product.metafields.wk_custom_field.cus_limited_edition %}
      <p>
        <strong>Limited Edition:</strong>
        {{ product.metafields.wk_custom_field.cus_limited_edition.value | default: product.metafields.wk_custom_field.cus_limited_edition }}
      </p>
    {% endif %}

  </div>
</div>