<details class="filter-wrapper">
    <summary class="filter-wrapper__summary">
        <span class="filter-wrapper__summary--heading">Filters</span>

        <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
            <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
            <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
        </svg>

    </summary>

    <div class="filter-wrapper__filters" aria-hidden="false">

        <div class="filter-group">
            <details class="filter-group__accordion">
                <summary class="filter-group__label">
                    <div>Recipient</div>
                    <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                        <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                    </svg>

                </summary>
                <div class="filter-group_contents-wrapper">
                    <div class="filter-list filter-list--with-checkboxes">
                        <details class="filter-list__accordion" open>
                            <summary class="filter-list__label">
                                <div>Recipient Organisation</div>
                                <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>

                            </summary>
                            <div class="filter-list__contents-wrapper">
                                <form class="filter-list__form" action="#">

                                    <div class="filter-list__form--radios">

                                        <div class="filter-list__form--radio-item">
                                            <input class="screen-reader-only" type="radio" id="include" name="radioGroupName" value="include" checked>
                                            <label for="include">Include selected</label>
                                        </div>

                                        <div class="filter-list__form--radio-item">
                                            <input class="screen-reader-only" type="radio" id="exclude" name="radioGroupName" value="exclude">
                                            <label for="exclude">Exclude selected</label>
                                        </div>

                                    </div>

                                    <ul class="filter-list__form--checkbox-listing">

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="oxford" type="checkbox" checked>
                                                <label for="oxford">Oxford (321)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="reading" type="checkbox">
                                                <label for="reading">Reading (1422)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="manchester" type="checkbox" checked>
                                                <label for="manchester">Manchester (3141)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="birmingham" type="checkbox">
                                                <label for="birmingham">Birmingham (2132)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="london" type="checkbox">
                                                <label for="london">London (32113)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="paris" type="checkbox">
                                                <label for="paris">Paris (4123)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="marseille" type="checkbox">
                                                <label for="marseille">Marseille (7321)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="brussels" type="checkbox">
                                                <label for="brussels">Brussels (9321)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="geneva" type="checkbox">
                                                <label for="geneva">Geneva (8743)</label>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="filter-list__form--checkbox-item">
                                                <input class="screen-reader-only" id="barcelona" type="checkbox">
                                                <label for="barcelona">Barcelona (8241)</label>
                                            </div>
                                        </li>

                                    </ul>

                                    <div class="filter-list__form--summary">
                                        <div class="filter-list__form--summary-label">Selected:</div>
                                        <ul class="filter-list__form--summary-contents">

                                            <li data-option-id="oxford" class="filter-list__form--summary-item  active">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Oxford (321)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="reading" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Reading (1422)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="manchester" class="filter-list__form--summary-item  active">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Manchester (3141)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="birmingham" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Birmingham (2132)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="london" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">London (32113)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="paris" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Paris (4123)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="marseille" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Marseille (7321)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="brussels" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Brussels (9321)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="geneva" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Geneva (8743)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                            <li data-option-id="barcelona" class="filter-list__form--summary-item ">
                                                <button class="filter-list__form--summary-button">
                                                    <span class="screen-reader-only">(remove)</span>
                                                    <span class="filter-list__form--summary-button__label">Barcelona (8241)</span>
                                                    <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z" fill="#DE6E24" />
                                                    </svg>

                                                </button>
                                            </li>

                                        </ul>
                                    </div>

                                    <div class="filter-list__form--actions">
                                        <input class="filter-list__contents--form-submit" type="submit" value="Apply">
                                        <input class="filter-list__contents--form-clear" type="submit" value="Clear all">
                                    </div>

                                </form>
                            </div>
                        </details>
                    </div>

                </div>
            </details>
        </div>

        <div class="filter-group">
            <details class="filter-group__accordion">
                <summary class="filter-group__label">
                    <div>Location</div>
                    <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                        <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                    </svg>

                </summary>
                <div class="filter-group_contents-wrapper">
                    <div class="filter-list">
                        <details class="filter-list__accordion">
                            <summary class="filter-list__label">
                                <div>Recipient region</div>
                                <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>

                            </summary>
                            <div class="filter-list__contents-wrapper">

                                <ul class="filter-list__listing">

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Oxford (321)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Reading (1422)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Manchester (3141)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Birmingham (2132)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            London (32113)

                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </details>
                    </div>

                    <div class="filter-list">
                        <details class="filter-list__accordion" open>
                            <summary class="filter-list__label">
                                <div>Recipient city</div>
                                <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>

                            </summary>
                            <div class="filter-list__contents-wrapper">

                                <form class="filter-list__contents--form">
                                    <div class="filter-list__contents--form-item">
                                        <label for="smallest-number">Smallest (£)</label>
                                        <input id="smallest-number" min="0" type="number">
                                    </div>
                                    <div class="filter-list__contents--form-item">
                                        <label for="smallest-number">Largest (£)</label>
                                        <input id="smallest-number" min="0" type="number">
                                    </div>
                                    <input class="filter-list__contents--form-submit" type="submit" value="Apply">
                                </form>

                                <ul class="filter-list__listing">

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Oxford (321)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Reading (1422)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Manchester (3141)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Birmingham (2132)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            London (32113)

                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </details>
                    </div>

                </div>
            </details>
        </div>

        <div class="filter-group">
            <details class="filter-group__accordion">
                <summary class="filter-group__label">
                    <div>Location</div>
                    <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                        <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                    </svg>

                </summary>
                <div class="filter-group_contents-wrapper">
                    <div class="filter-list">
                        <details class="filter-list__accordion">
                            <summary class="filter-list__label">
                                <div>Recipient region</div>
                                <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>

                            </summary>
                            <div class="filter-list__contents-wrapper">

                                <ul class="filter-list__listing">

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Oxford (321)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Reading (1422)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Manchester (3141)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Birmingham (2132)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            London (32113)

                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </details>
                    </div>

                    <div class="filter-list">
                        <details class="filter-list__accordion" open>
                            <summary class="filter-list__label">
                                <div>Recipient city</div>
                                <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>

                            </summary>
                            <div class="filter-list__contents-wrapper">

                                <form class="filter-list__contents--form">
                                    <div class="filter-list__contents--form-item">
                                        <label for="smallest-number">Smallest (£)</label>
                                        <input id="smallest-number" min="0" type="number">
                                    </div>
                                    <div class="filter-list__contents--form-item">
                                        <label for="smallest-number">Largest (£)</label>
                                        <input id="smallest-number" min="0" type="number">
                                    </div>
                                    <input class="filter-list__contents--form-submit" type="submit" value="Apply">
                                </form>

                                <ul class="filter-list__listing">

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Oxford (321)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Reading (1422)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Manchester (3141)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Birmingham (2132)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            London (32113)

                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </details>
                    </div>

                </div>
            </details>
        </div>

        <div class="filter-group">
            <details class="filter-group__accordion">
                <summary class="filter-group__label">
                    <div>Location</div>
                    <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                        <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                    </svg>

                </summary>
                <div class="filter-group_contents-wrapper">
                    <div class="filter-list">
                        <details class="filter-list__accordion">
                            <summary class="filter-list__label">
                                <div>Recipient region</div>
                                <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>

                            </summary>
                            <div class="filter-list__contents-wrapper">

                                <ul class="filter-list__listing">

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Oxford (321)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Reading (1422)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Manchester (3141)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Birmingham (2132)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            London (32113)

                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </details>
                    </div>

                    <div class="filter-list">
                        <details class="filter-list__accordion" open>
                            <summary class="filter-list__label">
                                <div>Recipient city</div>
                                <svg class="accordion-toggle-icon" width="18" stroke="#153634" stroke="#153634" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <line class="accordion-toggle-icon__horizontal-line" x1="16.4131" y1="8.65356" x2="1.09657" y2="8.65356" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <line class="accordion-toggle-icon__vertical-line" x1="8.7561" y1="0.995239" x2="8.7561" y2="16.3118" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>

                            </summary>
                            <div class="filter-list__contents-wrapper">

                                <form class="filter-list__contents--form">
                                    <div class="filter-list__contents--form-item">
                                        <label for="smallest-number">Smallest (£)</label>
                                        <input id="smallest-number" min="0" type="number">
                                    </div>
                                    <div class="filter-list__contents--form-item">
                                        <label for="smallest-number">Largest (£)</label>
                                        <input id="smallest-number" min="0" type="number">
                                    </div>
                                    <input class="filter-list__contents--form-submit" type="submit" value="Apply">
                                </form>

                                <ul class="filter-list__listing">

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Oxford (321)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Reading (1422)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item  active" href="#">
                                            Manchester (3141)

                                            <span class="screen-reader-only">(active filter)</span>

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            Birmingham (2132)

                                        </a>
                                    </li>

                                    <li>
                                        <a class="filter-list__filter-item " href="#">
                                            London (32113)

                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </details>
                    </div>

                </div>
            </details>
        </div>

    </div>
</details>
<details class="filter-wrapper">
  <summary class="filter-wrapper__summary">
    <span class="filter-wrapper__summary--heading">{{ heading }}</span>

    {% render '@accordion-toggle-icon' %}
  </summary>

  <div class="filter-wrapper__filters" aria-hidden="false">
    {# Filters go here #}
    {% block filters %}
      {% render '@filter-group--recipient-example' %}

      {% render '@filter-group' %}

      {% render '@filter-group' %}

      {% render '@filter-group' %}
    {% endblock filters %}
  </div>
</details>
{
  "heading": "Filters"
}
  • Content:
    const filterWrappers = document.querySelectorAll('.filter-wrapper');
    
    // Change this breakpoint to fit your theme's breakpoint
    const breakpoint = 958;
    
    function togglePreventDefault(e) {
      e.stopPropagation();
      e.preventDefault();
    }
    
    function preventDefaultOnWrapper(wrapper, button) {
      if (window.innerWidth >= breakpoint) {
        button.addEventListener('click', togglePreventDefault);
        TurnDetailsOn(wrapper);
      } else {
        button.removeEventListener('click', togglePreventDefault);
        TurnDetailsOff(wrapper);
      }
    }
    
    function TurnDetailsOn(wrapper) {
      if (!wrapper.hasAttribute('open')) {
        wrapper.setAttribute('open', '');
      }
    }
    
    function TurnDetailsOff(wrapper) {
      if (wrapper.hasAttribute('open')) {
        wrapper.removeAttribute('open');
      }
    }
    
    filterWrappers.forEach((filterWrapper) => {
      let filterButton = filterWrapper.querySelector('.filter-wrapper__summary')
      preventDefaultOnWrapper(filterWrapper, filterButton);
    
      window.addEventListener('resize', e => {
        preventDefaultOnWrapper(filterWrapper, filterButton);
      })
    })
    
  • URL: /components/raw/filter-wrapper/filter-wrapper.js
  • Filesystem Path: src/components/05-templates/filter-wrapper/filter-wrapper.js
  • Size: 1 KB
  • Content:
    .filter-wrapper {
      &[open] {
        .filter-wrapper__summary .accordion-toggle-icon {
          .accordion-toggle-icon__vertical-line {
            transform-origin: center;
            transform: rotateZ(90deg);
            transition: 0.1s;
          }
        }
      }
    
      &__summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: $teal-dark;
        font-size: 16px;
        font-weight: 500;
        padding: 4px 10px;
        color: $white;
        margin-bottom: 4px;
    
        @include breakpoint($regular) {
          color: $black;
          background: none;
          padding-left: 0;
          margin-bottom: 6px;
        }
    
        &:focus {
          @include breakpoint($regular) {
            outline: none;
          }
        }
    
        .accordion-toggle-icon {
          transition: 0.2s;
          stroke: $white;
    
          @include breakpoint($regular) {
            display: none;
          }
    
          &__vertical-line {
            transform-origin: center;
            transform: rotateZ(0deg);
            transition: 0.1s;
          }
        }
    
        &:hover {
          cursor: pointer;
    
          @include breakpoint($regular) {
            cursor: default;
          }
    
          .accordion-toggle-icon {
            transform: scale(1.1, 1.1);
            transition: 0.2s;
          }
        }
    
        &::-webkit-details-marker {
          display: none;
        }
    
        &--heading {
          font-weight: 500;
          font-size: 18px;
        }
      }
    }
    
  • URL: /components/raw/filter-wrapper/filter-wrapper.scss
  • Filesystem Path: src/components/05-templates/filter-wrapper/filter-wrapper.scss
  • Size: 1.3 KB

This is meant to be an accordion at mobile but fully expanded on desktop screens, so will use a <details> element and disable toggling on desktop.