<!doctype html>
<html lang="en">
<head prefix="og: http://ogp.me/ns# category: http://ogp.me/ns/category#">
    <meta charset="utf-8"/>
<meta name="title" content="Videos  | BurdaStyle.com"/>
<meta name="description" content="BurdaStyle is a community website for people who sew or would like to learn how."/>
<meta name="keywords" content="burdastyle, burda, style, sewing, patterns, free, copyright-free, projects, tutorials, skill share, community, lessons, how to, tips, techniques, instructions, diy, handmade, fabric, crafts, stitch, notions, fashion, hobby, designer, needlepoint, thread, design, beginner, novice, expert, intermediate, look book, showcase"/>
<meta name="robots" content="INDEX,FOLLOW"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"/>
<title>Videos  | BurdaStyle.com</title>
<link  rel="stylesheet" type="text/css"  media="all" href="https://www.burdastyle.com/static/version1773654538/_cache/merged/2b87042e8a78848346c31e61d09dcb98.min.css" />
<link rel="preload" as="font" crossorigin="anonymous" href="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magento_Theme/fonts/raleway/Raleway-Regular.woff2" />
<link rel="preload" as="font" crossorigin="anonymous" href="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magento_Theme/fonts/raleway/Raleway-Bold.woff2" />
<link rel="preload" as="font" crossorigin="anonymous" href="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magento_Theme/fonts/raleway/Raleway-SemiBold.woff2" />
<link rel="preload" as="font" crossorigin="anonymous" href="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magento_Theme/fonts/assistant/Assistant-Regular.woff2" />
<link rel="preload" as="font" crossorigin="anonymous" href="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magento_Theme/fonts/assistant/Assistant-Bold.woff2" />
<link  rel="canonical" href="https://www.burdastyle.com/videos" />
<link  rel="icon" type="image/x-icon" href="https://www.burdastyle.com/media/favicon/stores/3/favicon.ico" />
<link  rel="shortcut icon" type="image/x-icon" href="https://www.burdastyle.com/media/favicon/stores/3/favicon.ico" />
            <script>
        window.getWpGA4Cookie = function(name) {
            match = document.cookie.match(new RegExp(name + '=([^;]+)'));
            if (match) return decodeURIComponent(match[1].replace(/\+/g, ' ')) ;
        };

        window.dataLayer = window.dataLayer || [];
                var dl4Objects = [{"pageName":"Videos  | BurdaStyle.com","pageType":"category"}];
        for (var i in dl4Objects) {
            window.dataLayer.push({ecommerce: null});
            window.dataLayer.push(dl4Objects[i]);
        }
                var wpGA4Cookies = ['wp_ga4_user_id','wp_ga4_customerGroup'];
        wpGA4Cookies.map(function(cookieName) {
            var cookieValue = window.getWpGA4Cookie(cookieName);
            if (cookieValue) {
                var dl4Object = {};
                dl4Object[cookieName.replace('wp_ga4_', '')] = cookieValue;
                window.dataLayer.push(dl4Object);
            }
        });
    </script>

    <!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PBFPBQD');</script>
<!-- End Google Tag Manager --><style>
    :root {
    --variables_colors_primary_lighter: rgb(241, 113, 183);
--variables_colors_primary_default: rgb(230, 0, 126);
--variables_colors_primary_darker: rgb(230, 0, 126);
--variables_text_colors_primary_lightest: rgb(100, 116, 139);
--variables_text_colors_primary_lighter: rgb(100, 116, 139);
--variables_text_colors_primary_default: rgb(71, 85, 105);
--variables_text_colors_primary_darker: rgb(51, 65, 85);
--variables_background_colors_primary_lighter: rgb(255, 255, 255);
--variables_background_colors_primary_default: rgb(255, 255, 255);
--variables_background_colors_primary_darker: rgb(250, 250, 250);
--variables_background_colors_primary_darkest: rgb(247, 247, 247);
--variables_text_colors_primary_darkest: rgb(28, 28, 28);
--Sample-Key: Sample Value;
    }
</style>
<!-- added by Trusted Shops app: Start -->
<script src="https://integrations.etrusted.com/applications/widget.js/v2" async defer></script>
<!-- End -->
<script>
    var BASE_URL = 'https://www.burdastyle.com/';
    var THEME_PATH = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US';
    var COOKIE_CONFIG = {
        "expires": null,
        "path": "\u002F",
        "domain": ".www.burdastyle.com",
        "secure": true,
        "lifetime": "7200",
        "cookie_restriction_enabled": false    };
    var CURRENT_STORE_CODE = 'burda_style_us_18';
    var CURRENT_WEBSITE_ID = '3';

    window.hyva = window.hyva || {}

    window.cookie_consent_groups = window.cookie_consent_groups || {}
    window.cookie_consent_groups['necessary'] = true;

    window.cookie_consent_config = window.cookie_consent_config || {};
    window.cookie_consent_config['necessary'] = [].concat(
        window.cookie_consent_config['necessary'] || [],
        [
            'user_allowed_save_cookie',
            'form_key',
            'mage-messages',
            'private_content_version',
            'mage-cache-sessid',
            'last_visited_store',
            'section_data_ids'
        ]
    );
    //# sourceURL=hyva-variables.js
</script>
<script>
    (function( hyva, undefined ) {

        function lifetimeToExpires(options, defaults) {

            const lifetime = options.lifetime || defaults.lifetime;

            if (lifetime) {
                const date = new Date;
                date.setTime(date.getTime() + lifetime * 1000);
                return date;
            }

            return null;
        }

        function generateRandomString() {

            const allowedCharacters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ',
                length = 16;

            let formKey = '',
                charactersLength = allowedCharacters.length;

            for (let i = 0; i < length; i++) {
                formKey += allowedCharacters[Math.round(Math.random() * (charactersLength - 1))]
            }

            return formKey;
        }

        const sessionCookieMarker = {noLifetime: true}

        const cookieTempStorage = {};

        const internalCookie = {
            get(name) {
                const v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
                return v ? v[2] : null;
            },
            set(name, value, days, skipSetDomain) {
                let expires,
                    path,
                    domain,
                    secure,
                    samesite;

                const defaultCookieConfig = {
                    expires: null,
                    path: '/',
                    domain: null,
                    secure: false,
                    lifetime: null,
                    samesite: 'lax'
                };

                const cookieConfig = window.COOKIE_CONFIG || {};

                expires = days && days !== sessionCookieMarker
                    ? lifetimeToExpires({lifetime: 24 * 60 * 60 * days, expires: null}, defaultCookieConfig)
                    : lifetimeToExpires(window.COOKIE_CONFIG, defaultCookieConfig) || defaultCookieConfig.expires;

                path = cookieConfig.path || defaultCookieConfig.path;
                domain = !skipSetDomain && (cookieConfig.domain || defaultCookieConfig.domain);
                secure = cookieConfig.secure || defaultCookieConfig.secure;
                samesite = cookieConfig.samesite || defaultCookieConfig.samesite;

                document.cookie = name + "=" + encodeURIComponent(value) +
                    (expires && days !== sessionCookieMarker ? '; expires=' + expires.toGMTString() : '') +
                    (path ? '; path=' + path : '') +
                    (domain ? '; domain=' + domain : '') +
                    (secure ? '; secure' : '') +
                    (samesite ? '; samesite=' + samesite : 'lax');
            },
            isWebsiteAllowedToSaveCookie() {
                const allowedCookies = this.get('user_allowed_save_cookie');
                if (allowedCookies) {
                    const allowedWebsites = JSON.parse(unescape(allowedCookies));

                    return allowedWebsites[CURRENT_WEBSITE_ID] === 1;
                }
                return false;
            },
            getGroupByCookieName(name) {
                const cookieConsentConfig = window.cookie_consent_config || {};
                let group = null;
                for (let prop in cookieConsentConfig) {
                    if (!cookieConsentConfig.hasOwnProperty(prop)) continue;
                    if (cookieConsentConfig[prop].includes(name)) {
                        group = prop;
                        break;
                    }
                }
                return group;
            },
            isCookieAllowed(name) {
                const cookieGroup = this.getGroupByCookieName(name);
                return cookieGroup
                    ? window.cookie_consent_groups[cookieGroup]
                    : this.isWebsiteAllowedToSaveCookie();
            },
            saveTempStorageCookies() {
                for (const [name, data] of Object.entries(cookieTempStorage)) {
                    if (this.isCookieAllowed(name)) {
                        this.set(name, data['value'], data['days'], data['skipSetDomain']);
                        delete cookieTempStorage[name];
                    }
                }
            }
        };

        hyva.getCookie = (name) => {
            const cookieConfig = window.COOKIE_CONFIG || {};

            if (cookieConfig.cookie_restriction_enabled && ! internalCookie.isCookieAllowed(name)) {
                return cookieTempStorage[name] ? cookieTempStorage[name]['value'] : null;
            }

            return internalCookie.get(name);
        }

        hyva.setCookie = (name, value, days, skipSetDomain) => {
            const cookieConfig = window.COOKIE_CONFIG || {};

            if (cookieConfig.cookie_restriction_enabled && ! internalCookie.isCookieAllowed(name)) {
                cookieTempStorage[name] = {value, days, skipSetDomain};
                return;
            }
            return internalCookie.set(name, value, days, skipSetDomain);
        }


        hyva.setSessionCookie = (name, value, skipSetDomain) => {
            return hyva.setCookie(name, value, sessionCookieMarker, skipSetDomain)
        }

        hyva.getBrowserStorage = () => {
            const browserStorage = window.localStorage || window.sessionStorage;
            if (!browserStorage) {
                console.warn('Browser Storage is unavailable');
                return false;
            }
            try {
                browserStorage.setItem('storage_test', '1');
                browserStorage.removeItem('storage_test');
            } catch (error) {
                console.warn('Browser Storage is not accessible', error);
                return false;
            }
            return browserStorage;
        }

        hyva.postForm = (postParams) => {
            const form = document.createElement("form");

            let data = postParams.data;

            if (! postParams.skipUenc && ! data.uenc) {
                data.uenc = btoa(window.location.href);
            }
            form.method = "POST";
            form.action = postParams.action;

            Object.keys(postParams.data).map(key => {
                const field = document.createElement("input");
                field.type = 'hidden'
                field.value = postParams.data[key];
                field.name = key;
                form.appendChild(field);
            });

            const form_key = document.createElement("input");
            form_key.type = 'hidden';
            form_key.value = hyva.getFormKey();
            form_key.name="form_key";
            form.appendChild(form_key);

            document.body.appendChild(form);

            form.submit();
        }

        hyva.getFormKey = function () {
            let formKey = hyva.getCookie('form_key');

            if (!formKey) {
                formKey = generateRandomString();
                hyva.setCookie('form_key', formKey);
            }

            return formKey;
        }

        hyva.formatPrice = (value, showSign, options = {}) => {
            const groupSeparator = options.groupSeparator;
            const decimalSeparator = options.decimalSeparator
            delete options.groupSeparator;
            delete options.decimalSeparator;
            const formatter = new Intl.NumberFormat(
                'en\u002DUS',
                Object.assign({
                    style: 'currency',
                    currency: 'USD',
                    signDisplay: showSign ? 'always' : 'auto'
                }, options)
            );
            return (typeof Intl.NumberFormat.prototype.formatToParts === 'function') ?
                formatter.formatToParts(value).map(({type, value}) => {
                    switch (type) {
                        case 'currency':
                            return '\u0024' || value;
                        case 'minusSign':
                            return '- ';
                        case 'plusSign':
                            return '+ ';
                        case 'group':
                            return groupSeparator !== undefined ? groupSeparator : value;
                        case 'decimal':
                            return decimalSeparator !== undefined ? decimalSeparator : value;
                        default :
                            return value;
                    }
                }).reduce((string, part) => string + part) :
                formatter.format(value);
        }

        const formatStr = function (str, nStart) {
            const args = Array.from(arguments).slice(2);

            return str.replace(/(%+)([0-9]+)/g, (m, p, n) => {
                const idx = parseInt(n) - nStart;

                if (args[idx] === null || args[idx] === void 0) {
                    return m;
                }
                return p.length % 2
                    ? p.slice(0, -1).replace('%%', '%') + args[idx]
                    : p.replace('%%', '%') + n;
            })
        }

        hyva.str = function (string) {
            const args = Array.from(arguments);
            args.splice(1, 0, 1);

            return formatStr.apply(undefined, args);
        }

        hyva.strf = function () {
            const args = Array.from(arguments);
            args.splice(1, 0, 0);

            return formatStr.apply(undefined, args);
        }

        /**
         * Take a html string as `content` parameter and
         * extract an element from the DOM to replace in
         * the current page under the same selector,
         * defined by `targetSelector`
         */
        hyva.replaceDomElement = (targetSelector, content) => {
            // Parse the content and extract the DOM node using the `targetSelector`
            const parser = new DOMParser();
            const doc = parser.parseFromString(content, 'text/html');
            const contentNode = doc.querySelector(targetSelector);

            // Bail if content or target can't be found
            if (!contentNode || !document.querySelector(targetSelector)) {
                return;
            }

                        hyva.activateScripts(contentNode);
            
            // Replace the old DOM node with the new content
            document.querySelector(targetSelector).replaceWith(contentNode);

            // Reload customerSectionData and display cookie-messages if present
            window.dispatchEvent(new CustomEvent("reload-customer-section-data"));
            hyva.initMessages();
        }

        hyva.removeScripts = (contentNode) => {
            const scripts = contentNode.getElementsByTagName('script');
            for (let i = 0; i < scripts.length; i++) {
                scripts[i].parentNode.removeChild(scripts[i]);
            }
            const templates = contentNode.getElementsByTagName('template');
            for (let i = 0; i < templates.length; i++) {
                const container = document.createElement('div');
                container.innerHTML = templates[i].innerHTML;
                hyva.removeScripts(container);
                templates[i].innerHTML = container.innerHTML;
            }
        }

        hyva.activateScripts = (contentNode) => {
            // Create new array from HTMLCollection to avoid mutation of collection while manipulating the DOM.
            const scripts = Array.from(contentNode.getElementsByTagName('script'));

            // Iterate over all script tags to duplicate+inject each into the head
            for (const original of scripts) {
                const script = document.createElement('script');
                original.type && (script.type = original.type);
                script.innerHTML = original.innerHTML;

                // Remove the original (non-executing) script from the contentNode
                original.parentNode.removeChild(original)

                // Add script to head
                document.head.appendChild(script);
            }

            return contentNode;
        }

        const replace = {['+']: '-', ['/']: '_', ['=']: ','};
        hyva.getUenc = () => btoa(window.location.href).replace(/[+/=]/g, match => replace[match]);

        let currentTrap;

        const focusableElements = (rootElement) => {
            const selector = 'button, [href], input, select, textarea, details, [tabindex]:not([tabindex="-1"]';
            return Array.from(rootElement.querySelectorAll(selector))
                .filter(el => {
                    return el.style.display !== 'none'
                        && !el.disabled
                        && el.tabIndex !== -1
                        && (el.offsetWidth || el.offsetHeight || el.getClientRects().length)
                })
        }

        const focusTrap = (e) => {
            const isTabPressed = e.key === 'Tab' || e.keyCode === 9;
            if (!isTabPressed) return;

            const focusable = focusableElements(currentTrap)
            const firstFocusableElement = focusable[0]
            const lastFocusableElement = focusable[focusable.length - 1]

            e.shiftKey
                ? document.activeElement === firstFocusableElement && (lastFocusableElement.focus(), e.preventDefault())
                : document.activeElement === lastFocusableElement && (firstFocusableElement.focus(), e.preventDefault())
        };

        hyva.releaseFocus = (rootElement) => {
            if (currentTrap && (!rootElement || rootElement === currentTrap)) {
                currentTrap.removeEventListener('keydown', focusTrap)
                currentTrap = null
            }
        }
        hyva.trapFocus = (rootElement) => {
            if (!rootElement) return;
            hyva.releaseFocus()
            currentTrap = rootElement
            rootElement.addEventListener('keydown', focusTrap)
            const firstElement = focusableElements(rootElement)[0]
            firstElement && firstElement.focus()
        }

        hyva.safeParseNumber = (rawValue) => {
            const number = rawValue ? parseFloat(rawValue) : null;

            return Array.isArray(number) || isNaN(number) ? rawValue : number;
        }

        const toCamelCase = s => s.split('_').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
        hyva.createBooleanObject = (name, value = false, additionalMethods = {}) => {

            const camelCase = toCamelCase(name);
            const key = '__hyva_bool_' + name

            return new Proxy(Object.assign(
                additionalMethods,
                {
                    [key]: !!value,
                    [name]() {return !!this[key]},
                    ['!' + name]() {return !this[key]}, // @deprecated This does not work with non-CSP Alpine
                    ['not' + camelCase]() {return !this[key]},
                    ['toggle' + camelCase]() {this[key] = !this[key]},
                    [`set${camelCase}True`]() {this[key] = true},
                    [`set${camelCase}False`]() {this[key] = false},
                }
            ), {
                set(target, prop, value) {
                    return prop === name
                        ? (target[key] = !!value)
                        : Reflect.set(...arguments);
                }
            })
        }

                hyva.alpineInitialized = (fn) => window.addEventListener('alpine:initialized', fn, {once: true})
        window.addEventListener('alpine:init', () => Alpine.data('{}', () => ({})), {once: true});
                window.addEventListener('user-allowed-save-cookie', () => internalCookie.saveTempStorageCookies())

    }( window.hyva = window.hyva || {} ));
    //# sourceURL=hyva.js
</script>
<script type="speculationrules">
{
    "tag": "Hyva Theme",
    "prefetch": [{
        "source": "document",
        "where": {
            "and": [
                { "href_matches": "/*" },
                { "not": {
                    "href_matches": ["/customer/*","/search/*","/sales/*","/wishlist/*","/checkout/*","/paypal/*","/newsletter/*","/stores/store/redirect/*"]                }},
                { "not": {
                    "selector_matches": [".no-preload", ".do-not-prerender", "[download]", "[rel~=nofollow]", "[target]"]
                }}
            ]
        },
        "eagerness": "moderate"
    }]
}
</script>

<script>
    document.addEventListener('alpine:init', () => {
        const matchMedia = window.matchMedia('(max-width: 1023px)');

        // set the initial value
        Alpine.store('isMobile', matchMedia.matches);

        // trigger update value on changes
        if (typeof matchMedia.onchange !== 'object') {
            // fallback for iOS 12/13, where addEventListener does not accept an event type parameter
            matchMedia.addListener((event) => Alpine.store('isMobile', event.matches));
        } else {
            matchMedia.addEventListener(
                "change",
                (event) => Alpine.store('isMobile', event.matches)
            );
        }
    });
</script>

<script>
    window.addEventListener('init-external-scripts', () => {
        if (window._amPurifyLoaded) {
            return;
        }

        // Load Purify script asynchronously
        const script = document.createElement('script');
        script.src = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Amasty_XsearchHyvaCompatibility/js/purify.min.js';
        script.async = true;
        document.body.appendChild(script);

        window._amPurifyLoaded = true;

        script.onload = () => {
            // Dispatch custom event when Swiper is loaded
            window.dispatchEvent(new CustomEvent('amPurifyLoaded', {}));
        }
    }, { once: true, passive: true });
</script>
</head>
<body id="html-body" class="page-with-filter page-products categorypath-videos category-videos catalog-category-view page-layout-2columns-left">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PBFPBQD"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<script nonce='MGJzeGYwNGsxaXFwcHl6OGs3bDhnYnMydnRsM3R6NTg=' >
    'use strict';
    (function (blackbird) {

        const addEventListenerOnElementToLoad = (elementToLoad, source) => new Promise((resolve, reject) => {
            elementToLoad.addEventListener('load', () => {
                elementToLoad.dataset.loaded = true;
                resolve(elementToLoad);
            })

            elementToLoad.addEventListener('error', () => {
                reject(new Error(`[External resource loader] : The resource "${source}", failed to load.`));
            });
        });

        blackbird.loadExternalScript = async (source) => {
            const scriptWithSameSrc = document.querySelector(`script[src="${source}"][data-loaded]`);

            if (scriptWithSameSrc && scriptWithSameSrc.dataset.loaded === 'true') {
                return scriptWithSameSrc;
            }

            const script = scriptWithSameSrc ?? document.createElement('script');
            script.type = 'text/javascript';
            script.async = true;
            script.src = source;
            script.dataset.loaded = false;

            document.head.appendChild(script);
            await addEventListenerOnElementToLoad(script, source);
            return script;
        }

        blackbird.loadExternalStyle = async (source) => {
            const linkWithSameHref = document.querySelector(`link[href="${source}"][data-loaded]`);

            if (linkWithSameHref && linkWithSameHref.dataset.loaded === 'true') {
                return linkWithSameHref;
            }

            const link = linkWithSameHref ?? document.createElement('link');
            link.type = 'text/css'
            link.rel = 'stylesheet';
            link.href = source;
            link.dataset.loaded = false;

            document.head.prepend(link);
            await addEventListenerOnElementToLoad(link, source);
            return link;
        }

        blackbird.loadExternalResource = (source) => {
            const scriptUrlRegex = /\.(js)$/i;
            const styleUrlRegex = /\.(css)$/i;

            if (scriptUrlRegex.test(source)) {
                return blackbird.loadExternalScript(source);
            }

            if (styleUrlRegex.test(source)) {
                return blackbird.loadExternalStyle(source);
            }
        }

    }(window.blackbird = window.blackbird || {}));
</script>
<input name="form_key" type="hidden" value="ccS63cPMqdfunvF7" />
    <noscript>
        <section class="message global noscript border-b-2 border-blue-500 bg-blue-50 shadow-none m-0 px-0 rounded-none font-normal">
            <div class="container text-center">
                <p>
                    <strong>JavaScript seems to be disabled in your browser.</strong>
                    <span>
                        For the best experience on our site, be sure to turn on Javascript in your browser.                    </span>
                </p>
            </div>
        </section>
    </noscript>


<script>
    document.body.addEventListener('touchstart', () => {}, {passive: true})
</script>
<div x-data="initScrollTopButton()"
     class="fixed bottom-5 right-20 z-10 transition"
     :class="active ? 'opacity-100 pointer-events-auto' : 'opacity-0 pointer-events-none'"
>
            <button @click="scrollToTop()"
            class="flex gap-4 w-fit ml-auto btn-primary rounded-full"
        x-cloak
        @scroll.window.throttle="toggleVisibility()"
    >
        <span class="max-md:hidden">
         Back to top        </span>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="20" height="20" aria-hidden="true">
  <path fill-rule="evenodd" d="M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z" clip-rule="evenodd"/>
</svg>
            </button>
    </div>

<script>
    function initScrollTopButton() {
        return {
            active: false,
            offsetVisibility: '1000',
            scrollToTop() {
                window.scrollTo({
                    top: 0,
                    behavior: "smooth",
                })
            },
            toggleVisibility() {
                this.active = window.scrollY > this.offsetVisibility
            }
        }
    }
</script>

<script>
    (function (hyva) {
        'use strict';

        /**
         * We use multiple Store objects depending on which Alpine version is
         */
        const isAlpineV3 = true;

        /**
         * @returns {string}
         */
        function getInitEventName() {
            return isAlpineV3 ? 'alpine:init' : 'spruce:init';
        }

        /**
         * @returns {Object}
         */
        function getStoreObject() {
            return isAlpineV3 ? Alpine : Spruce;
        }

        hyva.amStorage = {
            /**
             * @param {string} key
             * @param {Object} object
             * @returns {void}
             */
            create: (key, object) => {
                const eventName = key.toLowerCase() + '-created';

                document.addEventListener(getInitEventName(), () => {
                    getStoreObject().store(key, object);
                    document.dispatchEvent(new Event(eventName));
                });
            },

            /**
             * @param {string} key
             * @returns {Object}
             */
            getStorage: (key) => {
                return getStoreObject().store(key);
            },

            /**
             * @param {string} key
             * @param {Object} object
             * @returns {void}
             */
            reInit: (key, object) => {
                isAlpineV3
                    ? getStoreObject().store(key, object)
                    : getStoreObject().reset(key, object);
            }
        };


    }(window.hyva = window.hyva || {}));
</script>
<script>
    window.amastyCookieManager = window.amastyCookieManager || {};
</script>
<div class="page-wrapper"><script type="text/javascript" nonce='MGJzeGYwNGsxaXFwcHl6OGs3bDhnYnMydnRsM3R6NTg='>
    function headerBanners() {
        return {
            init() {
                if (!/bot|PageSpeed|Lighthouse/i.test(navigator.userAgent)) {
                    new Splide(this.$root, {
                        type: 'loop',
                        perPage: 1,
                        drag: false,
                        gap: '1.3rem',
                        keyboard: true,
                        slideFocus: true,
                        pagination: false,
                        arrows: true,
                        autoplay: true,
                        pauseOnHover: true,
                        pauseOnFocus: true,
                        interval: 5000,
                        speed: 500,
                    }).mount();
                }
            },
            skipCarouselToNavigation(navSelector) {
                const element = document.getElementById(navSelector);
                if (element) {
                    element.scrollIntoView({behavior: 'smooth', block: 'end'});
                    const button = element.querySelector('button:not([disabled])');
                    this.$nextTick(() => button && button.focus({preventScroll: true}))
                }
            }
        }
    }
</script>

<div class="header-banner__wrapper text-[var(--custom-color)] font-bold bg-[var(--custom-bg)] min-h-16 sm:min-h-10"
     style="--custom-bg: #E6007E;
         --custom-color: #FFF"
>
    <div x-data="headerBanners()"
         x-cloak
         x-id="['slider-nav', 'slider-end', 'slider-desc', 'slider-id']"
         class="splide lg:container"
         role="group"
    >
        <div class="relative">
            <!-- START Accessibility button -->
            <a
                :href="`#${$id('slider-end')}`"
                class="action skip sr-only focus:not-sr-only focus:absolute focus:z-30 focus:bg-white"
            >
                Press to skip carousel            </a>
            <button
                type="button"
                class="action skip sr-only focus:not-sr-only focus:absolute focus:z-30 focus:bg-white"
                @click.prevent="skipCarouselToNavigation($id('slider-nav'))"
            >
                Press to go to carousel navigation            </button>
            <!-- END Accessibility button -->

            <div class="relative">
                <div class="splide__track">
                    <ul class="splide__list">
                                                    <li class="splide__slide flex items-center justify-center min-h-8 py-2 px-6 text-center">
                                <span class="[&_a]:underline">
                                    <p><span style="color: #ecf0f1;">✨ Elevate your sewing experience with our <a title="Subscription Burda Style" href="https://burdastyle.com/subscription-burda-style.html"><strong>exclusive subscriptions</strong></a>!</span></p>                                </span>
                            </li>
                                                    <li class="splide__slide flex items-center justify-center min-h-8 py-2 px-6 text-center">
                                <span class="[&_a]:underline">
                                    <p><strong>&nbsp;⏰ </strong><a title="Subscription" href="https://www.burdastyle.com/burda-style"><strong>Subscription Alert:</strong></a> Take advantage of the current preferential rates before prices go up as of<strong> April 1, 2026.</strong></p>                                </span>
                            </li>
                                                    <li class="splide__slide flex items-center justify-center min-h-8 py-2 px-6 text-center">
                                <span class="[&_a]:underline">
                                    <p><strong>&nbsp;⭐️ <a href="https://www.burdastyle.com/burda-easy-01-2026-pdf">Burda Easy is back </a></strong>— discover the new 100% digital version!&nbsp;</p>                                </span>
                            </li>
                                            </ul>
                </div>
            </div>
        </div>

        <nav
            aria-label="Slider controls"
            :id="$id('slider-nav')"
        >
            <div class="splide__arrows">
                <button
                    role="button"
                    aria-label="Previous slide"
                    class="splide__arrow splide__arrow--prev h-full absolute left-0 lg:left-8 top-0 transition disabled:opacity-30"
                >
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"/>
</svg>
                </button>
                <button
                    role="button"
                    aria-label="Next slide"
                    class="splide__arrow splide__arrow--next h-full absolute right-0 lg:right-8 top-0 transition disabled:opacity-30"
                >
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"/>
</svg>
                </button>
            </div>
        </nav>
        <span :id="$id('slider-end')" tabindex="-1"></span>
    </div>
</div>
<header class="page-header amsearch-full-width"><a class="action skip sr-only focus:not-sr-only focus:absolute focus:z-40 focus:bg-white
   contentarea"
   href="#contentarea">
    <span>
        Skip to Content    </span>
</a>
    <script type="application/javascript" async
            src="https://static.klaviyo.com/onsite/js/RUDf99/klaviyo.js"></script>

    <div x-data="initKlaviyoCustomerTracking()"
         @private-content-loaded.window="sendCustomerDataToKlaviyo(event.detail.data)"></div>
    <script>
        !function(){if(!window.klaviyo){window._klOnsite=window._klOnsite||[];try{window.klaviyo=new Proxy({},{get:function(n,i){return"push"===i?function(){var n;(n=window._klOnsite).push.apply(n,arguments)}:function(){for(var n=arguments.length,o=new Array(n),w=0;w<n;w++)o[w]=arguments[w];var t="function"==typeof o[o.length-1]?o.pop():void 0,e=new Promise((function(n){window._klOnsite.push([i].concat(o,[function(i){t&&t(i),n(i)}]))}));return e}}})}catch(n){window.klaviyo=window.klaviyo||[],window.klaviyo.push=function(){var n;(n=window._klOnsite).push.apply(n,arguments)}}}}();

        function initKlaviyoCustomerTracking() {
            return {
                sendCustomerDataToKlaviyo(data) {
                    window.klaviyo = window.klaviyo || [];
                    const customer = data.customer;

                    window.klaviyo.isIdentified().then((identified)=> {
                        if(customer && customer.email && !identified) {
                            window.klaviyo.identify({
                                '$email': customer.email,
                                '$first_name': customer.firstname ? customer.firstname : '',
                                '$last_name':  customer.lastname ? customer.lastname : ''
                            });
                        }
                    });
                }
            }
        }
    </script>
<script>
    function initHeader() {
        return {
            searchOpen: false,
            cart: {},
            isCartOpen: false,
            isMobile: true,
            headerTopSectionHeight: 0,
            previousScrollPosition: window.scrollY,
            init() {
                const matchMedia = window.matchMedia("(max-width: 1023px)");
                this.onChangeMedia(matchMedia);
                this.setHeaderHeight();
                this.headerObserver();
                this.setHeaderTopSectionHeight();

                if (typeof matchMedia.onchange !== 'object') {
                    //prevent an old iOS Safari bug where addEventListener does not accept an event type parameter
                    matchMedia.addListener((event) => this.onChangeMedia(event));
                } else {
                    matchMedia.addEventListener(
                        "change",
                        (event) => this.onChangeMedia(event)
                    )
                }
            },
            getData(data) {
                if (data.cart) {
                    this.cart = data.cart
                }
            },
            isCartEmpty() {
                return !this.cart.summary_count
            },
            toggleCart(event) {
                if (event.detail && event.detail.isOpen !== undefined) {
                    this.isCartOpen = event.detail.isOpen
                    if (!this.isCartOpen && this.$refs && this.$refs.cartButton) {
                        this.$refs.cartButton.focus()
                    }
                } else {
                                        this.isCartOpen = true
                }
            },
            onChangeMedia(mediaQuery) {
                if (this.isMobile !== mediaQuery.matches) {
                    this.isMobile = mediaQuery.matches;
                    if (this.isMobile) {
                        this.$refs.searchContainerMobile.appendChild(this.$refs.searchForm);
                    } else {
                        this.$refs.searchContainerDesktop.appendChild(this.$refs.searchForm);
                    }
                }
            },
            headerObserver() {
                const header = document.querySelector('header');

                if (!header) {
                    return;
                }

                const resizeObserver = new ResizeObserver(() => {
                    this.setHeaderHeight();
                    this.setHeaderTopSectionHeight();
                });

                resizeObserver.observe(header);

                const  mutationObserver = new MutationObserver((mutationList) => {
                    for (let mutation of mutationList) {
                        if (mutation.type === 'childList') {
                            this.setHeaderHeight();
                        }
                    }
                });

                mutationObserver.observe(header, {childList: true, subtree: true});
            },
            handleScroll() {
                this.setHeaderTopPosition();
                this.setHeaderHeight();
            },
            setHeaderHeight() {
                setTimeout(() => {
                    const headerBottom = Math.round(document.querySelector('#header')?.getBoundingClientRect().bottom);
                    document.documentElement.style.setProperty('--header-height', `${headerBottom}px`);
                }, 200);
            },
            setHeaderTopSectionHeight() {
                this.headerTopSectionHeight = this.$refs.headerTopSection.offsetHeight ?? 0;
            },
            setHeaderTopPosition() {
                const headerTopPosition = window.scrollY > this.previousScrollPosition ? `-${this.headerTopSectionHeight}px` : '0px'

                document.documentElement.style.setProperty('--header-top-position', headerTopPosition);

                this.previousScrollPosition = window.scrollY;
            }
        }
    }
</script>
<div id="header"
     class="relative z-50 bg-container-lighter shadow lg:min-h-[150px]"
     x-data="initHeader()"
     @scroll.window.throttle="handleScroll"
     @private-content-loaded.window="getData(event.detail.data)"
>

    <div x-ref="headerTopSection" class="relative py-3 bg-container">
        <div class="container flex gap-3 justify-between items-center min-h-[50px] lg:min-h-[70px]">
            <template x-if="$store.isMobile">
                <div class="z-30">
                    <nav
    x-data="initMenuMobile()"
    @load.window="setActiveMenu($root)"
    @keydown.window.escape="closeMenu()"
    class="navigation"
    aria-label="Site&#x20;navigation"
    role="navigation"
>
        <button x-ref="mobileMenuTrigger"
        @click="openMenu()"
        class="block"
        :class="{ 'overflow-x-hidden overflow-y-auto fixed top-0 left-0 w-full': open }"
        type="button"
        aria-label="Open&#x20;menu"
        aria-haspopup="menu"
        :aria-expanded="open"
        :hidden="open"
    >
        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" :class="{ 'hidden' : open, 'block': !open }" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16"/>
</svg>
    </button>
    <div
        x-ref="mobileMenuNavLinks"
        class="fixed top-0 right-0 w-full h-full
            flex flex-col border-t border-container bg-container-lighter
            overflow-hidden"
        x-show="open"
        x-transition:enter="transition ease-out duration-250 transform"
        x-transition:enter-start="-translate-x-full"
        x-transition:enter-end="translate-x-0"
        x-transition:leave="transition ease-in duration-250 transform"
        x-transition:leave-start="translate-x-0"
        x-transition:leave-end="-translate-x-full"
        @click.away="closeMenu()"
        :aria-hidden="open ? 'false' : 'true'"
        role="dialog"
        aria-modal="true"
        x-defer="intersect"
        :lock-scroll="open"
    >
        <div class="flex justify-between gap-x-3 border-b border-container">
            <div class="w-full flex justify-between">
                <button
                    @click="activeTab = 'menu'"
                    class="flex-1 py-4 text-center font-bold uppercase border-b-2"
                    :class="activeTab === 'menu' ? 'border-secondary' : 'border-transparent'"
                    type="button"
                >
                    Menu                </button>
                <button
                    @click="activeTab = 'account'"
                    class="flex-1 py-4 text-center font-bold uppercase border-b-2"
                    :class="activeTab === 'account' ? 'border-secondary' : 'border-transparent'"
                    type="button"
                >
                    Account                </button>
            </div>

            <button @click="closeMenu()"
                    class="flex justify-end my-auto mr-8"
                    aria-label="Close&#x20;menu"
            >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
            </button>
        </div>

                <div x-show="activeTab === 'menu'" class="flex-grow overflow-y-auto relative">
                        <ul class="flex flex-col gap-y-1 text-lg h-full bg-container-lighter"
                aria-label="Site&#x20;navigation&#x20;links"
            >
                                                    
                    <li data-child-id="menumanager-node-278-main"
                        class="level-1 order-2"
                                            >
                        <div class="flex items-center border-b bg-container-lighter border-container"
                             :class="{
                                'hidden' : mobilePanelActiveId !== 'menumanager-node-278'
                                    && mobilePanelActiveId !== null
                             }"
                        >
                            <a href="https://www.burdastyle.com/sewing-patterns"
                                class="flex items-center w-full px-8 py-4 cursor-pointer font-bold level-1
                                                                    "
                            >
                                Sewing Patterns                            </a>
                                                            <button
                                    @click="openSubcategory('menumanager-node-278')"
                                    class="mr-8 cursor-pointer bg-container-lighter border-container"
                                    aria-label="Open&#x20;Sewing&#x20;Patterns&#x20;subcategories"
                                    aria-haspopup="true"
                                    :aria-expanded="mobilePanelActiveId === 'menumanager-node-278'"
                                >
                                    <div class="my-auto">
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/>
</svg>
                                    </div>
                                </button>
                                                    </div>

                                                    <div data-child-id="menumanager-node-278"
                                 class="flex flex-col"
                            >
                                                                <ul class="absolute w-full top-0 flex flex-col order-2"
                                    :class="{
                                        'hidden' : mobilePanelActiveId !== 'menumanager-node-278'
                                    }"
                                    aria-label="Subcategories"
                                >
                                    <li class="order-2">
                                        <button
                                            type="button"
                                            class="flex items-center px-8 py-4 border-b border-container w-full bg-container-lighter"
                                            @click="backToMainCategories('menumanager-node-278-main')"
                                            aria-label="Back&#x20;to&#x20;main&#x20;categories"
                                        >
                                            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                            <span class="ml-4 font-bold">
                                                All Categories                                            </span>
                                        </button>
                                    </li>
                                    <li class="px-8 py-4 border-b bg-container-lighter border-container order-2">
                                        <p class="text-2xl font-semibold">
                                            Sewing Patterns                                        </p>

                                                                                    <a href="https://www.burdastyle.com/sewing-patterns"
                                               title="Sewing&#x20;Patterns"
                                               class="level-1 underline"
                                            >
                                                View All                                            </a>
                                                                            </li>

                                                                                                                
                                        
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-1418'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns/women"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Women                                                    </a>
                                                                                                            <button
                                                            @click="openSubSubcategory('menumanager-node-1418')"
                                                            class="mr-8 cursor-pointer bg-container-lighter border-container"
                                                            aria-label="Open&#x20;Women&#x20;subcategories"
                                                            aria-haspopup="true"
                                                            :aria-expanded="mobileSubpanelActiveId === 'menumanager-node-1418'"
                                                        >
                                                            <div class="my-auto">
                                                                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/>
</svg>
                                                            </div>
                                                        </button>
                                                                                                    </div>

                                                                                                    <div data-child-id="menumanager-node-1418"
                                                         class="flex flex-col"
                                                    >
                                                                                                                <ul class="absolute w-full h-full top-0 bg-container-lighter z-10 order-2 flex flex-col"
                                                            :class="mobileSubpanelActiveId == 'menumanager-node-1418' ? 'left-0' : 'left-full hidden'"
                                                        >
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b bg-container border-container w-full"
                                                                    @click="backToMainCategories('menumanager-node-278-main')"
                                                                    aria-label="Back&#x20;to&#x20;main&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                    All Categories                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b w-full "
                                                                    @click="openSubSubcategory('menumanager-node-1418')"
                                                                    aria-label="Back&#x20;to&#x20;previous&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                        Sewing Patterns                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="px-8 py-4 border-b bg-container-lighter border-container order-2">
                                                                <p class="text-2xl font-semibold">
                                                                    Women                                                                </p>

                                                                                                                                    <a href="https://www.burdastyle.com/sewing-patterns/women"
                                                                       title="Women"
                                                                       class="underline"
                                                                    >
                                                                        View All                                                                    </a>
                                                                                                                            </li>

                                                                                                                                                                                        
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/jumpsuit"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Jumpsuits                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/dresses"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Dresses                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/skirts"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Skirts                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/tops/blouses"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Blouses &amp;Tunics                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/tops/t-shirts-tops"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Tops &amp; T-shirts                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/tops/sweaters-cardigans"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Sweaters &amp; Cardigans                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/pants"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Pants &amp; Shorts                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/jackets-coats"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Coats &amp; Jackets                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/blazer"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Blazer                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/nightwear"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Nightwear                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                            
                                                                                                                                                                                </ul>
                                                    </div>
                                                                                            </li>
                                                                                                                    
                                        
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-292'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns/men"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Men                                                    </a>
                                                                                                            <button
                                                            @click="openSubSubcategory('menumanager-node-292')"
                                                            class="mr-8 cursor-pointer bg-container-lighter border-container"
                                                            aria-label="Open&#x20;Men&#x20;subcategories"
                                                            aria-haspopup="true"
                                                            :aria-expanded="mobileSubpanelActiveId === 'menumanager-node-292'"
                                                        >
                                                            <div class="my-auto">
                                                                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/>
</svg>
                                                            </div>
                                                        </button>
                                                                                                    </div>

                                                                                                    <div data-child-id="menumanager-node-292"
                                                         class="flex flex-col"
                                                    >
                                                                                                                <ul class="absolute w-full h-full top-0 bg-container-lighter z-10 order-2 flex flex-col"
                                                            :class="mobileSubpanelActiveId == 'menumanager-node-292' ? 'left-0' : 'left-full hidden'"
                                                        >
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b bg-container border-container w-full"
                                                                    @click="backToMainCategories('menumanager-node-278-main')"
                                                                    aria-label="Back&#x20;to&#x20;main&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                    All Categories                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b w-full "
                                                                    @click="openSubSubcategory('menumanager-node-292')"
                                                                    aria-label="Back&#x20;to&#x20;previous&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                        Sewing Patterns                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="px-8 py-4 border-b bg-container-lighter border-container order-2">
                                                                <p class="text-2xl font-semibold">
                                                                    Men                                                                </p>

                                                                                                                                    <a href="https://www.burdastyle.com/sewing-patterns/men"
                                                                       title="Men"
                                                                       class="underline"
                                                                    >
                                                                        View All                                                                    </a>
                                                                                                                            </li>

                                                                                                                                                                                        
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/t-shirts-long-sleeves"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            T-shirts &amp; long sleeves                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/shirts"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Shirts                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/sweaters-sweat-jackets"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Sweaters                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/men-s-pants"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Pants &amp; Shorts                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/men-s-jackets-coats"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Coats &amp; Jackets                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Kids                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids/girls"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Girls                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids/boys"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Boys                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids/baby"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Baby                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                            
                                                                                                                                                                                </ul>
                                                    </div>
                                                                                            </li>
                                                                                                                    
                                        
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-300'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns/accessories"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Accessories                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-309'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/patrons-de-couture/free-sewing-patterns"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Free Sewing Patterns                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-304'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns?brand_name=2647"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Curvy Fashion                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-298'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns?brand_name=2649"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Easy                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-308'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns/easy-beginner"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Easy Beginner                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-297'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns/burda-favorite"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda&#039;s Favorite ❤️                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-291'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns/patterns-with-tutorial-videos"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Patterns with Video Tutorial                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-1492'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-patterns/women/dresses/wedding-dress"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Weddings &amp; Ceremonies                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                            
                                                                                                        </ul>
                            </div>
                                            </li>
                                    
                    <li data-child-id="menumanager-node-279-main"
                        class="level-1 order-2"
                                                    style="--label-text&#x3A;&#x20;&#x27;New&#x20;in&#x27;"
                                            >
                        <div class="flex items-center border-b bg-container-lighter border-container"
                             :class="{
                                'hidden' : mobilePanelActiveId !== 'menumanager-node-279'
                                    && mobilePanelActiveId !== null
                             }"
                        >
                            <a href="/magazines"
                                class="flex items-center w-full px-8 py-4 cursor-pointer font-bold level-1
                                    menu_marketing_label                                 "
                            >
                                Single Issues &amp; Books                            </a>
                                                            <button
                                    @click="openSubcategory('menumanager-node-279')"
                                    class="mr-8 cursor-pointer bg-container-lighter border-container"
                                    aria-label="Open&#x20;Single&#x20;Issues&#x20;&amp;amp&#x3B;&#x20;Books&#x20;subcategories"
                                    aria-haspopup="true"
                                    :aria-expanded="mobilePanelActiveId === 'menumanager-node-279'"
                                >
                                    <div class="my-auto">
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/>
</svg>
                                    </div>
                                </button>
                                                    </div>

                                                    <div data-child-id="menumanager-node-279"
                                 class="flex flex-col"
                            >
                                                                <ul class="absolute w-full top-0 flex flex-col order-2"
                                    :class="{
                                        'hidden' : mobilePanelActiveId !== 'menumanager-node-279'
                                    }"
                                    aria-label="Subcategories"
                                >
                                    <li class="order-2">
                                        <button
                                            type="button"
                                            class="flex items-center px-8 py-4 border-b border-container w-full bg-container-lighter"
                                            @click="backToMainCategories('menumanager-node-279-main')"
                                            aria-label="Back&#x20;to&#x20;main&#x20;categories"
                                        >
                                            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                            <span class="ml-4 font-bold">
                                                All Categories                                            </span>
                                        </button>
                                    </li>
                                    <li class="px-8 py-4 border-b bg-container-lighter border-container order-2">
                                        <p class="text-2xl font-semibold">
                                            Single Issues &amp; Books                                        </p>

                                                                                    <a href="/magazines"
                                               title="Single&#x20;Issues&#x20;&amp;amp&#x3B;&#x20;Books"
                                               class="level-1 underline"
                                            >
                                                View All                                            </a>
                                                                            </li>

                                                                                                                
                                        
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-339'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-style"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Style                                                    </a>
                                                                                                            <button
                                                            @click="openSubSubcategory('menumanager-node-339')"
                                                            class="mr-8 cursor-pointer bg-container-lighter border-container"
                                                            aria-label="Open&#x20;Burda&#x20;Style&#x20;subcategories"
                                                            aria-haspopup="true"
                                                            :aria-expanded="mobileSubpanelActiveId === 'menumanager-node-339'"
                                                        >
                                                            <div class="my-auto">
                                                                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/>
</svg>
                                                            </div>
                                                        </button>
                                                                                                    </div>

                                                                                                    <div data-child-id="menumanager-node-339"
                                                         class="flex flex-col"
                                                    >
                                                                                                                <ul class="absolute w-full h-full top-0 bg-container-lighter z-10 order-2 flex flex-col"
                                                            :class="mobileSubpanelActiveId == 'menumanager-node-339' ? 'left-0' : 'left-full hidden'"
                                                        >
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b bg-container border-container w-full"
                                                                    @click="backToMainCategories('menumanager-node-279-main')"
                                                                    aria-label="Back&#x20;to&#x20;main&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                    All Categories                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b w-full "
                                                                    @click="openSubSubcategory('menumanager-node-339')"
                                                                    aria-label="Back&#x20;to&#x20;previous&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                        Single Issues &amp; Books                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="px-8 py-4 border-b bg-container-lighter border-container order-2">
                                                                <p class="text-2xl font-semibold">
                                                                    Burda Style                                                                </p>

                                                                                                                                    <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-style"
                                                                       title="Burda&#x20;Style"
                                                                       class="underline"
                                                                    >
                                                                        View All                                                                    </a>
                                                                                                                            </li>

                                                                                                                                                                                        
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/burda-style-april-2026"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Burda Style | April 2026                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/burda-style-march-2026"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                               Burda Style | March2026                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                                                                                            
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/burda-style-february-2026"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                               Burda Style | February 2026                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                            
                                                                                                                                                                                </ul>
                                                    </div>
                                                                                            </li>
                                                                                                                    
                                        
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-340'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-easy"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Easy                                                    </a>
                                                                                                            <button
                                                            @click="openSubSubcategory('menumanager-node-340')"
                                                            class="mr-8 cursor-pointer bg-container-lighter border-container"
                                                            aria-label="Open&#x20;Burda&#x20;Easy&#x20;subcategories"
                                                            aria-haspopup="true"
                                                            :aria-expanded="mobileSubpanelActiveId === 'menumanager-node-340'"
                                                        >
                                                            <div class="my-auto">
                                                                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/>
</svg>
                                                            </div>
                                                        </button>
                                                                                                    </div>

                                                                                                    <div data-child-id="menumanager-node-340"
                                                         class="flex flex-col"
                                                    >
                                                                                                                <ul class="absolute w-full h-full top-0 bg-container-lighter z-10 order-2 flex flex-col"
                                                            :class="mobileSubpanelActiveId == 'menumanager-node-340' ? 'left-0' : 'left-full hidden'"
                                                        >
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b bg-container border-container w-full"
                                                                    @click="backToMainCategories('menumanager-node-279-main')"
                                                                    aria-label="Back&#x20;to&#x20;main&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                    All Categories                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="order-2">
                                                                <button
                                                                    type="button"
                                                                    class="flex items-center px-8 py-4 border-b w-full "
                                                                    @click="openSubSubcategory('menumanager-node-340')"
                                                                    aria-label="Back&#x20;to&#x20;previous&#x20;categories"
                                                                >
                                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                                                    <span class="ml-4 font-bold">
                                                                        Single Issues &amp; Books                                                                    </span>
                                                                </button>
                                                            </li>
                                                            <li class="px-8 py-4 border-b bg-container-lighter border-container order-2">
                                                                <p class="text-2xl font-semibold">
                                                                    Burda Easy                                                                </p>

                                                                                                                                    <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-easy"
                                                                       title="Burda&#x20;Easy"
                                                                       class="underline"
                                                                    >
                                                                        View All                                                                    </a>
                                                                                                                            </li>

                                                                                                                                                                                        
                                                                <li x-data="{ openSubmenu: false }"
                                                                    x-id="['details-id']"
                                                                    class="level-3 order-2"
                                                                                                                                    >
                                                                    <div class="flex items-center border-b bg-container-lighter border-container transition-transform duration-250 ease-in-out transform">
                                                                        <a href="https://www.burdastyle.com/burda-easy-01-2026-pdf"
                                                                           class="level-3 flex items-center w-full px-8 py-4 cursor-pointer ">
                                                                            Burda Easy 01/2026| e-magazine                                                                        </a>
                                                                                                                                            </div>

                                                                                                                                    </li>
                                                            
                                                                                                                                                                                </ul>
                                                    </div>
                                                                                            </li>
                                                                                                                    
                                        
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-344'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/sewing-with-burda-my-sewing-companion-kindle-edition"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        E-book : My Sewing Companion                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-343'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/single-issues-books/mooks"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Easy Beginner                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-341'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-curvy"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Curvy                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                                                    
                                        
                                                                                                                                    
                                                                                    
                                                                                                        </ul>
                            </div>
                                            </li>
                                    
                    <li data-child-id="menumanager-node-274-main"
                        class="level-1 order-2"
                                            >
                        <div class="flex items-center border-b bg-container-lighter border-container"
                             :class="{
                                'hidden' : mobilePanelActiveId !== 'menumanager-node-274'
                                    && mobilePanelActiveId !== null
                             }"
                        >
                            <a href="/our-subscriptions"
                                class="flex items-center w-full px-8 py-4 cursor-pointer font-bold level-1
                                                                    "
                            >
                                Subscriptions                            </a>
                                                            <button
                                    @click="openSubcategory('menumanager-node-274')"
                                    class="mr-8 cursor-pointer bg-container-lighter border-container"
                                    aria-label="Open&#x20;Subscriptions&#x20;subcategories"
                                    aria-haspopup="true"
                                    :aria-expanded="mobilePanelActiveId === 'menumanager-node-274'"
                                >
                                    <div class="my-auto">
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"/>
</svg>
                                    </div>
                                </button>
                                                    </div>

                                                    <div data-child-id="menumanager-node-274"
                                 class="flex flex-col"
                            >
                                                                <ul class="absolute w-full top-0 flex flex-col order-2"
                                    :class="{
                                        'hidden' : mobilePanelActiveId !== 'menumanager-node-274'
                                    }"
                                    aria-label="Subcategories"
                                >
                                    <li class="order-2">
                                        <button
                                            type="button"
                                            class="flex items-center px-8 py-4 border-b border-container w-full bg-container-lighter"
                                            @click="backToMainCategories('menumanager-node-274-main')"
                                            aria-label="Back&#x20;to&#x20;main&#x20;categories"
                                        >
                                            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"/>
</svg>
                                            <span class="ml-4 font-bold">
                                                All Categories                                            </span>
                                        </button>
                                    </li>
                                    <li class="px-8 py-4 border-b bg-container-lighter border-container order-2">
                                        <p class="text-2xl font-semibold">
                                            Subscriptions                                        </p>

                                                                                    <a href="/our-subscriptions"
                                               title="Subscriptions"
                                               class="level-1 underline"
                                            >
                                                View All                                            </a>
                                                                            </li>

                                                                                                                
                                        
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-302'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/burda-style"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Style                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                    
                                            <li class="level-2 order-2"
                                                :class="{ 'hidden' : mobileSubpanelActiveId !== 'menumanager-node-335'
                                                        && mobileSubpanelActiveId !== null }"
                                                                                            >
                                                <div class="flex items-center border-b bg-container-lighter border-container">
                                                    <a href="https://www.burdastyle.com/burda-style-en-espanol"
                                                       class="level-2 flex items-center w-full px-8 py-4 cursor-pointer "
                                                    >
                                                        Burda Style en español                                                    </a>
                                                                                                    </div>

                                                                                            </li>
                                                                                                                    
                                                                                    
                                                                                                        </ul>
                            </div>
                                            </li>
                                    
                    <li data-child-id="menumanager-node-276-main"
                        class="level-1 order-2"
                                            >
                        <div class="flex items-center border-b bg-container-lighter border-container"
                             :class="{
                                'hidden' : mobilePanelActiveId !== 'menumanager-node-276'
                                    && mobilePanelActiveId !== null
                             }"
                        >
                            <a href="/blog/videos"
                                class="flex items-center w-full px-8 py-4 cursor-pointer font-bold level-1
                                                                    "
                            >
                                Videos                            </a>
                                                    </div>

                                            </li>
                                    
                    <li data-child-id="menumanager-node-277-main"
                        class="level-1 order-2"
                                            >
                        <div class="flex items-center border-b bg-container-lighter border-container"
                             :class="{
                                'hidden' : mobilePanelActiveId !== 'menumanager-node-277'
                                    && mobilePanelActiveId !== null
                             }"
                        >
                            <a href="/blog"
                                class="flex items-center w-full px-8 py-4 cursor-pointer font-bold level-1
                                                                    "
                            >
                                Blog                            </a>
                                                    </div>

                                            </li>
                
                                            </ul>
        </div>

                <div x-show="activeTab === 'account'" class="flex-grow overflow-y-auto">
            <ul class="flex flex-col gap-y-1">
                                    <li class="px-8 py-4 border-b bg-container-lighter border-container">
                        <a href="https://www.burdastyle.com/customer/account/login/" class="flex items-center gap-x-4 w-full">
                            <span>Sign In</span>
                        </a>
                    </li>
                    <li class="px-8 py-4 border-b bg-container-lighter border-container">
                        <a href="https://www.burdastyle.com/customer/account/create/" class="flex items-center gap-x-4 w-full">
                            <span>Create an Account</span>
                        </a>
                    </li>
                            </ul>
        </div>

                <div class="flex-none border-t border-px border-container px-8 py-4 bg-container">
            <ul>
                <li class=" py-2">
                        <div x-data="{ open: false }"
         class="relative"
    >
        <div class="sr-only">
            Language        </div>

        <nav
            x-cloak=""
            x-show="open"
            class="absolute lg:right-1/2 max-lg:-translate-y-[calc(100%_+_2rem)] lg:translate-x-1/2 top-full z-30 w-56 py-2 mt-1
                   overflow-auto origin-top-left rounded border border-container border-solid shadow-lg bg-container-lighter
                   sm:translate-x-0 sm:-mr-4 sm:right-0 sm:w-48 lg:mt-3"
        >
            <div class="my-1" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
                                    <a href="https://www.burdastyle.uk/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/gb.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        English (£)                    </a>
                                    <a href="https://www.burdastyle.fr/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/fr.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Français (€)                    </a>
                                    <a href="https://www.burdastyle.es/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/es.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Español (€)                    </a>
                                    <a href="https://www.burdastyle.pt/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/pt.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Português (€)                    </a>
                                    <a href="https://www.burdastyle.nl/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/nl.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Nederlands (€)                    </a>
                                    <a href="https://www.burdastyle.dk/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/dk.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Dansk (kr.)                    </a>
                                    <a href="https://www.burdastyle.se/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/se.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Swenska (kr)                    </a>
                                    <a href="https://www.burdastyle.pl/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/pl.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Polski (zł)                    </a>
                            </div>
        </nav>

        <button @click.prevent="open = !open"
                @click.outside="open = false"
                @keydown.window.escape="open=false"
                type="button"
                class="ml-1 border-0 flex gap-1 items-center text-primary-lightest"
                aria-label="Store switcher"
                aria-haspopup="true"
                aria-expanded="true"
        >
            <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/us.svg"
                 class="w-6 h-4"
                 alt=""
                 aria-hidden="true"
                 loading="lazy"
            />
            <span class="lg:text-primary-lightest sm:block">
                English ($)            </span>
            <span class="inline-block table items-center"
                  :class="open && 'rotate-180'"
            >
                 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-5 h-5 inline" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
            </span>

        </button>
    </div>
                </li>
            </ul>
        </div>
    </div>
</nav>
<script>
    'use strict';

    function initMenuMobile() {
        return {
            mobilePanelActiveId: null,
            mobileSubpanelActiveId: null,
            open: false,
            activeTab: 'menu',
            setActiveMenu(menuNode) {
                const currentUrl = window.location.href.split('?')[0];

                const activeLink = menuNode.querySelector(`a[href="${currentUrl}"]`);
                if (!activeLink) {
                    return;
                }

                activeLink.classList.add('underline');

                const levels = ['level-1', 'level-2', 'level-3', 'level-4'];

                levels.forEach(level => {
                    const parentLi = activeLink.closest(`li.${level}`);
                    if (!parentLi) {
                        return;
                    }

                    parentLi.querySelector(`a.${level}`)?.classList.add('underline');
                });
            },
            openMenu() {
                this.open = true;
                this.$nextTick(() => hyva.trapFocus(this.$refs['mobileMenuNavLinks']));
            },
            closeMenu() {
                if (this.open) {
                    this.$nextTick(() => this.$refs['mobileMenuTrigger'].focus() || hyva.releaseFocus());
                }

                this.open = false;
                this.mobilePanelActiveId = null;
                this.mobileSubpanelActiveId = null;
            },
            openSubcategory(index) {
                const menuNodeRef = document.querySelector(`[data-child-id="${index}"]`);
                this.mobilePanelActiveId = this.mobilePanelActiveId === index ? null : index;
                this.$nextTick(() => hyva.trapFocus(menuNodeRef));
            },
            openSubSubcategory(index) {
                const menuNodeRef = document.querySelector(`[data-child-id="${index}"]`);
                this.mobileSubpanelActiveId = this.mobileSubpanelActiveId === index ? null : index;
                this.$nextTick(() => hyva.trapFocus(menuNodeRef));
            },
            backToMainCategories(index) {
                const menuNodeRef = document.querySelector(`[data-child-id="${index}"]`);
                this.mobilePanelActiveId = null;
                this.mobileSubpanelActiveId = null;
                this.$nextTick(() => {
                    hyva.trapFocus(this.$refs['mobileMenuNavLinks']);
                    menuNodeRef.querySelector('a').focus();
                })
            }
        }
    }
</script>
                </div>
            </template>

                        <div @click="searchOpen = !searchOpen" class="lg:hidden"
                 x-effect="!searchOpen ? $dispatch('close-search') : ''">
                <span :class="searchOpen && 'hidden'">
                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>
</svg>
                </span>
                <span x-cloak :class="searchOpen || 'hidden'">
                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
                </span>
            </div>


                        <div class="ml-2 flex-1 lg:ml-0 lg:flex-none lg:flex lg:justify-center">
                <a
    class="flex items-center no-underline hover:no-underline"
    href="https://www.burdastyle.com/"
    aria-label="Go&#x20;to&#x20;Home&#x20;page">
    <img
        src="https://www.burdastyle.com/media/logo/stores/3/burda-style.png"
        alt="Store&#x20;logo"
        width="170"
        height="55"
        loading="eager"
        fetchpriority="auto"
        class="m-auto max-lg:w-auto max-h-[50px] lg:max-h-[70px]"
    />
    </a>
            </div>

                        <div x-ref="searchContainerDesktop" class="hidden lg:block min-h-a11y px-6 flex-1 z-30"></div>

                        <template x-if="!$store.isMobile">
                    <div x-data="{ open: false }"
         class="relative"
    >
        <div class="sr-only">
            Language        </div>

        <nav
            x-cloak=""
            x-show="open"
            class="absolute lg:right-1/2 max-lg:-translate-y-[calc(100%_+_2rem)] lg:translate-x-1/2 top-full z-30 w-56 py-2 mt-1
                   overflow-auto origin-top-left rounded border border-container border-solid shadow-lg bg-container-lighter
                   sm:translate-x-0 sm:-mr-4 sm:right-0 sm:w-48 lg:mt-3"
        >
            <div class="my-1" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
                                    <a href="https://www.burdastyle.uk/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/gb.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        English (£)                    </a>
                                    <a href="https://www.burdastyle.fr/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/fr.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Français (€)                    </a>
                                    <a href="https://www.burdastyle.es/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/es.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Español (€)                    </a>
                                    <a href="https://www.burdastyle.pt/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/pt.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Português (€)                    </a>
                                    <a href="https://www.burdastyle.nl/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/nl.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Nederlands (€)                    </a>
                                    <a href="https://www.burdastyle.dk/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/dk.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Dansk (kr.)                    </a>
                                    <a href="https://www.burdastyle.se/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/se.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Swenska (kr)                    </a>
                                    <a href="https://www.burdastyle.pl/"
                       class="block px-4 py-2 lg:px-5 lg:py-2 flex gap-x-1.5"
                    >
                        <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/pl.svg"
                             class="w-6 h-4 my-auto"
                             alt=""
                             aria-hidden="true"
                        />
                        Polski (zł)                    </a>
                            </div>
        </nav>

        <button @click.prevent="open = !open"
                @click.outside="open = false"
                @keydown.window.escape="open=false"
                type="button"
                class="ml-1 border-0 flex gap-1 items-center text-primary-lightest"
                aria-label="Store switcher"
                aria-haspopup="true"
                aria-expanded="true"
        >
            <img src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/images/flags/us.svg"
                 class="w-6 h-4"
                 alt=""
                 aria-hidden="true"
                 loading="lazy"
            />
            <span class="lg:text-primary-lightest sm:block">
                English ($)            </span>
            <span class="inline-block table items-center"
                  :class="open && 'rotate-180'"
            >
                 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-5 h-5 inline" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
            </span>

        </button>
    </div>
            </template>

            <div class="flex gap-4 items-center">
                                <template x-if="!$store.isMobile">
                    <div>
                        <div>
    <a href="https://www.burdastyle.com/wishlist/"
       title="My wishlist"
       class="flex items-center gap-2 btn-icon"
    >
        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="h-6 w-6" width="32" height="32" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"/>
</svg>
            </a>
</div>
                    </div>
                </template>

                                
<div
    class="relative"
    x-data="{ open: false }"
    @keyup.escape="open = false"
>
    <button
        type="button"
        id="customer-menu"
        class="block btn-icon"
        @click="open = !open"
        @click.outside="open = false"
        :aria-expanded="open ? 'true' : 'false'"
        aria-label="My&#x20;Account"
        aria-haspopup="true"
    >
        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="h-6 w-6" width="32" height="32" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
    </button>
    <nav
        class="
            absolute right-0 z-30 w-40 py-2 mt-2 -mr-4 px-1 overflow-auto origin-top-right rounded-sm
            shadow-lg sm:w-48 lg:mt-3 bg-container-lighter
        "
        x-cloak
        x-show="open"
        aria-labelledby="customer-menu"
        @click.outside="open = false"
    >
                    
<a id="customer.header.sign.in.link"
   class="block px-4 py-2 lg:px-5 lg:py-2 hover:bg-gray-100"
   onclick="hyva.setCookie && hyva.setCookie(
       'login_redirect',
       window.location.href,
       1
   )"
   href="https://www.burdastyle.com/customer/account/index/"
   title="Sign&#x20;In"
>
    Sign In</a>

    <a id="customer.header.register.link"
       class="block px-4 py-2 lg:px-5 lg:py-2 hover:bg-gray-100"
       href="https://www.burdastyle.com/customer/account/create/"
       title="Create&#x20;an&#x20;Account"
    >
        Create an Account    </a>
            </nav>
</div>

                                                    <button
                                        id="menu-cart-icon"
                        class="relative outline-none btn-icon"
                        x-ref="cartButton"
                        :aria-disabled="isCartEmpty()"
                        title="Open&#x20;minicart"
                                                    @click.prevent.stop="() => {
                                isCartOpen = !isCartOpen;
                                $dispatch('toggle-cart', { isOpen: isCartOpen })
                            }"
                            @toggle-cart.window="toggleCart($event)"
                            :aria-expanded="isCartOpen"
                            aria-haspopup="dialog"
                            aria-label="Open minicart"
                                            >
                        <span
                            class="sr-only label"
                            x-text="`
                                Toggle minicart,
                                ${isCartEmpty() ?
                                'Cart is empty' :
                                hyva.str(
                                    'You have %1 product%2 in your cart.',
                                    cart.summary_count,
                                    cart.summary_count === 1 ? '' : 's'
                                )}`
                            "
                        >
                        </span>

                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" role="img">
  <path stroke-linecap="round" stroke-linejoin="round" d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"/>
<title>shopping-cart</title></svg>

                        <span
                            x-text="cart.summary_count"
                            x-show="!isCartEmpty()"
                            x-cloak
                            class="absolute top-0 right-0 px-3 py-1 -mt-5 -mr-4 text-xs
                                   leading-none text-center text-white font-semibold uppercase transform
                                   translate-y-1/2 rounded-full bg-primary"
                            aria-hidden="true"
                        ></span>
                                    </button>
                            </div>
        </div>
    </div>

        <template x-if="!$store.isMobile">
        <div x-ref="headerBottomSection" class="bg-white relative">
            <div class="container flex justify-between items-center">
                <div class="z-20">
                    <div x-data="initMenuDesktop()"
     class="navigation hidden lg:flex"
>
    <div x-ref="nav-desktop"
         @load.window="setActiveMenu($root)"
         class="justify-between items-center mx-auto w-full max-w-7xl"
    >
        <nav aria-label="Main&#x20;menu" role="menubar">
            <ul class="flex flex-wrap gap-x-6 xl:gap-x-12">
                                    
                                        <li class="level-1 group flex items-center py-4 border-b-2 max-h-14 border-transparent
                        transition transition-colors duration-500 hover:border-secondary focus-within:border-primary"
                                                @mouseover.stop="hoverTopPosition = $event.currentTarget.offsetTop + $event.currentTarget.getBoundingClientRect().height"
                    >
                        <a href="https://www.burdastyle.com/sewing-patterns"
                           @focus="hoverTopPosition = $event.currentTarget.parentNode.offsetTop + $event.currentTarget.parentNode.getBoundingClientRect().height"
                           class="level-1 flex whitespace-nowrap group-hover:text-secondary ">
                            <span>
                                Sewing Patterns                            </span>
                                                        <span class="text-primary-lightest
                                         transition-transform duration-300 ease-in-out group-hover:rotate-180">
                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="24" height="24" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
                            </span>
                        </a>

                                                                        <div class="absolute left-0 top-full z-10 -mt-3 w-full bg-white opacity-0
                                    transition-opacity ease-out pointer-events-none shadow
                                    group-hover:opacity-100 focus-within:opacity-100 group-hover:pointer-events-auto
                                    mt-0 top-[var(--menu-top-pos)]"
                             :style="`--menu-top-pos: ${hoverTopPosition}px`"
                        >
                            <div class="flex justify-between my-8 container mx-auto">
                                <ul class="w-full grid gap-2 grid-cols-[repeat(var(--menu-columns),minmax(0,1fr))]"
                                    style="--menu-columns: 3"
                                    role="menu"
                                >
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                        
                                                                                                        
                                                    <li class="level-2 w-fit"
                                                                                                            >
                                                        <span class="font-bold text-lg ">
                                                            Women                                                        </span>

                                                        <ul class="flex flex-col gap-y-2 mt-2">
                                                                                                                            <li>
                                                                    <a href="https://www.burdastyle.com/sewing-patterns/women"
                                                                       class="underline "
                                                                    >
                                                                        <span>View All</span>
                                                                        <span>Women</span>
                                                                    </a>
                                                                </li>
                                                            
                                                                                                                                                                                                                                                                                                                            <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/jumpsuit"
                                                                           class="hover:underline ">
                                                                            Jumpsuits                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/dresses"
                                                                           class="hover:underline ">
                                                                            Dresses                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/skirts"
                                                                           class="hover:underline ">
                                                                            Skirts                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/tops/blouses"
                                                                           class="hover:underline ">
                                                                            Blouses &amp;Tunics                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/tops/t-shirts-tops"
                                                                           class="hover:underline ">
                                                                            Tops &amp; T-shirts                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/tops/sweaters-cardigans"
                                                                           class="hover:underline ">
                                                                            Sweaters &amp; Cardigans                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/pants"
                                                                           class="hover:underline ">
                                                                            Pants &amp; Shorts                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/jackets-coats"
                                                                           class="hover:underline ">
                                                                            Coats &amp; Jackets                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/blazer"
                                                                           class="hover:underline ">
                                                                            Blazer                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/women/nightwear"
                                                                           class="hover:underline ">
                                                                            Nightwear                                                                        </a>
                                                                    </li>
                                                                                                                            </ul>
                                                    </li>
                                                                                            </ul>
                                        </li>
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                        
                                                                                                        
                                                    <li class="level-2 w-fit"
                                                                                                            >
                                                        <span class="font-bold text-lg ">
                                                            Men                                                        </span>

                                                        <ul class="flex flex-col gap-y-2 mt-2">
                                                                                                                            <li>
                                                                    <a href="https://www.burdastyle.com/sewing-patterns/men"
                                                                       class="underline "
                                                                    >
                                                                        <span>View All</span>
                                                                        <span>Men</span>
                                                                    </a>
                                                                </li>
                                                            
                                                                                                                                                                                                                                                                                                                            <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/t-shirts-long-sleeves"
                                                                           class="hover:underline ">
                                                                            T-shirts &amp; long sleeves                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/shirts"
                                                                           class="hover:underline ">
                                                                            Shirts                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/sweaters-sweat-jackets"
                                                                           class="hover:underline ">
                                                                            Sweaters                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/men-s-pants"
                                                                           class="hover:underline ">
                                                                            Pants &amp; Shorts                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/men/men-s-jackets-coats"
                                                                           class="hover:underline ">
                                                                            Coats &amp; Jackets                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids"
                                                                           class="hover:underline ">
                                                                            Kids                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids/girls"
                                                                           class="hover:underline ">
                                                                            Girls                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids/boys"
                                                                           class="hover:underline ">
                                                                            Boys                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/sewing-patterns/kids/baby"
                                                                           class="hover:underline ">
                                                                            Baby                                                                        </a>
                                                                    </li>
                                                                                                                            </ul>
                                                    </li>
                                                                                            </ul>
                                        </li>
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                        
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-patterns/accessories"
                                                               class="hover:underline ">
                                                                Accessories                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/patrons-de-couture/free-sewing-patterns"
                                                               class="hover:underline ">
                                                                Free Sewing Patterns                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-patterns?brand_name=2647"
                                                               class="hover:underline ">
                                                                Curvy Fashion                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-patterns?brand_name=2649"
                                                               class="hover:underline ">
                                                                Burda Easy                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-patterns/easy-beginner"
                                                               class="hover:underline ">
                                                                Burda Easy Beginner                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-patterns/burda-favorite"
                                                               class="hover:underline ">
                                                                Burda&#039;s Favorite ❤️                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-patterns/patterns-with-tutorial-videos"
                                                               class="hover:underline ">
                                                                Patterns with Video Tutorial                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-patterns/women/dresses/wedding-dress"
                                                               class="hover:underline ">
                                                                Weddings &amp; Ceremonies                                                            </a>
                                                        </li>
                                                                                                    </ul>
                                        </li>
                                                                    </ul>
                            </div>
                        </div>
                    </li>
                                    
                                        <li class="level-1 group flex items-center py-4 border-b-2 max-h-14 border-transparent
                        transition transition-colors duration-500 hover:border-secondary focus-within:border-primary"
                                                    style="--label-text&#x3A;&#x20;&#x27;New&#x20;in&#x27;"
                                                @mouseover.stop="hoverTopPosition = $event.currentTarget.offsetTop + $event.currentTarget.getBoundingClientRect().height"
                    >
                        <a href="/magazines"
                           @focus="hoverTopPosition = $event.currentTarget.parentNode.offsetTop + $event.currentTarget.parentNode.getBoundingClientRect().height"
                           class="level-1 flex whitespace-nowrap group-hover:text-secondary menu_marketing_label ">
                            <span>
                                Single Issues &amp; Books                            </span>
                                                        <span class="text-primary-lightest
                                         transition-transform duration-300 ease-in-out group-hover:rotate-180">
                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="24" height="24" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
                            </span>
                        </a>

                                                                        <div class="absolute left-0 top-full z-10 -mt-3 w-full bg-white opacity-0
                                    transition-opacity ease-out pointer-events-none shadow
                                    group-hover:opacity-100 focus-within:opacity-100 group-hover:pointer-events-auto
                                    mt-0 top-[var(--menu-top-pos)]"
                             :style="`--menu-top-pos: ${hoverTopPosition}px`"
                        >
                            <div class="flex justify-between my-8 container mx-auto">
                                <ul class="w-full grid gap-2 grid-cols-[repeat(var(--menu-columns),minmax(0,1fr))]"
                                    style="--menu-columns: 4"
                                    role="menu"
                                >
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                        
                                                                                                        
                                                    <li class="level-2 w-fit"
                                                                                                            >
                                                        <span class="font-bold text-lg ">
                                                            Burda Style                                                        </span>

                                                        <ul class="flex flex-col gap-y-2 mt-2">
                                                                                                                            <li>
                                                                    <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-style"
                                                                       class="underline "
                                                                    >
                                                                        <span>View All</span>
                                                                        <span>Burda Style</span>
                                                                    </a>
                                                                </li>
                                                            
                                                                                                                                                                                                                                                                                                                            <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/burda-style-april-2026"
                                                                           class="hover:underline ">
                                                                            Burda Style | April 2026                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/burda-style-march-2026"
                                                                           class="hover:underline ">
                                                                               Burda Style | March2026                                                                        </a>
                                                                    </li>
                                                                                                                                                                                                                                                                        <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/burda-style-february-2026"
                                                                           class="hover:underline ">
                                                                               Burda Style | February 2026                                                                        </a>
                                                                    </li>
                                                                                                                            </ul>
                                                    </li>
                                                                                            </ul>
                                        </li>
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                        
                                                                                                        
                                                    <li class="level-2 w-fit"
                                                                                                            >
                                                        <span class="font-bold text-lg ">
                                                            Burda Easy                                                        </span>

                                                        <ul class="flex flex-col gap-y-2 mt-2">
                                                                                                                            <li>
                                                                    <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-easy"
                                                                       class="underline "
                                                                    >
                                                                        <span>View All</span>
                                                                        <span>Burda Easy</span>
                                                                    </a>
                                                                </li>
                                                            
                                                                                                                                                                                                                                                                                                                            <li class="level-3 w-fit"
                                                                                                                                            >
                                                                        <a href="https://www.burdastyle.com/burda-easy-01-2026-pdf"
                                                                           class="hover:underline ">
                                                                            Burda Easy 01/2026| e-magazine                                                                        </a>
                                                                    </li>
                                                                                                                            </ul>
                                                    </li>
                                                                                            </ul>
                                        </li>
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                        
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/sewing-with-burda-my-sewing-companion-kindle-edition"
                                                               class="hover:underline ">
                                                                E-book : My Sewing Companion                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/single-issues-books/mooks"
                                                               class="hover:underline ">
                                                                Burda Easy Beginner                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/single-issues-books/sewing-magazines/burda-curvy"
                                                               class="hover:underline ">
                                                                Burda Curvy                                                            </a>
                                                        </li>
                                                                                                    </ul>
                                        </li>
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                                                                                            <li class="" style="">
               <style>#html-body [data-pb-style=BV9UTA2]{justify-content:flex-start;display:flex;flex-direction:column;background-position:left top;background-size:cover;background-repeat:no-repeat;background-attachment:scroll}#html-body [data-pb-style=A6V604Q]{border-style:none}#html-body [data-pb-style=CRT4L3G],#html-body [data-pb-style=STY3JFN]{max-width:100%;height:auto}@media only screen and (max-width: 768px) { #html-body [data-pb-style=A6V604Q]{border-style:none} }</style><div data-content-type="row" data-appearance="contained" data-element="main"><div data-enable-parallax="0" data-parallax-speed="0.5" data-background-images="{}" data-background-type="image" data-video-loop="true" data-video-play-only-visible="true" data-video-lazy-load="true" data-video-fallback-src="" data-element="inner" data-pb-style="BV9UTA2"><figure data-content-type="image" data-appearance="full-width" data-element="main" data-pb-style="A6V604Q"><a href="https://www.burdastyle.com/burda-easy-01-2026-pdf" target="" data-link-type="product" title="" data-element="link"><img width="728" height="728"  class="pagebuilder-mobile-hidden" src="https://www.burdastyle.com/media/wysiwyg/Image-Menu_COM_Burda_Easy.jpg" alt="" title="" loading="lazy" data-element="desktop_image" data-pb-style="STY3JFN"><img width="728" height="728"  class="pagebuilder-mobile-only" src="https://www.burdastyle.com/media/wysiwyg/Image-Menu_COM_Burda_Easy.jpg" alt="" title="" loading="lazy" data-element="mobile_image" data-pb-style="CRT4L3G"></a></figure></div></div>                    </li>
                                                                                                        </ul>
                                        </li>
                                                                    </ul>
                            </div>
                        </div>
                    </li>
                                    
                                        <li class="level-1 group flex items-center py-4 border-b-2 max-h-14 border-transparent
                        transition transition-colors duration-500 hover:border-secondary focus-within:border-primary"
                                                @mouseover.stop="hoverTopPosition = $event.currentTarget.offsetTop + $event.currentTarget.getBoundingClientRect().height"
                    >
                        <a href="/our-subscriptions"
                           @focus="hoverTopPosition = $event.currentTarget.parentNode.offsetTop + $event.currentTarget.parentNode.getBoundingClientRect().height"
                           class="level-1 flex whitespace-nowrap group-hover:text-secondary ">
                            <span>
                                Subscriptions                            </span>
                                                        <span class="text-primary-lightest
                                         transition-transform duration-300 ease-in-out group-hover:rotate-180">
                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="24" height="24" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
                            </span>
                        </a>

                                                                        <div class="absolute left-0 top-full z-10 -mt-3 w-full bg-white opacity-0
                                    transition-opacity ease-out pointer-events-none shadow
                                    group-hover:opacity-100 focus-within:opacity-100 group-hover:pointer-events-auto
                                    mt-0 top-[var(--menu-top-pos)]"
                             :style="`--menu-top-pos: ${hoverTopPosition}px`"
                        >
                            <div class="flex justify-between my-8 container mx-auto">
                                <ul class="w-full grid gap-2 grid-cols-[repeat(var(--menu-columns),minmax(0,1fr))]"
                                    style="--menu-columns: 2"
                                    role="menu"
                                >
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                                                                                        
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/burda-style"
                                                               class="hover:underline ">
                                                                Burda Style                                                            </a>
                                                        </li>
                                                                                                                                                                
                                                                                                                                                                <li class="level-2 font-bold text-lg w-fit"
                                                                                                                    >
                                                            <a href="https://www.burdastyle.com/burda-style-en-espanol"
                                                               class="hover:underline ">
                                                                Burda Style en español                                                            </a>
                                                        </li>
                                                                                                    </ul>
                                        </li>
                                                                            <li>
                                                                                                                                    <ul class="flex flex-col gap-y-3">
                                                                                            </ul>
                                        </li>
                                                                    </ul>
                            </div>
                        </div>
                    </li>
                                    
                                        <li class="level-1 group flex items-center py-4 border-b-2 max-h-14 border-transparent
                        transition transition-colors duration-500 hover:border-secondary focus-within:border-primary"
                                                @mouseover.stop="hoverTopPosition = $event.currentTarget.offsetTop + $event.currentTarget.getBoundingClientRect().height"
                    >
                        <a href="/blog/videos"
                           @focus="hoverTopPosition = $event.currentTarget.parentNode.offsetTop + $event.currentTarget.parentNode.getBoundingClientRect().height"
                           class="level-1 flex whitespace-nowrap group-hover:text-secondary ">
                            <span>
                                Videos                            </span>
                                                                                
                                        <li class="level-1 group flex items-center py-4 border-b-2 max-h-14 border-transparent
                        transition transition-colors duration-500 hover:border-secondary focus-within:border-primary"
                                                @mouseover.stop="hoverTopPosition = $event.currentTarget.offsetTop + $event.currentTarget.getBoundingClientRect().height"
                    >
                        <a href="/blog"
                           @focus="hoverTopPosition = $event.currentTarget.parentNode.offsetTop + $event.currentTarget.parentNode.getBoundingClientRect().height"
                           class="level-1 flex whitespace-nowrap group-hover:text-secondary ">
                            <span>
                                Blog                            </span>
                                                                        </ul>
        </nav>
    </div>
</div>
<script>
    'use strict';

    function initMenuDesktop() {
        return {
            hoverTopPosition: '100%',
            setActiveMenu(menuNode) {
                Array.from(menuNode.querySelectorAll('a')).filter(link => {
                    return link.href === window.location.href.split('?')[0];
                }).map(item => {
                    if (!item.classList.contains('level-1')) {
                        item.classList.add('underline');
                    }
                    item.closest('div.level-1') &&
                    item.closest('div.level-1').classList.add('border-secondary');
                });
            }
        }
    }
</script>
                </div>
            </div>
        </div>
    </template>

        <div class="container lg:hidden absolute -z-10 transition-all ease-in-out duration-300"
         id="search-content"
         :class="searchOpen ? 'top-full' : 'top-0'"
         x-cloak
    >
        <div x-ref="searchContainerMobile" class="py-3 lg:py-4">
            <div x-ref="searchForm">
                
<script>
    'use strict';

    function amXsearchProductsComponent() {
        const postFormRequest = (postUrl, id) => {
            const req = fetch(BASE_URL + postUrl, {
                "headers": {
                    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
                },
                "body": "form_key=" + hyva.getFormKey() + "&product=" + id + "&uenc=" + hyva.getUenc(),
                "method": "POST",
                "mode": "cors",
                "credentials": "include"
            });

            req.finally(() => this.isLoading = false);

            return req;
        }

        return {
            mutationAddToCartQuery: "mutation addProductsToCart($cartId: String!, $cartItems: [CartItemInput!]!) {addProductsToCart(\n                cartId: $cartId,\n                cartItems: $cartItems\n                ) {\n                    cart {\n                        items {\n                            product {\n                                name\n                            }\n                        }\n                        total_quantity\n                    }\n                    user_errors {\n                        code\n                        message\n                    }\n                }}",
            mutationAddToWishlistQuery: "mutation addProductsToWishlist($wishlistId: ID!, $wishlistItems: [WishlistItemInput!]!) {addProductsToWishlist(\n                wishlistId: $wishlistId,\n                wishlistItems: $wishlistItems\n                ) {\n                    wishlist {\n                        items {\n                            id\n                            product {\n                                name\n                            }\n                        }\n                        items_count\n                    }\n                    user_errors {\n                        code\n                        message\n                    }\n                }}",
            mutationAddToCompareListQuery: "mutation addProductsToCompareList($uid: ID!, $products: [ID!]!) {addProductsToCompareList(input: {\n                uid: $uid,\n                products: $products\n            }) {\n                items {\n                    product {\n                        name\n                    }\n                }\n                item_count\n            }}",

            sliderInitialization(event) {
                this[event.detail.key] = event.detail.value;
            },

            getResultProductsCount() {
                const suggestions = this.sections.products;
                const totalCount = suggestions?.total_count ?? 0;
                const itemsCount = suggestions?.items?.length ?? 0;

                return totalCount > 0 ? totalCount - itemsCount : 0;
            },

            processProductName(value) {
                if (value.items) {
                    value.items = value.items.map(item => {
                        item.name = this.addHighlight(item, 'name');
                        item.sku = this.addHighlight(item, 'sku');
                        item.name = this.truncateWithDots(item.name, this.productNameMaxLength, true);

                        return item;
                    });
                }
                return value;
            },

            addHighlight(product, key = 'name') {
                const name = product[key];
                const { latestQuery } = this;
                const queries = latestQuery.toLowerCase().split(" ");

                let highlightedName = name;

                for (const query of queries) {
                    const regex = new RegExp(`(?!<[^>]*)(${query})(?![^<]*>)`, "gi");
                    highlightedName = highlightedName.replace(regex, match => `<span class="amsearch-highlight">${match}</span>`);
                }

                return highlightedName;
            },

            truncateWithDots(str, maxLength, returnOriginal = false) {
                if (maxLength === '' || maxLength < 1) {
                    return returnOriginal ? str : "";
                }

                let output = [];
                let tagBuffer = [];
                let count = 0;
                let inTag = false;

                for (const char of str) {
                    if (char === "<") {
                        inTag = true;
                    }

                    if (inTag) {
                        tagBuffer.push(char);
                    } else {
                        count++;
                    }

                    if (char === ">") {
                        inTag = false;
                        output.push(tagBuffer.join(""));
                        tagBuffer = [];
                    } else if (!inTag) {
                        output.push(char);
                    }

                    if (count >= maxLength) {
                        break;
                    }
                }

                if (count >= maxLength) {
                    output.push("...");
                }

                // Close any unclosed tags
                while (tagBuffer.length > 0) {
                    const closingTagPos = str.indexOf(">", str.indexOf(tagBuffer.join("")) + tagBuffer.length);
                    if (closingTagPos !== -1) {
                        output.push(str.slice(str.indexOf(tagBuffer.join("")) + tagBuffer.length, closingTagPos + 1));
                        tagBuffer = [];
                    } else {
                        break;
                    }
                }

                return output.join("");
            },

            getProductUrl(product) {
                return window.BASE_URL + product.url_key + (product.url_suffix || '');
            },

            getProductImageUrl(product) {
                const imageUrl = product.small_image.url;
                let mediaURL = this.config.customMediaUrl || imageUrl;

                if (mediaURL.includes('/media') && imageUrl.startsWith('media/')) {
                    mediaURL = mediaURL.replace('/media', '');
                }

                // Fix issue with media in url when using cloudflare image
                let finalUrl = (imageUrl.includes('://') ? '' : mediaURL) + imageUrl;

                if (finalUrl.includes('/media/cdn-cgi')) {
                    finalUrl = finalUrl.replace('/media/cdn-cgi', '/cdn-cgi');
                }

                return finalUrl;
            },

            /**
             * @param Product {id: string}
             */
            addToWishlist({id}) {
                postFormRequest('wishlist/index/add/', id).then(response => {
                    if (response.redirected) {
                        window.location.href = response.url;
                    } else if (response.ok) {
                        return response.json();
                    } else {
                        typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                            [{
                                type: "warning",
                                text: "Could not add item to wishlist."
                            }], 5000
                        );
                    }
                }).then(response => {
                    if (!response) { return }
                    typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                        [{
                            type: response.success ? "success" : "error",
                            text: response.success
                                ? "Product has been added to your Wish List." : response.error_message
                        }], 5000
                    );
                    window.dispatchEvent(new CustomEvent("reload-customer-section-data"));
                }).catch(function (error) {
                    typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                        [{
                            type: "error",
                            text: error
                        }], 5000
                    );
                });
            },

            /**
             * @param Product {id: string}
             */
            addToCompare({id}) {
                postFormRequest('catalog/product_compare/add', id)
                    .then(response => {
                        if (response.redirected) {
                            window.location.href = response.url;
                        }
                        this.isLoading = false;
                    }).catch(error => {
                        this.isLoading = false;
                        typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                            [{
                                type: "error",
                                text: error
                            }], 5000
                        );
                    });
            },

            /**
             *
             * @param product
             */
            getRating(product) {
                const { rating_summary } = product;
                product.ratingData = {
                    ratingSteps: 5,
                    starsFilled: Math.floor(+rating_summary / 100 * 5),
                    starFragment: rating_summary / 100 * 5 % 1,
                    starsEmpty: Math.floor(5 - (+rating_summary / 100 * 5)),
                    yellowHex: '#f6e05e',
                    greyHex: '#cbd5e0'
                };
                return product;
            },


            /**
             * Compatibility function for Amasty_AjaxCart module
             *
             * @param id
             * @param $event
             */
            addToCart({id}, $event) {
                                this.isLoading = true;

                const action = 'https://www.burdastyle.com/checkout/cart/add/';
                const data = { product: id, qty: 1 };

                hyva.postForm({ action, data });
                            }
        }
    }
</script>
<script>
    'use strict';

    (()=> {
        const browserCache = {
            set(key, value) {
                const now = new Date();
                const item = {
                    value: value,
                    expiry: now.getTime() + 5 * 60 * 1000, // 5 minutes from now
                };
                localStorage.setItem(key, JSON.stringify(item));
            },
            get(key) {
                const itemStr = localStorage.getItem(key);
                if (!itemStr) {
                    return null;
                }
                const item = JSON.parse(itemStr);
                const now = new Date();
                if (now.getTime() > item.expiry) {
                    localStorage.removeItem(key);
                    return null;
                }
                return item.value;
            }
        };

        window.amXsearchAutocompleteComponent = () => {
            const INITIAL_QUERY_CACHE_KEY = 'x.InitialQuery';
            const PREV_QUERY_CACHE_KEY = 'x.PrevQuery';
            // TODO: Possible it will needs to change after the configurations are added to Admin
            const HEADER_TYPE = 'b';

            const cache = {};
            const dataSections = {
                products: false,
                category: false,
                page: false,
                faq: false,
                landingPage: false,
                browsingHistory: false,
                popularSearches: false,
                bestsellers: false,
                recentSearches: false,
                recentlyViewed: false,
                brand: false,
                blog: false
            };

            return {
                isLoading: false,
                searchInitialized: false,
                latestQuery: '',
                productNameMaxLength: 50,
                resultPageUrl: 'https://www.burdastyle.com/search/',
                minSearchLength: 3,
                maxSearchLength: 128,
                isDefaultSearchInput: false,
                isFullWidthSearch: true,
                searchPopupWidth: 900,
                showOverlay: false,
                config: {"isProductReviewsBlockEnabled":false,"isProductAddToCartBlockEnabled":false,"isRedirectToSingleProductEnabled":true,"isFullScreenMode":true,"isGridView":true,"isShowSku":false,"shortDescriptionLength":100,"customMediaUrl":null,"amasty_xsearch_products_title":"Products","amasty_xsearch_popularSearches_title":null,"amasty_xsearch_browsingHistory_title":null,"amasty_xsearch_recentSearches_title":null,"amasty_xsearch_recentlyViewed_title":null,"amasty_xsearch_landingPage_title":null,"amasty_xsearch_bestsellers_position":"1","amasty_xsearch_faq_title":"FAQ and Product Questions","amasty_xsearch_brand_title":"Brands","amasty_xsearch_blog_title":"Blog","amasty_xsearch_category_title":"Categories","amasty_xsearch_bestsellers_title":"Bestsellers","amasty_xsearch_page_title":"Pages","amasty_xsearch_popularSearches_first_click":true,"amasty_xsearch_browsingHistory_first_click":true,"amasty_xsearch_recentSearches_first_click":true,"amasty_xsearch_layout_enabled":false,"amasty_xsearch_layout_border":"000000","amasty_xsearch_layout_hover":"B0B0B0","amasty_xsearch_layout_highlight":"00E66B","amasty_xsearch_layout_background":"E6E6E6","amasty_xsearch_layout_text":"54A1FF","amasty_xsearch_layout_hover_text":"3C00FF","amasty_xsearch_layout_search_button":"1979c2","amasty_xsearch_layout_search_button_text":"ffffff"},
                slider: {
                    bestsellers: false,
                    recentlyViewed: false
                },
                isHorizontalView: true,
                noResultsFound: false,
                errorMessage: null,
                // sections
                sections: Object.create(dataSections),

                isHyvaUiHeader() {
                  return HEADER_TYPE.length && HEADER_TYPE !== 'default';
                },

                checkHyvaUiHeaderVariant(needle) {
                    return this.isHyvaUiHeader() && needle === HEADER_TYPE;
                },

                dynamicLayout($el) {
                    const matchMedia = window.matchMedia('(max-width: 768px)');
                    const isHorizontalViewPopupWidth = this.searchPopupWidth < 700 && !this.isDefaultSearchInput && !this.isFullWidthSearch;

                    this.isHorizontalView = !matchMedia.matches ? isHorizontalViewPopupWidth  : true;
                    matchMedia.addEventListener('change', event => {
                        this.isHorizontalView = !matchMedia.matches ? isHorizontalViewPopupWidth : true;
                    })

                    this.processCustomLayoutStyles($el);

                    if (typeof this.searchOpen !== "undefined") {
                        this.$watch('searchOpen', val => {
                            if (!val) {
                                return;
                            }

                            requestAnimationFrame(() => {
                                const searchInput = document.querySelector('#search');
                                searchInput && searchInput.focus();
                            });
                        });
                    }

                    if (typeof this.showOverlay !== "undefined") {
                        this.$watch('showOverlay', val => {
                            if (!val) {
                                return;
                            }

                            this.applyHyvaUiHeaderConfig()
                        });
                    }

                                            this.applyHeaderTypeToContainers();
                                    },

                isSidebarSectionsDisabled() {
                    if (!this.isHorizontalView) {
                        return !Object.entries(this.sections).some(([key, value]) =>
                            key !== 'products' && key !== 'bestsellers' && key !== 'recentlyViewed' && value.total_count > 0
                        );
                    }
                },

                showSideBar() {
                    const recentlyViewed = this.sections?.recentlyViewed;
                    return this.latestQuery.length >= 3
                        || (recentlyViewed && recentlyViewed?.items?.length);
                },


                showOnFirstClick(blockName) {
                    const sectionsToCheck = [
                        'popularSearches',
                        'browsingHistory',
                        'recentSearches'
                    ];

                    if (!sectionsToCheck.includes(blockName)) {
                        return false;
                    }

                    return this.latestQuery.length < this.minSearchLength
                        && this.config[`amasty_xsearch_${blockName}_first_click`]
                        && this.sections[blockName]?.items?.length;
                },

                processCustomLayoutStyles() {
                    const conf = key => this.config[`amasty_xsearch_layout_${key}`];

                    if (!conf("enabled")) {
                        return "";
                    }

                    const styles = [
                        "border",
                        "hover",
                        "highlight",
                        "background",
                        "text",
                        "hover_text",
                        'search_button',
                        'search_button_text'
                    ];

                    const cachedConf = styles.reduce((acc, key) => {
                        acc[key] = conf(key);
                        return acc;
                    }, {});

                    const getDarken = (color, amount) => {
                        const hex = parseInt(color.slice(1), 16);
                        const r = Math.min(255, Math.max(0, ((hex >> 16) & 0xff) + amount));
                        const g = Math.min(255, Math.max(0, ((hex >> 8) & 0xff) + amount));
                        const b = Math.min(255, Math.max(0, (hex & 0xff) + amount));

                        return `#${((r << 16) | (g << 8) | b).toString(16).padStart(6, "0")}`;
                    };

                    const prefix = "--amsearch-color-";
                    styles.forEach((key) => {
                        const color = cachedConf[key];

                        document.body.style.setProperty(prefix + key, `#${color}`);
                        document.body.style.setProperty(`${prefix + key}-focus`, getDarken(`#${color}`, -12));
                        document.body.style.setProperty(`${prefix + key}-hover`, getDarken(`#${color}`, -16));
                    });
                },

                canShowSection(sectionData) {
                    return sectionData && sectionData.items && sectionData.items.length > 0;
                },

                initialSectionLoad() {
                    const req = this.fetch(`query xSearchQuery {
recentlyViewed: xsearchRecentlyViewed {
            items {
                small_image {
                    label
                    url
                }
                id
                is_salable
                short_description {
                    html
                }
                name
                options_container
                rating_summary
                reviews_count
                sku
                url_key
                url_suffix
                price_range {
                    minimum_price {
                        regular_price {
                            value
                            currency
                        }
                        final_price {
                            value
                            currency
                        }
                    }
                     maximum_price {
                        regular_price {
                            value
                            currency
                        }
                        final_price {
                            value
                            currency
                        }
                    }
                }
            }
        }



browsingHistory: xsearchBrowsingHistory {
            code
            items {
              name
              url
            }
            total_count
          }
}`, {}, INITIAL_QUERY_CACHE_KEY);
                    req.then(response => {
                        if (response.errors && response.errors.length > 0) {
                            console.error(response.errors);
                        }

                        this.searchInitialized = true;
                        this.processResponse(response);
                    });
                },

                encodeHtml(html) {
                    const txt = document.createElement('textarea');
                    txt.textContent = html;
                    return txt.innerHTML;
                },

                sanitize(value) {
                    if (typeof DOMPurify === 'function') {
                        return DOMPurify.sanitize(value)
                    } else {
                        return this.encodeHtml(value)
                    }
                },

                doSearch() {
                    const { searchInput } = this.$refs;
                    const { latestQuery, minSearchLength } = this;
                    const inputText = this.sanitize(searchInput.value);

                    if (inputText !== latestQuery && cache[PREV_QUERY_CACHE_KEY]) {
                        delete cache[PREV_QUERY_CACHE_KEY];
                    }

                    this.latestQuery = this.sanitize(searchInput.value);

                    if (inputText.length < minSearchLength) {
                        this.initialSectionLoad();
                        return;
                    }

                    this.noResultsFound = null;
                    this.errorMessage = null;

                    const query = `query xSearchQuery($inputText: String!) {products: xsearchProducts(search: $inputText) {
                code
                items {
                  __typename
                  small_image {
                    label
                    url
                  }
                  
                  id
                  is_salable
                  short_description {
                    html
                  }
                  name
                  rating_summary
                  reviews_count
                  sku
                  url_key
                  url_suffix
                  
                  price_range {
                    minimum_price {
                        regular_price {
                            value
                            currency
                        }
                        final_price {
                            value
                            currency
                        }
                    }
                    maximum_price {
                        regular_price {
                            value
                            currency
                        }
                        final_price {
                            value
                            currency
                        }
                    }
                 }
                }
                total_count
              }
page: xsearchPages(search: $inputText) {
                   items {
                      description
                      name
                      title
                      url
                    },
                    total_count
                }
category: xsearchCategories(search: $inputText) {
            code
            items {
              description
              name
              url
            }
            total_count
          }
browsingHistory: xsearchBrowsingHistory {
            code
            items {
              name
              url
            }
            total_count
          }




terms: xsearchRelatedTerms(search: $inputText) {
                    items {
                      count
                      name
                    }
                  }

}`;
                    const req = this.fetch(query, { inputText }, PREV_QUERY_CACHE_KEY);

                    req.then(response => {
                        if (response.errors && response.errors.length > 0) {
                            this.errorMessage = response.errors[0].message;
                            console.error(this.errorMessage);
                        }

                        this.searchInitialized = true;
                        this.processResponse(response);
                    });
                },

                fetch(query, variables = {}, cacheKey = null, useLoading = true) {
                    if (cacheKey && cache[cacheKey]) {
                        return Promise.resolve(cache[cacheKey]);
                    }

                    if (useLoading) {
                        this.isLoading = true;
                    }

                    const req = fetch(`${BASE_URL}graphql`, {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json',
                            'Store': 'burda_style_us_18'
                        },
                        credentials: 'include',
                        body: JSON.stringify({query, variables}),
                    });

                    req.catch(reason => console.error(reason));

                    return req.then(response => {
                        if (!response.ok) {
                            throw new Error(`HTTP error: ${response.status}`);
                        }

                        const body = response.json();
                        if (cacheKey) {
                            cache[cacheKey] = body;
                        }

                        return body;
                    });
                },

                checkSearchInput() {
                    if (this.$refs.searchInput.value === '') {
                        this.clear();
                    }
                },

                redirect() {
                    this.isLoading = true;
                    const { searchInput } = this.$refs;
                    const inputText = this.sanitize(searchInput.value);

                    const products = this.sections.products;
                    if (products && products.items.length === 1 && this.config.isRedirectToSingleProductEnabled) {
                        location.href = this.getProductUrl(products.items[0]);
                        return;
                    }

                    const url = 'https://www.burdastyle.com/search/';
                    location.href = url + inputText;
                },

                focusElement(element) {
                    if (element && element.nodeName === "DIV") {
                        element.focus();
                        return true;
                    }
                    return false;
                },

                processResponse(response) {
                    this.updateSections(response.data);
                },

                clear() {
                    const initialQueryCache = cache[INITIAL_QUERY_CACHE_KEY];
                    if (!initialQueryCache) {
                        return;
                    }

                    initialQueryCache.then(result => {
                        this.updateSections(result.data ?? {});
                    });
                },

                closeSearch() {
                    if (this.searchOpen) {
                        this.searchOpen = false;
                    }

                    this.$nextTick(() => {
                        this.showOverlay = false;
                        this.searchInitialized = false;
                    })

                    if (this.checkHyvaUiHeaderVariant('c')) {
                        this.$refs.searchContainerDesktop.classList.remove(HEADER_TYPE + '-header-type');
                    }
                },

                processItemsWithRating(value) {
                    if (value.items) {
                        value.items = value.items.map(this.getRating.bind(this));
                    }
                    return value;
                },

                processSection(key, value) {
                    if (!value) {
                        return value;
                    }

                    let processedValue;

                    switch (key) {
                        case 'recentlyViewed':
                        case 'bestsellers':
                            processedValue = this.processItemsWithRating(value);
                            if (processedValue.items) {
                                processedValue.items = (processedValue.items || []).map(item => {
                                    item.isSliderItem = true;
                                    return item;
                                });
                            }
                            break;
                        case 'products':
                            processedValue = this.processItemsWithRating(value);
                            processedValue = this.processProductName(processedValue);
                            break;
                        default:
                            processedValue = value;
                    }

                    processedValue.title = this.config[`amasty_xsearch_${key}_title`];
                    return processedValue;
                },

                updateSections(rows) {
                    if (!this.showOverlay) {
                        this.showOverlay = true;
                    }

                    this.isLoading = false;

                    this.noResultsFound = !rows.products?.total_count && this.latestQuery.length >= this.minSearchLength;
                    if (!this.noResultsFound) {
                        this.errorMessage = null;
                    }

                    for (const key in dataSections) {
                        const data = rows[key];
                        this.sections[key] = data?.items?.length > 0
                            ? this.processSection(key, data)
                            : {items: [], total_count: 0};
                    }

                    if (this.latestQuery.length >= this.minSearchLength) {
                        return;
                    }

                    for (const key in this.slider) {
                        const items = rows[key]?.items;

                        if (rows.hasOwnProperty(key) && items?.length && !this.slider[key]) {
                            this.slider[key] = this.amXsearchCarouselComponent(key, items.length);
                        }
                    }
                }
            }
        }
    })();
</script>
<script>
    'use strict';

    /**
     * Carousel component for xsearch
     *
     * @param key
     * @param itemCount
     * @returns Object
     */
    function amXsearchCarouselComponent(key, itemCount) {
        return {
            itemCount,
            pageSize: 4,
            active: 0,
            slider: null,
            pageFillers: 0,
            sliderEl: false,
            smallWindowItemWidth: false,
            init($refs) {
                const sliderEl = $refs[`${key}Container`];
                if (!sliderEl || itemCount === 0) {
                    return this;
                }

                if (sliderEl) {
                    if (!this.isDefaultSearchInput && !this.isFullWidthSearch) {
                        if (this.searchPopupWidth <= 900) {
                            this.smallWindowItemWidth = sliderEl.clientWidth / 3;
                        }
                        if (this.searchPopupWidth <= 700) {
                            this.smallWindowItemWidth = sliderEl.clientWidth / 2;
                        }
                        if (this.searchPopupWidth <= 500) {
                            this.smallWindowItemWidth = sliderEl.clientWidth - 30;
                        }
                    }
                }

                this.sliderEl = sliderEl;
                this.recalculate();
            },
            getSlider() {
                return this.sliderEl.querySelector('.carousel-slides');
            },
            calcPageSize() {
                const slider = this.getSlider();
                if (!slider) {
                    return this;
                }

                const slides = slider.querySelectorAll('.carousel-slide');
                if (this.smallWindowItemWidth) {
                    slides.forEach(slide => {
                        slide.style.width = `${this.smallWindowItemWidth}px`;
                    });
                }

                const firstSlide = slides[0];

                this.itemCount = slides.length;
                this.pageSize = Math.round(slider.clientWidth / firstSlide.clientWidth);

                this.pageFillers = this.pageSize * Math.ceil(this.itemCount / this.pageSize) - this.itemCount;
            },
            calcActive() {
                const slider = this.getSlider();
                if (!slider) {
                    return this;
                }

                const sliderItems = Math.round(this.itemCount) + Math.round(this.pageFillers);
                const calculatedActiveSlide = Math.round(
                        Math.round(slider.scrollLeft) / (Math.round(slider.scrollWidth) / sliderItems)
                );

                this.active = Math.round(calculatedActiveSlide / Math.round(this.pageSize)) * Math.round(this.pageSize);
            },
            prev() {
                this.scrollTo(this.active - this.pageSize);
            },
            next() {
                this.scrollTo(this.active + this.pageSize);
            },
            scrollTo(index) {
                const slider = this.getSlider();
                if (!slider) {
                    return this;
                }

                const slideWidth = slider.scrollWidth / (this.itemCount + this.pageFillers);
                slider.scrollLeft = Math.floor(slideWidth) * index;

                this.calcActive();
            },

            isActive(index) {
                return index === this.active;
            },

            recalculate() {
                this.calcPageSize();
                setTimeout(() => this.calcActive(), 100);
            },
            onResize() {
                this.calcPageSize();
                setTimeout(() => this.calcActive(), 100);
            }
        };
    }
</script>

    <script>
    'use strict';

    function amXsearchAutocompleteHyvaUIHeaderCompat() {
        const HEADER_TYPE = 'b';

        return {
            applyHyvaUiHeaderConfig() {
                const searchContent = document.getElementById('search-content');

                if (this.isFullWidthSearch) {
                    if (!this.isHorizontalView) {
                        if (this.checkHyvaUiHeaderVariant('b')) {
                            searchContent.style = 'max-width:none';
                            searchContent.parentNode.style = 'padding-right:0; padding-left:0;';
                        }

                        if (this.checkHyvaUiHeaderVariant('c')) {
                            this.$refs.searchContainerDesktop.classList.add(HEADER_TYPE + '-header-type');
                            this.$refs.searchForm.style = 'padding-right:0; padding-left:0;';
                        }
                    }

                    if (this.checkHyvaUiHeaderVariant('a')) {
                        searchContent.style = 'max-width: none';
                    }
                }
            },

            applyHeaderTypeToContainers() {
                const searchHeader = document.getElementById('header');
                const columnMain = document.querySelector('.column.main');
                const searchContent = document.getElementById('search-content');
                const headerTypeClass = HEADER_TYPE + '-header-type';

                 if (searchHeader || columnMain) {
                    searchHeader.classList.add(headerTypeClass);
                    columnMain.classList.add(headerTypeClass);
                }

                if (this.checkHyvaUiHeaderVariant('a')) {
                    searchContent.className = 'container';
                }
            }
        }
    }
</script>

<div :class="{
            'container': !config.isFullScreenMode,
            'relative py-2 mx-auto text-black z-20': true,
            'max-w-none px-0': isHyvaUiHeader() && isFullWidthSearch,
            'px-0': isHyvaUiHeader() && isHorizontalView
     }"
     x-data="Object.assign(
        {amXsearchCarouselComponent},
         amXsearchProductsComponent(),
         amXsearchAutocompleteComponent(),
                     amXsearchAutocompleteHyvaUIHeaderCompat(),
              )"
     x-init="dynamicLayout($el)">

    <div class="flex flex-row justify-center items-center w-full h-full fixed select-none z-50"
     style="left: 50%;top: 50%;transform: translateX(-50%) translateY(-50%);background: rgba(255,255,255,0.7);"
     x-show="isLoading"
     x-transition:enter="ease-out duration-200"
     x-transition:enter-start="opacity-0"
     x-transition:enter-end="opacity-100"
     x-transition:leave="ease-in duration-200"
     x-transition:leave-start="opacity-100"
     x-transition:leave-end="opacity-0">
    <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 57 57" stroke="currentColor" class="text-primary" width="57" height="57" role="img">
    <g fill="none" fill-rule="evenodd">
        <g transform="translate(1 1)" stroke-width="2">
            <circle cx="5" cy="50" r="5">
                <animate attributeName="cy" begin="0s" dur="2.2s" values="50;5;50;50" calcMode="linear" repeatCount="indefinite"/>
                <animate attributeName="cx" begin="0s" dur="2.2s" values="5;27;49;5" calcMode="linear" repeatCount="indefinite"/>
            </circle>
            <circle cx="27" cy="5" r="5">
                <animate attributeName="cy" begin="0s" dur="2.2s" from="5" to="5" values="5;50;50;5" calcMode="linear" repeatCount="indefinite"/>
                <animate attributeName="cx" begin="0s" dur="2.2s" from="27" to="27" values="27;49;5;27" calcMode="linear" repeatCount="indefinite"/>
            </circle>
            <circle cx="49" cy="50" r="5">
                <animate attributeName="cy" begin="0s" dur="2.2s" values="50;50;5;50" calcMode="linear" repeatCount="indefinite"/>
                <animate attributeName="cx" from="49" to="49" begin="0s" dur="2.2s" values="49;5;27;49" calcMode="linear" repeatCount="indefinite"/>
            </circle>
        </g>
    </g>
<title>loader</title></svg>
    <div class="ml-10 text-primary text-xl">
        Loading...    </div>
</div>

    <div x-show="showOverlay"
         class="fixed inset-0 bg-black bg-opacity-20 z-20 w-full h-full top-0 left-0 right-0 bottom-0"
         @click.prevent="closeSearch()"
         @keydown.window.escape="closeSearch()"
         @close-search.window="closeSearch()"
    ></div>

    <div class="form mini-search z-20 relative"
         :class="{
         'right-0': !isHyvaUiHeader(),
         'md:flex md:justify-center': checkHyvaUiHeaderVariant('c') && !isDefaultSearchInput && !isFullWidthSearch
         }"
    >
        <form id="search_mini_form" @submit.prevent="redirect()"
              action="https://www.burdastyle.com/search/"
              :class="{
              'w-full absolute right-0': checkHyvaUiHeaderVariant('a') && !isDefaultSearchInput && !isFullWidthSearch,
              'justify-end': !checkHyvaUiHeaderVariant('c')
              }"
              class="flex max-w-lg mx-auto" method="GET">
            <label class="hidden" for="search" data-role="mini-search-label">
                <span>Search</span>
            </label>
            <div class="w-full flex align-center justify-center"
                 :style="`max-width: ${!isDefaultSearchInput && !isFullWidthSearch ? searchPopupWidth + 'px' : '100%'}`">
                <input id="search"
                       x-ref="searchInput"
                       maxlength="128"
                       form="search_mini_form"
                       type="search"
                       name="q"
                       value=""
                       autocomplete="off"
                       placeholder="Enter&#x20;search&#x20;term"
                       class="peer flex-1 form-input h-full rounded-r-none"
                       :class="{
                       'rounded-tl': isHyvaUiHeader(),
                       'rounded-tr': !'1' && isHyvaUiHeader()
                       }"
                       :style="`width: ${checkHyvaUiHeaderVariant('c') && !isDefaultSearchInput && !isFullWidthSearch ? searchPopupWidth + 'px' : '100%'}`"
                       @focus="doSearch()"
                       @search="checkSearchInput()"
                       @input.debounce.500="doSearch()"
                                            x-intersect:enter.once="applyHyvaUiHeaderConfig()"
                                           @keydown.arrow-down.prevent="focusElement($el.querySelector('[tabindex]'))"/>
                                    <button type="submit" title="Search"
                            class="btn justify-center rounded-l-none rounded-md p-2.5 text-base shadow-none
                                   hover:shadow-lg active:shadow disabled:shadow-none transition
                                   bg-primary text-white hover:bg-primary-lighter target:ring-black
                                   active:bg-primary-lighter"
                            x-bind:disabled="isLoading"
                            :class="{
                                'opacity-70': isLoading,
                                'am-custom-search-button': false,
                                'rounded-tr': isHyvaUiHeader()
                            }"
                            aria-label="Search">
                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="w-8 h-8 md:h-6 md:w-6" width="25" height="25" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>
</svg>
                                            </button>
                            </div>
        </form>
        <template x-if="searchInitialized">
            <div
                class="w-full -right-position -bottom-position top-15 md:mt-3 bg-white shadow-lg max-h-screen-75 overflow-auto text-sm amsearch-container"
                :class="{
                    'absolute': !config.isFullScreenMode || isHyvaUiHeader(),
                    'rounded-br rounded-bl': isHyvaUiHeader(),
                    'right-0': !checkHyvaUiHeaderVariant('c'),
                    'top-12': checkHyvaUiHeaderVariant('c') && !isHorizontalView,
                    'top-14': checkHyvaUiHeaderVariant('a') && isHorizontalView
                }"
                tabindex="-1"
                x-cloak
                :style="`${!isDefaultSearchInput && !isFullWidthSearch ? 'max-width:' + searchPopupWidth + 'px' : ''}; ${!isHorizontalView && checkHyvaUiHeaderVariant('a') ? 'top: 44px; margin-top: 1px;' : ''}`"
                x-show="!isLoading && showOverlay">
                <div
                    class="flex w-full content-start flex-wrap box-border relative
                           bg-container-lighter leading-normal transition appearance-none shadow-md"
                    :class="{
                            'flex-col': isHorizontalView,
                            'flex-col md:flex-row': !isHorizontalView,
                         }">
                    <div class="am-search-sidebar max-md:flex max-md:flex-col w-full md:border-r lg:pt-5 text-base
                                [&_.am-search-item-list]:text-primary [&_.am-search-item-list_a]:text-primary
                                [&_a]:text-primary
                                [&_a:hover]:!text-secondary [&_a:focus]:!text-secondary
                                [&_.amsearch-highlight]:text-secondary"
                         :class="{
                            'border-primary': showSideBar() && getResultProductsCount() > 0,
                            'hidden': latestQuery.length < minSearchLength && (
                                !showOnFirstClick('recentSearches') && !showOnFirstClick('popularSearches') && !showOnFirstClick('browsingHistory')
                            ) || isSidebarSectionsDisabled(),
                            'am-search-horizontal-view': isHorizontalView,
                         }">
                                                    <template
                                x-if="                                        sections?.blog?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('blog'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.blog.title"></h3>

    <div>
       <template x-for="(item, index) in sections.blog.items" :key="index">
           <div>
               <a class="w-full block hover:bg-gray-100 py-2 px-4"
                  :href="window.BASE_URL + item.url">
                   <span x-html="item.title" class="font-semibold"></span>
               </a>
               <span class="text-black block mt-1 px-4 block"
                     x-html="item.description"></span>
           </div>
       </template>
   </div>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.faq?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('faq'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.faq.title"></h3>

    <template x-for="(item, index) in sections.faq.items" :key="index">
        <a class="w-full block hover:bg-gray-100 py-2 px-4"
           :href="window.BASE_URL + item.url"
           x-html="item.name">
        </a>
    </template>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.brand?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('brand'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.brand.title"></h3>

    <template x-for="(item, index) in sections.brand.items" :key="index">
        <a class="w-full block hover:bg-gray-100 py-2 px-4"
           :href="`${BASE_URL + item.url}`"
           x-html="item.name">
        </a>
    </template>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.landingPage?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('landingPage'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.landingPage.title"></h3>

    <template x-for="(item, index) in sections.landingPage.items" :key="index">
        <a class="w-full block hover:bg-gray-100 py-2 px-4"
           :href="window.BASE_URL + item.url"
           x-html="item.title">
        </a>
    </template>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.category?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('category'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.category.title"></h3>

    <template x-for="(item, index) in sections.category.items" :key="index">
        <div>
            <a class="w-full block hover:bg-gray-100 py-2 px-4"
               :href="window.BASE_URL + item.url">
                <span x-html="item.name" class="font-semibold"></span>
            </a>
            <span class="text-black block mt-1 px-4 block"
                  x-html="item.description"
                  x-show="item.description"></span>
        </div>
    </template>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="isHorizontalView &amp;&amp; !noResultsFound &amp;&amp;                                         sections?.products?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('products'))"
                                    x-cloak
                                    class="max-md:order-0"
                                >
                                    
<div class="w-full text-base">
    <div class="flex row justify-between w-full p-5 items-center">
        <h3 class="text-lg font-bold">
           <span x-text="sections.products.title"></span> (<span x-text="sections.products.total_count"></span>)
        </h3>

        <div class="am-search-view-all" x-show="getResultProductsCount() >= 1">
            <a :href="resultPageUrl + latestQuery" class="!text-primary text-lg font-bold">
                View All <span x-show="getResultProductsCount() > 0">(+<span x-text="getResultProductsCount()"></span>)</span>
            </a>
        </div>
    </div>

    <div class="relative flex flex-wrap w-full">
        <template x-for="(product, index) in (sections.products.items || [])" :key="index">
            
<div class="item product product-item card card-interactive flex round-none shadow-none border-none"
     :class="{
        'flex-1': !config.isGridView,
                'flex-row p-5 list-view lg:!w-full lg:!mr-0': config.isGridView
                                    && (isFullWidthSearch || isDefaultSearchInput || searchPopupWidth > 900),
        'flex-col mt-2 w-full md:w-auto md:max-w-md': !config.isGridView
                                    && (!isFullWidthSearch || !isDefaultSearchInput || searchPopupWidth <= 900)
     }">
    <div :class="{'w-1/2 md:w-1/6 md:mb-0 mr-5': config.isGridView}">
        <a :href="getProductUrl(product)"
           class="photo product-item-photo block mb-3 flex justify-center align-center"
           tabindex="-1"
           
        >
            <img class="hover:shadow-sm object-contain w-full"
                 :src="getProductImageUrl(product)"
                 :alt="product.small_image.label"
                 loading="lazy"
                                  width="200"
            />

                    </a>
    </div>
    <div class="product-info flex flex-col grow">
        <div class="mt-2 mb-1 items-center justify-center text-primary text-lg"
             :class="{'md:text-left': config.isGridView, 'text-center': !config.isGridView}"
        >
            <a :href="getProductUrl(product)"
               class="product-item-link action link"
            >
                <span x-html="product.name" class="text-primary [&_.amsearch-highlight]:text-secondary"></span>
            </a>
            <template x-if="config.isShowSku">
                <div class="text-sm font-normal">
                    <span>SKU:</span>
                    <span x-html="product.sku"></span>
                </div>
            </template>
        </div>
        <template x-if="config.isProductReviewsBlockEnabled">
            <div class="py-1"
     :class="{'mx-0 w-full': config.isGridView, 'mx-auto': !config.isGridView}">
    <div class="rating-summary cursor-pointer text-center inline-block"
         :class="{'flex items-center': config.isGridView && !product.isSliderItem}"
         :title="product.rating_summary === 0 ? 'Be&#x20;the&#x20;first&#x20;to&#x20;review&#x20;this&#x20;product' : ''">
        <div class="flex">
            <template x-for="starFilled in product.ratingData.starsFilled">
                <svg xmlns="http://www.w3.org/2000/svg" class="fill-current w-6 h-6" viewBox="3 0 20 20"
                     :style="`color: ${product.ratingData.yellowHex}`"
                     fill="currentColor">
                    <path
                        d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371
                        1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54
                        1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1
                        1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/>
                </svg>
            </template>
            <template x-if="product.ratingData.starFragment > 0">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="3 0 20 20" fill="currentColor" class="w-6 h-6">
                    <defs>
                        <linearGradient :id="'partialFill' + product.id">
                            <stop offset="0%" :stop-color="product.ratingData.yellowHex"/>
                            <stop :offset="product.ratingData.starFragment * 100 + '%'" :stop-color="product.ratingData.yellowHex"/>
                            <stop :offset="product.ratingData.starFragment * 100 + '%'" :stop-color="product.ratingData.greyHex"/>
                            <stop offset="100%" :stop-color="product.ratingData.greyHex"/>
                        </linearGradient>
                    </defs>
                    <g :fill="'url(#partialFill' + product.id + ')'">
                        <path
                            d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969
                        0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54
                        1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1
                        0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/>
                    </g>
                </svg>
            </template>
            <template x-for="starEmpty in product.ratingData.starsEmpty">
                <svg xmlns="http://www.w3.org/2000/svg"
                     class="fill-current w-6 h-6"
                     :style="`color: ${product.ratingData.greyHex}`"
                     viewBox="3 0 20 20"
                     fill="currentColor">
                    <path
                        d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0
                        1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54
                        1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1
                        1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
                    />
                </svg>
            </template>
        </div>

        <template x-if="product.rating_summary > 0">
            <a :href="`${getProductUrl(product)}`" class="inline-block reviews-link text-blue-500 hover:text-blue-800">
                <span class="ml-2 text-sm" x-html="product.reviews_count"></span>
                Reviews            </a>
        </template>
    </div>
</div>
        </template>
        <div class="mt-2 mb-1 items-center justify-center text-primary"
             :class="{'text-left': config.isGridView, 'text-center': !config.isGridView}"
             x-html="truncateWithDots(product.short_description.html, config.shortDescriptionLength)"
        ></div>
        <div class="price-container flex flex-col justify-center">
            <div class="final-price">
                <span class="price-label"
                      x-show="product.price_range.minimum_price.final_price.value < product.price_range.maximum_price.final_price.value">
                    As low as                </span>
                <span class="price-wrapper title-font font-medium text-2xl text-primary">
                    <span class="price"
                          x-html="hyva.formatPrice(product.price_range.minimum_price.final_price.value)">
                    </span>
                </span>
            </div>
                    </div>
        <div class="pt-3 flex items-center"
             :class="{
             'mt-auto justify-center': !config.isGridView ,
             'flex-wrap': config.isGridView && config.isProductAddToCartBlockEnabled && product.is_salable,
             'justify-start': config.isGridView
             }">
            <template x-if="config.isProductAddToCartBlockEnabled && product.is_salable">
                <button type="button"
                        x-on:click.prevent="addToCart(product, $event)"
                        class="btn btn-primary justify-center text-sm"
                        :class="{
                        'mr-auto w-auto': !config.isGridView,
                        'w-full sm:w-auto mb-3 sm:mb-0': config.isGridView,
                        }"
                >
                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="h-6 w-6 border-current inline" width="25" height="25" role="img">
  <path stroke-linecap="round" stroke-linejoin="round" d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"/>
<title>shopping-cart</title></svg>
                    <span class="ml-2 inline">Add to Cart</span>
                </button>
            </template>
            <template x-if="config.isProductAddToCartBlockEnabled && !product.is_salable">
                <div class="w-auto justify-center text-sm text-left">
                    <span class="inline-block w-3 h-3 bg-red-500 rounded-full flex-shrink-0"></span>
                    <span class="text-sm bg-container-darker text-left">Out of stock</span>
                </div>
            </template>
                    </div>
    </div>
</div>
        </template>
    </div>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.popularSearches?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('popularSearches'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.popularSearches.title"></h3>

    <template x-for="(searchItem, index) in sections.popularSearches.items" :key="index">
        <a class="w-full block hover:bg-gray-100 py-2 px-4"
           :href="resultPageUrl + searchItem.name.toLowerCase().replace(/<[^>]*>?/gm, '')"
           x-html="searchItem.name">
        </a>
    </template>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.page?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('page'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.page.title"></h3>

    <template x-for="(item, index) in sections.page.items" :key="index">
        <div>
            <a class="w-full block hover:bg-gray-100 py-2 px-4"
               :href="`${BASE_URL + item.url}`">
                <span x-html="item.title" class="font-semibold"></span>
            </a>
            <span class="text-black block mt-1 px-4 block"
                  x-html="item.description"></span>
        </div>
    </template>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.recentSearches?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('recentSearches'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4" x-text="sections.recentSearches.title"></h3>

    <div class="flex direction-row flex-wrap mx-4">
        <template x-for="(searchItem, index) in sections.recentSearches.items" :key="index">
            <a class="bg-gray-100 hover:bg-gray-200 py-1 px-4 rounded-lg mr-2 mb-2"
               :href="resultPageUrl + searchItem.name.toLowerCase().replace(/<[^>]*>?/gm, '')"
               x-html="searchItem.name">
            </a>
        </template>
    </div>
</div>
                                </div>
                            </template>
                                                    <template
                                x-if="                                        sections?.browsingHistory?.items?.length">
                                <div
                                    x-show="(latestQuery.length >= minSearchLength || showOnFirstClick('browsingHistory'))"
                                    x-cloak
                                    class="max-md:order-1"
                                >
                                    <div class="w-full mb-6 am-search-item-list">
    <h3 class="text-lg font-bold mb-2 px-4"
        x-text="sections.browsingHistory.title"></h3>

    <template x-for="(searchItem, index) in sections.browsingHistory.items" :key="index">
        <a class="w-full block hover:bg-gray-100 py-2 px-4"
           :href="resultPageUrl + searchItem.name.toLowerCase().replace(/<[^>]*>?/gm, '')"
           x-html="searchItem.name">
        </a>
    </template>
</div>
                                </div>
                            </template>
                                            </div>
                    <div class="relative"
                         :class="{
                            'am-search-content': latestQuery.length >= minSearchLength || (
                                showOnFirstClick('recentSearches') || showOnFirstClick('popularSearches') || showOnFirstClick('browsingHistory')
                            ),
                            'w-full': latestQuery.length < minSearchLength && (
                                !showOnFirstClick('recentSearches') && !showOnFirstClick('popularSearches') && !showOnFirstClick('browsingHistory')
                            ),
                            'am-search-horizontal-view': isHorizontalView,
                            'p-2': slider.recentlyViewed || slider.bestsellers,
                            'am-search-sidebar-disabled': isSidebarSectionsDisabled(),
                         }">
                        <div class="flex flex-nowrap flex-col" x-show="latestQuery.length < minSearchLength" x-cloak>
                            
                                                    </div>

                        <template x-if="!noResultsFound && !isHorizontalView && latestQuery.length >= minSearchLength">
                            
<div class="w-full text-base">
    <div class="flex row justify-between w-full p-5 items-center">
        <h3 class="text-lg font-bold">
           <span x-text="sections.products.title"></span> (<span x-text="sections.products.total_count"></span>)
        </h3>

        <div class="am-search-view-all" x-show="getResultProductsCount() >= 1">
            <a :href="resultPageUrl + latestQuery" class="!text-primary text-lg font-bold">
                View All <span x-show="getResultProductsCount() > 0">(+<span x-text="getResultProductsCount()"></span>)</span>
            </a>
        </div>
    </div>

    <div class="relative flex flex-wrap w-full">
        <template x-for="(product, index) in (sections.products.items || [])" :key="index">
            
<div class="item product product-item card card-interactive flex round-none shadow-none border-none"
     :class="{
        'flex-1': !config.isGridView,
                'flex-row p-5 list-view lg:!w-full lg:!mr-0': config.isGridView
                                    && (isFullWidthSearch || isDefaultSearchInput || searchPopupWidth > 900),
        'flex-col mt-2 w-full md:w-auto md:max-w-md': !config.isGridView
                                    && (!isFullWidthSearch || !isDefaultSearchInput || searchPopupWidth <= 900)
     }">
    <div :class="{'w-1/2 md:w-1/6 md:mb-0 mr-5': config.isGridView}">
        <a :href="getProductUrl(product)"
           class="photo product-item-photo block mb-3 flex justify-center align-center"
           tabindex="-1"
           
        >
            <img class="hover:shadow-sm object-contain w-full"
                 :src="getProductImageUrl(product)"
                 :alt="product.small_image.label"
                 loading="lazy"
                                  width="200"
            />

                    </a>
    </div>
    <div class="product-info flex flex-col grow">
        <div class="mt-2 mb-1 items-center justify-center text-primary text-lg"
             :class="{'md:text-left': config.isGridView, 'text-center': !config.isGridView}"
        >
            <a :href="getProductUrl(product)"
               class="product-item-link action link"
            >
                <span x-html="product.name" class="text-primary [&_.amsearch-highlight]:text-secondary"></span>
            </a>
            <template x-if="config.isShowSku">
                <div class="text-sm font-normal">
                    <span>SKU:</span>
                    <span x-html="product.sku"></span>
                </div>
            </template>
        </div>
        <template x-if="config.isProductReviewsBlockEnabled">
            <div class="py-1"
     :class="{'mx-0 w-full': config.isGridView, 'mx-auto': !config.isGridView}">
    <div class="rating-summary cursor-pointer text-center inline-block"
         :class="{'flex items-center': config.isGridView && !product.isSliderItem}"
         :title="product.rating_summary === 0 ? 'Be&#x20;the&#x20;first&#x20;to&#x20;review&#x20;this&#x20;product' : ''">
        <div class="flex">
            <template x-for="starFilled in product.ratingData.starsFilled">
                <svg xmlns="http://www.w3.org/2000/svg" class="fill-current w-6 h-6" viewBox="3 0 20 20"
                     :style="`color: ${product.ratingData.yellowHex}`"
                     fill="currentColor">
                    <path
                        d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371
                        1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54
                        1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1
                        1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/>
                </svg>
            </template>
            <template x-if="product.ratingData.starFragment > 0">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="3 0 20 20" fill="currentColor" class="w-6 h-6">
                    <defs>
                        <linearGradient :id="'partialFill' + product.id">
                            <stop offset="0%" :stop-color="product.ratingData.yellowHex"/>
                            <stop :offset="product.ratingData.starFragment * 100 + '%'" :stop-color="product.ratingData.yellowHex"/>
                            <stop :offset="product.ratingData.starFragment * 100 + '%'" :stop-color="product.ratingData.greyHex"/>
                            <stop offset="100%" :stop-color="product.ratingData.greyHex"/>
                        </linearGradient>
                    </defs>
                    <g :fill="'url(#partialFill' + product.id + ')'">
                        <path
                            d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969
                        0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54
                        1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1
                        0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/>
                    </g>
                </svg>
            </template>
            <template x-for="starEmpty in product.ratingData.starsEmpty">
                <svg xmlns="http://www.w3.org/2000/svg"
                     class="fill-current w-6 h-6"
                     :style="`color: ${product.ratingData.greyHex}`"
                     viewBox="3 0 20 20"
                     fill="currentColor">
                    <path
                        d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0
                        1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54
                        1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1
                        1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
                    />
                </svg>
            </template>
        </div>

        <template x-if="product.rating_summary > 0">
            <a :href="`${getProductUrl(product)}`" class="inline-block reviews-link text-blue-500 hover:text-blue-800">
                <span class="ml-2 text-sm" x-html="product.reviews_count"></span>
                Reviews            </a>
        </template>
    </div>
</div>
        </template>
        <div class="mt-2 mb-1 items-center justify-center text-primary"
             :class="{'text-left': config.isGridView, 'text-center': !config.isGridView}"
             x-html="truncateWithDots(product.short_description.html, config.shortDescriptionLength)"
        ></div>
        <div class="price-container flex flex-col justify-center">
            <div class="final-price">
                <span class="price-label"
                      x-show="product.price_range.minimum_price.final_price.value < product.price_range.maximum_price.final_price.value">
                    As low as                </span>
                <span class="price-wrapper title-font font-medium text-2xl text-primary">
                    <span class="price"
                          x-html="hyva.formatPrice(product.price_range.minimum_price.final_price.value)">
                    </span>
                </span>
            </div>
                    </div>
        <div class="pt-3 flex items-center"
             :class="{
             'mt-auto justify-center': !config.isGridView ,
             'flex-wrap': config.isGridView && config.isProductAddToCartBlockEnabled && product.is_salable,
             'justify-start': config.isGridView
             }">
            <template x-if="config.isProductAddToCartBlockEnabled && product.is_salable">
                <button type="button"
                        x-on:click.prevent="addToCart(product, $event)"
                        class="btn btn-primary justify-center text-sm"
                        :class="{
                        'mr-auto w-auto': !config.isGridView,
                        'w-full sm:w-auto mb-3 sm:mb-0': config.isGridView,
                        }"
                >
                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="h-6 w-6 border-current inline" width="25" height="25" role="img">
  <path stroke-linecap="round" stroke-linejoin="round" d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"/>
<title>shopping-cart</title></svg>
                    <span class="ml-2 inline">Add to Cart</span>
                </button>
            </template>
            <template x-if="config.isProductAddToCartBlockEnabled && !product.is_salable">
                <div class="w-auto justify-center text-sm text-left">
                    <span class="inline-block w-3 h-3 bg-red-500 rounded-full flex-shrink-0"></span>
                    <span class="text-sm bg-container-darker text-left">Out of stock</span>
                </div>
            </template>
                    </div>
    </div>
</div>
        </template>
    </div>
</div>
                        </template>

                        <div class="p-4 box-border w-full h-full flex" x-show="noResultsFound && !errorMessage" x-cloak>
                            <div class="flex justify-center content-center flex-row items-center flex-wrap align-center
                                 w-full h-full max-h-[90vh] text-center text-xl word-break bg-container-darker"
                                 x-html="'😔 We could not find anything for&nbsp;<strong>%1</strong>'.replace('%1', latestQuery)">
                            </div>
                        </div>

                        <div class="p-4 box-border w-full h-full flex" x-show="noResultsFound && errorMessage" x-cloak>
                            <div
                                class="text-center flex align-center w-full text-xl justify-center content-center flex-row bg-container-darker items-center flex-wrap h-full max-h-[90vh] word-break"
                                x-html="errorMessage">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </template>
    </div>
</div>
            </div>
        </div>
    </div>

        <div class="relative -z-10">
            </div>

        <script>
    function initCartDrawer() {
        return {
            open: false,
            isLoading: false,
            cart: {},
            maxItemsToDisplay: 10,
            itemsCount: 0,
            getData(data) {
                if (data.cart) {
                    this.cart = data.cart;
                    this.itemsCount = data.cart.items && data.cart.items.length || 0;
                    this.setCartItems();
                }
                this.isLoading = false;
            },
            cartItems: [],
            getItemCountTitle() {
                return hyva.strf('\u00250\u0020of\u0020\u00251\u0020products\u0020in\u0020cart\u0020displayed', this.maxItemsToDisplay, this.itemsCount)
            },
            setCartItems() {
                this.cartItems = this.cart.items && this.cart.items.sort((a, b) => b.item_id - a.item_id) || [];

                if (this.maxItemsToDisplay > 0) {
                    this.cartItems = this.cartItems.slice(0, parseInt(this.maxItemsToDisplay, 10));
                }
            },
            updateItemQty(form) {
                if (!form.action) {
                    return;
                }
                this.isLoading = true;
                const action = form.action;
                const formData = new FormData(form);
                formData.append('form_key', hyva.getFormKey());

                if (!formData.uenc) {
                    formData.append('uenc', hyva.getUenc());
                }

                fetch(action, {
                    body: formData,
                    method: 'POST',
                    mode: "cors",
                    credentials: "include"
                }).then((result) => {
                    return result.text()
                }).then((content) => {
                    window.dispatchEvent(new CustomEvent("reload-customer-section-data"));
                }).catch((error) => {
                    window.dispatchMessages && window.dispatchMessages([{
                        type: 'error',
                        text: 'Something\u0020went\u0020wrong.\u0020Please\u0020try\u0020again.'
                    }]);
                }).finally(() => {
                    this.isLoading = false;
                })
            },
            deleteItemFromCart(itemId) {
                this.isLoading = true;

                const formKey = hyva.getFormKey();
                const postUrl = BASE_URL + 'checkout/sidebar/removeItem/';

                fetch(postUrl, {
                    "headers": {
                        "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
                    },
                    "body": `form_key=${formKey}&item_id=${itemId}`,
                    "method": "POST",
                    "mode": "cors",
                    "credentials": "include"
                }).then(response => {
                    if (response.redirected) {
                        window.location.href = response.url;
                    } else if (response.ok) {
                        return response.json();
                    } else {
                        window.dispatchMessages && window.dispatchMessages([{
                            type: 'warning',
                            text: 'Could\u0020not\u0020remove\u0020item\u0020from\u0020quote.'
                        }]);
                        this.isLoading = false;
                    }
                }).then(result => {
                    window.dispatchMessages && window.dispatchMessages([{
                        type: result.success ? 'success' : 'error',
                        text: result.success
                            ? 'You\u0020removed\u0020the\u0020item.'
                            : result.error_message
                    }], result.success ? 5000 : 0)
                    window.dispatchEvent(new CustomEvent('reload-customer-section-data'));
                });
            },
            scrollLock(use = true) {
                document.body.style.overflow = use ? "hidden" : "";
            },
            toggleCartDrawer(event) {
                if (event.detail && event.detail.isOpen !== undefined) {
                    if (event.detail.isOpen) {
                        this.openCartDrawer();
                    } else {
                        this.open = false;
                        this.scrollLock(false);
                        this.$refs && this.$refs.cartDialogContent && hyva.releaseFocus(this.$refs.cartDialogContent);
                    }
                } else {
                                        this.openCartDrawer()
                }
            },
            openCartDrawer() {
                this.open = true;
                this.scrollLock(true);
                this.$nextTick(() => {
                    this.$refs && this.$refs.cartDialogContent && hyva.trapFocus(this.$refs.cartDialogContent)
                })
            },
            closeCartDrawer() {
                this.$dispatch('toggle-cart', { isOpen: false })
            },
            getSectionDataExtraActions() {
                if (!this.cart.extra_actions) {
                    return '';
                }

                const contentNode = document.createElement('div');
                contentNode.innerHTML = this.cart.extra_actions;

                hyva.activateScripts(contentNode);

                return contentNode.innerHTML;
            },
            isSingleQuantityProduct(productTypeLabel) {
                switch (productTypeLabel) {
                    case 'subscription':
                    case 'pdf-patterns':
                    case 'e-magazine':
                        return true;
                    default:
                        return false;
                }
            }
        }
    }

    document.addEventListener('alpine:init', () => {
        Alpine.data('initOptionsCollapsible', () => ({
            open: false,
            toggle() {
                this.open = !this.open;
            },
            close() {
                this.open = false;
            },
            get chevronClasses() {
                return { 'rotate-180': this.open };
            },
        }));
    });
</script>

<section x-cloak
         x-show="cart"
         id="cart-drawer"
         x-data="initCartDrawer"
         @private-content-loaded.window="getData($event.detail.data)"
         @toggle-cart.window="toggleCartDrawer($event)"
         @keydown.escape="closeCartDrawer"
>
    <div role="dialog"
         aria-labelledby="cart-drawer-title"
         aria-modal="true"
         :aria-hidden="!open"
         class="fixed inset-y-0 right-0 z-30 flex max-w-full">
        <div class="backdrop"
             x-show="open"
             x-transition:enter="ease-in-out duration-500"
             x-transition:enter-start="opacity-0"
             x-transition:enter-end="opacity-100"
             x-transition:leave="ease-in-out duration-500"
             x-transition:leave-start="opacity-100"
             x-transition:leave-end="opacity-0"
             role="button"
             @click="closeCartDrawer"
             aria-label="Close&#x20;minicart"></div>
        <div class="relative w-screen max-w-md shadow-2xl"
             x-show="open"
             x-transition:enter="transform transition ease-in-out duration-500 sm:duration-700"
             x-transition:enter-start="translate-x-full"
             x-transition:enter-end="translate-x-0"
             x-transition:leave="transform transition ease-in-out duration-500 sm:duration-700"
             x-transition:leave-start="translate-x-0"
             x-transition:leave-end="translate-x-full"
             x-ref="cartDialogContent"
             role="region"
             :tabindex="open ? 0 : -1"
             aria-label="My&#x20;Cart"

        >
            <div class="flex flex-col h-full max-h-screen bg-container shadow-xl">
                
                <header class="relative px-4 py-6 sm:px-6">
                    <p id="cart-drawer-title" class="text-lg leading-7 text-primary title">
                        <strong>My Cart</strong>
                        <span class="items-total text-xs"
                              x-show="maxItemsToDisplay && maxItemsToDisplay < itemsCount"
                              x-text="getItemCountTitle()">
                        </span>
                    </p>
                </header>

                
                <template x-if="!itemsCount">
                    <div class="relative px-4 py-6 bg-container border-bs sm:px-6 border-container">
                        Cart is empty                    </div>
                </template>

                <template x-if="itemsCount">
                    <div class="relative grid gap-6 sm:gap-8 px-1 py-3 sm:px-3 bg-container border-b border-container overflow-y-auto overscroll-y-contain">
                        <template x-for="item in cartItems">
                            <div class="flex items-start p-3 space-x-4 transition duration-150 ease-in-out rounded-lg hover:bg-container-darker">
                                <a :href="item.product_url"
                                   class="w-1/4"
                                   :aria-label="hyva.strf('Product\u0020\u0022\u00250\u0022', item.product_name)"
                                >
                                    <img
                                        :src="item.product_image.src"
                                        :width="item.product_image.width"
                                        :height="item.product_image.height"
                                        loading="lazy"
                                        alt=""
                                    />
                                </a>
                                <div class="w-3/4 space-y-2">
                                    <div>
                                        <p class="text-primary font-semibold">
                                            <span x-html="item.qty"></span> x <span x-html="item.product_name"></span>
                                        </p>
                                        <p class="text-sm"><span x-html="item.product_sku"></span></p>
                                    </div>

                                                                        <template x-if="item.options.length">
                                        <div x-data="initOptionsCollapsible"
                                             x-defer="intersect">
                                            <button
                                                type="button"
                                                @click="toggle"
                                                @click.outside="close"
                                                class="flex justify-between items-center cursor-pointer text-primary-lightest border-container"
                                                :aria-expanded="open"
                                            >
                                                <span class="text-sm font-light">
                                                    See Details                                                </span>
                                                <span class="pl-1">
                                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="transition-transform" width="12" height="12" :class="chevronClasses" aria-hidden="true" focusable="false">
  <path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7"/>
</svg>
                                                </span>
                                            </button>

                                            <template x-if="open">
                                                <template x-for="option in item.options">
                                                    <div class="pt-2">
                                                        <p class="font-semibold" x-text="option.label + ':'"></p>
                                                        <template x-if="Array.isArray(option.value)">
                                                            <template x-for="(pdf, index) in option.value" :key="index">
                                                                <p x-text="pdf"></p>
                                                            </template>
                                                        </template>
                                                        <template x-if="!Array.isArray(option.value)">
                                                            <p x-text="option.value"></p>
                                                        </template>
                                                    </div>
                                                </template>
                                            </template>
                                        </div>
                                    </template>

                                    <p><span x-html="item.product_price"></span></p>

                                    <div class="flex items-center">
                                        <template x-if="!isSingleQuantityProduct(item.ca_product_type)">
                                            <div class="flex">
                                                <form
                                                    action="https://www.burdastyle.com/checkout/cart/updatePost/"
                                                    x-data="{
                                                    initQty: item.qty,
                                                    itemQty: item.qty,
                                                    prevQty: item.qty,
                                                    updateQty() {
                                                        const submitEvent = new Event('submit', { cancelable: true });
                                                        this.$root.dispatchEvent(submitEvent);
                                                    },
                                                    setQtyDefaults() {
                                                        this.initQty = item.qty;
                                                        this.itemQty = item.qty;
                                                        this.prevQty = item.qty;
                                                    }
                                                }"
                                                    @submit.prevent="updateItemQty($event.target);"
                                                    x-init="$watch('item.qty', () => setQtyDefaults());"
                                                    method="post"
                                                    class="form form-cart flex gap-1"
                                                >
                                                    <input name="form_key" type="hidden" value="ccS63cPMqdfunvF7" />
                                                    <button
                                                        type="button"
                                                        @click="itemQty <= 0 ? itemQty = 0 : itemQty--"
                                                        @click.debounce.1000ms="updateQty($event);"
                                                        class="btn p-3 rounded text-primary bg-transparent hover:bg-container-darker active:bg-container-darker"
                                                    >
                                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="20" height="20" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M20 12H4"/>
</svg>
                                                    </button>
                                                    <label class="mb-0">
                                                        <span class="sr-only">Qty</span>
                                                        <input
                                                            type="number"
                                                            class="qty border-primary shadow-none [-moz-appearance:textfield]
                                                            form-input py-2.5 px-3.5 w-16 text-center [&::-webkit-inner-spin-button]:hidden"
                                                            required
                                                            min="0"
                                                            step="any"
                                                            x-model.number="itemQty"
                                                            :id="`minicart-${item.item_id}-qty`"
                                                            :name="`cart[${item.item_id}][qty]`"
                                                            @change.debounce.1000ms="updateQty($event)"
                                                        >
                                                    </label>

                                                    <button
                                                        type="button"
                                                        @click="itemQty++"
                                                        @click.debounce.1000ms="updateQty($event);"
                                                        class="btn p-3 rounded text-primary bg-transparent hover:bg-container-darker active:bg-container-darker"
                                                    >
                                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="20" height="20" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M12 4v16m8-8H4"/>
</svg>
                                                    </button>
                                                </form>
                                            </div>
                                        </template>

                                        <button type="button"
                                                class="p-2 lg:p-1 btn-secondary min-h-fit aspect-square grid place-items-center"
                                                @click="deleteItemFromCart(item.item_id)"
                                                title="Remove"
                                                :aria-label="hyva.strf('Remove\u0020product\u0020\u0022\u00250\u0022\u0020from\u0020cart', item.product_name)"
                                        >
                                            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="18" height="18" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </template>
                    </div>
                </template>

                <template x-if="itemsCount">
                    <div>
                        
                        <div class="relative grid gap-6 py-3 px-1 sm:px-3 bg-container">
                            <div class="w-full p-3 space-x-4 transition duration-150 ease-in-out rounded-lg font-semibold">
                                <p>Subtotal: <span x-html="cart.subtotal"></span></p>
                            </div>
                            <div class="w-full p-3 space-y-4 flex flex-col items-center transition duration-150 ease-in-out rounded-lg">
                                <a @click.prevent.stop="closeCartDrawer; $dispatch('toggle-authentication',
                                    {url: 'https://www.burdastyle.com/checkout/'});"
                                   href="https://www.burdastyle.com/checkout/"
                                   class="inline-flex btn btn-primary"
                                >
                                    Checkout                                </a>
                                <a href="https://www.burdastyle.com/checkout/cart/"
                                   class="underline"
                                >
                                    View and Edit Cart                                </a>
                            </div>
                            <div x-html="getSectionDataExtraActions()"></div>
                                                    </div>
                    </div>
                </template>

                <script>
    function prepareMollieApplePayMinicart() {
        const objectToFormData = (object, prefix = null, formDataObject = null) => {
            const formData = formDataObject || new FormData();
            Object.keys(object).forEach(key => {
                const value = object[key];
                const name = prefix ? `${prefix}[${key}]` : key;
                if (value instanceof Object) {
                    objectToFormData(value, name, formData);
                } else {
                    formData.append(name, value);
                }
            });

            return new URLSearchParams(formData).toString();
        };

        return {
            totalAmount: 0,

            init: () => {
                // Normally we would use private-content-loaded to get this information, but this component is
                // rendered after this event has been dispatched. So get the information from the browser storage.
                const browserStorage = hyva.getBrowserStorage();
                if (browserStorage) {
                    const cacheStorage = browserStorage.getItem('mage-cache-storage');
                    const cart = JSON.parse(cacheStorage).cart;

                    this.totalAmount = cart.subtotalAmount;
                }

                window.addEventListener('private-content-loaded', event => {
                    this.totalAmount = event.detail.data.cart.subtotalAmount
                })
            },

            pay: () => {
                const amount = this.totalAmount;
                let countryCode, postalCode, shippingMethods, selectedShippingMethod, quoteTotals;

                const request = {
                    countryCode: "FR",
                    currencyCode: "USD",
                    supportedNetworks: ["amex","masterCard","visa","maestro","vPay"],
                    merchantCapabilities: ['supports3DS'],
                    total: {
                        label: "BURDA\u002DSTYLE.COM",
                        amount: amount
                    },
                    shippingType: 'shipping',
                    requiredBillingContactFields: [
                        'postalAddress',
                        'name',
                        'email',
                        'phone'
                    ],
                    requiredShippingContactFields: [
                        'postalAddress',
                        'name',
                        'email',
                        'phone'
                    ]
                }

                let session = new ApplePaySession(3, request);

                const getTotal = () => {
                    const total = quoteTotals.find(item => item.code === 'grand_total') || quoteTotals[quoteTotals.length - 1];

                    total.label = "BURDA\u002DSTYLE.COM";

                    const payload = { total };
                    window.dispatchEvent(new CustomEvent('mollie-applepay-total', {
                        detail: payload,
                    }));

                    return payload.total;
                };

                const getLineItems = () => {
                    let totals = [...quoteTotals];
                    totals = totals.filter(item => item.code !== 'grand_total');

                    const payload = { lineItems: totals };
                    window.dispatchEvent(new CustomEvent('mollie-applepay-lineitems', {
                        detail: payload,
                    }));

                    return payload.lineItems;
                };

                const handleAjaxError = (message) => {
                    session.abort();

                    dispatchMessages([
                        {
                            text: message,
                            type: 'error'
                        }
                    ]);
                };

                session.onpaymentmethodselected = () => {
                    session.completePaymentMethodSelection(getTotal(), []);
                };

                session.onshippingcontactselected = (event) => {
                    countryCode = event.shippingContact.countryCode;
                    postalCode = event.shippingContact.postalCode;

                    fetch(`${BASE_URL}mollie/applePay/shippingMethods?form_key=${hyva.getFormKey()}`, {
                        method: 'POST',
                        headers: {
                            'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
                        },
                        body: 'countryCode=' + event.shippingContact.countryCode +
                            '&postalCode=' + event.shippingContact.postalCode
                    })
                        .then(response => {
                            if (!response.ok) {
                                throw new Error('Network response was not ok');
                            }
                            return response.json();
                        })
                        .then(result => {
                            shippingMethods = result.shipping_methods;
                            selectedShippingMethod = result.shipping_methods[0];
                            quoteTotals = result.totals;

                            session.completeShippingContactSelection(
                                ApplePaySession.STATUS_SUCCESS,
                                result.shipping_methods,
                                getTotal(),
                                getLineItems()
                            );
                        })
                        .catch(error => handleAjaxError(error));
                };

                session.onshippingmethodselected = (event) => {
                    selectedShippingMethod = event.shippingMethod;

                    fetch(`${BASE_URL}mollie/applePay/shippingMethods?form_key=${hyva.getFormKey()}`, {
                        method: 'POST',
                        headers: {
                            'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
                        },
                        body: objectToFormData({
                            shippingMethod: selectedShippingMethod,
                            countryCode: countryCode,
                            postalCode: postalCode
                        })
                    })
                        .then(response => {
                            if (!response.ok) {
                                throw new Error('Network response was not ok');
                            }
                            return response.json();
                        })
                        .then(result => {
                            quoteTotals = result.totals;

                            session.completeShippingMethodSelection(
                                ApplePaySession.STATUS_SUCCESS,
                                getTotal(),
                                getLineItems()
                            );
                        })
                        .catch(error => handleAjaxError(error));
                };

                session.onpaymentauthorized = (event) => {
                    fetch(`${BASE_URL}mollie/applePay/placeOrder?form_key=${hyva.getFormKey()}`, {
                        method: 'POST',
                        headers: {
                            'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
                        },
                        body: objectToFormData({
                            shippingMethod: selectedShippingMethod,
                            billingAddress: event.payment.billingContact,
                            shippingAddress: event.payment.shippingContact,
                            applePayPaymentToken: JSON.stringify(event.payment.token)
                        })
                    })
                        .then(response => {
                            if (!response.ok) {
                                throw new Error('Network response was not ok');
                            }
                            return response.json();
                        })
                        .then(result => {
                            if (!session) {
                                console.warn('Payment canceled');
                                return;
                            }

                            if (result.error) {
                                handleAjaxError(result.error_message);
                                return;
                            }

                            if (!result.url) {
                                handleAjaxError('Something went wrong, please try again later.');
                                return;
                            }

                            session.completePayment(ApplePaySession.STATUS_SUCCESS);

                            window.dispatchEvent(new CustomEvent("reload-customer-section-data"));

                            setTimeout(() => {
                                location.href = result.url;
                            }, 1000);
                        })
                        .catch(error => handleAjaxError(error));
                };

                session.onvalidatemerchant = (event) => {
                    fetch(
                        `${BASE_URL}mollie/checkout/applePayValidation?form_key=${hyva.getFormKey()}`,
                        {
                            method: 'POST',
                            headers: {
                                'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
                            },
                            body: objectToFormData({validationURL: event.validationURL}),
                        }
                    )
                        .then((response) => {
                            if (!response.ok) {
                                throw new Error('Merchant validation failed');
                            }

                            return response.json()
                        })
                        .then((result) => session.completeMerchantValidation(result))
                        .catch(error => handleAjaxError(error));
                };

                session.oncancel = () => {
                    session = null;
                }

                session.begin();
            }
        }
    }

    window.addEventListener(
        'alpine:init',
        () => Alpine.data('prepareMollieApplePayMinicart', prepareMollieApplePayMinicart),
        {once: true}
    )
</script>
            </div>

            <button
                type="button"
                @click="closeCartDrawer"
                aria-label="Close&#x20;minicart"
                class="absolute top-0 right-2 p-4 mt-2 text-primary transition-colors hover:text-secondary"
            >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
            </button>
        </div>
        <div class="flex flex-row justify-center items-center w-full h-full fixed select-none z-50"
     style="left: 50%;top: 50%;transform: translateX(-50%) translateY(-50%);background: rgba(255,255,255,0.7);"
     x-show="isLoading"
     x-transition:enter="ease-out duration-200"
     x-transition:enter-start="opacity-0"
     x-transition:enter-end="opacity-100"
     x-transition:leave="ease-in duration-200"
     x-transition:leave-start="opacity-100"
     x-transition:leave-end="opacity-0">
    <!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 57 57" stroke="currentColor" class="text-primary" width="57" height="57" role="img">
    <g fill="none" fill-rule="evenodd">
        <g transform="translate(1 1)" stroke-width="2">
            <circle cx="5" cy="50" r="5">
                <animate attributeName="cy" begin="0s" dur="2.2s" values="50;5;50;50" calcMode="linear" repeatCount="indefinite"/>
                <animate attributeName="cx" begin="0s" dur="2.2s" values="5;27;49;5" calcMode="linear" repeatCount="indefinite"/>
            </circle>
            <circle cx="27" cy="5" r="5">
                <animate attributeName="cy" begin="0s" dur="2.2s" from="5" to="5" values="5;50;50;5" calcMode="linear" repeatCount="indefinite"/>
                <animate attributeName="cx" begin="0s" dur="2.2s" from="27" to="27" values="27;49;5;27" calcMode="linear" repeatCount="indefinite"/>
            </circle>
            <circle cx="49" cy="50" r="5">
                <animate attributeName="cy" begin="0s" dur="2.2s" values="50;50;5;50" calcMode="linear" repeatCount="indefinite"/>
                <animate attributeName="cx" from="49" to="49" begin="0s" dur="2.2s" values="49;5;27;49" calcMode="linear" repeatCount="indefinite"/>
            </circle>
        </g>
    </g>
<title>loader</title></svg>
    <div class="ml-10 text-primary text-xl">
        Loading...    </div>
</div>
    </div>
</section>
        <script>
    function initAuthentication() {
        return {
            open: false,
            forceAuthentication: false,
            checkoutUrl: 'https://www.burdastyle.com/checkout/index/',
            errors: 0,
            hasCaptchaToken: 0,
            displayErrorMessage: false,
            errorMessages: [],
            setErrorMessages: function setErrorMessages(messages) {
                this.errorMessages = [messages];
                this.displayErrorMessage = this.errorMessages.length;
            },
            submitForm: function () {
                // Do not rename $form, the variable is expected to be declared in the recaptcha output
                const $form = document.querySelector('#login-form');
                
                if (this.errors === 0) {
                    this.dispatchLoginRequest($form);
                }
            },
            onPrivateContentLoaded: function (data) {
                const isLoggedIn = data.customer && data.customer.firstname;
                if (data.cart && !isLoggedIn) {
                    this.forceAuthentication = !data.cart.isGuestCheckoutAllowed;
                }
            },
            redirectIfAuthenticated: function (event) {
                if (event.detail && event.detail.url) {
                    this.checkoutUrl = event.detail.url;
                }
                if (!this.forceAuthentication) {
                    window.location.href = this.checkoutUrl;
                }
            },
            dispatchLoginRequest: function(form) {
                this.isLoading = true;
                const username = this.$refs['customer-email'].value;
                const password = this.$refs['customer-password'].value;
                const formKey = hyva.getFormKey();
                const bodyFields = {
                    'username': username,
                    'password': password,
                    'formKey': formKey
                };
                                const fieldName = 'g\u002Drecaptcha\u002Dresponse';
                const recaptchaField = fieldName && form[fieldName];
                if (recaptchaField) {
                    bodyFields[fieldName] = recaptchaField.value;
                }
                fetch('https://www.burdastyle.com/customer/ajax/login/', {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json',
                            'X-Requested-With': 'XMLHttpRequest'
                        },
                        body: JSON.stringify(bodyFields)
                    }
                ).then(response => {
                        return response.json()
                    }
                ).then(data=> {
                    this.isLoading = false;
                    if (data.errors) {
                        dispatchMessages([{
                            type: 'error',
                            text: data.message
                        }], 5000);
                        this.errors = 1;
                        this.hasCaptchaToken = 0;
                    } else {
                        window.location.href = this.checkoutUrl;
                    }
                });
            }
        }
    }
</script>

<section id="authentication-popup"
         x-data="initAuthentication"
         @private-content-loaded.window="onPrivateContentLoaded($event.detail.data)"
         @toggle-authentication.window="open = forceAuthentication; redirectIfAuthenticated(event)"
         @keydown.window.escape="open = false"
>
    <div
        class="backdrop"
        aria-hidden="true"
        x-cloak
        x-show="open"
        x-transition:enter="ease-in-out duration-500"
        x-transition:enter-start="opacity-0"
        x-transition:enter-end="opacity-100"
        x-transition:leave="ease-in-out duration-500"
        x-transition:leave-start="opacity-100"
        x-transition:leave-end="opacity-0"
        @click="open = false"
    ></div>
    <div role="dialog"
         aria-modal="true"
         @click.outside="open = false"
         class="inset-y-0 right-0 z-30 flex max-w-full fixed"
         x-cloak
         x-show="open"
    >
        <div class="relative w-screen max-w-md pt-16 bg-container-lighter"
             x-show="open"
             x-cloak=""
             x-transition:enter="transform transition ease-in-out duration-500 sm:duration-700"
             x-transition:enter-start="translate-x-full"
             x-transition:enter-end="translate-x-0"
             x-transition:leave="transform transition ease-in-out duration-500 sm:duration-700"
             x-transition:leave-start="translate-x-0"
             x-transition:leave-end="translate-x-full"
        >
            <div
                x-show="open"
                x-cloak=""
                x-transition:enter="ease-in-out duration-500"
                x-transition:enter-start="opacity-0"
                x-transition:enter-end="opacity-100"
                x-transition:leave="ease-in-out duration-500"
                x-transition:leave-start="opacity-100"
                x-transition:leave-end="opacity-0" class="absolute top-0 right-2 flex p-2 mt-2">
                <button
                    type="button"
                    @click="open = false;"
                    aria-label="Close&#x20;panel"
                    class="p-2 text-gray-300 transition duration-150 ease-in-out hover:text-black"
                >
                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="24" height="24" role="img">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
<title>Close panel</title></svg>
                </button>
            </div>
            <template x-if="open">
                <div class="flex flex-col h-full py-6 space-y-6 bg-white shadow-xl overflow-y-auto">
                    <div class="block-customer-login bg-container border border-container mx-4 p-4 shadow-sm">
                        <p id="authenticate-customer-login" class="leading-7 text-gray-900">
                            <strong class="font-medium">Checkout using your account</strong>
                        </p>

                        <form class="form form-login"
                              method="post"
                              @submit.prevent="submitForm();"
                              id="login-form"
                        >
                                                        <div class="fieldset login">
                                <div class="field email required">
                                    <label class="label" for="form-login-username" form="login-form" >
                                        <span>Email Address</span>
                                    </label>
                                    <div class="control">
                                        <input name="username"
                                               id="form-login-username"
                                               x-ref="customer-email"
                                               @change="errors = 0"
                                               type="email"
                                               required
                                               autocomplete="off"
                                               class="form-input input-text"
                                        >
                                    </div>
                                </div>
                                <div class="field password required">
                                    <label for="form-login-password" class="label" form="login-form">
                                        <span>Password</span>
                                    </label>
                                    <div class="control">
                                        <input name="password"
                                               id="form-login-password"
                                               type="password"
                                               class="form-input input-text"
                                               required
                                               x-ref="customer-password"
                                               autocomplete="off"
                                               @change="errors = 0"
                                        >
                                    </div>
                                </div>

                                <input name="context" type="hidden" value="checkout" />
                                <div class="actions-toolbar flex justify-between pt-6 pb-2 items-center">
                                    <button type="submit"                                            class="inline-flex btn btn-primary disabled:opacity-75"
                                    >
                                        Sign In                                    </button>
                                    <a href="https://www.burdastyle.com/customer/account/forgotpassword/"
                                    >
                                        Forgot Your Password?                                    </a>
                                </div>

                            </div>
                        </form>
                    </div>
                    <div class="mx-4">
                                            </div>
                    <div class="block-new-customer bg-container border border-container mx-4 p-4 shadow-sm">
                        <p id="authenticate-new-customer" class="mb-2 leading-7 text-gray-900">
                            <strong class="font-medium">Checkout as a new customer</strong>
                        </p>

                        <div class="block-content">
                            <p class="mb-1">
                                Creating an account has many benefits:                            </p>
                            <ul class="list-disc pl-5">
                                <li> See order and shipping status</li>
                                <li> Track order history</li>
                                <li> Check out faster</li>
                            </ul>
                            <div class="actions-toolbar flex justify-between mt-6 mb-2 items-center">
                                <a href="https://www.burdastyle.com/customer/account/create/"
                                   class="inline-flex btn btn-primary">
                                    Create an Account                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </template>
        </div>
    </div>
</section>
</div>
</header><div class="top-container container">    <nav class="breadcrumbs" aria-label="Breadcrumb">
        <ol class="items list-reset py-6 rounded flex flex-wrap text-primary-lightest text-sm">
                            <li class="item flex home">
                                                                <a href="https://www.burdastyle.com/"
                           class="no-underline"
                           title="Go&#x20;to&#x20;Home&#x20;Page"
                        >Home</a>
                                    </li>
                            <li class="item flex category264">
                                            <span aria-hidden="true" class="separator text-primary-lighter px-2">/</span>
                                                                <span
                            class="text-primary-lighter"
                            aria-current="page"
                        >Videos</span>
                                    </li>
                    </ol>
    </nav>
</div><main id="maincontent" class="page-main"><div id="contentarea" tabindex="-1"></div>
<div class="page messages"><script>
        function initMessages() {
        "use strict";
        return {
            messages: window.mageMessages || [],
            isEmpty() {
                return this.messages.reduce(
                    function (isEmpty, message) {
                        return isEmpty && message === undefined
                    }, true
                )
            },
            hasMessages() {
                return !this.isEmpty();
            },
            hasMessage() {
                return !!this.message;
            },
            removeMessage() {
                this.messages[this.index] = undefined;
            },
            addMessages(messages, hideAfter) {
                messages.map((message) => {
                    this.messages = this.messages.concat(message);
                    if (hideAfter === undefined && message.type === 'success' && window.defaultSuccessMessageTimeout) {
                        hideAfter = window.defaultSuccessMessageTimeout;
                    }
                    if (hideAfter) {
                        this.setHideTimeOut(this.messages.length -1, hideAfter);
                    }
                });
            },
            setHideTimeOut(messageIndex, hideAfter) {
                setTimeout((messageIndex) => {
                    this.messages[messageIndex] = undefined;
                }, hideAfter, messageIndex);
            },
            eventListeners: {
                ['@messages-loaded.window'](event) {
                    this.addMessages(event.detail.messages, event.detail.hideAfter)
                },
                ['@private-content-loaded.window'](event) {
                    const data = event.detail.data;
                    if (
                        data.messages &&
                        data.messages.messages &&
                        data.messages.messages.length
                    ) {
                        this.addMessages(data.messages.messages);
                    }
                },
                ['@clear-messages.window']() {
                    this.messages = [];
                }
            }
        }
    }

    window.addEventListener('alpine:init', () => Alpine.data('initMessages', initMessages), {once: true})
</script>
<section id="messages"
         x-data="initMessages"
         x-bind="eventListeners"
         aria-live="assertive"
         class="container fixed top-[var(--header-height)] left-1/2 -translate-x-1/2 mx-auto py-3 z-20 transition transition-[top] pointer-events-none"
         role="alert"
>
    <template x-if="hasMessages">
        <div class="w-full">
            <div class="messages my-4 p-2">
                <template x-for="(message, index) in messages" :key="index">
                    <div class="pointer-events-auto">
                        <template x-if="hasMessage">
                            <div class="message flex items-center justify-between w-full p-2 pl-5 bg-container text-primary-darker shadow rounded mb-2 [&_a]:underline"
                                 :class="message.type"
                                 :ui-id="'message-' + message.type"
                            >
                                <span x-html="message.text"></span>
                                <button
                                    type="button"
                                    aria-label="Close message"
                                    @click.prevent="removeMessage"
                                >
                                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="stroke-current" width="18" height="18" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
                                </button>
                            </div>
                        </template>
                    </div>
                </template>
            </div>
        </div>
    </template>
</section>
</div>    <div class="container&#x20;flex&#x20;flex-col&#x20;md&#x3A;flex-row&#x20;flex-wrap&#x20;my-4&#x20;font-bold&#x20;max-lg&#x3A;text-center&#x20;justify-start&#x20;text-4xl&#x20;mb-4">
        <h1 class="md:text-xxl"
            >
            <span class="base" data-ui-id="page-title-wrapper" >Videos</span>        </h1>
            </div>
<div class="container columns"><aside class="sidebar sidebar-main relative">
<div x-cloak
     x-data="dataShowButton()"
     x-init="initShowButton()"
     x-spread="eventListeners"
     x-bind="eventListeners"
          x-show="$store.isMobile ? (submitFiltersMobile && showButton) : (submitFiltersDesktop && showButton)"
>
    <template x-if="$store.isMobile ? !submitFiltersMobile : !submitFiltersDesktop">
        <div>
            <form data-amshopby-filter="">
                <input type="hidden"
                       name="amasty_shopby_replace_url"
                       value="1"/>
            </form>
        </div>
    </template>
    

    <div class="am_shopby_apply_filters bottom-0 md:bottom-auto z-100
        -mt-3 left-0 w-full md:w-auto fixed md:absolute md:-mt-4 md:ml-6">
        <div class="am-show-button flex items-center shadow-lg md:rounded-lg bg-white p-2 relative">
            <svg
                    class="w-8 h-8 text-white fill-current stroke-current absolute -m-4 hidden md:block"
                    :class="{'z-0 bottom-px left-2/4': buttonPosition === 'top', 'z-10': buttonPosition === 'sidebar'}"
                    width="12"
                    height="12"
            >
                <rect x="12" y="0" width="12" height="12" transform="rotate(45)" class="shadow-xl" />
            </svg>

            <div class="flex items-center justify-center">
                <svg
                        width="18"
                        height="18"
                        viewBox="0 0 38 38"
                        xmlns="http://www.w3.org/2000/svg"
                        stroke="#1D4ED8"
                        x-show="!itemsCount"
                        class="mx-4"
                >
                    <g fill="none" fill-rule="evenodd">
                        <g transform="translate(1 1)" stroke-width="2">
                            <circle stroke-opacity=".5" cx="18" cy="18" r="18"/>
                            <path d="M36 18c0-9.94-8.06-18-18-18">
                                <animateTransform
                                        attributeName="transform"
                                        type="rotate"
                                        from="0 18 18"
                                        to="360 18 18"
                                        dur="1s"
                                        repeatCount="indefinite"/>
                            </path>
                        </g>
                    </g>
                </svg>
                <span class="am-items font-regular text-gray-900 mx-2 whitespace-nowrap"
                      x-html="itemsCount" x-show="!!itemsCount"></span>
            </div>
            <button amshopby-apply-filter="1"
                    id="amasty_shopby_apply_filters_69c27b565377f"
                    title="Apply&#x20;Filters"
                    aria-label="Apply&#x20;Filters"
                    class="amshopby-button btn btn-primary relative focus:outline-black"
                    @click="applyFilter"
                    :disabled="!showButton"
            >
                Apply            </button>
        </div>
    </div>

    <script>
        function dataShowButton() {
            return {
                ajaxEnabled: 1,
                navigationSelector: '.sidebar',
                clearUrl: 'https://www.burdastyle.com/videos',
                buttonPosition: 'sidebar',
                element: null,
                showButton: false,
                itemsCount: '',
                button: '.am_shopby_apply_filters',
                reset: true,
                                submitFiltersMobile: 1,
                submitFiltersDesktop: 0,
                
                initShowButton() {
                    window.onresize = () => {
                        if (window.innerWidth > 767) {
                            this.showButton = false;
                        }
                    };

                    document.addEventListener('scroll', (event) => {
                        if (this.element && this.showButton) {
                            this.changePositionOnScroll();
                        }
                    });
                },

                applyFilter(e) {
                    window.dispatchEvent(new CustomEvent('amApplyButton', {
                        detail: {
                            element: e.target,
                            navigationSelector: this.navigationSelector
                        }
                    }));
                },

                setButtonPosition() {
                    const button = document.querySelector(this.button);
                    this.buttonPosition = 'sidebar';

                    if (document.body.clientWidth > 767) {
                        const section = document.querySelector(this.navigationSelector),
                            elementTop = this.offsetTop(this.element),
                            sectionTop = this.offsetTop(section),
                            elementTopPos = elementTop - sectionTop,
                            flyout = this.element.closest('.flyout-element');
                        let sectionWidth = section.offsetWidth;

                        if (flyout && flyout.closest('ul.items-children')) {
                            sectionWidth = sectionWidth + flyout.closest('ul.items-children').offsetWidth;
                        }

                        if (this.element.closest('.amasty-catalog-topnav')) {
                            this.buttonPosition = 'top';
                            const content = this.element.closest('.filter-options-content'),
                                topnav = this.element.closest('.amasty-catalog-topnav'),
                                contentTop = this.offsetTop(content),
                                topnavTop = this.offsetTop(topnav),
                                rect = content.getBoundingClientRect();

                            button.style.top = (contentTop - topnavTop - 90)  + 'px';
                            button.style.left = (rect.left - (content.offsetWidth / 2))  + 'px';
                        } else {
                            button.style.top = elementTopPos + 'px';
                            button.style.left = sectionWidth + 'px';
                        }
                    } else {
                        button.style.top = 'auto';
                        button.style.left = '0';
                    }

                    this.showButton = true;
                },

                offsetTop(el) {
                    const rect = el.getBoundingClientRect(),
                        scrollTop = window.pageYOffset || document.documentElement.scrollTop;

                    return rect.top + scrollTop;
                },

                offsetLeft(el) {
                    const rect = el.getBoundingClientRect(),
                        scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;

                    return rect.left + scrollLeft;
                },

                changePositionOnScroll: function () {
                    if (this.showButton && document.body.clientWidth > 767) {
                        let element = this.element;
                        if (this.element.closest('.catalog-topnav')) {
                            element = this.element.closest('.catalog-topnav');
                        }

                        const self = this,
                            leftPosition = document.querySelectorAll('.sidebar-main'),
                            shopbyApply = document.querySelector(this.button),
                            buttonTop = parseFloat(shopbyApply.style.top),
                            buttonLeft = parseFloat(shopbyApply.style.left),
                            windowHeight = window.innerHeight,
                            buttonContainer = document.querySelector(self.button),
                            filterLeft = leftPosition.length ? self.offsetLeft(leftPosition[0]) : buttonTop,
                            filterWidth = leftPosition.length ?
                                leftPosition[0].getBoundingClientRect().width : windowHeight,
                            scrollTop = window.pageYOffset,
                            scrollBottom = this.offsetTop(element) - scrollTop,
                            shopbyApplyHeight = document.querySelector('.am-show-button').offsetHeight;

                        if (scrollTop <= this.offsetTop(element) - (windowHeight - shopbyApplyHeight)) {
                            buttonContainer.style.top = 'auto';
                            buttonContainer.style.bottom = '5px';

                            self.setButtonClasses(buttonContainer, filterLeft, filterWidth);
                            this.reset = true;
                        } else if (scrollBottom - shopbyApplyHeight <= 0) {
                            buttonContainer.style.bottom = 'auto';
                            buttonContainer.style.top = '20px';

                            self.setButtonClasses(buttonContainer, filterLeft, filterWidth);
                            this.reset = true;
                        } else if (buttonContainer.classList.contains('md:fixed')) {
                            if (this.reset) {
                                this.resetButtonPosition();
                                this.reset = false;
                            }

                            this.setButtonPosition();
                        }
                    }
                },

                resetButtonPosition() {
                    const buttonContainer = document.querySelector(this.button),
                        shopbyApply = document.querySelector(this.button),
                        buttonTop = parseFloat(shopbyApply.style.top),
                        buttonLeft = parseFloat(shopbyApply.style.left);

                    buttonContainer.classList.remove(
                        'md:ml-0',
                        'md:fixed',
                        'transition-all',
                        'duration-300',
                        'ease-in-out'
                    );
                    buttonContainer.classList.add('md:ml-6','md:absolute');

                    buttonContainer.style.top = buttonTop;
                    buttonContainer.style.left = buttonLeft;
                    if (document.body.clientWidth > 767) {
                        buttonContainer.style.width = 'inherit';
                    } else {
                        buttonContainer.style.width = '100%';
                    }

                    buttonContainer.querySelector('svg').classList.add('md:block');
                },

                setButtonClasses(container, left, width) {
                    setTimeout(() => {
                        container.classList.remove('md:absolute', 'md:ml-6');
                        container.classList.add(
                            'md:fixed',
                            'md:ml-0',
                            'transition-all',
                            'duration-300',
                            'ease-in-out',
                            'delay-600'
                        );
                        container.style.left = left + 'px';
                        container.style.width = width + 'px';

                        container.querySelector('svg').classList.remove('md:block');
                    }, 0);
                },

                eventListeners: {
                    ['@amApplyButtonData.window'](event) {
                        let count = event.detail.count;
                        if (count !== 1) {
                            count = count + ' Items'
                        } else if (count === 1) {
                            count = count + ' Item'
                        }

                        this.itemsCount = count;
                        this.showButton = !event.detail.disabled;
                    },
                    ['@amSetButtonPosition.window'](event) {
                        this.element = event.detail.element;
                        this.resetButtonPosition();
                        this.setButtonPosition();

                        if (this.element.closest('.amasty-catalog-topnav')) {
                            this.changePositionOnScroll();
                        }
                    },
                    ['@amClearButtonText.window'](event) {
                        this.itemsCount = '';
                    }
                }
            }
        }
    </script>
</div></aside><div class="column main"><div class="flex flex-wrap">
                    <script>
            /* e.g. hyva theme */
            document.addEventListener('DOMContentLoaded', function(){
                var items =  document.getElementsByClassName('mfblogunveil');
                var el, url;
                if (items.length) {
                    for (var i=0; i<items.length;i++) {
                        el = items[i];
                        url = el.getAttribute('data-original');
                        if (!url) {
                            continue;
                        };
                        if ('IMG' == el.tagName) {
                            el.src = url;
                        } else {
                            el.style.backgroundImage = "url('" + url  + "')";
                        }
                    }
                }
            });
        </script>
    <div id="amasty-shopby-product-list"
                        x-data="shopBy()"
                        x-init="initShopBy()"
                        x-bind="eventListeners"
                        x-spread="eventListeners">    <div class="message info empty">
        <div>
            We can&#039;t find products matching the selection.        </div>
    </div>
<div class="flex flex-row justify-center items-center w-full h-full absolute select-none z-5 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-opacity-70 bg-white"
     x-show="isLoading"
     x-cloak
     x-transition:enter="ease-out duration-200"
     x-transition:enter-start="opacity-0"
     x-transition:enter-end="opacity-100"
     x-transition:leave="ease-in duration-200"
     x-transition:leave-start="opacity-100"
     x-transition:leave-end="opacity-0">
    <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 50 50">
        <path fill="#d9dddd"
              d="M43.935 25.145c0-10.318-8.364-18.683-18.683-18.683-10.318 0-18.683 8.365-18.683 18.683h4.068c0-8.071 6.543-14.615 14.615-14.615s14.615 6.543 14.615 14.615h4.068z">
            <animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 25 25" to="360 25 25"
                              dur="0.6s" repeatCount="indefinite"/>
        </path>
    </svg>
</div>
</div>
<script>
    /**
     * Cut zeroes from value
     *
     * @param {Number} digits - signs after dot
     * @returns {String | Number}
     */
    // eslint-disable-next-line no-extend-native
    Number.prototype.amToFixed = function (digits, hideDigitsAfterDot) {
        var value = this.toFixed(digits);

        if (hideDigitsAfterDot && parseInt(value) == this) {
            value = parseInt(value)
        }

        return value;
    };

    function shopBy () {
        return {
            submitByClick: 1,
            isAjaxSettingEnabled: 1,
            scrollUp: 1,
            clearUrl: 'https\u003A\u002F\u002Fwww.burdastyle.com\u002Fvideos',
            currentCategoryId: 264,
            isCategorySingleSelect: 1,
            isMemorizerAllowed: 0,
            isAjax: 1,
            isLoading: false,
            filters: {},
            cacheKey: null,
            cached: [],
            response: null,
            memorizeData: [],
            showButtonClick: false,
            startAjax: false,
            controller: new AbortController(),
            signal: null,
            currentFilters: [],
            toolbarOptions: {"productListToolbarForm":{"mode":"product_list_mode","direction":"product_list_dir","order":"product_list_order","limit":"product_list_limit","modeDefault":"grid","directionDefault":"asc","orderDefault":"new","limitDefault":24,"url":"https:\/\/www.burdastyle.com\/videos","formKey":"ccS63cPMqdfunvF7","post":false,"page":"p"}}                    .productListToolbarForm || {},
            element: null,
            toolbarElements: {
                mode: '[data-role="mode-switcher"]',
                sortDir: '.sorter-action',
                sort: '[data-role="sorter"]',
                limiter: '[data-role="limiter"]'
            },
            options: {
                isAjax: 0,
                collectFilters: 0,
                clearUrl: null,
                delta: [],
                deltaFrom: 0,
                deltaTo: 0,
                curRate: '1',
                digitsAfterDot: 2
            },
            classes: {
                savedFilterValues: 'amshopby-saved-values',
                allTop: 'amshopby-all-top-filters-append-left',
                filterTop: 'amshopby-filter-top'
            },
            selectors: {
                top_nav: '.amasty-catalog-topnav',
                top_navigation: '.catalog-topnav .block-filter-top',
                title_head: '[data-ui-id="page-title-wrapper"]',
                products_wrapper: '#amasty-shopby-product-list, .search.results',
                fromToWidget: '[data-am-js="fromto-widget"]',
                filterForm: 'form[data-amshopby-filter]',
                filterFormAttr: 'form[data-amshopby-filter={attr}]',
                filterItems: '[class*="am-filter-items"]',
                filterName: '[name="amshopby[{name}][]"]',
                sidebar: '.sidebar',
                topNav: '.catalog-topnav',
                filterRequestVar: '[data-amshopby-filter-request-var="cat"]',
                filterOptionsContent: '.filter-options-content',
                filterOptionsItem: '.filter-option',
                removeItems: '.filter-current .items .radio-remove-item',
                removeAllItems: '.filter-current .items .amshopby-remove-item',
                improvedSortingWrapper: '[x-data="amSortingDirection()"]'
            },
            selectors_top_filters: {
                sidebar: '.sidebar.sidebar-main',
                sidebarList: '.sidebar.sidebar-main #narrow-by-list',
                layeredFilter: '#layered-filter-block',
                blockFilter: '.block-filter-top',
            },
            isImrovedSorting: false,

            initShopBy() {
                const self = this;

                                    if (typeof window.history.replaceState === "function") {
                        window.history.replaceState({url: document.URL}, document.title);

                        setTimeout(() => {
                            /*
                            Timeout is a workaround for iPhone
                            Reproduce scenario is following:
                            1. Open category
                            2. Use pagination
                            3. Click on product
                            4. Press "Back"
                            Result: Ajax loads the same content right after regular page load
                            */
                            window.onpopstate = e => {
                                if (e.state) {
                                    if (this.submitByClick) {
                                        this.showButtonClick = true;
                                    }
                                    self.callAjax(e.state.url, []);
                                }
                            };
                        }, 0);
                    }

                    self.qsa('.pages-items a').forEach(link => {
                        link.addEventListener('click', e => {
                            self.pagerEvent(e);
                            self.stopEvents(e);
                        }, false);
                    });
                
                this.signal = this.controller.signal;

                
                self.isImrovedSorting = !!self.qs(self.selectors.improvedSortingWrapper);

                if (self.qs(self.toolbarElements.mode)) {
                    self.addToolbarEvent(self.toolbarElements.mode, 'click', 'mode');
                }

                if (self.qs(self.toolbarElements.sortDir)) {
                    self.addToolbarEvent(self.toolbarElements.sortDir, 'click', 'direction');
                }

                if (self.qs(self.toolbarElements.sort)) {
                    self.addToolbarEvent(self.toolbarElements.sort, 'change', 'order');
                }

                if (self.qs(self.toolbarElements.limiter)) {
                    self.addToolbarEvent(self.toolbarElements.limiter, 'change', 'limit');
                }

                this.topFiltersCheckOnMobile();
                this.setSelectedPrtoductSwatch();
            },

            setSelectedPrtoductSwatch() {
                this.qsa(this.selectors.removeAllItems).forEach(item => {
                    if (item.getAttribute('data-massset')) {
                        this.setSwatchMassToProducts(
                            item.getAttribute('data-massset'),
                            item.getAttribute('data-attribute-id')
                        )
                    }

                    if (item.getAttribute('data-swatchset')) {
                        this.setSwatchToProducts(
                            item.getAttribute('data-swatchset'),
                            item.getAttribute('data-attribute-id')
                        )
                    }
                });
            },

            addToolbarEvent(element, event, paramValue) {
                const self = this,
                    el = self.qs(element);

                el.removeAttribute('@click.prevent');
                el.removeAttribute('@change');
                el.replaceWith(el.cloneNode(true));

                self.qs(element).addEventListener(event, e => {
                    self.stopEvents(e);

                    let value;

                    if (paramValue === 'order' || paramValue === 'limit') {
                        value = e.currentTarget.value;
                    } else if (paramValue === 'direction') {
                        const classNames = e.currentTarget.getAttribute('class');
                        value = classNames.indexOf('sort-desc') === -1 ? 'desc' : 'asc';
                    } else {
                        value = e.currentTarget.getAttribute('data-value');
                    }

                    self.changeUrl(
                        paramValue,
                        value
                    );
                }, false);
            },

            /**
             * @public
             * @param {Object} element
             * @return {Boolean}
             */
            isFinderAndCategory(element) {
                return location.href.indexOf('find=') !== -1
                && element.type === 'radio'
                && element.name === 'amshopby[cat][]';
            },

            setSwatchBorder(element) {
                element.classList.toggle('border-container-darker');
                element.classList.toggle('border-container-lighter');
                element.classList.toggle('ring');
                element.classList.toggle('ring-primary');
                element.classList.toggle('ring-opacity-50');
                element.classList.toggle('amshopby-link-selected');
            },

            /**
             * @public
             * @param {String} name
             * @param {String} value
             * @return {void}
             */
            setDefault(name, value) {
                var self = this,
                    valueSelector = self.selectors.filterName.replace('{name}', name),
                    type,
                    selected;

                this.qsa(valueSelector).forEach((filter, index) => {
                    type = filter.tagName;

                    switch (type) {
                        case 'SELECT':
                            if (name === 'price') {
                                filter.querySelectorAll('option').forEach((element, index) => {
                                    if (self.toValidView(element.value.split('-')) === value) {
                                        element.selected = false;
                                    }
                                });

                                filter.querySelector('[value="' + value + '"]').selected = true;
                            }
                        break;

                        case 'INPUT':
                            selected = '';

                            if (filter.getAttribute('type') !== 'text' && filter.getAttribute('type') !== 'hidden') {
                                this.qsa(valueSelector + '[value="' + value + '"]').forEach(selected => {
                                    selected.checked = false;

                                    const selectedSibling = [...selected.parentNode.children]
                                        .filter((child) => child !== selected);
                                    selectedSibling.forEach(sibling => { sibling.classList.remove('selected'); });
                                });
                            } else if ((filter.getAttribute('type') === 'hidden'
                                && self.isEquals(name, filter.value, value))
                                || name === 'price'
                            ) {
                                filter.value = '';
                            }
                        break;
                    }
                });
            },

            /**
             * @public
             * @param {Array} values
             * @return {String}
             */
            toValidView(values) {
                values[0] = values[0] ? parseFloat(values[0]).toFixed() : values[0];
                values[1] = values[1] ? parseFloat(values[1]).toFixed() : values[1];

                return values[0] + '-' + values[1];
            },

            /**
             * @public
             * @param {String} name
             * @param {String} filterValue
             * @param {String} value
             * @return {Boolean}
             */
            isEquals(name, filterValue, value) {
                var values = value.split('-'),
                    filterValues = filterValue.split('-');

                if (values.length > 1) {
                    filterValue = this.toValidView(filterValues);
                    value = this.toValidView(values);
                }

                return filterValue === value;
            },

            /**
             * @public
             * @param {String | null} element
             * @param {String | null} clearUrl
             * @param {Boolean | null} [clearFilter]
             * @param {Boolean} [isSorting]
             * @return {Array}
             */
            prepareTriggerAjax(element, clearUrl, clearFilter, isSorting) {
                if (!clearFilter) {
                    this.qs('.am_shopby_apply_filters')?.classList.remove('hidden');
                }

                let self = this,
                    selectors = this.selectors,
                    forms = this.qsa(this.selectors.filterForm),
                    attributeName,
                    excludedFormSelector,
                    existFields = [],
                    savedFilters = [],
                    className,
                    startPos,
                    endPos,
                    filterClass,
                    isPriceType,
                    serializeForms = [],
                    isPriceExist,
                    data;

                if (typeof this.element !== 'undefined' && clearFilter) {
                    attributeName = selectors.filterFormAttr
                        .replace('{attr}', this.element
                            .closest(selectors.filterOptionsContent)
                            .querySelector('form')
                            .getAttribute('data-amshopby-filter'));
                    excludedFormSelector = (this.element.closest(selectors.sidebar)
                        ? selectors.topNav : selectors.sidebar) + ' ' + attributeName;

                    forms = excludingElement(forms, excludedFormSelector);
                }

                forms.forEach((item, index) => {
                    className = '';

                    if (item.closest(selectors.filterItems)) {
                        className = item.closest(selectors.filterItems).className;
                    } else if (item.querySelector(selectors.filterItems)) {
                        className = item.querySelector(selectors.filterItems).className;
                    }

                    startPos = className.indexOf('am-filter-items');
                    endPos = className.indexOf(' ', startPos + 1) === -1 ? 100 : className.indexOf(' ', startPos + 1);
                    filterClass = className.substring(startPos, endPos);

                    isPriceType = item.closest(selectors.filterOptionsItem)
                        .querySelectorAll(selectors.fromToWidget).length;

                    if (filterClass && existFields[filterClass] && !isPriceType) {
                        forms[index] = '';
                    } else {
                        existFields[filterClass] = true;
                    }
                });

                forms.forEach(form => {
                    const serializeData = self.serializeForm(form);
                    if (serializeData.length) {
                        serializeForms = [...serializeForms, ...serializeData];
                    }
                });

                isPriceExist = false;

                // eslint-disable-next-line consistent-return
                serializeForms.map(item => {
                    if (item.name === 'amshopby[price][]') {
                        isPriceExist = true;

                        return false;
                    }
                });

                if (!isPriceExist && savedFilters) {
                    // eslint-disable-next-line no-shadow
                    savedFilters.forEach(element => {
                        serializeForms.push(self.serializeForm(element)[0]);
                    });
                }

                data = this.normalizeData(serializeForms, isSorting, clearFilter);
                data.clearUrl = data.clearUrl ? data.clearUrl : clearUrl;

                // eslint-disable-next-line no-param-reassign
                element = element || document;

                if (this.options.delta.length) {
                    data = data.concat(this.options.delta);
                }

                if (element && element !== document && element.closest('.price-ranges')) {
                   data.push({name: 'price-ranges', value: 1});
                }

                window.dispatchEvent(
                    new CustomEvent(
                        'amshopby-submit-filters',
                        {
                            detail: {
                                data: data,
                                clearFilter: clearFilter,
                                isSorting: isSorting
                            }
                        }
                    )
                );

                return data;
            },

            /**
             * @public
             * @param {Array} data
             * @param {Boolean} [isSorting]
             * @param {Boolean} [clearFilter]
             * @return {Array}
             */
            normalizeData(data, isSorting, clearFilter) {
                var self = this,
                    normalizedData = [],
                    clearUrl;

                data.forEach(item => {
                    if (item && item.value.trim() !== '' && item.value !== '-1') {
                        // eslint-disable-next-line vars-on-top
                        let isNormalizeItem = normalizedData.find(normalizeItem => {
                            return normalizeItem.name === item.name && normalizeItem.value === item.value
                                || item.name === 'amshopby[price][]' && normalizeItem.name === item.name;
                        });

                        if (!isNormalizeItem) {
                            if (item.name === 'amshopby[price][]') {
                                item.value = self.normalizePrice(item.value);
                            }

                            normalizedData.push(item);

                            if (self.isCategorySingleSelect === 1
                                && item.name === 'amshopby[cat][]'
                                && item.value !== self.currentCategoryId
                                && !clearFilter
                                && !isSorting
                            ) {
                                clearUrl = this.qs('*' + self.selectors.filterRequestVar +
                                        ' *[value="' + item.value + '"]')
                                        .closest('.item').querySelector('a').getAttribute('href');
                            }
                        }
                    }
                });

                normalizedData = this.groupDataByName(normalizedData);

                if (clearUrl) {
                    const locationData = clearUrl.split("?");
                    if (locationData.length > 1) {
                        const url = locationData[0],
                            urlParams = locationData[1].split('&');

                        urlParams.map((param, index) => {
                            const paramKey = param.split(/=(.*)/)[0];

                            if (!this.qs('.amshopby-remove-item[data-container="'+ paramKey +'"]') &&
                                    this.qs('[name="amshopby['+ paramKey +'][]"]')) {
                                urlParams.splice(index, 1);
                            }
                        });

                        clearUrl = url + '?' + urlParams.join('&');
                    }

                    normalizedData.clearUrl = clearUrl;
                }

                return normalizedData;
            },

            /**
             * @public
             * @param {Array} formData
             * @return {Array}
             */
            groupDataByName(formData) {
                var hash = Object.create(null);

                return formData.reduce((result, currentValue) => {
                    if (!hash[currentValue.name]) {
                        hash[currentValue.name] = {};
                        hash[currentValue.name].name = currentValue.name;
                        result.push(hash[currentValue.name]);
                    }

                    if (hash[currentValue.name].value) {
                        hash[currentValue.name].value += ',' + currentValue.value;
                    } else {
                        hash[currentValue.name].value = currentValue.value;
                    }

                    return result;
                }, []);
            },

            /**
             * @public
             * @param {String} value
             * @return {String}
             */
            normalizePrice(value) {
                var result = value.split('-'),
                    i;

                for (i = 0; i < result.length; i++) {
                    if (typeof result[i] == 'undefined') {
                        result[i] = 0;
                    }

                    result[i] = this.processPrice(true, result[i])
                            .amToFixed(2, this.getHideDigitsAfterDot());
                }

                return result.join('-').replace(/[ \r\n]/g, '');
            },

            /**
             * @public
             * @param {Boolean} toBasePrice
             * @param {String | Number} input
             * @param {String | Number} [delta]
             * @returns {Number}
             */
            processPrice(toBasePrice, input, delta) {
                var rate = Number(this.options.curRate),
                    inputPrice = Number(input);

                // eslint-disable-next-line no-param-reassign
                delta = typeof delta !== 'undefined' ? Number(delta) : 0;

                // eslint-disable-next-line no-nested-ternary
                return this.isBaseCurrency()
                    ? inputPrice
                    // eslint-disable-next-line no-extra-parens
                    : (toBasePrice ? (inputPrice / rate) : ((inputPrice * rate) + delta));
            },

            /**
             * @public
             * @return {Number}
             */
            getHideDigitsAfterDot() {
                const value = +this.qs('[name="amshopby[price][]"]').getAttribute('data-digits-after-dot');
                return Number.isNaN(value) ? 0 : value;
            },

            /**
             * @public
             * @returns {Boolean}
             */
            isBaseCurrency() {
                return Number(this.options.curRate) === 1;
            },

            showButtonCounter(count) {
                let data = {
                    count:parseInt(count),
                    disabled: false
                };

                window.dispatchEvent(new CustomEvent('amApplyButtonData', { detail: data }));
            },

            pagerEvent(e) {
                let newUrl = e.currentTarget.getAttribute('href'),
                    updatedUrl = null,
                    urlPaths = newUrl.split('?'),
                    urlParams = urlPaths[1] ? urlPaths[1].split('&') : [];

                for (let i = 0; i < urlParams.length; i++) {
                    if (urlParams[i].indexOf("p=") === 0) {
                        let pageParam = urlParams[i].split('=');
                        updatedUrl = this.getNewClearUrl(pageParam[0], pageParam[1] > 1 ? pageParam[1] : '');
                        break;
                    }
                }

                if (!updatedUrl) {
                    updatedUrl = e.currentTarget.getAttribute('href');
                }
                updatedUrl = updatedUrl.replace('amp;', '');

                this.prepareTriggerAjax(document, updatedUrl, false, true);

                window.scrollTo({
                    top: this.qs(this.selectors.products_wrapper).offsetTop,
                    behavior: 'smooth'
                })
            },

            getUrlParams() {
                let decode = window.decodeURIComponent,
                    urlPaths = window.location.href.split('?'),
                    urlParams = urlPaths[1] ? urlPaths[1].split('&') : [],
                    params = {},
                    parameters, i;

                for (i = 0; i < urlParams.length; i++) {
                    parameters = urlParams[i].split('=');
                    params[decode(parameters[0])] = parameters[1] !== undefined ?
                        decode(parameters[1].replace(/\+/g, '%20')) :
                        '';
                }

                return params;
            },

            getCurrentLimit() {
                return this.getUrlParams()[this.toolbarOptions.limit] || this.toolbarOptions.limitDefault;
            },

            getCurrentPage() {
                return this.getUrlParams()[this.toolbarOptions.page] || 1;
            },

            changeUrl(param, paramValue) {
                let defaultValue = this.toolbarOptions[param + 'Default'],
                    paramName = this.toolbarOptions[param],
                    urlPaths = this.toolbarOptions.url.split('?'),
                    baseUrl = urlPaths[0],
                    paramData = this.getUrlParams(),
                    currentPage = this.getCurrentPage(),
                    newPage;

                /**
                 * calculates the page on which the first item of the current page will
                 * be with the new limit and sets that number as the new page
                 */
                if (currentPage > 1 && paramName === this.toolbarOptions.limit) {
                    newPage = Math.floor(this.getCurrentLimit() * (currentPage - 1) / paramValue) + 1;

                    if (newPage > 1) {
                        paramData[this.toolbarOptions.page] = newPage;
                    } else {
                        delete paramData[this.toolbarOptions.page];
                    }
                }

                paramData[paramName] = paramValue;

                if (paramValue === defaultValue.toString() && !this.toolbarOptions.post) {
                    delete paramData[paramName];
                }
                paramData = Object.keys(paramData).length === 0
                    ? ''
                    : '?' + (new URLSearchParams(paramData));

                if (this.isImrovedSorting && paramValue === 'asc') {
                    paramData = paramData ? paramData + '&product_list_dir=asc' : '';
                }

                if (this.isAjax) {
                    this.prepareTriggerAjax(document, baseUrl + paramData, false, true);
                } else {
                    location.href = baseUrl + paramData;
                }
            },

            getNewClearUrl(key, value, page) {
                var url = new URL(window.location.href),
                    params = new window.URLSearchParams(url.search);

                if (value !== '') {
                    params.set(key, value);
                } else {
                    params.delete(key);
                }

                if (page) {
                    params.set('p', page);
                } else if (key !== 'p') {
                    params.delete('p');
                }

                url.search = params;

                return window.decodeURIComponent(url.toString());
            },

            callAjax(clearUrl, data, pushState, cacheKey, isSorting) {
                const self = this;

                window.dispatchEvent(new CustomEvent('amClearButtonText', {}));

                if (pushState || isSorting) {
                    self.isLoading = true;
                }

                data.every((item, key) => {
                    if (item.name.indexOf('[cat]') != -1) {
                        if (item.value == self.options.currentCategoryId) {
                            data.splice(key, 1);
                        } else {
                            item.value.split(',').filter(element => {
                                return element != self.options.currentCategoryId
                            }).join(',');
                        }

                        return false;
                    }
                    return true;
                });

                const pricefilter = data.find(item => item.name === 'amshopby[price][]');
                if (pricefilter && pricefilter.value === 'NaN') {
                    data.map((item, index) => {
                        if (item.name === 'amshopby[price][]') {
                            data = data.splice(index, 1);
                        }
                    });
                }

                if (!this.submitByClick) {
                    this.qsa(this.selectors.removeAllItems).forEach(removeItem => {
                        const name = removeItem.getAttribute('data-container'),
                            value = removeItem.getAttribute('data-value');

                        data.map(item => {
                            if (!removeItem.classList.contains('radio-remove-item')) {
                                if (item.name === 'amshopby['+ name +'][]') {
                                    if (item.value.indexOf(value) === -1) {
                                        item.value += ',' + value;
                                    }
                                }
                            }
                        });

                        if (!data.find(item => item.name === 'amshopby['+ name +'][]')) {
                            data.push({
                                name: 'amshopby['+ name +'][]',
                                value: value
                            });
                        }
                    });
                }

                if (!isSorting && !clearUrl) {
                    const dir = 'product_list_dir',
                        sort = 'product_list_order',
                        params = new URL(location.href).searchParams;

                    if (params.get(dir)) {
                        data.push({name: dir, value: params.get(dir)});
                    }

                    if (params.get(sort)) {
                        data.push({name: sort, value: params.get(sort)});
                    }
                }

                data.push({name: 'shopbyAjax', value: 1});
                self.startAjax = true;

                if (!clearUrl) {
                    clearUrl = self.clearUrl;
                }
                clearUrl = clearUrl.replace(/amp;/g, '');
                self.clearUrl = clearUrl;

                return fetch(self.getClearUrlParams(clearUrl, data), {
                        headers: {
                            'Content-type': 'text/plain; charset=UTF-8',
                            'X-Requested-With': 'XMLHttpRequest',
                        },
                        signal: this.signal
                    }
                ).then(response => {
                    return response.json()
                }).then(data => {
                    try {
                        self.startAjax = false;

                        if (data.isDisplayModePage && !self.submitByClick) {
                            const url = self.clearUrl ? self.clearUrl : self.options.clearUrl;
                            window.location = (this.url && this.url.indexOf('shopbyAjax') == -1) ? this.url : url;

                            return;
                        }

                        if (cacheKey) {
                            self.cached[cacheKey] = data;
                        }

                        self.response = data;

                        if (data.newClearUrl
                            && (data.newClearUrl.indexOf('?p=') == -1 && data.newClearUrl.indexOf('&p=') == -1)) {
                            self.options.clearUrl = data.newClearUrl;
                        }

                        if (pushState || self.showButtonClick || isSorting) {
                            window.history.pushState({url: data.url}, '', data.url);
                        }

                        if (self.submitByClick !== 1 || isSorting || pushState) {
                            self.reloadHtml(data);
                        }

                        if (this.submitByClick && !pushState && !isSorting) {
                            self.showButtonCounter(self.response.productsCount);
                        }

                        if (self.showButtonClick) {
                            self.showButtonClick = false;
                            self.response = false;

                            if (self.submitByClick && !pushState && !isSorting) {
                                self.reloadHtml(data);
                            }
                        }

                        if (this.submitByClick) {
                            self.showButtonCounter(self.response.productsCount);
                        }
                        /* update form_key in case cached */
                        hyva.initFormKey();
                    } catch (e) {
                        console.error(e);
                        self.options.clearUrl ? window.location = self.options.clearUrl : location.reload();
                    }

                    self.isLoading = false;
                }).catch((e) => {
                    self.startAjax = false;
                    self.isLoading = false;

                    if (e.name === 'AbortError') {
                        return;
                    }

                    console.error(e);
                });

                self.isLoading = false;
            },

            getClearUrlParams(url, data) {
                let params = '';

                url = url.replace('#', '');

                data.map(param => {
                    if (params) {
                        params += '&';
                    }

                    params += param.name + '=' + param.value;
                });

                if (~url.indexOf('?')) {
                    url += '&';
                } else {
                    url += '?';
                }

                return url + params;
            },

            filterDataByProp(data, param, prop) {
                return data.find(obj => {
                    return obj[prop] === param[prop];
                });
            },

            reloadHtml(data) {
                let selectSidebarNavigation = '.sidebar.sidebar-main .block-filter',
                    selectTopNavigation = selectSidebarNavigation + '.amshopby-all-top-filters-append-left',
                    selectMainNavigation = '',
                    $productsWrapper = this.getProductBlock();

                this.options.currentCategoryId = data.currentCategoryId
                    ? data.currentCategoryId
                    : this.options.currentCategoryId;

                if (!!this.qs(selectTopNavigation)) {
                    selectMainNavigation = selectTopNavigation; //if all filters are top
                } else if (!!this.qsa(selectSidebarNavigation).length) {
                    selectMainNavigation = selectSidebarNavigation;
                }

                if (this.qs('.am_shopby_apply_filters')) {
                    this.qs('.am_shopby_apply_filters').classList.add('hidden');
                }

                if (!selectMainNavigation) {
                    if (!!this.qs(this.selectors_top_filters.sidebar)) {
                        let div = document.createElement('div');
                        div.className = 'block-filter';
                        this.qs(this.selectors_top_filters.sidebar).prepend(div);

                        selectMainNavigation = selectSidebarNavigation;
                    } else {
                        selectMainNavigation = '.block-filter';
                    }
                }

                if (this.qs(selectMainNavigation)) {
                    this.replaceWithUpdate(
                        data.navigation,
                        this.qs(selectMainNavigation),
                        'selectMainNavigation'
                    );
                }

                const mainContent  = data.categoryProducts || data.cmsPageData;
                if (mainContent) {
                    this.replaceWithUpdate(mainContent, $productsWrapper, 'mainContent');
                }

                if (data.h1) {
                    let newDiv = document.createElement('div');
                    newDiv.innerHTML = data.h1;

                    this.replaceWithUpdate(
                        newDiv.querySelector(this.selectors.title_head).parentElement.innerHTML,
                        this.qs(this.selectors.title_head),
                        'title_head'
                    );
                }

                this.replaceBlock('.breadcrumbs', 'breadcrumbs', data);
                this.replaceBlock('.switcher-currency', 'currency', data);
                this.replaceBlock('.switcher-language', 'store', data);
                this.replaceBlock('.switcher-store', 'store_switcher', data);

                this.replaceCategoryView(data);

                
                this.topFiltersCheckOnMobile();

                const swatchesTooltip = this.qsa('.swatch-option-tooltip');
                if (swatchesTooltip.length) {
                    swatchesTooltip.forEach(item => {
                        item.style.display = 'none';
                    });
                }

                this.loading = false;

                this.scrollUpEvent();

                if (data.bottomCmsBlock) {
                    let productList = this.qsa(this.selectors.products_wrapper);
                    productList = productList[productList.length - 1];

                    if (this.qs('.amshopby-filters-bottom-cms')) {
                        this.qs('.amshopby-filters-bottom-cms').remove();
                    }

                    let div = document.createElement('div');
                    div.innerHTML = '<div class="amshopby-filters-bottom-cms"></div>';

                    productList.after(div);

                    this.replaceWithUpdate(
                        data.bottomCmsBlock,
                        this.qs('.amshopby-filters-bottom-cms'),
                        'amshopby-filters-bottom-cms'
                    );
                }

                //top nav already exist into categoryProducts
                if (!data.categoryProducts || data.categoryProducts.indexOf('block-filter-top') === -1) {
                    if (!this.qs(this.selectors.top_navigation)) {
                        const navNode = document.createElement('div'),
                            topNavNode = document.createElement('div'),
                            maincontent = this.qs('.column.main');
                        let childNode;

                        navNode.className = 'catalog-topnav amasty-catalog-topnav';
                        topNavNode.className = 'block-filter-top';
                        navNode.appendChild(topNavNode);

                        if (this.qs('.search.results')) {
                            childNode = this.qs('.search.results');
                        } else {
                            childNode = this.qs('#amasty-shopby-product-list');
                        }

                        if (childNode.parentElement !== maincontent) {
                            return;
                        }

                        maincontent.insertBefore(navNode, childNode);
                    }

                    this.replaceWithUpdate(
                        data.navigationTop,
                        this.qs(this.selectors.top_navigation),
                        'top_navigation'
                    );
                }
            },

            replaceWithUpdate(content, $element, className) {
                if (content && $element) {
                    const parent = $element.parentNode,
                        regex = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
                        div = document.createElement('div'),
                        isTopNav = className === 'top_navigation';

                    if (this.qs('.scripts-' + className)) {
                        this.qs('.scripts-' + className).innerHTML = '';
                    } else {
                        let container = document.createElement('div');
                        container.className = 'scripts-' + className;
                        this.qs('body').appendChild(container);
                    }

                    div.innerHTML = content;

                    const scripts = div.getElementsByTagName('script');

                    for (let script of scripts) {
                        if (!script.hasAttribute('type')
                                && script.getAttribute('type') !== 'text/x-magento-init') {

                            let scriptTag = document.createElement('script');
                            scriptTag.innerHTML = script.innerHTML;
                            this.qs('.scripts-' + className).appendChild(scriptTag);
                        }
                    }

                    content = content.replaceAll(regex, '');

                    if (parent.classList.contains('one-column-wrapper')) {
                        content = content.substring(content.indexOf('>') + 1, content.lastIndexOf('<'));
                    }

                    if (isTopNav) {
                        const topFilterElement = this.qs(this.selectors.top_nav);
                        topFilterElement.remove();
                        parent.innerHTML = content;
                    } else {
                        const wrapperToInsert = document.createElement("div");
                        wrapperToInsert.innerHTML = content;
                        const elementToInsert = wrapperToInsert.firstElementChild;
                        $element.replaceWith(elementToInsert);
                    }
                }
            },

            topFiltersCheckOnMobile() {
                setTimeout(() => {
                    if (document.body.clientWidth < 768) {
                        this.moveTopFiltersToSidebar();
                    } else {
                        this.removeTopFiltersFromSidebar();
                    }
                }, 0);
            },

            replaceBlock(blockClass, dataName, data) {
                this.replaceWithUpdate(
                    data[dataName],
                    this.qs(blockClass),
                    dataName
                );
            },

            replaceCategoryView(data) {
                if (data.image || data.description || data.categoryData) {
                    let categoryViewSelector = '.category-view';
                    if (!this.qs(categoryViewSelector)) {
                        const catNode = document.createElement('div'),
                            maincontent = this.qs('#maincontent');
                        let childNode = this.qs('.page-main .columns');

                        catNode.className = 'category-view container';
                        catNode.setAttribute('id', 'category-view-container');

                        catNode.innerHTML = '<div class="category-image"></div>'+
                                            '<div class="category-description"></div>';

                        if (this.qs('.amwidget-children-categories')) {
                            childNode = this.qs('.amwidget-children-categories').parentNode;
                        }

                        maincontent.insertBefore(catNode, childNode);
                    }
                }

                const imageElement = this.qs('.category-image'),
                    descrElement = this.qs('.category-description');

                if (data.image) {
                    this.replaceWithUpdate(
                        data.image,
                        imageElement,
                        'category-image'
                    );
                } else {
                    if (imageElement) {
                        imageElement.innerHTML = '';
                    }
                }

                if (data.description) {
                    this.replaceWithUpdate(
                        data.description,
                        descrElement,
                        'category-description'
                    );
                } else {
                    if (descrElement) {
                        descrElement.innerHTML = '';
                    }
                }

                this.qs('title').innerHTML = data.title;

                if (data.categoryData) {
                    let categoryViewSelector = '.category-view';

                    const nodeT = document.createElement('div');
                    nodeT.innerHTML = data.categoryData;

                    this.qs(categoryViewSelector).innerHTML = '<div></div>';

                    this.replaceWithUpdate(
                        nodeT.querySelector(categoryViewSelector).innerHTML,
                        this.qs(categoryViewSelector + ' div'),
                        'category-view-data'
                    );
                }
            },

            /**
             * @public
             * @return {Object}
             */
            getProductBlock() {
                let $productsWrappers = this.qsa(this.selectors.products_wrapper),
                    $productsWrapper = $productsWrappers[$productsWrappers.length - 1];

                if ($productsWrapper.closest('.search.results')) {
                    $productsWrapper = $productsWrapper.closest('.search.results');
                }

                return $productsWrapper;
            },

            scrollUpEvent() {
                const productList = this.qs(this.selectors.products_wrapper),
                    topNavBlock = this.qs(this.selectors.top_nav);

                if (this.scrollUp && productList) {
                    const top = this.scrollUp === 1
                        ? (topNavBlock ? topNavBlock.offsetTop : productList.offsetTop)
                        : 0;

                    window.scrollTo({
                        top: top,
                        behavior: 'smooth'
                    })
                }
            },

            moveTopFiltersToSidebar() {
                if (!this.qs(this.selectors_top_filters.sidebarList)) {
                    const blockClass = this.qs(this.selectors_top_filters.layeredFilter)
                            ? this.selectors_top_filters.layeredFilter
                            : this.selectors_top_filters.blockFilter,
                        $element = document.querySelector(this.selectors.topNav + ' ' + blockClass);

                    if ($element) {
                        const $sidebar = this.qs(this.selectors_top_filters.sidebar),
                            filterOptions = $element.querySelectorAll('.filter-option');

                        filterOptions.forEach(filter => {
                            const el = filter.cloneNode(true),
                                input = el.querySelector('[type="radio"], [type="checkbox"]');

                            if (input) {
                                const name = input.getAttribute('name');

                                el.classList.add('from-top');

                                if (!$sidebar.querySelectorAll('[name="'+ name +'"]').length) {
                                    $sidebar.querySelector('#layered-filter-block-content').append(el);
                                }
                            }
                        });
                    }

                    return;
                }
            },

            /**
             * @public
             * @returns {void}
             */
            removeTopFiltersFromSidebar() {
                const $sidebar = this.qs(this.selectors_top_filters.sidebar);

                if ($sidebar) {
                    $sidebar.querySelectorAll('.from-top').forEach(filter => {
                        filter.remove();
                    });
                }

            },

            qs(selector) {
                return document.querySelector(selector);
            },

            qsa(selector) {
                return document.querySelectorAll(selector);
            },

            stopEvents(e) {
                e.stopPropagation();
                e.preventDefault();
            },

            serializeForm(form) {
                const data = new FormData(form)
                let array = [];
                for (let [key, value] of data) {
                    array.push({
                        name: key,
                        value: value
                    });
                }

                return array;
            },

            excludingElement(elements, excluded) {
                let clearing = [],
                    excludedSelector = this.qs(excluded);
                elements.forEach(element => {
                    if (element !== excludedSelector) {
                        clearing.push(element);
                    }
                });

                return clearing;
            },

            /**
             * @public
             * @param {String} text
             * @return {String}
             */
            escapeHtml(text) {
                var map = {
                    '&': '&amp;',
                    '<': '&lt;',
                    '>': '&gt;',
                    '"': '&quot;',
                    "'": '&#039;'
                };

                return text.replace(/[&<>"']/g, (m) => {
                    return map[m];
                });
            },

            /**
             * @public
             * @param {String} link
             * @param {Boolean} [clearFilter]
             * @return {void}
             */
            apply(link, clearFilter) {
                let linkParam;

                try {
                                            this.response = null;
                    
                    this.options.isAjax = true;

                    linkParam = clearFilter ? link : null;
                    link = this.element?.closest('.price-ranges') && link.includes('?')
                        ? link + '&price-ranges=1'
                        : link;

                    if (!this.options.collectFilters && this.options.isAjax === true) {
                        this.prepareTriggerAjax(this.element, linkParam, clearFilter);
                    } else {
                        // eslint-disable-next-line no-lonely-if
                        if (this.options.collectFilters === 1) {
                            this.prepareTriggerAjax(this.element, linkParam);
                        } else {
                            window.location = link;
                        }
                    }
                } catch (e) {
                    console.error(e);
                    window.location = link;
                }
            },

            fixDubbleValue(link) {
                let input = link.closest('div').querySelector('input');

                if (this.qsa('*[value="'+input.value+'"][name="'+input.getAttribute('name')+'"]').length > 1) {
                    this.qsa('*[value="'+input.value+'"][name="'+input.getAttribute('name')+'"]').forEach(filter => {
                        if (filter !== input) {
                            if (filter.getAttribute('type') === 'radio') {
                                filter.closest('.am-filter').querySelectorAll('input').forEach(option => {
                                    option.checked = false;
                                });
                            } else {
                                filter.checked = false;
                            }
                        }
                    });
                }

                if (input.getAttribute('type') !== 'radio' && !input.checked && !this.submitByClick) {
                    let value = input.getAttribute('value'),
                        name = input.getAttribute('name').replace('amshopby[','');

                    name = name.replace('][]', '');
                    let removeItem = this.qs('.amshopby-remove-item[data-container="'+ name +'"][data-value="'+ value +'"]'); 
                    if (removeItem) {
                        removeItem.remove();
                    }
                }
            },

            setSwatchToProducts(swatchId, attributeID) {
                setTimeout(() => {
                    const productList = document.getElementById('amasty-shopby-product-list');
                    if (productList) {
                        const swatches = productList.querySelectorAll('[name="super_attribute['+ attributeID +']"][value="' + swatchId + '"]'),                             event = new Event('change');

                        swatches.forEach(swatch => {
                            if (!swatch.checked) {
                                swatch.dispatchEvent(event);
                            }
                        });
                    }
                }, 1500);
            },

            setSwatchMassToProducts(swatchIds, attributeID) {
                const swatches = swatchIds.split(',');
                this.massSwatchSet(swatches, attributeID);

                window.onload = () => {
                    setTimeout(() => {
                        this.massSwatchSet(swatches, attributeID);
                    }, 1000);
                }
            },

            massSwatchSet(swatches, attributeID) {
                swatches.map(swatch => {
                    this.setSwatchToProducts(swatch, attributeID);
                });
            },

            insertAfter(newNode, existingNode) {
                existingNode.parentNode.insertBefore(newNode, existingNode.nextSibling);
            },

            removeInputByName(input) {
                let name = input.getAttribute('name').replace('amshopby[','');
                name = name.replace('][]', '');
                this.qs('.amshopby-remove-item[data-container="'+ name +'"]')?.remove();
            },

            eventListeners: {
                ['@amshopby-submit-filters.window'](event) {
                    let self = this,
                        data = event.detail.data,
                        clearUrl = self.options.clearUrl,
                        isSorting = event.detail.isSorting,
                        pushState = !self.submitByClick || event.detail.clearFilter;

                    if (typeof data.clearUrl !== 'undefined') {
                        clearUrl = data.clearUrl;
                        delete data.clearUrl;
                    }

                    if (self.prevCall) {
                        this.controller.abort();
                        this.signal = null;
                        this.controller = new AbortController();
                        this.signal = this.controller.signal;
                    }

                    let dataAndUrl = data.slice(0);

                    dataAndUrl.push(clearUrl ? clearUrl : self.clearUrl);

                    const cacheKey = JSON.stringify(dataAndUrl);
                    self.cacheKey = cacheKey;

                    if (self.cached[cacheKey]) {
                        let response = self.cached[cacheKey];
                        if (pushState || isSorting) {
                            if (response.newClearUrl
                                && response.newClearUrl.indexOf('?p=') == -1
                                && response.newClearUrl.indexOf('&p=') == -1
                            ) {
                                self.options.clearUrl = response.newClearUrl;
                            }

                            window.history.pushState({url: response.url}, '', response.url);
                            self.reloadHtml(response);
                        } else {
                            window.dispatchEvent(new CustomEvent('amApplyButtonData', { detail: {
                                count: response.productsCount,
                                disabled: false
                            } }));
                        }

                        return;
                    }

                    self.prevCall = self.callAjax(clearUrl, data, pushState, cacheKey, isSorting);
                },
                ['@amSliderValuesUpdated.window'](event) {
                    this.apply(event.detail.searchParams);
                },
                ['@amApplyButton.window'](event) {
                    let valid = true,
                        element = event.detail.element,
                        navigationSelector = event.detail.navigationSelector,
                        navigation = element.closest(navigationSelector),
                        cachedValues = this.cached[this.cacheKey],
                        cachedKey = this.response,
                        response = cachedValues ? cachedValues : cachedKey;

                    if (!response) {
                        if (this.startAjax) {
                            this.showButtonClick = true;
                            this.isLoading = true;

                            window.dispatchEvent(new CustomEvent('amApplyButtonData', { detail: {
                                    count: '',
                                    disabled: true
                                } }));
                            return;
                        } else {
                            return;
                        }
                    }

                    if (response.isDisplayModePage ||
                            (!this.isAjaxSettingEnabled && this.submitByClick)) {
                        window.location.href = response.url;

                        return;
                    }

                    if (valid && response) {
                        window.dispatchEvent(new CustomEvent('amApplyButtonData', { detail: {
                            count: '',
                            disabled: false
                        } }));

                        window.history.pushState({url: response.url}, '', response.url);

                        this.reloadHtml(response);

                        this.response = false;
                        this.showButtonClick = false;
                    }

                    window.onpopstate = function () {
                        location.reload();
                    };
                },
                ['@amRemoveElement.window'](event) {
                    const link = event.detail.element;

                    if (this.isAjax) {
                        const currentFilterItem = link.closest('.amshopby-remove-item'),
                            filter = {
                                attribute: currentFilterItem.getAttribute('data-container'),
                                value: this.escapeHtml(currentFilterItem.getAttribute('data-value'))
                            };

                        this.currentFilters.push(filter);
                        this.element = undefined;

                        try {
                            window.dispatchEvent(
                                new CustomEvent(
                                    'amSetButtonPosition',
                                    {
                                        detail: {
                                            element: link
                                        }
                                    }
                                )
                            );

                            this.setDefault(filter.attribute, filter.value);
                            if (!this.submitByClick) {
                                link.closest('.amshopby-remove-item').remove();
                            }
                            this.prepareTriggerAjax(null, null, true);
                        } catch (e) {
                            console.error(e)
                            window.location = link.getAttribute('href');
                        }
                    } else {
                        window.location.href = link.getAttribute('href');
                    }
                },
                ['@amSwatchClick.window'](event) {
                    const link = event.detail.element;

                    if (this.isAjax) {
                        const href = link.getAttribute('href'),
                            input = link.closest('div').querySelector('input');
                        this.element = link;
                        input.checked = !input.checked;

                        if (input.getAttribute('type') === 'radio') {
                            let ring = link.closest('.am-shopby-form').querySelector('.ring');

                            if (ring) {
                                this.setSwatchBorder(ring);

                                if (!this.submitByClick) {
                                    this.removeInputByName(input);
                                }

                                if (input.checked) {
                                    this.setSwatchBorder(link);
                                }
                            } else {
                                this.setSwatchBorder(link);
                            }
                        } else {
                            this.setSwatchBorder(link);
                        }

                        if (this.isFinderAndCategory(link)) {
                            location.href = href;

                            return;
                        }

                        setTimeout(() => {
                            this.fixDubbleValue(link);

                            window.dispatchEvent(
                                new CustomEvent(
                                    'amSetButtonPosition',
                                    {
                                        detail: {
                                            element: link
                                        }
                                    }
                                )
                            );
                            this.apply(href);
                        }, 10);
                    } else {
                        window.location.href = link.getAttribute('href');
                    }
                },
                ['@amFilterElementClick.window'](event) {
                    this.qs('.am_shopby_apply_filters')?.classList.remove('hidden');

                    let filterElement = event.detail.element;

                    if (!filterElement.classList.contains('item')) {
                        filterElement = filterElement.closest('div');
                    }

                    const checkbox = filterElement.querySelector('input'),
                        checkboxLink = filterElement.querySelector('a'),
                        href = checkboxLink.getAttribute('href');

                    if (!this.submitByClick &&
                            checkbox.checked &&
                            checkbox.getAttribute('type') === 'radio') {
                        this.removeInputByName(checkbox);
                    }

                    this.element = checkboxLink;

                    setTimeout(() => {
                        this.fixDubbleValue(checkboxLink);

                        window.dispatchEvent(
                            new CustomEvent(
                                'amSetButtonPosition',
                                {
                                    detail: {
                                        element: checkboxLink
                                    }
                                }
                            )
                        );

                        if (this.isFinderAndCategory(checkbox)) {
                            location.href = href;

                            return;
                        }

                        this.apply(href);
                    }, 10);
                },
                ['@googleTag.window'](e) {
                                    }
            }
        }
    }
</script>
<script>
    function amSortingDirection() {
        return {
            selectors: {
                sorterDirection: '.sorter-action',
                sorterSelect: '.sorter-options'
            },
            directionElement: false,
            selectElement: false,
            permanentDirectionAttributes: ["price_asc","price_desc"],

            initAmSortingDirection(element) {
                this.directionElement = element.querySelector(this.selectors.sorterDirection);
                this.selectElement = element.querySelector(this.selectors.sorterSelect);
                this.toggleDirectionSwitcher(this.selectElement.value);
                this.observeSortOrder();
            },

            /**
             * Observe select change and trigger directions
             */
            observeSortOrder() {
                this.selectElement.addEventListener('change', (event) => {
                    this.toggleDirectionSwitcher(event.target.value);
                })
            },

            /**
             * Check sort method and hide direction link in case asc, desc initial option selected
             *
             * @param sortMethod {string}
             */
            toggleDirectionSwitcher(sortMethod) {
                if (this.permanentDirectionAttributes.includes(sortMethod)) {
                    this.directionElement.classList.add('opacity-0');
                    this.directionElement.classList.add('pointer-events-none');
                } else {
                    this.directionElement.classList.remove('opacity-0');
                    this.directionElement.classList.remove('pointer-events-none');
                }
            }
        }
    }
</script>

<div class="amshopby-filters-bottom-cms">
    </div>
<script>
    document.addEventListener('DOMContentLoaded', () => {
        if(document.querySelectorAll('.amshopby-slider-wrapper').length === 0) {
            return;
        }
        if(window._amNoUiSliderLoaded) {
            return;
        }
        // load nouiSlider
        const script = document.createElement('script');
        script.src = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Amasty_ShopbyHyvaCompatibility/js/nouislider.min.js';
        script.async = true;
        document.body.appendChild(script);

        window._amNoUiSliderLoaded = true;

        script.onload = () => {
            window.dispatchEvent(new CustomEvent('noUiSliderLoaded', {}));
        }

        const styles = document.createElement('link');
        styles.rel = 'stylesheet';
        styles.href = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Amasty_ShopbyHyvaCompatibility/css/nouislider.min.css';
        document.head.appendChild(styles);
    });
</script>
</div></div><aside class="sidebar sidebar-additional">
<script>
function compareSidebarFetchHandler(postUrl, postHeaders, isSingleItem = true) {
    const messages = {
        "success": isSingleItem
            ? "You removed product Product from the comparison list"
            : "You removed all products from the comparison list",
        "warning": isSingleItem
            ? "Could not remove item from compare."
            : "Could not remove all item from compare.",
    }

    return fetch(postUrl, postHeaders).then(function (response) {
        if (response.redirected) {
            window.location.href = response.url;
        } else if (response.ok) {
            return response.json();
        } else {
            typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                [{ type: "warning", text: messages.warning }], 5000
            );
        }
    }).then(function (response) {
        if (!response) return;
        typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
            [{
                type: (response.success) ? "success" : "error",
                text: (response.success) ? messages.success : response.error_message
            }], 5000
        );
        let reloadCustomerDataEvent = new CustomEvent("reload-customer-section-data");
        window.dispatchEvent(reloadCustomerDataEvent);
    }).catch(function (error) {
        typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
            [{ type: "error", text: error }], 5000
        );
    });
}

function initCompareOnCompareSidebar() {
    return {
        compareProducts: null,
        itemCount: 0,
        compareItems: {},
        receiveCompareData: function (data) {
            if (data['compare-products']) {
                this.compareProducts = data['compare-products'];
                this.itemCount = this.compareProducts.count;
                this.compareItems = this.compareProducts.items;
            }
        },
        removeFromCompare: function(productId) {
            const formKey = hyva.getFormKey();
            const postUrl = BASE_URL + 'catalog/product_compare/remove/';
            const confirmMessage = "Are you sure you want to remove this item from your Compare Products list?";
            if (!window.confirm(confirmMessage)) return;
            const postHeaders = {
                "headers": {
                    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
                },
                "body": "form_key=" + formKey + "&product=" + productId + "&uenc=" + hyva.getUenc(),
                "method": "POST",
                "mode": "cors",
                "credentials": "include"
            };

            compareSidebarFetchHandler(postUrl, postHeaders);
        }
    }
}

function initCompareSidebarClear() {
    return {
        clearCompare: function() {
            const formKey = hyva.getFormKey();
            const postUrl = BASE_URL + 'catalog/product_compare/clear/';
            const confirmMessage = "Are you sure you want to remove all items from your Compare Products list?";
            if (!window.confirm(confirmMessage)) return;
            const postHeaders = {
                "headers": {
                    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
                },
                "body": "form_key=" + formKey + "&uenc=" + hyva.getUenc(),
                "method": "POST",
                "mode": "cors",
                "credentials": "include"
            };

            compareSidebarFetchHandler(postUrl, postHeaders, isSingleItem = false);
        }
    }
}
</script>

<div x-data="initCompareOnCompareSidebar()"
     @private-content-loaded.window="receiveCompareData($event.detail.data)"
     class="compare-widget"
>
    <template x-if="itemCount">
        <div class="mt-8">
            <h2 class="border-t border-container mb-6 pt-5 text-primary font-semibold text-lg"
                id="compare-sidebar"
            >
                Compare Products            </h2>
            <ul class="my-4" aria-labelledby="compare-sidebar">
                <template x-for="product in compareItems">
                    <li class="flex items-start mb-4">
                        <a
                            :href="product.product_url"
                            class="block mb-3 w-10 h-10 shrink-0 mr-4"
                            aria-hidden="true"
                            tabindex="-1"
                        >
                            <img
                                :src="product.image"
                                alt=""
                                loading="lazy"
                            >
                        </a>
                        <strong class="mr-2 text-sm leading-6 font-normal">
                            <a :href="product.product_url" :title="product.name" x-html="product.name"></a>
                        </strong>
                        <button
                            type="button"
                            @click.prevent="removeFromCompare(product.id)"
                            :aria-label="hyva.str('Remove\u0020product\u0020\u0022\u00251\u0022\u0020from\u0020the\u0020comparison', product.name)"
                            class="p-1 inline-flex shrink-0 items-center justify-center text-gray-500
                                   hover:text-primary ml-auto"
                        >
                            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" width="20" height="20" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>
                        </button>
                    </li>
                </template>
            </ul>
            <div class="flex flex-wrap items-center md:mt-5 space-x-4 text-sm">
                <a href="https://www.burdastyle.com/catalog/product_compare/index/"
                    title="Compare&#x20;Products"
                    class="btn btn-secondary px-4 text-sm">
                    <span>Compare</span>
                </a>
                <button x-data="initCompareSidebarClear()"
                    @click.prevent="clearCompare()"
                    aria-label="Remove&#x20;all&#x20;Products"
                    class="p-1 inline-flex shrink-0 items-center justify-center text-gray-500 hover:text-primary ml-auto">
                    <span>Clear all</span>
                </button>
            </div>
        </div>
    </template>
</div>
</aside></div></main><footer class="page-footer"><div class="footer content"><script>
  addEventListener('DOMContentLoaded', () => {
      for (const [selector, label] of Object.entries({"aside.sidebar-main":"Sidebar Main","aside.sidebar-additional":"Sidebar Additional"})) {
          const target = document.querySelector(selector);
          target && target.setAttribute('aria-label', label);
      }
  }, {once: true})
</script>
<div class="mt-5 md:mt-24">
                <div class="footer__usp container py-8 mb-10 md:mb-24">
            <div class="ct-field ct-field-content " id="ct-field-29">

        

    <div class="ct-content-footer_usp">
                    <div class="ct-content-view" id="ct-content-view-29">
                
<div class="block-usp">
            <h2 class="mx-auto mb-11 lg:mb-8 text-2xl lg:text-xxl text-center">
            Why choose Burda?        </h2>
        <div x-data="hyvaAccordion()" class="grid md:grid-cols-2 md:grid-rows-2 gap-5">

                    <div x-data="{ open: false }"
                 x-id="['details-id']"
                 class="max-md:col-span-2 bg-container-darker rounded-lg p-6 md:px-12  text-center"
            >
                <img src="https://www.burdastyle.com/media/contentmanager/content/paiement.png"
                     class="w-12 h-12 mx-auto"
                     loading="lazy"
                     alt=""
                >
                <button
                    role="tab"
                    class="relative group flex w-full items-center justify-center mt-4 pr-7 font-semibold"
                    @click="$store.isMobile && (open = !open)"
                    :aria-expanded="$store.isMobile ? open : null"
                    :aria-controls="$id('collapse-id')"
                >
                    <span class="text-xl">Simple and secure payment</span>
                    <span x-cloak class="absolute right-0 top-0  flex items-center transition-transform group-aria-expanded:rotate-180 md:hidden">
                         <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-7 h-7 inline" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
                    </span>
                </button>
                <div
                    role="tabpanel"
                    x-show="$store.isMobile ? open : true"
                    x-collapse
                    x-cloak
                    :aria-labelledby="$id('details-id')"
                    :aria-hidden="open ? 'false' : 'true'"
                >
                    <p class="lg:max-w-[380px] mt-2 mx-auto text-primary-lightest">Enjoy a smooth shopping experience with our protected and secure payment system.</p>
                </div>
            </div>
                    <div x-data="{ open: false }"
                 x-id="['details-id']"
                 class="max-md:col-span-2 bg-container-darker rounded-lg p-6 md:px-12  text-center"
            >
                <img src="https://www.burdastyle.com/media/contentmanager/content/qualite.png"
                     class="w-12 h-12 mx-auto"
                     loading="lazy"
                     alt=""
                >
                <button
                    role="tab"
                    class="relative group flex w-full items-center justify-center mt-4 pr-7 font-semibold"
                    @click="$store.isMobile && (open = !open)"
                    :aria-expanded="$store.isMobile ? open : null"
                    :aria-controls="$id('collapse-id')"
                >
                    <span class="text-xl">Quality products</span>
                    <span x-cloak class="absolute right-0 top-0  flex items-center transition-transform group-aria-expanded:rotate-180 md:hidden">
                         <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-7 h-7 inline" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
                    </span>
                </button>
                <div
                    role="tabpanel"
                    x-show="$store.isMobile ? open : true"
                    x-collapse
                    x-cloak
                    :aria-labelledby="$id('details-id')"
                    :aria-hidden="open ? 'false' : 'true'"
                >
                    <p class="lg:max-w-[380px] mt-2 mx-auto text-primary-lightest">Discover patterns with precise cuts and well-designed lines so you're guaranteed a perfect fit for all your creations.</p>
                </div>
            </div>
                    <div x-data="{ open: false }"
                 x-id="['details-id']"
                 class="max-md:col-span-2 bg-container-darker rounded-lg p-6 md:px-12  text-center"
            >
                <img src="https://www.burdastyle.com/media/contentmanager/content/enchantee_1.png"
                     class="w-12 h-12 mx-auto"
                     loading="lazy"
                     alt=""
                >
                <button
                    role="tab"
                    class="relative group flex w-full items-center justify-center mt-4 pr-7 font-semibold"
                    @click="$store.isMobile && (open = !open)"
                    :aria-expanded="$store.isMobile ? open : null"
                    :aria-controls="$id('collapse-id')"
                >
                    <span class="text-xl">Satisfaction guaranteed or refunded within 15 days </span>
                    <span x-cloak class="absolute right-0 top-0  flex items-center transition-transform group-aria-expanded:rotate-180 md:hidden">
                         <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-7 h-7 inline" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
                    </span>
                </button>
                <div
                    role="tabpanel"
                    x-show="$store.isMobile ? open : true"
                    x-collapse
                    x-cloak
                    :aria-labelledby="$id('details-id')"
                    :aria-hidden="open ? 'false' : 'true'"
                >
                    <p class="lg:max-w-[380px] mt-2 mx-auto text-primary-lightest">Your satisfaction is our priority. If a product doesn't meet your expectations, you can return it within 15 days for a full refund.</p>
                </div>
            </div>
                    <div x-data="{ open: false }"
                 x-id="['details-id']"
                 class="max-md:col-span-2 bg-container-darker rounded-lg p-6 md:px-12  text-center"
            >
                <img src="https://www.burdastyle.com/media/contentmanager/content/nouveaute.png"
                     class="w-12 h-12 mx-auto"
                     loading="lazy"
                     alt=""
                >
                <button
                    role="tab"
                    class="relative group flex w-full items-center justify-center mt-4 pr-7 font-semibold"
                    @click="$store.isMobile && (open = !open)"
                    :aria-expanded="$store.isMobile ? open : null"
                    :aria-controls="$id('collapse-id')"
                >
                    <span class="text-xl">New releases every month</span>
                    <span x-cloak class="absolute right-0 top-0  flex items-center transition-transform group-aria-expanded:rotate-180 md:hidden">
                         <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-7 h-7 inline" width="25" height="25" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
                    </span>
                </button>
                <div
                    role="tabpanel"
                    x-show="$store.isMobile ? open : true"
                    x-collapse
                    x-cloak
                    :aria-labelledby="$id('details-id')"
                    :aria-hidden="open ? 'false' : 'true'"
                >
                    <p class="lg:max-w-[380px] mt-2 mx-auto text-primary-lightest">Discover our new magazines and collections each month to spark your inspiration and enrich your creativity.</p>
                </div>
            </div>
            </div>
</div>

<script>
    function hyvaAccordion({ multiselectable = false, childOpenStateName = 'open' } = {}) {
        return {
            accordion: null,
            init() {
                this.$el.setAttribute('role', 'region');
                this.$el.setAttribute('aria-multiselectable', multiselectable);
                this.accordion = this.$el.addEventListener('click', (event) => {
                    if (multiselectable) return;
                    const target = event.target.closest('[x-data]');
                    if (!target) return;
                    this.toggleItems(target);
                });
            },
            toggleItems(target) {
                const items = [...this.$root.children];
                if (!items) return;

                items.forEach(item => {
                    if (item._x_ids !== target._x_ids) {
                        Alpine.$data(item)[childOpenStateName] = false;
                    }
                });
            },
        }
    }
</script>

            </div>
            </div>

</div>        </div>
        <div class="border-t border-b">
        <div class="md:container md:grid grid-cols-2">
            <div class="footer__newsletter md:order-2">
                <div>
    <div class="max-md:container flex flex-col gap-5 py-10">
                    <h2 class="text-2xl">
                Newsletter            </h2>
                            <p class="">Get inspiration and receive updates on new issues and pattern collections!</p>
                <div>
            <div>
    <a href="https://www.burdastyle.com/newsletter/" class="w-full lg:w-48 btn-primary"
       aria-label="Subscribe&#x20;to&#x20;Newsletter">
        Subscribe    </a>
    <div class="w-full">
            </div>
    <script>
        function initNewsletterForm() {
            return {
                errors: 0,
                hasCaptchaToken: 0,
                displayErrorMessage: false,
                errorMessages: [],
                setErrorMessages(messages) {
                    this.errorMessages = [messages]
                    this.displayErrorMessage = this.errorMessages.length
                },
                submitForm() {
                    // Do not rename $form, the variable is expected to be declared in the recaptcha output
                    const $form = document.querySelector('#newsletter-validate-detail');
                    
                    if (this.errors === 0) {
                        $form.submit();
                    }
                }
            }
        }
    </script>
</div>
        </div>
    </div>

</div>
            </div>
            <div class="footer__socials md:w-fit">
                <div>
    <div class="py-6 max-md:border-b border-primary-lighter">
        <h3 class="mb-4 text-lg max-md:text-center font-sans text-primary-lighter font-normal">
            Follow us        </h3>
        <div class="flex justify-center gap-2">
                            <a
                    href="https://www.instagram.com/burda_style/"
                    target="_blank"
                    rel="noopener noreferrer"
                    title="External link to instagram"
                    class="flex justify-center items-center w-10 h-10 rounded-full transition-colors bg-primary text-white icon-instagram"
                    aria-label="Follow us on instagram"
                >
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 448 512" width="30" height="30" aria-hidden="true"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>
                </a>
                            <a
                    href="https://www.facebook.com/BurdaStyleSews"
                    target="_blank"
                    rel="noopener noreferrer"
                    title="External link to facebook"
                    class="flex justify-center items-center w-10 h-10 rounded-full transition-colors bg-primary text-white icon-facebook"
                    aria-label="Follow us on facebook"
                >
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 320 512" width="30" height="30" aria-hidden="true"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"/></svg>
                </a>
                            <a
                    href="https://www.youtube.com/c/burdastyleenglish"
                    target="_blank"
                    rel="noopener noreferrer"
                    title="External link to youtube"
                    class="flex justify-center items-center w-10 h-10 rounded-full transition-colors bg-primary text-white icon-youtube"
                    aria-label="Follow us on youtube"
                >
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 576 512" width="30" height="30" aria-hidden="true"><!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
    <path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/>
</svg>
                </a>
                            <a
                    href="https://www.pinterest.com/burdastyle/"
                    target="_blank"
                    rel="noopener noreferrer"
                    title="External link to pinterest"
                    class="flex justify-center items-center w-10 h-10 rounded-full transition-colors bg-primary text-white icon-pinterest"
                    aria-label="Follow us on pinterest"
                >
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 384 512" width="30" height="30" aria-hidden="true"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"/></svg>
                </a>
                    </div>
    </div>
</div>
            </div>
        </div>
    </div>

            <div class="container py-8">
            <div class="grid grid-cols-1 lg:grid-cols-4 lg:gap-6 text-slate-600">
                                                        
    <div
        x-data="{
            open: false,
            isMobile: false,
            checkIsMobileResolution() { this.isMobile = getComputedStyle(this.$refs.toggleIcon).display !== 'none' }
        }"
        x-id="['collapse-id']"
        x-init="checkIsMobileResolution()"
        @resize.window.debounce="checkIsMobileResolution()"
        @visibilitychange.window.debounce="checkIsMobileResolution()"
        class="border-b border-primary-lighter lg:border-b-0 last:border-b-0 text-primary-lighter"
    >
        <div
            :id="$id('collapse-id')"
            :role="isMobile && 'button'"
            :tabindex="isMobile && '0'"
            class="group flex w-full items-center justify-between py-4 gap-2 font-bold  lg:pt-0"
            @click="isMobile && (open = !open)"
            @keyup.enter="isMobile && (open = !open)"
            @keyup.space="isMobile && (open = !open)"
            :aria-expanded="isMobile ? open : null"
            :aria-controls="isMobile ? $id('collapse-id') : null"
        >
            <h3 class="text-base text-primary-lighter font-bold">Help &amp; Information</h3>
            <span
                class="transition-transform group-aria-expanded:rotate-180 lg:hidden"
                x-ref="toggleIcon"
            >
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="20" height="20" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
            </span>
        </div>
        <div
            class="hidden lg:block"
            :class="{ 'hidden': isMobile && !open }"
            :aria-labelledby="isMobile ? $id('collapse-id') : null"
            :aria-hidden="isMobile && (open ? 'false' : 'true')"
        >
            <div class="pt-0.5 pb-2.5">
                
<nav aria-label="Help &amp; Information">
    <ul>
                    <li>
                <a
                    href="/contact"
                    class="block py-1.5 hover:underline"
                >Contact us</a>
            </li>
                    <li>
                <a
                    href="https://www.burdastyle.com/faq"
                    class="block py-1.5 hover:underline"
                >FAQ</a>
            </li>
                    <li>
                <a
                    href="/newsletter"
                    class="block py-1.5 hover:underline"
                >Newsletter</a>
            </li>
                    <li>
                <a
                    href="https://www.burdastyle.com/burda-measurement-guide"
                    class="block py-1.5 hover:underline"
                >Burda Size Guide</a>
            </li>
                    <li>
                <a
                    href="https://www.burdastyle.com/70-years-burda"
                    class="block py-1.5 hover:underline"
                >70 years of Burda Style</a>
            </li>
            </ul>
</nav>

            </div>
        </div>
    </div>
                                                        
    <div
        x-data="{
            open: false,
            isMobile: false,
            checkIsMobileResolution() { this.isMobile = getComputedStyle(this.$refs.toggleIcon).display !== 'none' }
        }"
        x-id="['collapse-id']"
        x-init="checkIsMobileResolution()"
        @resize.window.debounce="checkIsMobileResolution()"
        @visibilitychange.window.debounce="checkIsMobileResolution()"
        class="border-b border-primary-lighter lg:border-b-0 last:border-b-0 text-primary-lighter"
    >
        <div
            :id="$id('collapse-id')"
            :role="isMobile && 'button'"
            :tabindex="isMobile && '0'"
            class="group flex w-full items-center justify-between py-4 gap-2 font-bold  lg:pt-0"
            @click="isMobile && (open = !open)"
            @keyup.enter="isMobile && (open = !open)"
            @keyup.space="isMobile && (open = !open)"
            :aria-expanded="isMobile ? open : null"
            :aria-controls="isMobile ? $id('collapse-id') : null"
        >
            <h3 class="text-base text-primary-lighter font-bold">Burda Style</h3>
            <span
                class="transition-transform group-aria-expanded:rotate-180 lg:hidden"
                x-ref="toggleIcon"
            >
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="20" height="20" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
            </span>
        </div>
        <div
            class="hidden lg:block"
            :class="{ 'hidden': isMobile && !open }"
            :aria-labelledby="isMobile ? $id('collapse-id') : null"
            :aria-hidden="isMobile && (open ? 'false' : 'true')"
        >
            <div class="pt-0.5 pb-2.5">
                
<nav aria-label="Burda Style">
    <ul>
                    <li>
                <a
                    href="https://www.burdastyle.com/legal-notices"
                    class="block py-1.5 hover:underline"
                >Legal Notice</a>
            </li>
                    <li>
                <a
                    href="https://www.burdastyle.com/terms-and-conditions"
                    class="block py-1.5 hover:underline"
                >Burda Style Terms &amp; Conditions</a>
            </li>
                    <li>
                <a
                    href="https://www.burdastyle.com/accessibility"
                    class="block py-1.5 hover:underline"
                >Accessibility</a>
            </li>
                    <li>
                <a
                    href="https://www.burdastyle.com/privacy-policy"
                    class="block py-1.5 hover:underline"
                >Privacy Policy</a>
            </li>
                    <li>
                <a
                    href="https://www.burdastyle.com/cookie-settings"
                    class="block py-1.5 hover:underline"
                >Cookie Settings</a>
            </li>
                    <li>
                <a
                    href="/sitemap.html"
                    class="block py-1.5 hover:underline"
                >Site Map</a>
            </li>
            </ul>
</nav>

            </div>
        </div>
    </div>
                            
    <div
        x-data="{
            open: false,
            isMobile: false,
            checkIsMobileResolution() { this.isMobile = getComputedStyle(this.$refs.toggleIcon).display !== 'none' }
        }"
        x-id="['collapse-id']"
        x-init="checkIsMobileResolution()"
        @resize.window.debounce="checkIsMobileResolution()"
        @visibilitychange.window.debounce="checkIsMobileResolution()"
        class="border-b border-primary-lighter lg:border-b-0 last:border-b-0 text-primary-lighter"
    >
        <div
            :id="$id('collapse-id')"
            :role="isMobile && 'button'"
            :tabindex="isMobile && '0'"
            class="group flex w-full items-center justify-between py-4 gap-2 font-bold  lg:pt-0"
            @click="isMobile && (open = !open)"
            @keyup.enter="isMobile && (open = !open)"
            @keyup.space="isMobile && (open = !open)"
            :aria-expanded="isMobile ? open : null"
            :aria-controls="isMobile ? $id('collapse-id') : null"
        >
            <h3 class="text-base text-primary-lighter font-bold">My Account</h3>
            <span
                class="transition-transform group-aria-expanded:rotate-180 lg:hidden"
                x-ref="toggleIcon"
            >
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" width="20" height="20" aria-hidden="true">
  <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
</svg>
            </span>
        </div>
        <div
            class="hidden lg:block"
            :class="{ 'hidden': isMobile && !open }"
            :aria-labelledby="isMobile ? $id('collapse-id') : null"
            :aria-hidden="isMobile && (open ? 'false' : 'true')"
        >
            <div class="pt-0.5 pb-2.5">
                
    
<a
    class="block py-1.5 hover:underline"
    onclick="hyva.setCookie && hyva.setCookie(
        'login_redirect',
        window.location.href,
        1
    )"
    href="https://www.burdastyle.com/customer/account/index/"
>Sign In</a>

    <a
        class="block py-1.5 hover:underline"
        href="https://www.burdastyle.com/customer/account/create/"
    >Create an Account</a>
            </div>
        </div>
    </div>
</div>

        </div>
                    <div class="bg-container-darker py-6">
    <ul
        class="container grid lg:flex justify-center gap-11 text-primary-lighter"
        x-data="footerUspCarousel()"
        @resize.window.debounce="checkIsMobileResolution()"
        @visibilitychange.window.debounce="checkIsMobileResolution()"
    >
                    <li
                class="col-start-1 row-start-1 flex justify-center items-center gap-3 opacity-0 transition-opacity lg:justify-start lg:opacity-100"
                :class="{ 'opacity-0': currentItem !== 1 }"
            >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="text-green" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
</svg>
                <span class="lg:font-bold text-primary-lightest">Simple and secure payment</span>
            </li>
                    <li
                class="col-start-1 row-start-1 flex justify-center items-center gap-3 opacity-0 transition-opacity lg:justify-start lg:opacity-100"
                :class="{ 'opacity-0': currentItem !== 2 }"
            >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="text-green" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
</svg>
                <span class="lg:font-bold text-primary-lightest">Quality products</span>
            </li>
                    <li
                class="col-start-1 row-start-1 flex justify-center items-center gap-3 opacity-0 transition-opacity lg:justify-start lg:opacity-100"
                :class="{ 'opacity-0': currentItem !== 3 }"
            >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="text-green" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
</svg>
                <span class="lg:font-bold text-primary-lightest">Satisfaction guaranteed or refunded within 15 days </span>
            </li>
                    <li
                class="col-start-1 row-start-1 flex justify-center items-center gap-3 opacity-0 transition-opacity lg:justify-start lg:opacity-100"
                :class="{ 'opacity-0': currentItem !== 4 }"
            >
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="text-green" width="24" height="24" aria-hidden="true">
  <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
</svg>
                <span class="lg:font-bold text-primary-lightest">New releases every month</span>
            </li>
            </ul>
</div>
<script>
    function footerUspCarousel() {
        return {
            uspsEvent: null,
            currentItem: 2,
            itemCount: 0,
            speed: 4000,
            isMobile: false,
            init() {
                this.itemCount = this.$root.children.length;
                this.checkIsMobileResolution();
            },
            checkIsMobileResolution() {
                this.isMobile = getComputedStyle(this.$root).display !== 'flex';

                if (!this.isMobile) {
                    this.stop();
                }

                if (this.isMobile && this.uspsEvent === null) {
                    this.start();
                }
            },
            cycle() {
                this.currentItem = this.currentItem >= this.itemCount ? 1 : this.currentItem + 1;
            },
            start() {
                this.uspsEvent = setInterval(() => this.cycle(), this.speed);
            },
            stop() {
                clearInterval(this.uspsEvent);
                this.uspsEvent = null;
            },
        }
    }
</script>
                            <div class="flex justify-center py-4 px-6">
                <ul class="payment-method flex flex-wrap gap-4 !pl-0">
            <li title="applePay" class="list-none !mb-0">
                        <span class="sr-only">applePay</span>
            <svg xmlns="http://www.w3.org/2000/svg" width="48" height="32" viewBox="0 0 24 16" fill="none" aria-hidden="true">
<path d="M0 2C0 0.895431 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V14C24 15.1046 23.1046 16 22 16H2C0.89543 16 0 15.1046 0 14V2Z" fill="#E6E6E6"/>
<path d="M18.6052 12.5643C19.527 12.5643 19.9608 12.2126 20.3398 11.1464L22 6.48992H21.0388L19.9255 10.0925H19.906L18.7927 6.4948H17.8042L19.4058 10.9269L19.32 11.1964C19.2594 11.5823 18.913 11.8576 18.5231 11.8291C18.4487 11.8291 18.3043 11.8214 18.2458 11.8137V12.5456C18.3649 12.5618 18.4853 12.5696 18.6052 12.5692V12.5643ZM15.4019 10.2324C14.8977 10.2324 14.5777 9.9884 14.5777 9.6192C14.5777 9.23658 14.8864 9.01375 15.4763 8.97838L16.527 8.9121V9.25609C16.5038 9.82291 16.0253 10.2641 15.4585 10.2409C15.4393 10.2401 15.4206 10.2385 15.4019 10.2368V10.2324ZM15.1482 10.9549C15.7203 10.9704 16.2554 10.6723 16.5429 10.1775H16.5624V10.9094H17.4374V7.87809C17.4374 6.999 16.7344 6.43259 15.652 6.43259C14.6481 6.43259 13.9056 7.00673 13.8784 7.79596H14.7302C14.8319 7.39463 15.2133 7.12993 15.6248 7.17466C16.203 7.17466 16.527 7.44424 16.527 7.9403V8.27616L15.3479 8.34651C14.25 8.41278 13.6564 8.86209 13.6564 9.64359C13.6555 10.4361 14.2687 10.9594 15.1478 10.9594L15.1482 10.9549ZM10.0774 5.6149H11.1671C11.9876 5.6149 12.4564 6.05241 12.4564 6.82212C12.4564 7.59184 11.9876 8.03301 11.1634 8.03301H10.0774V5.6149ZM9.132 4.81794V10.9082H10.0774V8.832H11.3862C12.4524 8.88933 13.3628 8.07164 13.4201 7.00551C13.4234 6.94492 13.4238 6.88474 13.4213 6.82416C13.4718 5.76982 12.6581 4.87446 11.6038 4.82364C11.5416 4.82079 11.4798 4.8212 11.4176 4.82404L9.132 4.81794ZM5.99419 5.95442C5.45096 5.92311 4.9862 6.26304 4.72841 6.26304C4.47062 6.26304 4.07214 5.97028 3.64235 5.97841C3.0731 5.99305 2.55426 6.30817 2.27899 6.80667C1.69306 7.81466 2.12651 9.30692 2.69292 10.1271C2.97023 10.5337 3.30283 10.9789 3.73994 10.963C4.15387 10.9476 4.31814 10.6935 4.81827 10.6935C5.3184 10.6935 5.46681 10.963 5.90433 10.9549C6.35729 10.9472 6.64273 10.5483 6.92085 10.1417C7.11684 9.85381 7.26932 9.53869 7.37382 9.20649C6.83994 8.97309 6.49391 8.44735 6.49107 7.86467C6.4992 7.35072 6.76837 6.87661 7.20589 6.60703C6.92695 6.21099 6.47927 5.96784 5.995 5.95076L5.99419 5.95442ZM5.65507 5.41647C5.41721 5.71614 5.05329 5.88814 4.67067 5.88123C4.64627 5.50796 4.77314 5.14079 5.02239 4.86186C5.27042 4.57398 5.62011 4.39344 5.99825 4.35807C6.02509 4.74191 5.90189 5.12087 5.65426 5.41525" fill="black"/>
</svg>
        </li>
            <li title="mastercard" class="list-none !mb-0">
                        <span class="sr-only">mastercard</span>
            <svg xmlns="http://www.w3.org/2000/svg" width="48" height="32" viewBox="0 0 24 16" fill="none" aria-hidden="true">
<path d="M0 2C0 0.895431 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V14C24 15.1046 23.1046 16 22 16H2C0.89543 16 0 15.1046 0 14V2Z" fill="#FDEACE"/>
<path d="M14.504 3.26369L9.3395 3.28144L9.49599 12.7364L14.6605 12.7186L14.504 3.26369Z" fill="#FF5F00"/>
<path d="M9.67941 8.02798C9.64745 6.10492 10.5089 4.39621 11.8582 3.28786C10.8398 2.48864 9.56289 2.00804 8.17875 2.01278C4.89963 2.02401 2.29142 4.72537 2.34672 8.05309C2.40202 11.3808 5.09971 14.064 8.37883 14.0528C9.76297 14.048 11.0237 13.5587 12.0155 12.7526C10.6298 11.6704 9.71137 9.95103 9.67941 8.02798Z" fill="#EB001B"/>
<path d="M21.6533 7.94694C21.7086 11.2747 19.1004 13.976 15.8213 13.9873C14.4371 13.992 13.1603 13.5114 12.1418 12.7122C13.5076 11.6038 14.3526 9.89511 14.3206 7.97206C14.2886 6.049 13.3705 4.34639 11.9845 3.24741C12.9763 2.4413 14.237 1.95201 15.6212 1.94727C18.9003 1.93604 21.5983 4.63595 21.6533 7.94694Z" fill="#F79E1B"/>
</svg>
        </li>
            <li title="paypal" class="list-none !mb-0">
                        <span class="sr-only">paypal</span>
            <svg xmlns="http://www.w3.org/2000/svg" width="48" height="32" viewBox="0 0 24 16" fill="none" aria-hidden="true">
<path d="M0 2C0 0.895431 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V14C24 15.1046 23.1046 16 22 16H2C0.89543 16 0 15.1046 0 14V2Z" fill="#CCDEFF"/>
<path d="M5.38541 5.75872C5.13473 5.58638 4.80761 5.50001 4.40405 5.50001H2.8417C2.71798 5.50001 2.64964 5.56188 2.63665 5.6855L2.00199 9.66943C1.9954 9.70856 2.00519 9.74434 2.03127 9.77687C2.05721 9.80947 2.08983 9.82567 2.1289 9.82567H2.87101C3.00117 9.82567 3.07271 9.76395 3.08584 9.64018L3.26158 8.56612C3.268 8.51407 3.29089 8.47174 3.32996 8.43915C3.369 8.40662 3.41783 8.38534 3.47642 8.37561C3.53501 8.36594 3.59025 8.36104 3.64242 8.36104C3.69445 8.36104 3.75626 8.36435 3.82798 8.37083C3.89952 8.37731 3.94513 8.3805 3.96468 8.3805C4.52448 8.3805 4.96389 8.22276 5.28292 7.90693C5.6018 7.59127 5.76142 7.15354 5.76142 6.59356C5.76142 6.20949 5.63597 5.93123 5.38541 5.75863V5.75872ZM4.57988 6.95497C4.54723 7.18285 4.4627 7.3325 4.326 7.40413C4.18928 7.47585 3.99399 7.51155 3.74014 7.51155L3.41789 7.52128L3.58393 6.47644C3.59688 6.4049 3.63917 6.36908 3.71083 6.36908H3.89642C4.15668 6.36908 4.34558 6.4066 4.46276 6.48133C4.57988 6.55625 4.61895 6.71417 4.57988 6.95497Z" fill="#003087"/>
<path d="M21.8729 5.5H21.1504C21.0786 5.5 21.0364 5.53582 21.0235 5.60748L20.3888 9.6696L20.379 9.68912C20.379 9.72183 20.392 9.7526 20.4181 9.78191C20.444 9.81116 20.4767 9.82581 20.5157 9.82581H21.1603C21.2837 9.82581 21.3521 9.76409 21.3653 9.64032L22 5.64655V5.63685C22 5.54567 21.9575 5.50012 21.8729 5.50012V5.5Z" fill="#009CDE"/>
<path d="M13.1434 7.07225C13.1434 7.03977 13.1304 7.00879 13.1045 6.97957C13.0784 6.95029 13.0491 6.93555 13.0166 6.93555H12.2647C12.193 6.93555 12.1344 6.96826 12.0889 7.03318L11.0539 8.55652L10.6242 7.09183C10.5915 6.98775 10.52 6.93555 10.4094 6.93555H9.67693C9.64431 6.93555 9.61503 6.95023 9.58915 6.97957C9.56303 7.00879 9.55008 7.03983 9.55008 7.07225C9.55008 7.08535 9.61356 7.27732 9.74047 7.64838C9.86738 8.01955 10.0041 8.41991 10.1506 8.84958C10.2971 9.27916 10.3735 9.50713 10.38 9.53295C9.84619 10.2622 9.57939 10.6527 9.57939 10.7047C9.57939 10.7894 9.62162 10.8317 9.70633 10.8317H10.4582C10.5298 10.8317 10.5883 10.7992 10.634 10.7341L13.124 7.14057C13.137 7.12767 13.1434 7.10499 13.1434 7.07222V7.07225Z" fill="#003087"/>
<path d="M20.1448 6.93558H19.4027C19.3114 6.93558 19.2563 7.04303 19.2367 7.2579C19.0673 6.99758 18.7583 6.86724 18.309 6.86724C17.8403 6.86724 17.4415 7.04303 17.1129 7.39457C16.7841 7.7461 16.6198 8.1596 16.6198 8.63476C16.6198 9.01892 16.7321 9.32485 16.9566 9.55261C17.1812 9.7806 17.4822 9.89438 17.8599 9.89438C18.0487 9.89438 18.2407 9.85525 18.436 9.7772C18.6313 9.69909 18.7841 9.59499 18.895 9.46474C18.895 9.47127 18.8883 9.50046 18.8755 9.55252C18.8623 9.60469 18.8559 9.64388 18.8559 9.66969C18.8559 9.77398 18.8981 9.82591 18.9829 9.82591H19.6567C19.7802 9.82591 19.8519 9.76419 19.8714 9.64041L20.2718 7.0918C20.2782 7.0527 20.2685 7.01698 20.2425 6.98438C20.2163 6.95191 20.1838 6.93558 20.1448 6.93558ZM18.8705 8.85933C18.7045 9.02208 18.5043 9.10341 18.27 9.10341C18.0811 9.10341 17.9283 9.05142 17.811 8.94719C17.6938 8.84327 17.6352 8.70003 17.6352 8.51755C17.6352 8.27687 17.7166 8.07325 17.8794 7.90727C18.0419 7.74127 18.2439 7.65829 18.4848 7.65829C18.6669 7.65829 18.8183 7.71199 18.9388 7.81935C19.0592 7.92679 19.1196 8.07489 19.1196 8.26373C19.1195 8.49806 19.0365 8.69666 18.8705 8.85933Z" fill="#009CDE"/>
<path d="M9.05202 6.93558H8.30989C8.21862 6.93558 8.16341 7.04303 8.14386 7.2579C7.96809 6.99758 7.65885 6.86724 7.2162 6.86724C6.74749 6.86724 6.34871 7.04303 6.02001 7.39457C5.69122 7.7461 5.52692 8.1596 5.52692 8.63476C5.52692 9.01892 5.63923 9.32485 5.86382 9.55261C6.08842 9.7806 6.38942 9.89438 6.76704 9.89438C6.94922 9.89438 7.13812 9.85525 7.33337 9.7772C7.52866 9.69909 7.68491 9.59499 7.80208 9.46474C7.77597 9.54279 7.76301 9.61117 7.76301 9.66969C7.76301 9.77398 7.80531 9.82591 7.88995 9.82591H8.56371C8.6873 9.82591 8.75899 9.76419 8.77854 9.64041L9.17887 7.0918C9.18529 7.0527 9.17556 7.01698 9.14959 6.98438C9.12354 6.95191 9.09103 6.93558 9.05202 6.93558ZM7.77773 8.86416C7.61169 9.02384 7.40817 9.10341 7.16746 9.10341C6.97856 9.10341 6.82721 9.05142 6.71337 8.94719C6.59939 8.84327 6.54247 8.70003 6.54247 8.51755C6.54247 8.27687 6.6238 8.07325 6.78662 7.90727C6.94925 7.74127 7.15107 7.65826 7.39202 7.65826C7.57421 7.65826 7.72556 7.71199 7.84611 7.81935C7.96645 7.92679 8.02674 8.07489 8.02674 8.26373C8.02671 8.5046 7.94374 8.70484 7.77773 8.86416Z" fill="#003087"/>
<path d="M16.4782 5.75871C16.2275 5.58638 15.9005 5.5 15.4968 5.5H13.9442C13.814 5.5 13.7423 5.56187 13.7294 5.6855L13.0947 9.66942C13.0881 9.70855 13.0979 9.74433 13.124 9.77687C13.1498 9.80946 13.1825 9.82567 13.2216 9.82567H14.0223C14.1004 9.82567 14.1524 9.7834 14.1786 9.69876L14.3543 8.56611C14.3608 8.51406 14.3836 8.47174 14.4227 8.43914C14.4618 8.40661 14.5105 8.38533 14.5692 8.3756C14.6277 8.36593 14.683 8.36103 14.7352 8.36103C14.7872 8.36103 14.849 8.36435 14.9207 8.37082C14.9922 8.3773 15.038 8.38049 15.0574 8.38049C15.6173 8.38049 16.0566 8.22275 16.3756 7.90692C16.6946 7.59126 16.8541 7.15353 16.8541 6.59355C16.8541 6.20948 16.7287 5.93119 16.4782 5.75862V5.75871ZM15.4773 7.36502C15.3341 7.46265 15.1192 7.51145 14.8329 7.51145L14.5204 7.52124L14.6864 6.47637C14.6993 6.40486 14.7416 6.36898 14.8133 6.36898H14.989C15.1322 6.36898 15.2461 6.37552 15.3309 6.3885C15.4153 6.40158 15.4968 6.4422 15.575 6.51052C15.6531 6.57889 15.6921 6.67822 15.6921 6.80835C15.6921 7.08187 15.6204 7.26731 15.4773 7.36502Z" fill="#009CDE"/>
</svg>
        </li>
            <li title="visa" class="list-none !mb-0">
                        <span class="sr-only">visa</span>
            <svg xmlns="http://www.w3.org/2000/svg" width="48" height="32" viewBox="0 0 24 16" fill="none" aria-hidden="true">
<path d="M0 2C0 0.895431 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V14C24 15.1046 23.1046 16 22 16H2C0.89543 16 0 15.1046 0 14V2Z" fill="#D8E3F3"/>
<path d="M20.655 5.01751H19.3977C19.0175 5.01751 18.7251 5.13447 18.5497 5.51459L16.152 10.9824H17.848C17.848 10.9824 18.1404 10.2514 18.1988 10.076C18.3743 10.076 20.0409 10.076 20.2749 10.076C20.3333 10.2807 20.4795 10.9532 20.4795 10.9532H22L20.655 5.01751ZM18.6667 8.84792C18.8129 8.49704 19.3099 7.18125 19.3099 7.18125C19.3099 7.21049 19.4561 6.83038 19.5146 6.6257L19.6316 7.15201C19.6316 7.15201 19.9532 8.58476 20.0117 8.87716H18.6667V8.84792Z" fill="#3362AB"/>
<path d="M16.269 9.02338C16.269 10.2514 15.1579 11.0702 13.4327 11.0702C12.7018 11.0702 12 10.924 11.6199 10.7485L11.8538 9.40349L12.0585 9.49121C12.5848 9.72513 12.9357 9.81285 13.5789 9.81285C14.0468 9.81285 14.5439 9.63741 14.5439 9.22806C14.5439 8.9649 14.3392 8.78946 13.6959 8.49706C13.0819 8.20466 12.2632 7.73683 12.2632 6.88887C12.2632 5.71928 13.4035 4.92981 15.0117 4.92981C15.6257 4.92981 16.152 5.04677 16.4737 5.19297L16.2398 6.47952L16.1228 6.36256C15.8304 6.2456 15.4503 6.12864 14.8947 6.12864C14.2807 6.15788 13.9883 6.42104 13.9883 6.65496C13.9883 6.91811 14.3392 7.12279 14.8947 7.38595C15.8304 7.82455 16.269 8.32162 16.269 9.02338Z" fill="#3362AB"/>
<path d="M2 5.07603L2.02924 4.95907H4.54386C4.89474 4.95907 5.15789 5.07603 5.24561 5.45614L5.80117 8.08772C5.24561 6.68421 3.95906 5.54386 2 5.07603Z" fill="#F9B50B"/>
<path d="M9.33918 5.01753L6.79532 10.9532H5.07017L3.60819 5.98244C4.66082 6.65496 5.53801 7.70759 5.85965 8.43858L6.03509 9.05262L7.61403 4.98829H9.33918V5.01753Z" fill="#3362AB"/>
<path d="M10.0117 4.98829H11.6199L10.5965 10.9532H8.98831L10.0117 4.98829Z" fill="#3362AB"/>
</svg>
        </li>
    </ul>
            </div>
                    <div class="flex justify-between items-center flex-col sm:flex-row px-6 pt-7 pb-5 border-t border-primary-lighter text-primary-lighter">
        <small class="text-base">
    © Copyright ©2026 Burda Style. All rights reserved. 2026</small>
                    <ul class="flex gap-4">
                            </ul>
            </div>
</div>
</div></footer>
<div x-data="{...hyva.modal(), ...initAmGdprPolicyPopup()}" x-init="initGdprPopup()"
     x-spread="eventListeners" x-bind="eventListeners">
    <div x-cloak x-spread="overlay('amgdpr-policy-popup')" x-bind="overlay('amgdpr-policy-popup')"
         class="fixed inset-0 flex items-center justify-center text-left bg-black bg-opacity-50 z-40">
        <div x-ref="amgdpr-policy-popup" role="dialog" aria-labelledby="amgdpr-policy-content"
             class="flex flex-col  bg-white shadow-xl rounded-lg p-10 max-h-[95vh] max-w-6xl relative">
            <div tabindex="0" @focusin="focusAcceptButton()"></div>
            <button @click="$dispatch('amgdpr-close-policy')"
                    x-ref="amgdpr-close-policy"
                    aria-label="Close"
                    class="absolute right-4 top-4 text-gray-300 transition
                    hover:text-black focus:drop-shadow-md hover:drop-shadow-md">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="h-6 w-6" width="24" height="24" role="img">
  <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/>
<title>x</title></svg>
            </button>
            <div class="flex w-full">
                <p class="w-full text-blue-500 text-3xl mb-5 ml-3" x-text="title"></p>
            </div>
            <div x-show="notificationText && policyData.versionChanged" class="flex w-full">
                <p class="mb-4 p-4 bg-yellow-100 w-full" x-text="notificationText"></p>
            </div>
            <div id="amgdpr-policy-content"
                 class="max-h-[500px] overflow-auto first:mx-0 child:mx-0"
                 tabindex="0"
                 x-html="policyText"></div>
            <div class="mt-8 flex w-full justify-center">
                <button x-focus-first
                        @click="$dispatch('amgdpr-accept-policy')"
                        x-ref="amgdpr-accept-policy"
                        type="button"
                        class="btn btn-primary uppercase font-bold"
                        aria-label="I&#x20;have&#x20;read&#x20;and&#x20;accept">
                    I have read and accept                </button>
            </div>
            <div tabindex="0" @focusin="focusCloseButton()"></div>
        </div>

    </div>
</div>

<script>
    'use strict';

    function initAmGdprPolicyPopup() {
        return {
            /**
             * @typedef PolicyData
             * @property {string} policyVersion
             * @property {boolean} show
             * @property {string} title
             * @property{boolean} versionChanged
             * @property {boolean} hideClose
             * @property {boolean} action
             */

            eventListeners: {
                ['@amgdpr-accept-policy']() {
                    if (this.consentId) {
                        window.dispatchEvent(new CustomEvent('amgdpr-consent-accepted', {detail: this.consentId}));
                        this.consentId = undefined;
                        this.hide('amgdpr-policy-popup');
                    } else {
                        this.acceptPolicy();
                    }
                },
                ['@amgdpr-show-policy.window'](event) {
                    this.consentId = event.detail;
                    this.fetchPolicyContent().then(() => {
                        this.$nextTick(() => {
                            this.show('amgdpr-policy-popup');
                        });
                    });
                },
                ['@amgdpr-close-policy']() {
                    this.hide('amgdpr-policy-popup');
                }
            },
            textUrl: 'https://www.burdastyle.com/gdpr/policy/policytext/',
            acceptUrl: 'https://www.burdastyle.com/gdpr/policy/accept/',
            popupDataUrl: 'https://www.burdastyle.com/gdpr/policy/popupData/',
            notificationText: 'We would like to inform you that our Privacy Policy has been amended.Please, read and accept the new terms.',
            showOnPageLoad: '',
            /**
             * @type PolicyData
             */
            policyData: {
                policyVersion: '',
                show: false,
                title: '',
                versionChanged: false,
                hideClose: false,
                action: true
            },
            title: '',
            policyText: '',
            consentId: undefined,
            initGdprPopup: function () {
                if (hyva.getCookie('amcookie_policy_restriction')) {
                    return;
                }

                this.fetchPolicyData().then(() => {
                    if ((this.showOnPageLoad && this.policyData.show) || this.policyData.versionChanged) {
                        this.fetchPolicyContent().then(() => {
                            this.$nextTick(() => {
                                this.show('amgdpr-policy-popup');
                            });
                        });
                    }
                });
            },

            /**
             * @returns {Promise}
             */
            fetchPolicyData: function () {
                return fetch(this.popupDataUrl)
                    .then(response => response.json())
                    .then((data) => {
                        this.policyData = {...data}
                    })
                    .catch(error => this.dispatchErrorMessage(error));
            },

            /**
             * @returns {Promise}
             */
            fetchPolicyContent: function () {
                this.title = '';
                this.policyText = '';

                const params = !!this.consentId
                    ? '?' + new URLSearchParams({consent_id: this.consentId})
                    : ''

                return fetch(this.textUrl + params)
                    .then(response => response.json())
                    .then(policyContent => {
                        this.title = policyContent.title;
                        this.policyText = policyContent.content;
                    }).catch(error => this.dispatchErrorMessage(error));
            },

            /**
             * @returns {void}
             */
            acceptPolicy: function () {
                window.dispatchEvent(new Event('amgdpr-loading-start'));

                const body = new URLSearchParams({form_key: hyva.getFormKey(), ...this.policyData});
                const contentType = 'application/x-www-form-urlencoded; charset=UTF-8';

                fetch(this.acceptUrl, {method: 'POST', body, headers: {'Content-Type': contentType}})
                    .then(response => response.json())
                    .then(data => {
                        if (data.error) {
                            this.dispatchErrorMessage(data.message)
                        } else {
                            this.notificationText = '';
                            this.hide('amgdpr-policy-popup');
                        }
                    })
                    .catch(error => this.dispatchErrorMessage(error))
                    .finally(() => window.dispatchEvent(new Event('amgdpr-loading-stop')));
            },

            /**
             * @param {string} message
             * @returns {void}
             */
            dispatchErrorMessage: function (message) {
                typeof window.dispatchMessages !== "undefined" && window.dispatchMessages([
                    {
                        type: "error",
                        text: message
                    }
                ]);
            },

            /**
             * @returns {void}
             */
            focusAcceptButton: function () {
                this.$refs['amgdpr-accept-policy']?.focus();
            },

            /**
             * @returns {void}
             */
            focusCloseButton: function () {
                this.$refs['amgdpr-close-policy']?.focus();
            }
        }
    }
</script>


<script>
    (function () {
        const originalShopBy = window.shopBy;
        
        if (typeof originalShopBy !== 'function') {
            return;
        }

        window.shopBy = function () {
            const data = originalShopBy();

            const isMobile = window.matchMedia('(max-width: 768px)').matches;

            data.isMobile = isMobile;
            data.submitByClick = isMobile
                ? 1                : 0;

            return data;
        }
    })();
</script>

<script>document.addEventListener("DOMContentLoaded", function() {
        if (document.querySelectorAll('.mf-ytw-wrapper').length || document.querySelectorAll('[data-mf-ytw-youtube-link]').length) {
            !function (f, b, e, v, t, s) {
                if(f.mfytwcss)return;
                f.mfytwcss=1;
                t = b.createElement(e);
                t.rel = 'stylesheet';
                t.type = 'text/css';
                t.href = v;
                s = b.getElementsByTagName('HEAD')[0];
                s.appendChild(t)
            }(window, document, 'link', 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magefan_YouTubeWidget/css/youtubewidget.min.css');
        }
        if (document.querySelectorAll('.mf-ytw-wrapper').length) {
            !function (f, b, e, v, t, s) {
                if(f.mfytwjs)return;
                f.mfytwjs=1;
                t = b.createElement(e);
                t.type = 'text/javascript';
                t.src = v;
                s = b.getElementsByTagName('HEAD')[0];
                s.appendChild(t)
            }(window, document, 'script', 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magefan_YouTubeWidget/js/iframe.min.js');
        }
        if (document.querySelectorAll('[data-mf-ytw-youtube-link]').length) {
            !function (f, b, e, v, t) {
                if(f.mflinkjs)return;
                f.mflinkjs=1;
                t = b.createElement(e);
                t.type = 'text/javascript';
                t.src = v;
                s = b.getElementsByTagName('HEAD')[0];
                s.appendChild(t)
            }(window, document, 'script', 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Magefan_YouTubeWidget/js/link.min.js');
        }
    });</script>
<script>
    let SnapSlider = class {
        constructor(el, {
            labelSepparator = 'of',
            autoPager,
            groupPager
        } = {}) {
            this.el = el;
            this.track = this.el.querySelector("[data-track]");
            if (!this.track) {
                console.warn(
                    "No Slider track defined, reverting back to CSS slider.\nPlease create a wrapper for your slides with the attribute data-track",
                    this.el
                );
                return;
            }
            this.initialLoad = true;
            this.slides = [];
            this.inViewObserver;
            this.mutationObserver;
            this.resizeObserver;
            this.pager = this.el.querySelector("[data-pager]");
            this.navBtns = Array.from(
                this.el.querySelectorAll("[data-next], [data-prev]")
            );
            this.slideLabelSepparator = this.el.dataset.slideLabelSepparator || labelSepparator;
            this.useAutoPager = autoPager || this.el.hasAttribute("data-auto-pager") || false;
            this.useGroupPager = groupPager || this.el.hasAttribute("data-group-pager") || false;
            this.sliderLabel = this.el.hasAttribute("aria-label") && this.el.getAttribute("aria-label").toLowerCase().trim().replace(/[^a-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "");
            this.sliderId = this.el.id || this.sliderLabel || "slider";
            this.markerIdName = "data-target-id";
            this.pagerClasses = this.el.dataset.pagerClass || "snap-pager";
            this.markerClasses = this.el.dataset.markerClass || "snap-marker";
            this.init();
        }
        init() {
            this.setupSlides();
            this.setupNav();
            if (this.useAutoPager) {
                this.createPager();
            } else {
                this.setupPager();
            }
            this.setupObservers();
            this.setupMutationObserver();
            this.setupResizeObserver();
            this.el.addEventListener("click", this.eventHandler.bind(this));
            this.el.addEventListener("keydown", this.eventHandler.bind(this));
        }
        destroy() {
            this.inViewObserver?.disconnect();
            this.mutationObserver?.disconnect();
            this.resizeObserver?.disconnect();
            this.el.removeEventListener("click", this.eventHandler.bind(this));
            this.el.removeEventListener("keydown", this.eventHandler.bind(this));
        }
        roundUpIfGreaterThan(number, min = 8) {
            const decimalPart = number - Math.floor(number);
            return decimalPart >= min ? Math.ceil(number) : Math.floor(number);
        }
        getInViewItems() {
            const inViewSlides = this.track.querySelectorAll("[data-in-view]");
            const firstInViewSlide = inViewSlides[0] || null;
            const lastInViewSlide = inViewSlides[inViewSlides.length - 1] || null;
            const isAtStart = firstInViewSlide === this.slides[0];
            const isAtEnd = lastInViewSlide === this.slides[this.slides.length - 1];
            return {
                inViewSlides,
                totalInViewSlides: inViewSlides.length,
                firstInViewSlide,
                lastInViewSlide,
                isAtStart,
                isAtEnd,
                hasNoOverflow: isAtStart && isAtEnd
            };
        }
        groupPagerMarkers() {
            if (this.slides.length === 0 || !this.pager || !this.useGroupPager) return;
            const totalVisibleSlides = this.roundUpIfGreaterThan(
                this.track.offsetWidth / this.slides[0].offsetWidth
            );
            const markers = Array.from(this.pager.querySelectorAll("a, button"));
            markers.forEach((marker, index) => {
                marker.style.display = index % totalVisibleSlides === 0 ? null : "none";
            });
        }
        handleInView(entries) {
            entries.forEach((entry) => {
                const marker = this.pager && (this.pager.querySelector(`[href="#${entry.target.id}"]`) || this.pager.querySelector(
                    `[${this.markerIdName}="${entry.target.id}"]`
                ));
                entry.target.toggleAttribute("data-in-view", entry.isIntersecting);
                entry.target.toggleAttribute("inert", !entry.isIntersecting);
                marker?.setAttribute("aria-current", entry.isIntersecting);
                marker?.setAttribute("tabindex", entry.isIntersecting ? "0" : "-1");
            });
            const {
                isAtStart,
                isAtEnd,
                hasNoOverflow
            } = this.getInViewItems();
            this.navBtns.forEach((btn) => {
                if (btn.hasAttribute("data-next")) {
                    btn.style.visibility = hasNoOverflow ? "hidden" : null;
                    isAtEnd ? btn.setAttribute("disabled", "") : btn.removeAttribute("disabled");
                }
                if (btn.hasAttribute("data-prev")) {
                    btn.style.visibility = hasNoOverflow ? "hidden" : null;
                    isAtStart ? btn.setAttribute("disabled", "") : btn.removeAttribute("disabled");
                }
            });
            if (this.pager) {
                this.pager.style.visibility = hasNoOverflow ? "hidden" : null;
            }
            if (!this.initialLoad) {
                this.el.dispatchEvent(
                    new CustomEvent("slideChange", {
                        detail: this.getInViewItems()
                    })
                );
            } else {
                this.initialLoad = false;
            }
            if (document.activeElement.parentElement.hasAttribute("data-pager")) {
                const activeItems = this.pager.querySelectorAll('[tabindex="0"]');
                if (activeItems.length) {
                    activeItems[0].focus({ preventScroll: true });
                }
            }
        }
        getSlides() {
            if (!this.track) return [];
            return Array.from(this.track.children).filter(
                (child) => child.tagName.toLowerCase() !== "template" && child.tagName.toLowerCase() !== "style" && child.tagName.toLowerCase() !== "script"
            );
        }
        refreshSlides() {
            this.initialLoad = true;
            this.slides = this.getSlides();
            this.setupSlides();
            if (this.useAutoPager) {
                this.createPager();
            } else {
                this.setupPager();
            }
            this.groupPagerMarkers();
            this.setupObservers();
        }
        setupSlides() {
            this.slides = this.getSlides();
            this.slides.forEach((slide, index) => {
                const totalSlides = this.slides.length;
                const currentSlide = index + 1;
                const existingLabel = slide.getAttribute("aria-label") || "";
                const isImage = slide.tagName.toLowerCase() === "img" || slide.tagName.toLowerCase() === "picture";
                const slideLabelTag = isImage ? "alt" : "aria-label";
                const hasAutoLabel = existingLabel.startsWith(
                    `${currentSlide} ${this.slideLabelSepparator} `
                );
                if (!slide.hasAttribute("id")) {
                    slide.setAttribute(
                        "id",
                        `${this.sliderId}-item-${currentSlide}`
                    );
                }
                if (!slide.hasAttribute(slideLabelTag) || slide.getAttribute(slideLabelTag) === "" || hasAutoLabel) {
                    slide.setAttribute(
                        slideLabelTag,
                        `${currentSlide} ${this.slideLabelSepparator} ${totalSlides}`
                    );
                }
                if (slide.tagName.toLowerCase() === "div" && !slide.hasAttribute("role")) {
                    slide.setAttribute("role", "group");
                }
                if (this.pager && !isImage) {
                    slide.setAttribute("role", "tabpanel");
                }
                if (slide.getAttribute("role") === "group") {
                    slide.setAttribute("aria-roledescription", "item");
                }
            });
            if (!this.el.hasAttribute("role") && this.el.tagName !== "SECTION") {
                this.el.setAttribute("role", "region");
            }
            if (!this.el.hasAttribute("aria-roledescription")) {
                this.el.setAttribute("aria-roledescription", "carousel");
            }
            this.track.setAttribute("tabindex", 0);
            this.track.setAttribute("aria-live", "polite");
        }
        setupNav() {
            this.navBtns.forEach((btn) => {
                btn.setAttribute("disabled", "");
                btn.removeAttribute("hidden");
                btn.classList.remove("invisible");
                btn.style.visibility = null;
            });
        }
        createPager() {
            const newPager = document.createElement("nav");
            newPager.setAttribute("data-pager", "");
            newPager.setAttribute("role", "tablist");
            newPager.classList.add(...this.pagerClasses.split(" "));
            this.slides.forEach((slide, index) => {
                const marker = document.createElement("button");
                const slideId = slide.id || `${this.sliderId}-item-${index + 1}`;
                marker.setAttribute(this.markerIdName, slideId);
                marker.classList.add(...this.markerClasses.split(" "));
                this.setupPagerMarker(marker, index);
                newPager.appendChild(marker);
                if (slide.tagName.toLowerCase() !== "img" && slide.tagName.toLowerCase() !== "picture") {
                    slide.removeAttribute("aria-roledescription");
                    slide.setAttribute("role", "tabpanel");
                }
            });
            if (this.pager) {
                this.pager.setAttribute("role", "tablist");
                this.pager.replaceChildren(...newPager.children);
            } else {
                this.track.after(newPager);
                this.pager = this.el.querySelector("[data-pager]");
            }
        }
        setupPager() {
            if (!this.pager) return;
            this.pager.setAttribute("role", "tablist");
            const items = Array.from(this.pager.querySelectorAll("a, button"));
            items.forEach((marker, index) => this.setupPagerMarker(marker, index));
        }
        setupPagerMarker(marker, index) {
            const markerId = marker.getAttribute("href")?.slice(1) || marker.getAttribute(this.markerIdName);
            const slideId = markerId || `${this.sliderId}-item-${index + 1}`;
            if (!markerId) {
                marker.setAttribute(this.markerIdName, slideId);
            }
            marker.setAttribute("role", "tab");
            marker.setAttribute("aria-controls", slideId);
            marker.setAttribute("aria-posinset", index + 1);
            marker.setAttribute("aria-setsize", this.slides.length);
            marker.setAttribute("tabindex", "-1");
            if (!marker.hasAttribute("aria-label")) {
                marker.setAttribute("aria-label", `Slide ${index + 1}`);
            }
        }
        setupObservers() {
            if (this.inViewObserver) {
                this.inViewObserver.disconnect();
            }
            this.inViewObserver = new IntersectionObserver(
                this.handleInView.bind(this), {
                    root: this.track,
                    threshold: 0.8
                }
            );
            this.slides.forEach((slide) => this.inViewObserver.observe(slide));
        }
        setupMutationObserver() {
            this.mutationObserver = new MutationObserver(
                this.refreshSlides.bind(this)
            );
            this.mutationObserver.observe(this.track, {
                childList: true,
                subtree: false
            });
        }
        setupResizeObserver() {
            this.resizeObserver = new ResizeObserver(
                this.groupPagerMarkers.bind(this)
            );
            this.resizeObserver.observe(this.el);
        }
        goToSlideDir(dir = "next") {
            const {
                firstInViewSlide,
                lastInViewSlide
            } = this.getInViewItems();
            const isPrev = dir === "prev";
            let targetSlide = isPrev ? firstInViewSlide?.previousElementSibling : lastInViewSlide?.nextElementSibling;
            if (!targetSlide) return;
            if (targetSlide.tagName.toLowerCase() === "template") {
                targetSlide = isPrev ? targetSlide?.previousElementSibling : targetSlide?.nextElementSibling;
            }
            targetSlide.scrollIntoView({ block: "nearest", inline: isPrev ? "end" : "start" });
        }
        pagerToSlide(event) {
            if (!event.target.closest("[data-pager]")) return;
            const marker = event.target.closest("a, button");
            if (!marker) return;
            event.preventDefault();
            const slideId = marker.getAttribute("href")?.slice(1) || marker.getAttribute(this.markerIdName);
            const targetSlide = this.track.querySelector(`#${slideId}`);
            targetSlide?.scrollIntoView({ block: "nearest", inline: "start" });
        }
        eventHandler(event) {
            const target = event.target.closest(
                "[data-next], [data-prev], [data-pager]"
            );
            if (!target) return;
            if (event.type === "click") {
                if (target.hasAttribute("data-next")) {
                    this.goToSlideDir("next");
                } else if (target.hasAttribute("data-prev")) {
                    this.goToSlideDir("prev");
                } else if (target.closest("[data-pager]")) {
                    this.pagerToSlide(event);
                }
            }
            if (event.type === "keydown" && target.closest("[data-pager]")) {
                if (event.key === "ArrowRight") {
                    this.goToSlideDir("next");
                } else if (event.key === "ArrowLeft") {
                    this.goToSlideDir("prev");
                }
            }
        }
    };

    (() => {
        function alpineSnapSlider(Alpine) {
            Alpine.directive("snap-slider", (el, {
                modifiers
            }, {
                cleanup
            }) => {
                const autoPager = modifiers.includes("auto-pager");
                const groupPager = modifiers.includes("group-pager");
                const slider = new SnapSlider(el, {
                    autoPager,
                    groupPager
                });
                cleanup(() => {
                    slider.destroy();
                });
            });
        }

        document.addEventListener("alpine:init", () => {
            window.Alpine.plugin(alpineSnapSlider);
        });
    })();
    //# sourceURL=alpine-snap-slider.js
</script>
<script>
    (() => {
        // src/dialog.js
        function dialog_default(Alpine) {
            Alpine.directive("htmldialog", fylgjaAlpineDialog);
            function fylgjaAlpineDialog(el, { expression, modifiers }, { evaluateLater, cleanup }) {
            const evaluate = expression.length ? evaluateLater(expression) : () => {};
            const canEvaluate = expression.length > 0;
            const lockPageScroll = modifiers.includes("noscroll");
            const closeBy = el.getAttribute("closeby") || modifierValue(modifiers, "closeby", "closerequest");
            el.style.display = null;
            el.style.length === 0 && el.removeAttribute("style");
            if (el._x_isShown) {
                open();
            }
            const closeBySupported = (() => {
                return "closedBy" in HTMLDialogElement.prototype;
            })();
            function scrollLock(use = true) {
                document.body.style.overflow = use ? "hidden" : "";
            }
            function dialogSubmit(event) {
                if (event.target.getAttribute("method") === "dialog" || event.submitter?.getAttribute("formmethod") === "dialog") {
                event.preventDefault();
                evaluate();
                }
            }
            function escapeDialog(event) {
                if (event.key !== "Escape") return;
                event.preventDefault();
                if (closeBy === "none") return;
                evaluate();
            }
            function handleCloseByEvent(event) {
                if (event.target !== el) return;
                const rect = el.getBoundingClientRect();
                const isInDialog = rect.top <= event.clientY && event.clientY <= rect.top + rect.height && rect.left <= event.clientX && event.clientX <= rect.left + rect.width;
                if (!isInDialog) {
                if (closeBy === "any") {
                    if (closeBySupported) {
                    event.preventDefault();
                    }
                    evaluate();
                }
                }
            }
            function handleCloseEvent() {
                evaluate();
            }
            function open() {
                if (el.hasAttribute("open")) return;
                el.showModal();
                scrollLock(lockPageScroll);
            }
            function close() {
                if (!el.hasAttribute("open")) return;
                el.close();
                scrollLock(false);
            }
            el._x_doShow = () => open();
            el._x_doHide = () => close();
            el.addEventListener("keydown", escapeDialog);
            el.addEventListener("submit", dialogSubmit);
            el.addEventListener("click", handleCloseByEvent);
            el.addEventListener("cancel", handleCloseEvent);
            cleanup(() => {
                el.removeEventListener("keydown", escapeDialog);
                el.removeEventListener("submit", dialogSubmit);
                el.removeEventListener("click", handleCloseByEvent);
                el.removeEventListener("cancel", handleCloseEvent);
                scrollLock(false);
            });
            }
        }
        function modifierValue(modifiers, key, fallback) {
            if (modifiers.indexOf(key) === -1) return fallback;
            const rawValue = modifiers[modifiers.indexOf(key) + 1];
            if (!rawValue) return fallback;
            if (key === "closeby") {
            const allowedValues = ["auto", "none", "closerequest", "any"];
            const options = allowedValues.join(", ");
            if (!allowedValues.includes(rawValue)) {
                console.warn(
                `"${rawValue}" is not one of the allowed values for closeby: ${options}`
                );
                return fallback;
            }
            }
            return rawValue;
        }

        // src/cdn.js
        document.addEventListener("alpine:init", () => {
            window.Alpine.plugin(dialog_default);
        });
    })();
    //# sourceURL=alpine-htmldialog.js
</script>
<script>
    (() => {
        function src_default(Alpine) {
            Alpine.directive("intersect", Alpine.skipDuringClone((el, { value, expression, modifiers }, { evaluateLater, cleanup }) => {
                let evaluate = evaluateLater(expression);
                let options = {
                    rootMargin: getRootMargin(modifiers),
                    threshold: getThreshold(modifiers)
                };
                let observer = new IntersectionObserver((entries) => {
                    entries.forEach((entry) => {
                        if (entry.isIntersecting === (value === "leave"))
                            return;
                        evaluate();
                        modifiers.includes("once") && observer.disconnect();
                    });
                }, options);
                observer.observe(el);
                cleanup(() => {
                    observer.disconnect();
                });
            }));
        }
        function getThreshold(modifiers) {
            if (modifiers.includes("full"))
                return 0.99;
            if (modifiers.includes("half"))
                return 0.5;
            if (!modifiers.includes("threshold"))
                return 0;
            let threshold = modifiers[modifiers.indexOf("threshold") + 1];
            if (threshold === "100")
                return 1;
            if (threshold === "0")
                return 0;
            return Number(`.${threshold}`);
        }
        function getLengthValue(rawValue) {
            let match = rawValue.match(/^(-?[0-9]+)(px|%)?$/);
            return match ? match[1] + (match[2] || "px") : void 0;
        }
        function getRootMargin(modifiers) {
            const key = "margin";
            const fallback = "0px 0px 0px 0px";
            const index = modifiers.indexOf(key);
            if (index === -1)
                return fallback;
            let values = [];
            for (let i = 1; i < 5; i++) {
                values.push(getLengthValue(modifiers[index + i] || ""));
            }
            values = values.filter((v) => v !== void 0);
            return values.length ? values.join(" ").trim() : fallback;
        }

        document.addEventListener("alpine:init", () => {
            window.Alpine.plugin(src_default);
        });
    })();
    //# sourceURL=alpine-intersect.js
</script>
<script>
    for (const [selector, deferUntil] of Object.entries({".product-slider section[x-data]:not([x-data] [x-data])":"intersect",".product-info [x-data]:not([x-data] [x-data])":"intersect","#filters-content [x-data]:not([x-data] [x-data])":"intersect","#review_form":"intersect","section[x-data^=initRecentlyViewedProductsComponent]":"intersect","div[x-data^=initBundleOptions]":"intersect","#product_addtocart_form [x-data]:not([x-data] [x-data])":"intersect","#notice-cookie-block":"idle"})) {
        document.querySelectorAll(selector).forEach(el => el.setAttribute('x-defer', `${deferUntil}`));
    }
    //# sourceURL=alpine-defer-rules.js
</script>
<script>
    (() => {
        const hasAlpine = new Promise(resolve => {
            window.addEventListener('alpine:initialized', resolve, {once: true, passive: true});
        });

        const hasInteract = new Promise(resolve => {
            (events => {
                const onInteract = () => {
                    resolve();
                    events.forEach(type => window.removeEventListener(type, onInteract));
                }
                events.forEach(type => window.addEventListener(type, onInteract, {once: true, passive: true}))
            })(['touchstart', 'mouseover', 'wheel', 'scroll', 'keydown'])
        });

        const onIntersect = (el) => {
            return new Promise(resolve => {
                const observer = new IntersectionObserver(entries => {
                    for (const entry of entries) {
                        if (entry.isIntersecting) {
                            observer.disconnect()
                            resolve();
                        }
                    }
                }, {});
                observer.observe(el);
            });
        }

        function runComponent(el) {
            hasAlpine.then(() => {
                el.removeAttribute('x-ignore');
                queueMicrotask(() => Alpine.initTree(el));
            });
        }

        function initDeferredComponents() {
            document.querySelectorAll('[x-data][x-defer]').forEach(el => {
                el.setAttribute('x-ignore', '');
                const deferUntil = (el.getAttribute('x-defer') || '').trim();
                switch (deferUntil) {
                    case 'interact':
                        hasInteract.then(() => runComponent(el));
                        break;
                    case 'intersect':
                        onIntersect(el).then(() => runComponent(el))
                        break;
                    case 'idle':
                        window.requestIdleCallback
                            ? window.requestIdleCallback(() => runComponent(el), {timeout: 4000})
                            : setTimeout(() => runComponent(el), 4000);
                        break;
                    case 'eager':
                        runComponent(el);
                        break;
                    default:
                        if (deferUntil.startsWith('event:') && deferUntil.length > 6) {
                            window.addEventListener(deferUntil.substring(6), () => runComponent(el), {once: true, passive: true});
                        }
                }
            });
        }

        window.addEventListener('alpine:init', initDeferredComponents, {once: true, passive: true});
    })();
    //# sourceURL=alpine-defer.js
</script>
<script>
    (() => {
        // packages/collapse/src/index.js
        function src_default(Alpine) {
            Alpine.directive("collapse", collapse);
            collapse.inline = (el, {
                modifiers
            }) => {
                if (!modifiers.includes("min"))
                    return;
                el._x_doShow = () => {};
                el._x_doHide = () => {};
            };

            function collapse(el, {
                modifiers
            }) {
                let duration = modifierValue(modifiers, "duration", 250) / 1e3;
                let floor = modifierValue(modifiers, "min", 0);
                let fullyHide = !modifiers.includes("min");
                if (!el._x_isShown)
                    el.style.height = `${floor}px`;
                if (!el._x_isShown && fullyHide)
                    el.hidden = true;
                if (!el._x_isShown)
                    el.style.overflow = "hidden";
                let setFunction = (el2, styles) => {
                    let revertFunction = Alpine.setStyles(el2, styles);
                    return styles.height ? () => {} : revertFunction;
                };
                let transitionStyles = {
                    transitionProperty: "height",
                    transitionDuration: `${duration}s`,
                    transitionTimingFunction: "cubic-bezier(0.4, 0.0, 0.2, 1)"
                };
                el._x_transition = {
                    in(before = () => {}, after = () => {}) {
                        if (fullyHide)
                            el.hidden = false;
                        if (fullyHide)
                            el.style.display = null;
                        let current = el.getBoundingClientRect().height;
                        el.style.height = "auto";
                        let full = el.getBoundingClientRect().height;
                        if (current === full) {
                            current = floor;
                        }
                        Alpine.transition(el, Alpine.setStyles, {
                            during: transitionStyles,
                            start: {
                                height: current + "px"
                            },
                            end: {
                                height: full + "px"
                            }
                        }, () => el._x_isShown = true, () => {
                            if (el.getBoundingClientRect().height == full) {
                                el.style.overflow = null;
                            }
                        });
                    },
                    out(before = () => {}, after = () => {}) {
                        let full = el.getBoundingClientRect().height;
                        Alpine.transition(el, setFunction, {
                            during: transitionStyles,
                            start: {
                                height: full + "px"
                            },
                            end: {
                                height: floor + "px"
                            }
                        }, () => el.style.overflow = "hidden", () => {
                            el._x_isShown = false;
                            if (el.style.height == `${floor}px` && fullyHide) {
                                el.style.display = "none";
                                el.hidden = true;
                            }
                        });
                    }
                };
            }
        }

        function modifierValue(modifiers, key, fallback) {
            if (modifiers.indexOf(key) === -1)
                return fallback;
            const rawValue = modifiers[modifiers.indexOf(key) + 1];
            if (!rawValue)
                return fallback;
            if (key === "duration") {
                let match = rawValue.match(/([0-9]+)ms/);
                if (match)
                    return match[1];
            }
            if (key === "min") {
                let match = rawValue.match(/([0-9]+)px/);
                if (match)
                    return match[1];
            }
            return rawValue;
        }

        // packages/collapse/builds/cdn.js
        document.addEventListener("alpine:init", () => {
            window.Alpine.plugin(src_default);
        });
    })();
</script>
 <style>
        @keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}

    /* Custom additions from the splide.min.css but without the custom style */
    .splide__pagination--ttb {
        position: absolute;
        display: inline-flex;
        flex-direction: column;
        top: 0;
        bottom: 0;
        right: 100%;
    }
</style>

<script>
    function r(n,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function Jt(n,t,i){t&&r(n.prototype,t),i&&r(n,i),Object.defineProperty(n,"prototype",{writable:!1})}
    var n,t;n=this,t=function(){"use strict";var v="(prefers-reduced-motion: reduce)",G=4,rn=5,r={CREATED:1,MOUNTED:2,IDLE:3,MOVING:G,SCROLLING:rn,DRAGGING:6,DESTROYED:7};function D(n){n.length=0}function o(n,t,i){return Array.prototype.slice.call(n,t,i)}function R(n){return n.bind.apply(n,[null].concat(o(arguments,1)))}function on(){}var p=setTimeout;function h(n){return requestAnimationFrame(n)}function u(n,t){return typeof t===n}function un(n){return!c(n)&&u("object",n)}var e=Array.isArray,x=R(u,"function"),C=R(u,"string"),en=R(u,"undefined");function c(n){return null===n}function m(n){try{return n instanceof(n.ownerDocument.defaultView||window).HTMLElement}catch(n){return!1}}function y(n){return e(n)?n:[n]}function g(n,t){y(n).forEach(t)}function b(n,t){return-1<n.indexOf(t)}function k(n,t){return n.push.apply(n,y(t)),n}function A(t,n,i){t&&g(n,function(n){n&&t.classList[i?"add":"remove"](n)})}function M(n,t){A(n,C(t)?t.split(" "):t,!0)}function L(n,t){g(t,n.appendChild.bind(n))}function O(n,i){g(n,function(n){var t=(i||n).parentNode;t&&t.insertBefore(n,i)})}function cn(n,t){return m(n)&&(n.msMatchesSelector||n.matches).call(n,t)}function S(n,t){n=n?o(n.children):[];return t?n.filter(function(n){return cn(n,t)}):n}function fn(n,t){return t?S(n,t)[0]:n.firstElementChild}var E=Object.keys;function w(t,i,n){t&&(n?E(t).reverse():E(t)).forEach(function(n){"__proto__"!==n&&i(t[n],n)})}function an(r){return o(arguments,1).forEach(function(i){w(i,function(n,t){r[t]=i[t]})}),r}function d(i){return o(arguments,1).forEach(function(n){w(n,function(n,t){e(n)?i[t]=n.slice():un(n)?i[t]=d({},un(i[t])?i[t]:{},n):i[t]=n})}),i}function sn(t,n){g(n||E(t),function(n){delete t[n]})}function P(n,i){g(n,function(t){g(i,function(n){t&&t.removeAttribute(n)})})}function I(i,t,r){un(t)?w(t,function(n,t){I(i,t,n)}):g(i,function(n){c(r)||""===r?P(n,t):n.setAttribute(t,String(r))})}function j(n,t,i){n=document.createElement(n);return t&&(C(t)?M:I)(n,t),i&&L(i,n),n}function _(n,t,i){if(en(i))return getComputedStyle(n)[t];c(i)||(n.style[t]=""+i)}function ln(n,t){_(n,"display",t)}function dn(n){n.setActive&&n.setActive()||n.focus({preventScroll:!0})}function z(n,t){return n.getAttribute(t)}function vn(n,t){return n&&n.classList.contains(t)}function N(n){return n.getBoundingClientRect()}function T(n){g(n,function(n){n&&n.parentNode&&n.parentNode.removeChild(n)})}function hn(n){return fn((new DOMParser).parseFromString(n,"text/html").body)}function F(n,t){n.preventDefault(),t&&(n.stopPropagation(),n.stopImmediatePropagation())}function pn(n,t){return n&&n.querySelector(t)}function gn(n,t){return t?o(n.querySelectorAll(t)):[]}function X(n,t){A(n,t,!1)}function mn(n){return n.timeStamp}function W(n){return C(n)?n:n?n+"px":""}var yn="splide",f="data-"+yn;function bn(n,t){if(!n)throw new Error("["+yn+"] "+(t||""))}var Y=Math.min,wn=Math.max,xn=Math.floor,kn=Math.ceil,U=Math.abs;function Sn(n,t,i){return U(n-t)<i}function En(n,t,i,r){var o=Y(t,i),t=wn(t,i);return r?o<n&&n<t:o<=n&&n<=t}function q(n,t,i){var r=Y(t,i),t=wn(t,i);return Y(wn(r,n),t)}function Ln(n){return(0<n)-(n<0)}function On(t,n){return g(n,function(n){t=t.replace("%s",""+n)}),t}function An(n){return n<10?"0"+n:""+n}var _n={};function zn(){var c=[];function i(n,i,r){g(n,function(t){t&&g(i,function(n){n.split(" ").forEach(function(n){n=n.split(".");r(t,n[0],n[1])})})})}return{bind:function(n,t,u,e){i(n,t,function(n,t,i){var r="addEventListener"in n,o=r?n.removeEventListener.bind(n,t,u,e):n.removeListener.bind(n,u);r?n.addEventListener(t,u,e):n.addListener(u),c.push([n,t,i,u,o])})},unbind:function(n,t,o){i(n,t,function(t,i,r){c=c.filter(function(n){return!!(n[0]!==t||n[1]!==i||n[2]!==r||o&&n[3]!==o)||(n[4](),!1)})})},dispatch:function(n,t,i){var r;return"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:!0,detail:i}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,i),n.dispatchEvent(r),r},destroy:function(){c.forEach(function(n){n[4]()}),D(c)}}}var B="mounted",H="move",Dn="moved",Mn="click",Pn="active",In="inactive",Rn="visible",Cn="hidden",J="refresh",K="updated",jn="resize",Nn="resized",Tn="scroll",V="scrolled",a="destroy",Gn="navigation:mounted",Fn="autoplay:play",Xn="autoplay:pause",Wn="lazyload:loaded",Yn="sk",Un="sh";function Q(n){var i=n?n.event.bus:document.createDocumentFragment(),r=zn();return n&&n.event.on(a,r.destroy),an(r,{bus:i,on:function(n,t){r.bind(i,y(n).join(" "),function(n){t.apply(t,e(n.detail)?n.detail:[])})},off:R(r.unbind,i),emit:function(n){r.dispatch(i,n,o(arguments,1))}})}function qn(t,n,i,r){var o,u,e=Date.now,c=0,f=!0,a=0;function s(){if(!f){if(c=t?Y((e()-o)/t,1):1,i&&i(c),1<=c&&(n(),o=e(),r&&++a>=r))return l();u=h(s)}}function l(){f=!0}function d(){u&&cancelAnimationFrame(u),f=!(u=c=0)}return{start:function(n){n||d(),o=e()-(n?c*t:0),f=!1,u=h(s)},rewind:function(){o=e(),c=0,i&&i(c)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return f}}}function s(n){var t=n;return{set:function(n){t=n},is:function(n){return b(y(n),t)}}}var n="Arrow",Bn=n+"Left",Hn=n+"Right",t=n+"Up",n=n+"Down",Jn="ttb",l={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[t,Hn],ArrowRight:[n,Bn]};var Z="role",$="tabindex",i="aria-",Kn=i+"controls",Vn=i+"current",Qn=i+"selected",nn=i+"label",Zn=i+"labelledby",$n=i+"hidden",nt=i+"orientation",tt=i+"roledescription",it=i+"live",rt=i+"busy",ot=i+"atomic",ut=[Z,$,"disabled",Kn,Vn,nn,Zn,$n,nt,tt],i=yn+"__",et=yn,ct=i+"track",ft=i+"list",at=i+"slide",st=at+"--clone",lt=at+"__container",dt=i+"arrows",vt=i+"arrow",ht=vt+"--prev",pt=vt+"--next",gt=i+"pagination",mt=gt+"__page",yt=i+"progress"+"__bar",bt=i+"toggle",wt=i+"sr",tn="is-active",xt="is-prev",kt="is-next",St="is-visible",Et="is-loading",Lt="is-focus-in",Ot="is-overflow",At=[tn,St,xt,kt,Et,Lt,Ot];var _t="touchstart mousedown",zt="touchmove mousemove",Dt="touchend touchcancel mouseup click";var Mt="slide",Pt="loop",It="fade";function Rt(o,r,t,u){var e,n=Q(o),i=n.on,c=n.emit,f=n.bind,a=o.Components,s=o.root,l=o.options,d=l.isNavigation,v=l.updateOnMove,h=l.i18n,p=l.pagination,g=l.slideFocus,m=a.Direction.resolve,y=z(u,"style"),b=z(u,nn),w=-1<t,x=fn(u,"."+lt);function k(){var n=o.splides.map(function(n){n=n.splide.Components.Slides.getAt(r);return n?n.slide.id:""}).join(" ");I(u,nn,On(h.slideX,(w?t:r)+1)),I(u,Kn,n),I(u,Z,g?"button":""),g&&P(u,tt)}function S(){e||E()}function E(){var n,t,i;e||(n=o.index,(i=L())!==vn(u,tn)&&(A(u,tn,i),I(u,Vn,d&&i||""),c(i?Pn:In,O)),i=function(){if(o.is(It))return L();var n=N(a.Elements.track),t=N(u),i=m("left",!0),r=m("right",!0);return xn(n[i])<=kn(t[i])&&xn(t[r])<=kn(n[r])}(),t=!i&&(!L()||w),o.state.is([G,rn])||I(u,$n,t||""),I(gn(u,l.focusableNodes||""),$,t?-1:""),g&&I(u,$,t?-1:0),i!==vn(u,St)&&(A(u,St,i),c(i?Rn:Cn,O)),i||document.activeElement!==u||(t=a.Slides.getAt(o.index))&&dn(t.slide),A(u,xt,r===n-1),A(u,kt,r===n+1))}function L(){var n=o.index;return n===r||l.cloneStatus&&n===t}var O={index:r,slideIndex:t,slide:u,container:x,isClone:w,mount:function(){w||(u.id=s.id+"-slide"+An(r+1),I(u,Z,p?"tabpanel":"group"),I(u,tt,h.slide),I(u,nn,b||On(h.slideLabel,[r+1,o.length]))),f(u,"click",R(c,Mn,O)),f(u,"keydown",R(c,Yn,O)),i([Dn,Un,V],E),i(Gn,k),v&&i(H,S)},destroy:function(){e=!0,n.destroy(),X(u,At),P(u,ut),I(u,"style",y),I(u,nn,b||"")},update:E,style:function(n,t,i){_(i&&x||u,n,t)},isWithin:function(n,t){return n=U(n-r),(n=w||!l.rewind&&!o.is(Pt)?n:Y(n,o.length-n))<=t}};return O}var Ct=f+"-interval";var jt={passive:!1,capture:!0};var Nt={Spacebar:" ",Right:Hn,Left:Bn,Up:t,Down:n};function Tt(n){return n=C(n)?n:n.key,Nt[n]||n}var Gt="keydown";var Ft=f+"-lazy",Xt=Ft+"-srcset",Wt="["+Ft+"], ["+Xt+"]";var Yt=[" ","Enter"];var Ut=Object.freeze({__proto__:null,Media:function(r,n,o){var u=r.state,t=o.breakpoints||{},e=o.reducedMotion||{},i=zn(),c=[];function f(n){n&&i.destroy()}function a(n,t){t=matchMedia(t);i.bind(t,"change",s),c.push([n,t])}function s(){var n=u.is(7),t=o.direction,i=c.reduce(function(n,t){return d(n,t[1].matches?t[0]:{})},{});sn(o),l(i),o.destroy?r.destroy("completely"===o.destroy):n?(f(!0),r.mount()):t!==o.direction&&r.refresh()}function l(n,t,i){d(o,n),t&&d(Object.getPrototypeOf(o),n),!i&&u.is(1)||r.emit(K,o)}return{setup:function(){var i="min"===o.mediaQuery;E(t).sort(function(n,t){return i?+n-+t:+t-+n}).forEach(function(n){a(t[n],"("+(i?"min":"max")+"-width:"+n+"px)")}),a(e,v),s()},destroy:f,reduce:function(n){matchMedia(v).matches&&(n?d(o,e):sn(o,E(e)))},set:l}},Direction:function(n,t,o){return{resolve:function(n,t,i){var r="rtl"!==(i=i||o.direction)||t?i===Jn?0:-1:1;return l[n]&&l[n][r]||n.replace(/width|left|right/i,function(n,t){n=l[n.toLowerCase()][r]||n;return 0<t?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(n){return n*("rtl"===o.direction?1:-1)}}},Elements:function(n,t,i){var r,o,u,e=Q(n),c=e.on,f=e.bind,a=n.root,s=i.i18n,l={},d=[],v=[],h=[];function p(){r=y("."+ct),o=fn(r,"."+ft),bn(r&&o,"A track/list element is missing."),k(d,S(o,"."+at+":not(."+st+")")),w({arrows:dt,pagination:gt,prev:ht,next:pt,bar:yt,toggle:bt},function(n,t){l[t]=y("."+n)}),an(l,{root:a,track:r,list:o,slides:d});var n=a.id||function(n){return""+n+An(_n[n]=(_n[n]||0)+1)}(yn),t=i.role;a.id=n,r.id=r.id||n+"-track",o.id=o.id||n+"-list",!z(a,Z)&&"SECTION"!==a.tagName&&t&&I(a,Z,t),I(a,tt,s.carousel),I(o,Z,"presentation"),m()}function g(n){var t=ut.concat("style");D(d),X(a,v),X(r,h),P([r,o],t),P(a,n?t:["style",tt])}function m(){X(a,v),X(r,h),v=b(et),h=b(ct),M(a,v),M(r,h),I(a,nn,i.label),I(a,Zn,i.labelledby)}function y(n){n=pn(a,n);return n&&function(n,t){if(x(n.closest))return n.closest(t);for(var i=n;i&&1===i.nodeType&&!cn(i,t);)i=i.parentElement;return i}(n,"."+et)===a?n:void 0}function b(n){return[n+"--"+i.type,n+"--"+i.direction,i.drag&&n+"--draggable",i.isNavigation&&n+"--nav",n===et&&tn]}return an(l,{setup:p,mount:function(){c(J,g),c(J,p),c(K,m),f(document,_t+" keydown",function(n){u="keydown"===n.type},{capture:!0}),f(a,"focusin",function(){A(a,Lt,!!u)})},destroy:g})},Slides:function(r,o,u){var n=Q(r),t=n.on,e=n.emit,c=n.bind,f=(n=o.Elements).slides,a=n.list,s=[];function i(){f.forEach(function(n,t){d(n,t,-1)})}function l(){h(function(n){n.destroy()}),D(s)}function d(n,t,i){t=Rt(r,t,i,n);t.mount(),s.push(t),s.sort(function(n,t){return n.index-t.index})}function v(n){return n?p(function(n){return!n.isClone}):s}function h(n,t){v(t).forEach(n)}function p(t){return s.filter(x(t)?t:function(n){return C(t)?cn(n.slide,t):b(y(t),n.index)})}return{mount:function(){i(),t(J,l),t(J,i)},destroy:l,update:function(){h(function(n){n.update()})},register:d,get:v,getIn:function(n){var t=o.Controller,i=t.toIndex(n),r=t.hasFocus()?1:u.perPage;return p(function(n){return En(n.index,i,i+r-1)})},getAt:function(n){return p(n)[0]},add:function(n,o){g(n,function(n){var t,i,r;m(n=C(n)?hn(n):n)&&((t=f[o])?O(n,t):L(a,n),M(n,u.classes.slide),t=n,i=R(e,jn),t=gn(t,"img"),(r=t.length)?t.forEach(function(n){c(n,"load error",function(){--r||i()})}):i())}),e(J)},remove:function(n){T(p(n).map(function(n){return n.slide})),e(J)},forEach:h,filter:p,style:function(t,i,r){h(function(n){n.style(t,i,r)})},getLength:function(n){return(n?f:s).length},isEnough:function(){return s.length>u.perPage}}},Layout:function(t,n,i){var r,o,u,e=(a=Q(t)).on,c=a.bind,f=a.emit,a=n.Slides,s=n.Direction.resolve,l=(n=n.Elements).root,d=n.track,v=n.list,h=a.getAt,p=a.style;function g(){r=i.direction===Jn,_(l,"maxWidth",W(i.width)),_(d,s("paddingLeft"),y(!1)),_(d,s("paddingRight"),y(!0)),m(!0)}function m(n){var t=N(l);!n&&o.width===t.width&&o.height===t.height||(_(d,"height",function(){var n="";r&&(bn(n=b(),"height or heightRatio is missing."),n="calc("+n+" - "+y(!1)+" - "+y(!0)+")");return n}()),p(s("marginRight"),W(i.gap)),p("width",i.autoWidth?null:W(i.fixedWidth)||(r?"":w())),p("height",W(i.fixedHeight)||(r?i.autoHeight?null:w():b()),!0),o=t,f(Nn),u!==(u=O())&&(A(l,Ot,u),f("overflow",u)))}function y(n){var t=i.padding,n=s(n?"right":"left");return t&&W(t[n]||(un(t)?0:t))||"0px"}function b(){return W(i.height||N(v).width*i.heightRatio)}function w(){var n=W(i.gap);return"calc((100%"+(n&&" + "+n)+")/"+(i.perPage||1)+(n&&" - "+n)+")"}function x(){return N(v)[s("width")]}function k(n,t){n=h(n||0);return n?N(n.slide)[s("width")]+(t?0:L()):0}function S(n,t){var i,n=h(n);return n?(n=N(n.slide)[s("right")],i=N(v)[s("left")],U(n-i)+(t?0:L())):0}function E(n){return S(t.length-1)-S(0)+k(0,n)}function L(){var n=h(0);return n&&parseFloat(_(n.slide,s("marginRight")))||0}function O(){return t.is(It)||E(!0)>x()}return{mount:function(){var n,t,i;g(),c(window,"resize load",(n=R(f,jn),i=qn(t||0,n,null,1),function(){i.isPaused()&&i.start()})),e([K,J],g),e(jn,m)},resize:m,listSize:x,slideSize:k,sliderSize:E,totalSize:S,getPadding:function(n){return parseFloat(_(d,s("padding"+(n?"Right":"Left"))))||0},isOverflow:O}},Clones:function(c,i,f){var t,r=Q(c),n=r.on,a=i.Elements,s=i.Slides,o=i.Direction.resolve,l=[];function u(){if(n(J,d),n([K,jn],v),t=h()){var o=t,u=s.get().slice(),e=u.length;if(e){for(;u.length<o;)k(u,u);k(u.slice(-o),u.slice(0,o)).forEach(function(n,t){var i=t<o,r=function(n,t){n=n.cloneNode(!0);return M(n,f.classes.clone),n.id=c.root.id+"-clone"+An(t+1),n}(n.slide,t);i?O(r,u[0].slide):L(a.list,r),k(l,r),s.register(r,t-o+(i?0:e),n.index)})}i.Layout.resize(!0)}}function d(){e(),u()}function e(){T(l),D(l),r.destroy()}function v(){var n=h();t!==n&&(t<n||!n)&&r.emit(J)}function h(){var n,t=f.clones;return c.is(Pt)?en(t)&&(t=(n=f[o("fixedWidth")]&&i.Layout.slideSize(0))&&kn(N(a.track)[o("width")]/n)||f[o("autoWidth")]&&c.length||2*f.perPage):t=0,t}return{mount:u,destroy:e}},Move:function(r,c,o){var e,n=Q(r),t=n.on,f=n.emit,a=r.state.set,u=(n=c.Layout).slideSize,i=n.getPadding,s=n.totalSize,l=n.listSize,d=n.sliderSize,v=(n=c.Direction).resolve,h=n.orient,p=(n=c.Elements).list,g=n.track;function m(){c.Controller.isBusy()||(c.Scroll.cancel(),y(r.index),c.Slides.update())}function y(n){b(S(n,!0))}function b(n,t){r.is(It)||(t=t?n:function(n){{var t,i;r.is(Pt)&&(t=k(n),i=t>c.Controller.getEnd(),(t<0||i)&&(n=w(n,i)))}return n}(n),_(p,"transform","translate"+v("X")+"("+t+"px)"),n!==t&&f(Un))}function w(n,t){var i=n-L(t),r=d();return n-=h(r*(kn(U(i)/r)||1))*(t?1:-1)}function x(){b(E(),!0),e.cancel()}function k(n){for(var t=c.Slides.get(),i=0,r=1/0,o=0;o<t.length;o++){var u=t[o].index,e=U(S(u,!0)-n);if(!(e<=r))break;r=e,i=u}return i}function S(n,t){var i=h(s(n-1)-(n=n,"center"===(i=o.focus)?(l()-u(n,!0))/2:+i*u(n)||0));return t?(n=i,n=o.trimSpace&&r.is(Mt)?q(n,0,h(d(!0)-l())):n):i}function E(){var n=v("left");return N(p)[n]-N(g)[n]+h(i(!1))}function L(n){return S(n?c.Controller.getEnd():0,!!o.trimSpace)}return{mount:function(){e=c.Transition,t([B,Nn,K,J],m)},move:function(n,t,i,r){var o,u;n!==t&&(o=i<n,u=h(w(E(),o)),o?0<=u:u<=p[v("scrollWidth")]-N(g)[v("width")])&&(x(),b(w(E(),i<n),!0)),a(G),f(H,t,i,n),e.start(t,function(){a(3),f(Dn,t,i,n),r&&r()})},jump:y,translate:b,shift:w,cancel:x,toIndex:k,toPosition:S,getPosition:E,getLimit:L,exceededLimit:function(n,t){t=en(t)?E():t;var i=!0!==n&&h(t)<h(L(!1)),n=!1!==n&&h(t)>h(L(!0));return i||n},reposition:m}},Controller:function(o,u,e){var c,f,a,s,n=Q(o),t=n.on,i=n.emit,l=u.Move,d=l.getPosition,r=l.getLimit,v=l.toPosition,h=(n=u.Slides).isEnough,p=n.getLength,g=e.omitEnd,m=o.is(Pt),y=o.is(Mt),b=R(L,!1),w=R(L,!0),x=e.start||0,k=x;function S(){f=p(!0),a=e.perMove,s=e.perPage,c=_();var n=q(x,0,g?c:f-1);n!==x&&(x=n,l.reposition())}function E(){c!==_()&&i("ei")}function L(n,t){var i=a||(P()?1:s),i=O(x+i*(n?-1:1),x,!(a||P()));return-1===i&&y&&!Sn(d(),r(!n),1)?n?0:c:t?i:A(i)}function O(n,t,i){var r;return h()||P()?((r=function(n){if(y&&"move"===e.trimSpace&&n!==x)for(var t=d();t===v(n,!0)&&En(n,0,o.length-1,!e.rewind);)n<x?--n:++n;return n}(n))!==n&&(t=n,n=r,i=!1),n<0||c<n?n=a||!En(0,n,t,!0)&&!En(c,t,n,!0)?m?i?n<0?-(f%s||s):f:n:e.rewind?n<0?c:0:-1:z(D(n)):i&&n!==t&&(n=z(D(t)+(n<t?-1:1)))):n=-1,n}function A(n){return m?(n+f)%f||0:n}function _(){for(var n=f-(P()||m&&a?1:s);g&&0<n--;)if(v(f-1,!0)!==v(n,!0)){n++;break}return q(n,0,f-1)}function z(n){return q(P()?n:s*n,0,c)}function D(n){return P()?Y(n,c):xn((c<=n?f-1:n)/s)}function M(n){n!==x&&(k=x,x=n)}function P(){return!en(e.focus)||e.isNavigation}function I(){return o.state.is([G,rn])&&!!e.waitForTransition}return{mount:function(){S(),t([K,J,"ei"],S),t(Nn,E)},go:function(n,t,i){var r;I()||-1<(r=A(n=function(n){var t=x;{var i,r;C(n)?(r=n.match(/([+\-<>])(\d+)?/)||[],i=r[1],r=r[2],"+"===i||"-"===i?t=O(x+ +(""+i+(+r||1)),x):">"===i?t=r?z(+r):b(!0):"<"===i&&(t=w(!0))):t=m?n:q(n,0,c)}return t}(n)))&&(t||r!==x)&&(M(r),l.move(n,r,k,i))},scroll:function(n,t,i,r){u.Scroll.scroll(n,t,i,function(){var n=A(l.toIndex(d()));M(g?Y(n,c):n),r&&r()})},getNext:b,getPrev:w,getAdjacent:L,getEnd:_,setIndex:M,getIndex:function(n){return n?k:x},toIndex:z,toPage:D,toDest:function(n){return n=l.toIndex(n),y?q(n,0,c):n},hasFocus:P,isBusy:I}},Arrows:function(o,n,t){var i,r,u=Q(o),e=u.on,c=u.bind,f=u.emit,a=t.classes,s=t.i18n,l=n.Elements,d=n.Controller,v=l.arrows,h=l.track,p=v,g=l.prev,m=l.next,y={};function b(){var n=t.arrows;!n||g&&m||(p=v||j("div",a.arrows),g=S(!0),m=S(!1),i=!0,L(p,[g,m]),v||O(p,h)),g&&m&&(an(y,{prev:g,next:m}),ln(p,n?"":"none"),M(p,r=dt+"--"+t.direction),n&&(e([B,Dn,J,V,"ei"],E),c(m,"click",R(k,">")),c(g,"click",R(k,"<")),E(),I([g,m],Kn,h.id),f("arrows:mounted",g,m))),e(K,w)}function w(){x(),b()}function x(){u.destroy(),X(p,r),i?(T(v?[g,m]:p),g=m=null):P([g,m],ut)}function k(n){d.go(n,!0)}function S(n){return hn('<button class="'+a.arrow+" "+(n?a.prev:a.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(t.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function E(){var n,t,i,r;g&&m&&(r=o.index,n=d.getPrev(),t=d.getNext(),i=-1<n&&r<n?s.last:s.prev,r=-1<t&&t<r?s.first:s.next,g.disabled=n<0,m.disabled=t<0,I(g,nn,i),I(m,nn,r),f("arrows:updated",g,m,n,t))}return{arrows:y,mount:b,destroy:x,update:E}},Autoplay:function(n,t,i){var r,o,u=Q(n),e=u.on,c=u.bind,f=u.emit,a=qn(i.interval,n.go.bind(n,">"),function(n){var t=l.bar;t&&_(t,"width",100*n+"%"),f("autoplay:playing",n)}),s=a.isPaused,l=t.Elements,d=(u=t.Elements).root,v=u.toggle,h=i.autoplay,p="pause"===h;function g(){s()&&t.Slides.isEnough()&&(a.start(!i.resetProgress),o=r=p=!1,b(),f(Fn))}function m(n){p=!!(n=void 0===n?!0:n),b(),s()||(a.pause(),f(Xn))}function y(){p||(r||o?m(!1):g())}function b(){v&&(A(v,tn,!p),I(v,nn,i.i18n[p?"play":"pause"]))}function w(n){n=t.Slides.getAt(n);a.set(n&&+z(n.slide,Ct)||i.interval)}return{mount:function(){h&&(i.pauseOnHover&&c(d,"mouseenter mouseleave",function(n){r="mouseenter"===n.type,y()}),i.pauseOnFocus&&c(d,"focusin focusout",function(n){o="focusin"===n.type,y()}),v&&c(v,"click",function(){p?g():m(!0)}),e([H,Tn,J],a.rewind),e(H,w),v&&I(v,Kn,l.track.id),p||g(),b())},destroy:a.cancel,play:g,pause:m,isPaused:s}},Cover:function(n,t,i){var r=Q(n).on;function o(i){t.Slides.forEach(function(n){var t=fn(n.container||n.slide,"img");t&&t.src&&u(i,t,n)})}function u(n,t,i){i.style("background",n?'center/cover no-repeat url("'+t.src+'")':"",!0),ln(t,n?"none":"")}return{mount:function(){i.cover&&(r(Wn,R(u,!0)),r([B,K,J],R(o,!0)))},destroy:R(o,!1)}},Scroll:function(n,c,u){var f,a,t=Q(n),i=t.on,s=t.emit,l=n.state.set,d=c.Move,v=d.getPosition,e=d.getLimit,h=d.exceededLimit,p=d.translate,g=n.is(Mt),m=1;function y(n,t,i,r,o){var u,e=v(),i=(x(),!i||g&&h()||(i=c.Layout.sliderSize(),u=Ln(n)*i*xn(U(n)/i)||0,n=d.toPosition(c.Controller.toDest(n%i))+u),Sn(e,n,1));m=1,t=i?0:t||wn(U(n-e)/1.5,800),a=r,f=qn(t,b,R(w,e,n,o),1),l(rn),s(Tn),f.start()}function b(){l(3),a&&a(),s(V)}function w(n,t,i,r){var o=v(),r=(n+(t-n)*(t=r,(n=u.easingFunc)?n(t):1-Math.pow(1-t,4))-o)*m;p(o+r),g&&!i&&h()&&(m*=.6,U(r)<10&&y(e(h(!0)),600,!1,a,!0))}function x(){f&&f.cancel()}function r(){f&&!f.isPaused()&&(x(),b())}return{mount:function(){i(H,x),i([K,J],r)},destroy:x,scroll:y,cancel:r}},Drag:function(e,o,c){var f,t,u,a,s,l,d,v,n=Q(e),i=n.on,h=n.emit,p=n.bind,g=n.unbind,m=e.state,y=o.Move,b=o.Scroll,w=o.Controller,x=o.Elements.track,k=o.Media.reduce,r=(n=o.Direction).resolve,S=n.orient,E=y.getPosition,L=y.exceededLimit,O=!1;function j(){var n=c.drag;C(!n),a="free"===n}function N(n){var t,i,r;l=!1,d||(t=R(n),i=n.target,r=c.noDrag,cn(i,"."+mt+", ."+vt)||r&&cn(i,r)||!t&&n.button||(w.isBusy()?F(n,!0):(v=t?x:window,s=m.is([G,rn]),u=null,p(v,zt,A,jt),p(v,Dt,_,jt),y.cancel(),b.cancel(),z(n))))}function A(n){var t,i,r,o,u;m.is(6)||(m.set(6),h("drag")),n.cancelable&&(s?(y.translate(f+D(n)/(O&&e.is(Mt)?5:1)),u=200<M(n),t=O!==(O=L()),(u||t)&&z(n),l=!0,h("dragging"),F(n)):U(D(u=n))>U(D(u,!0))&&(t=n,i=c.dragMinThreshold,r=un(i),o=r&&i.mouse||0,r=(r?i.touch:+i)||10,s=U(D(t))>(R(t)?r:o),F(n)))}function _(n){var t,i,r;m.is(6)&&(m.set(3),h("dragged")),s&&(i=function(n){return E()+Ln(n)*Y(U(n)*(c.flickPower||600),a?1/0:o.Layout.listSize()*(c.flickMaxPages||1))}(t=function(n){if(e.is(Pt)||!O){var t=M(n);if(t&&t<200)return D(n)/t}return 0}(t=n)),r=c.rewind&&c.rewindByDrag,k(!1),a?w.scroll(i,0,c.snap):e.is(It)?w.go(S(Ln(t))<0?r?"<":"-":r?">":"+"):e.is(Mt)&&O&&r?w.go(L(!0)?">":"<"):w.go(w.toDest(i),!0),k(!0),F(n)),g(v,zt,A),g(v,Dt,_),s=!1}function T(n){!d&&l&&F(n,!0)}function z(n){u=t,t=n,f=E()}function D(n,t){return I(n,t)-I(P(n),t)}function M(n){return mn(n)-mn(P(n))}function P(n){return t===n&&u||t}function I(n,t){return(R(n)?n.changedTouches[0]:n)["page"+r(t?"Y":"X")]}function R(n){return"undefined"!=typeof TouchEvent&&n instanceof TouchEvent}function C(n){d=n}return{mount:function(){p(x,zt,on,jt),p(x,Dt,on,jt),p(x,_t,N,jt),p(x,"click",T,{capture:!0}),p(x,"dragstart",F),i([B,K],j)},disable:C,isDragging:function(){return s}}},Keyboard:function(t,n,i){var r,o,u=Q(t),e=u.on,c=u.bind,f=u.unbind,a=t.root,s=n.Direction.resolve;function l(){var n=i.keyboard;n&&(r="global"===n?window:a,c(r,Gt,h))}function d(){f(r,Gt)}function v(){var n=o;o=!0,p(function(){o=n})}function h(n){o||((n=Tt(n))===s(Bn)?t.go("<"):n===s(Hn)&&t.go(">"))}return{mount:function(){l(),e(K,d),e(K,l),e(H,v)},destroy:d,disable:function(n){o=n}}},LazyLoad:function(i,n,o){var t=Q(i),r=t.on,u=t.off,e=t.bind,c=t.emit,f="sequential"===o.lazyLoad,a=[Dn,V],s=[];function l(){D(s),n.Slides.forEach(function(r){gn(r.slide,Wt).forEach(function(n){var t=z(n,Ft),i=z(n,Xt);t===n.src&&i===n.srcset||(t=o.classes.spinner,t=fn(i=n.parentElement,"."+t)||j("span",t,i),s.push([n,r,t]),n.src||ln(n,"none"))})}),(f?p:(u(a),r(a,d),d))()}function d(){(s=s.filter(function(n){var t=o.perPage*((o.preloadPages||1)+1)-1;return!n[1].isWithin(i.index,t)||v(n)})).length||u(a)}function v(n){var t=n[0];M(n[1].slide,Et),e(t,"load error",R(h,n)),I(t,"src",z(t,Ft)),I(t,"srcset",z(t,Xt)),P(t,Ft),P(t,Xt)}function h(n,t){var i=n[0],r=n[1];X(r.slide,Et),"error"!==t.type&&(T(n[2]),ln(i,""),c(Wn,i,r),c(jn)),f&&p()}function p(){s.length&&v(s.shift())}return{mount:function(){o.lazyLoad&&(l(),r(J,l))},destroy:R(D,s),check:d}},Pagination:function(l,n,d){var v,h,t=Q(l),p=t.on,g=t.emit,m=t.bind,y=n.Slides,b=n.Elements,w=n.Controller,x=w.hasFocus,r=w.getIndex,e=w.go,c=n.Direction.resolve,k=b.pagination,S=[];function E(){v&&(T(k?o(v.children):v),X(v,h),D(S),v=null),t.destroy()}function L(n){e(">"+n,!0)}function O(n,t){var i=S.length,r=Tt(t),o=A(),u=-1,o=(r===c(Hn,!1,o)?u=++n%i:r===c(Bn,!1,o)?u=(--n+i)%i:"Home"===r?u=0:"End"===r&&(u=i-1),S[u]);o&&(dn(o.button),e(">"+u),F(t,!0))}function A(){return d.paginationDirection||d.direction}function _(n){return S[w.toPage(n)]}function z(){var n,t=_(r(!0)),i=_(r());t&&(X(n=t.button,tn),P(n,Qn),I(n,$,-1)),i&&(M(n=i.button,tn),I(n,Qn,!0),I(n,$,"")),g("pagination:updated",{list:v,items:S},t,i)}return{items:S,mount:function n(){E(),p([K,J,"ei"],n);var t=d.pagination;if(k&&ln(k,t?"":"none"),t){p([H,Tn,V],z);var t=l.length,i=d.classes,r=d.i18n,o=d.perPage,u=x()?w.getEnd()+1:kn(t/o);M(v=k||j("ul",i.pagination,b.track.parentElement),h=gt+"--"+A()),I(v,Z,"tablist"),I(v,nn,r.select),I(v,nt,A()===Jn?"vertical":"");for(var e=0;e<u;e++){var c=j("li",null,v),f=j("button",{class:i.page,type:"button"},c),a=y.getIn(e).map(function(n){return n.slide.id}),s=!x()&&1<o?r.pageX:r.slideX;m(f,"click",R(L,e)),d.paginationKeyboard&&m(f,"keydown",R(O,e)),I(c,Z,"presentation"),I(f,Z,"tab"),I(f,Kn,a.join(" ")),I(f,nn,On(s,e+1)),I(f,$,-1),S.push({li:c,button:f,page:e})}z(),g("pagination:mounted",{list:v,items:S},_(l.index))}},destroy:E,getAt:_,update:z}},Sync:function(i,n,t){var r=t.isNavigation,o=t.slideFocus,u=[];function e(){var n,t;i.splides.forEach(function(n){n.isParent||(f(i,n.splide),f(n.splide,i))}),r&&(n=Q(i),(t=n.on)(Mn,s),t(Yn,l),t([B,K],a),u.push(n),n.emit(Gn,i.splides))}function c(){u.forEach(function(n){n.destroy()}),D(u)}function f(n,r){n=Q(n);n.on(H,function(n,t,i){r.go(r.is(Pt)?i:n)}),u.push(n)}function a(){I(n.Elements.list,nt,t.direction===Jn?"vertical":"")}function s(n){i.go(n.index)}function l(n,t){b(Yt,Tt(t))&&(s(n),F(t))}return{setup:R(n.Media.set,{slideFocus:en(o)?r:o},!0),mount:e,destroy:c,remount:function(){c(),e()}}},Wheel:function(e,c,f){var n=Q(e).bind,a=0;function t(n){var t,i,r,o,u;n.cancelable&&(t=(u=n.deltaY)<0,i=mn(n),r=f.wheelMinThreshold||0,o=f.wheelSleep||0,U(u)>r&&o<i-a&&(e.go(t?"<":">"),a=i),u=t,f.releaseWheel&&!e.state.is(G)&&-1===c.Controller.getAdjacent(u)||F(n))}return{mount:function(){f.wheel&&n(c.Elements.track,"wheel",t,jt)}}},Live:function(n,t,i){var r=Q(n).on,o=t.Elements.track,u=i.live&&!i.isNavigation,e=j("span",wt),c=qn(90,R(f,!1));function f(n){I(o,rt,n),n?(L(o,e),c.start()):(T(e),c.cancel())}function a(n){u&&I(o,it,n?"off":"polite")}return{mount:function(){u&&(a(!t.Autoplay.isPaused()),I(o,ot,!0),e.textContent="…",r(Fn,R(a,!0)),r(Xn,R(a,!1)),r([Dn,V],R(f,!0)))},disable:a,destroy:function(){P(o,[it,ot,rt]),T(e)}}}}),qt={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:at,clone:st,arrows:dt,arrow:vt,prev:ht,next:pt,pagination:gt,page:mt,spinner:i+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Bt(n,t,i){var r=t.Slides;function o(){r.forEach(function(n){n.style("transform","translateX(-"+100*n.index+"%)")})}return{mount:function(){Q(n).on([B,J],o)},start:function(n,t){r.style("transition","opacity "+i.speed+"ms "+i.easing),p(t)},cancel:on}}function Ht(u,n,e){var c,f=n.Move,a=n.Controller,s=n.Scroll,t=n.Elements.list,l=R(_,t,"transition");function i(){l(""),s.cancel()}return{mount:function(){Q(u).bind(t,"transitionend",function(n){n.target===t&&c&&(i(),c())})},start:function(n,t){var i=f.toPosition(n,!0),r=f.getPosition(),o=function(n){var t=e.rewindSpeed;if(u.is(Mt)&&t){var i=a.getIndex(!0),r=a.getEnd();if(0===i&&r<=n||r<=i&&0===n)return t}return e.speed}(n);1<=U(i-r)&&1<=o?e.useScroll?s.scroll(i,o,!1,t):(l("transform "+o+"ms "+e.easing),f.translate(i,!0),c=t):(f.jump(n),t())},cancel:i}}t=function(){function i(n,t){this.event=Q(),this.Components={},this.state=s(1),this.splides=[],this.n={},this.t={};n=C(n)?pn(document,n):n;bn(n,n+" is invalid."),t=d({label:z(this.root=n,nn)||"",labelledby:z(n,Zn)||""},qt,i.defaults,t||{});try{d(t,JSON.parse(z(n,f)))}catch(n){bn(!1,"Invalid JSON")}this.n=Object.create(d({},t))}var n=i.prototype;return n.mount=function(n,t){var i=this,r=this.state,o=this.Components;return bn(r.is([1,7]),"Already mounted!"),r.set(1),this.i=o,this.r=t||this.r||(this.is(It)?Bt:Ht),this.t=n||this.t,w(an({},Ut,this.t,{Transition:this.r}),function(n,t){n=n(i,o,i.n);(o[t]=n).setup&&n.setup()}),w(o,function(n){n.mount&&n.mount()}),this.emit(B),M(this.root,"is-initialized"),r.set(3),this.emit("ready"),this},n.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),n.Components.Sync.remount()),this},n.go=function(n){return this.i.Controller.go(n),this},n.on=function(n,t){return this.event.on(n,t),this},n.off=function(n){return this.event.off(n),this},n.emit=function(n){var t;return(t=this.event).emit.apply(t,[n].concat(o(arguments,1))),this},n.add=function(n,t){return this.i.Slides.add(n,t),this},n.remove=function(n){return this.i.Slides.remove(n),this},n.is=function(n){return this.n.type===n},n.refresh=function(){return this.emit(J),this},n.destroy=function(t){void 0===t&&(t=!0);var n=this.event,i=this.state;return i.is(1)?Q(this).on("ready",this.destroy.bind(this,t)):(w(this.i,function(n){n.destroy&&n.destroy(t)},!0),n.emit(a),n.destroy(),t&&D(this.splides),i.set(7)),this},Jt(i,[{key:"options",get:function(){return this.n},set:function(n){this.i.Media.set(n,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),i}();return t.defaults={},t.STATES=r,t},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).Splide=t();
</script>
<script>
// x-teleport implementation
(_ => {
    document.addEventListener('DOMContentLoaded', event => {
        // x-teleport available only for template
        if (!Alpine.version.startsWith('2')) {
            return;
        }

        const teleportDirective = (el, expression) => {
            let target = document.querySelector(expression)
            let clone = el.content.cloneNode(true).firstElementChild;

            target.appendChild(clone);
            setTimeout(() => {
                target.querySelectorAll('[x-data]')
                    .forEach(el => Alpine.initializeComponent(el));
            }, 0)
        };

        document.querySelectorAll('template').forEach(el => {
            if (!el.hasAttribute('x-teleport')) {
                return;
            }

            teleportDirective(el, el.getAttribute('x-teleport'));
        });

        document.querySelectorAll('[x-data]').forEach(el => {
            if (el.hasAttribute('x-init')) {
                return;
            }

            setTimeout(() => {
                Alpine.initializeComponent(el);
            }, 0);
        });
    });
})()
</script>

<script type="module"
        src="https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/Hyva_Theme/js/alpine3.min.js"
        defer
        crossorigin
></script>
<script>
    function dispatchMessages(messages, hideAfter) {
        const messagesEvent = new CustomEvent("messages-loaded", {
            detail: {
                messages: messages,
                hideAfter: hideAfter
            }
        });
        window.dispatchEvent(messagesEvent);
    }

    if (typeof hyva === 'undefined' || (!hyva.getBrowserStorage || !hyva.getCookie || !hyva.setCookie)) {
        console.warn("Hyvä helpers are not loaded yet. Make sure they are included before this script");
    }

    (function( hyva, undefined ) {

        hyva.initFormKey = () => {
            const inputSelector = 'input[name="form_key"]',
                formKey = hyva.getFormKey();

            Array.from(document.querySelectorAll(inputSelector)).map(function (input) {
                input.value = formKey
            });
        }

        hyva.initMessages = () => {
            try {
                const messages = hyva.getCookie('mage-messages');
                window.mageMessages = messages ? JSON.parse(decodeURIComponent(messages).replace(/\+/g, ' ')) : [];

                dispatchMessages(window.mageMessages);

                                // empty `mage-messages` cookie
                const skipSetDomain = true;
                hyva.setCookie('mage-messages','', -1, skipSetDomain);

            } catch (error) {
                console.warn('Error parsing Cookie Messages:', error);
            }
        }

        window.addEventListener('DOMContentLoaded', hyva.initFormKey);
        hyva.alpineInitialized(hyva.initMessages)

    }( window.hyva = window.hyva || {} ));
    //# sourceURL=hyva-cookies.js
</script>
<script>
    {
        const private_content_key = 'mage-cache-storage';
        const private_content_expire_key = 'mage-cache-timeout';
        const private_content_version_key = 'private_content_version';
        const section_data_ids_key = 'section_data_ids';
        const mage_cache_session_id_key = 'mage-cache-sessid';
        const last_visited_store_key = 'last_visited_store';

        const ttl = 7200;

        if (typeof hyva === 'undefined' || (!hyva.getBrowserStorage || !hyva.getCookie || !hyva.setCookie)) {
            console.warn("Hyvä helpers are not loaded yet. Make sure they are included before this script");
        }

        function loadSectionData () {
            const browserStorage = hyva.getBrowserStorage();
            if (!browserStorage) {
                typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                    [{
                        type: "warning",
                        text: "Please enable LocalStorage in your browser."
                    }]
                );
                return;
            }
            try {
                let isInvalid = false;

                if (hyva.getCookie(last_visited_store_key) !== CURRENT_STORE_CODE) {
                    isInvalid = true;
                }
                hyva.setCookie(last_visited_store_key, CURRENT_STORE_CODE, false, false);

                if (!hyva.getCookie(mage_cache_session_id_key)) {
                    isInvalid = true;
                    browserStorage.removeItem(private_content_key);
                    const skipSetDomain = true;
                    const days = false;
                    hyva.setCookie(mage_cache_session_id_key, true, days, skipSetDomain)
                }

                const cookieVersion = hyva.getCookie(private_content_version_key);
                const storageVersion = browserStorage.getItem(private_content_version_key);

                if (cookieVersion && !storageVersion || cookieVersion !== storageVersion) {
                    isInvalid = true;
                }

                const privateContentExpires = browserStorage.getItem(private_content_expire_key);
                if (privateContentExpires && new Date(privateContentExpires) < new Date()) {
                    browserStorage.removeItem(private_content_key);
                }

                if (isInvalid && cookieVersion) {
                    fetchPrivateContent([]);
                } else if (cookieVersion && storageVersion && cookieVersion === storageVersion) {
                    const privateContent = JSON.parse(browserStorage.getItem(private_content_key));
                    if (
                        privateContent &&
                        privateContentExpires &&
                        privateContent.cart &&
                        privateContent.customer
                    ) {
                        dispatchPrivateContent(privateContent);
                    } else {
                        fetchPrivateContent([]);
                    }
                } else {
                    if (document.getElementById('default-section-data')) {
                        const privateContent = JSON.parse(document.getElementById('default-section-data').innerText.trim());
                        dispatchPrivateContent(privateContent);
                    } else {
                        dispatchPrivateContent({});
                    }
                }

            } catch (error) {
                console.warn('Error retrieving Private Content:', error);
            }
        }

        hyva.alpineInitialized(loadSectionData)
        window.addEventListener('reload-customer-section-data', loadSectionData);

        window.processSectionDataBeforeDispatch = window.processSectionDataBeforeDispatch || (data => data);

        function dispatchPrivateContent(data) {

            const privateContentEvent = new CustomEvent("private-content-loaded", {
                detail: {
                    data: window.processSectionDataBeforeDispatch(data)
                }
            });
            window.dispatchEvent(privateContentEvent);
        }

        function fetchPrivateContent(sections) {
            fetch(`${BASE_URL}customer/section/load/?sections=${encodeURIComponent(sections.join(','))}`, {
                method: 'GET',
                headers: {
                    'Content-Type': 'application/json',
                    'X-Requested-With': 'XMLHttpRequest'
                }
            })
                .then(response => response.ok && response.json())
                .then(
                    data => {
                        if (data) {
                            try {
                                const browserStorage = hyva.getBrowserStorage();

                                // merge new data preserving non-invalidated sections
                                const oldSectionData = JSON.parse(browserStorage.getItem(private_content_key) || '{}') || {};

                                if ((! data.cart || ! data.cart.cartId) && oldSectionData['checkout-data']) {
                                    delete oldSectionData['checkout-data'];
                                }
                                const newSectionData = Object.assign(oldSectionData, data);

                                dispatchPrivateContent(newSectionData);

                                // don't persist messages, they've been dispatched already
                                if (newSectionData.messages && newSectionData.messages.messages ) {
                                    newSectionData.messages.messages = [];
                                }

                                browserStorage.setItem(private_content_key, JSON.stringify(newSectionData));

                                const expiresAt = new Date(Date.now() + (ttl * 1000)).toISOString();
                                browserStorage.setItem(private_content_expire_key, expiresAt);

                                const newCookieVersion = hyva.getCookie(private_content_version_key);
                                browserStorage.setItem(private_content_version_key, newCookieVersion);

                                // We don't need the section_data_ids in Hyvä, but we store them for compatibility
                                // with Luma Fallback. Otherwise, not all sections are loaded in Luma Checkout
                                hyva.setCookie(
                                    section_data_ids_key,
                                    JSON.stringify(
                                        Object.keys(data).reduce((sectionDataIds, sectionKey) => {
                                            sectionDataIds[sectionKey] = data[sectionKey]['data_id'];
                                            return sectionDataIds;
                                        }, {})
                                    ),
                                    false,
                                    true
                                );
                            } catch (error) {
                                console.warn("Couldn't store privateContent", error);
                            }
                        }
                    }
                );
        }
    }
    //# sourceURL=hyva-private-content.js
</script>
<script>
    (() => {
        document.addEventListener('submit', event => event.target.action = event.target.action.replace('%25uenc%25', hyva.getUenc()));
    })()
</script>
<script>
    (events => {
        const dispatchUserInteractionEvent = () => {
            events.forEach(type => window.removeEventListener(type, dispatchUserInteractionEvent))
            window.dispatchEvent(new Event('init-external-scripts'))
        };
        events.forEach(type => window.addEventListener(type, dispatchUserInteractionEvent, {once: true, passive: true}))
    })(['touchstart', 'mousemove', 'wheel', 'scroll', 'keydown']);
    //# sourceURL=hyva-init-external-scripts.js
</script>
<script>
    function initConfigurableOptions(productId, optionConfig) {

        function findPathParam(key) {
                        const baseUrl = (BASE_URL.substring(0, 2) === '//' ? 'http:' : '') + BASE_URL;
            const baseUrlParts = (new URL(baseUrl)).pathname.replace(/\/$/, '').split('/');
            const pathParts = window.location.pathname.split('/').slice(baseUrlParts.length + 3);
            for (let i = 0; i < pathParts.length; i += 2) {
                if (pathParts[i] === key && pathParts.length > i) {
                    return pathParts[i + 1];
                }
            }
        }

        return {
            optionConfig,
            productId,
            itemId: (new URLSearchParams(window.location.search)).get('id') || findPathParam('id'),
            allowedAttributeOptions: [],
            selectedValues: [],
            init() {
                this.findAllowedAttributeOptions();
                this.$nextTick(() => {
                    if (typeof this.optionConfig.defaultValues === 'object') {
                        for (const [attributeId, value] of Object.entries(this.optionConfig.defaultValues)) {
                            this.changeOption(attributeId, value + '');
                        }
                    }
                });
            },
            findSimpleIndex() {
                                this.productIndex = this.calculateSimpleIndexForPartialSelection(this.selectedValues);
            },
            calculateSimpleIndexForPartialSelection(selectedValues) {
                if (selectedValues.length === 0) return 0;
                let productIndexIds = Object.keys(this.optionConfig.index);
                Object.keys(this.optionConfig.attributes).forEach((attribute) => {
                                        const productsWithAttributeMatch = selectedValues[attribute]
                        ? productIndexIds.filter((productIndex) => {
                            return this.optionConfig.index[productIndex][attribute] === this.selectedValues[attribute]
                        })
                        : [];

                                        productIndexIds = productsWithAttributeMatch.length ? productsWithAttributeMatch : productIndexIds
                })
                return productIndexIds[0];
            },
            calculateSimpleIndexForFullSelection(selectedValues) {
                const productIndexes = this.optionConfig.index;
                return Object.keys(productIndexes).find(productIndex => {
                    const productCandidateOptions = productIndexes[productIndex];

                    for (const productOption in productCandidateOptions) {
                        if (
                            ! selectedValues[productOption] ||
                            selectedValues[productOption] !== productCandidateOptions[productOption]
                        ) {
                            return false;
                        }
                    }
                    return productIndex;
                });
            },
            productIndex: 0,
            findAllowedAttributeOptions() {
                                this.allowedAttributeOptions = this.calculateAllowedAttributeOptions(this.selectedValues);
            },
            calculateAllowedAttributeOptions(selectedValues) {
                const allAttributes = this.optionConfig.attributes;
                const allAttributesSorted = Object.values(allAttributes).sort((a,b) => {
                    return a.position - b.position
                });

                const newAllowedAttributeOptions = [];

                allAttributesSorted.forEach(attribute => {
                    const selectionWithoutAttr = Object.assign({}, this.removeAttrFromSelection(selectedValues, attribute.id));
                    const availableIndexes = this.calculateAvailableProductIndexes(selectionWithoutAttr);
                    newAllowedAttributeOptions[attribute.id] = allAttributes[attribute.id].options.filter(option => {
                        return !!option.products.find(product => {
                            return availableIndexes.includes(product);
                        })
                    });
                });
                return newAllowedAttributeOptions;
            },
            calculateAvailableProductIndexes(selectedOptions) {
                if (Object.keys(selectedOptions).length === 0) {
                                        if (Object.values(this.optionConfig.salable || {}).length) {
                                                return [].concat.apply([], [].concat.apply([], Object.values(this.optionConfig.salable).map(Object.values))).filter((x, i, a) => a.indexOf(x) === i)
                    }
                                        return Object.keys(this.optionConfig.index);
                }

                                const selectedIds = Object.keys(selectedOptions);
                if (Object.values(this.optionConfig.salable || {}).length) {
                                        const selectedOptionIndexes = selectedIds.map(attrId => {
                        const optionValue = selectedOptions[attrId];
                        return this.optionConfig.salable[attrId] && this.optionConfig.salable[attrId][optionValue] || []
                    })
                                        return selectedOptionIndexes.reduce((acc, optionIndexes) => {
                        return acc.filter(index => optionIndexes.includes(index));
                    });
                } else {
                                        const productIndexes = this.optionConfig.index;
                    return Object.keys(productIndexes).filter(index => {
                                                for (const attrId of selectedIds) {
                            if (productIndexes[index][attrId] !== `${selectedOptions[attrId]}`) return false
                        }
                        return true
                    });
                }
            },
            findAttributeByOptionId(optionId) {
                for (const attributeId in this.optionConfig.attributes) {
                    const attributeOptions = this.optionConfig.attributes[attributeId].options || [];
                    if (attributeOptions.find(option => option.id === optionId)) {
                        return attributeId;
                    }
                }
            },
            getAllowedAttributeOptions(attributeId) {
                return this.allowedAttributeOptions[attributeId] || []
            },
            getProductIdsForOption(option) {
                const attributeId = this.findAttributeByOptionId(option.id);
                const allOptions = this.optionConfig.attributes[attributeId];
                const opt = (allOptions && allOptions.options || []).find(o => o.id === option.id);
                return opt && opt.products
                    ? opt.products
                    : [];
            },
            findProductIdsForPartialSelection(optionSelection) {
                const candidateProducts = Object.values(optionSelection).reduce((candidates, optionId) => {
                    const newCandidates = this.getProductIdsForOption({id: optionId});
                    return candidates === null
                        ? newCandidates
                        : candidates.filter(productId => newCandidates.includes(productId));
                }, null);
                return candidateProducts || [];
            },
            findCheapestProductForPartialSelection(optionSelection) {
                const candidateProducts = this.findProductIdsForPartialSelection(optionSelection);
                return candidateProducts.reduce((cheapest, simpleIdx) => {
                    // in the first iteration we start with simpleIdx as the currently cheapest product
                    if (! this.optionConfig.optionPrices[cheapest]) return simpleIdx;
                    const knownCheapestPrice = this.optionConfig.optionPrices[cheapest].finalPrice.amount;
                    return knownCheapestPrice > this.optionConfig.optionPrices[simpleIdx].finalPrice.amount
                        ? simpleIdx
                        : cheapest;
                }, 0)
            },
            findProductIdToUseForOptionPrice(option) {
                // try to find a product for a complete selection
                const attributeId = this.findAttributeByOptionId(option.id);
                const optionSelection = Object.assign({}, this.selectedValues, {[attributeId]: option.id});
                const matchingSimpleIndex = this.calculateSimpleIndexForFullSelection(optionSelection);
                // if there is no complete selection, use the cheapest product for the option
                return matchingSimpleIndex || this.findCheapestProductForPartialSelection(optionSelection);
            },
            getAttributeOptionLabel(option) {
                const optionProduct = this.findProductIdToUseForOptionPrice(option);
                if ((! optionProduct) || (optionProduct === this.productIndex)) {
                    return option.label;
                }

                const currentPrice = this.getOptionPriceAdjustmentBasePrice();

                if (this.optionConfig.optionPrices[optionProduct]) {
                    const optionPrice = this.optionConfig.optionPrices[optionProduct].finalPrice.amount;
                    if (optionPrice !== currentPrice){
                        return option.label + ' ' + hyva.formatPrice(optionPrice - currentPrice, true);
                    }
                }
                return option.label;
            },
            getOptionPriceAdjustmentBasePrice() {
                if (this.optionConfig.optionPrices[this.productIndex]) {
                    return this.optionConfig.optionPrices[this.productIndex].finalPrice.amount
                }
                const cheapestForSelection = this.findCheapestProductForPartialSelection(this.selectedValues);
                return this.optionConfig.optionPrices[cheapestForSelection]
                    ? this.optionConfig.optionPrices[cheapestForSelection].finalPrice.amount
                    : this.optionConfig.prices.finalPrice.amount; // default price if no option selection
            },
            clearOptionIfActive(optionId, value) {
                if (this.selectedValues[optionId] === value) {
                    this.blurLabel()
                    this.changeOption(optionId, '')
                }
            },
            removeAttrFromSelection(selectedValues, attributeId) {
                                attributeId = parseInt(attributeId);
                return selectedValues.reduce((newSelection, val, attr) => {
                    if (attr !== attributeId) {
                        newSelection[attr] = val;
                    }
                    return newSelection;
                }, []);
            },
            changeOption(attributeId, value) {
                if (value === '') {
                    this.selectedValues = this.removeAttrFromSelection(this.selectedValues, attributeId)
                } else if (value && this.getAllowedAttributeOptions(attributeId).find(option => option.id === value)) {
                                        this.selectedValues[attributeId] = value;
                }
                this.findSimpleIndex();
                this.findAllowedAttributeOptions();
                this.updatePrices();
                this.updateGallery();
                window.dispatchEvent(
                    new CustomEvent(
                        'configurable-selection-changed',
                        {
                            detail: {
                                productId: this.productId,
                                optionId: attributeId,
                                value: value,
                                productIndex: this.productIndex,
                                selectedValues: this.selectedValues,
                                candidates: this.findProductIdsForPartialSelection(this.selectedValues),
                            }
                        }
                    )
                );
            },
            calculateIsMinimalPrice() {
                return (
                    this.selectedValues.filter(value => !!value).length <
                        Object.keys(this.optionConfig.attributes).length
                );
            },
            updatePrices() {
                const value = this.productIndex ?
                    this.optionConfig.optionPrices[this.productIndex] :
                    this.optionConfig.prices;
                window.dispatchEvent(
                    new CustomEvent(
                        "update-prices-" + this.productId,
                        {
                            detail: Object.assign(
                                value,
                                { isMinimalPrice: this.calculateIsMinimalPrice() }
                            )
                        }
                    )
                );
            },
            updateGallery () {
                if (this.productIndex) {
                    const images = this.optionConfig.images[this.productIndex];
                    images && window.dispatchEvent(new CustomEvent(
                        "update-gallery",
                        { detail: this.sortImagesByPosition(images) }
                    ));
                } else {
                    window.dispatchEvent(new Event("reset-gallery"));
                }
            },
            sortImagesByPosition(images) {
                return images.sort((x, y) => {
                    return x.position === y.position ? 0 : (parseInt(x.position) > parseInt(y.position) ? 1 : -1)
                });
            },
            onGetCartData(data) {
                            },
            preselectCartItems(data) {
                // pre-select options based on cart data for current (quote) itemId
                const cart = data && data.cart;
                if (cart && cart.items) {
                    const cartItem = cart.items.find((item) => {
                        return (
                            item.item_id === this.itemId
                            && item.product_id === this.productId
                        )
                    });
                    if (cartItem && cartItem.options && cartItem.options.length) {
                        cartItem.options.map(option => {
                            this.changeOption(option.option_id, option.option_value);
                        })
                    }
                }
            },
            preselectQuerystringItems() {
                // pre-select option like ?size=167
                const urlQueryParams = new URLSearchParams(window.location.search.replace('?',''));
                this.preselectItemsBasedOnLocation(attribute => urlQueryParams.get(attribute.code));
            },
            preselectLocationHashItems() {
                // pre-select option like #144=167
                const urlHashParams = new URLSearchParams(window.location.hash.replace('#',''));
                this.preselectItemsBasedOnLocation(attribute => urlHashParams.get(attribute.id));
            },
            preselectItemsBasedOnLocation(getLocationValue) {
                Object.values(this.optionConfig.attributes).map(attribute => {
                    this.changeOption(attribute.id, getLocationValue(attribute))
                });
            }
        }
    }

</script>
<script>
    function initSwatchOptions(swatchConfig) {
        return {
            swatchConfig,
            getAttributeSwatchData(attributeId) {
                const swatchConfig = Object.assign({}, this.swatchConfig[attributeId]);
                swatchConfig['details'] = JSON.parse(swatchConfig['additional_data']);

                return swatchConfig;
            },
            getAllAttributeOptions(attributeId) {
                return (
                    this.optionConfig.attributes[attributeId] &&
                    this.optionConfig.attributes[attributeId].options
                ) || []
            },
            optionIsActive(attributeId, optionId) {
                // return true if a product with this option is in stock
                return !!this.getAllowedAttributeOptions(attributeId).find(
                    option => option.id === optionId
                )
            },
            optionIsEnabled(attributeId, optionId) {
                // return true if a product with this option is enabled
                for (const productId in this.optionConfig.index) {
                    if (this.optionConfig.index[productId][attributeId] === optionId) {
                        return true;
                    }
                }
                return false;
            },
            mapSwatchTypeNumberToTypeCode(typeNumber) {
                switch ("" + typeNumber) {
                    case "1":
                        return "color"
                    case "2":
                        return "image"
                    case "3":
                        return "empty"
                    case "0":
                    default:
                        return "text"
                }
            },
            getTypeOfFirstOption(attributeId) {
                for (const optionId in this.swatchConfig[attributeId]) {
                    const option = this.swatchConfig[attributeId][optionId];
                    if (typeof option.type !== 'undefined') {
                        return this.mapSwatchTypeNumberToTypeCode(option.type);
                    }
                }
            },
            getVisualSwatchType(attributeId, targetOptionId) {
                // If a type configuration is present for the given option id, use it
                const config = this.swatchConfig[attributeId];
                if (config[targetOptionId] && typeof config[targetOptionId].type !== 'undefined') {
                    return this.mapSwatchTypeNumberToTypeCode(config[targetOptionId].type);
                }

                // Otherwise - if no config is present for the target option - use the type of the first option
                // with a type property from the attribute, thus assuming its the same type as the target option.
                // (This edge case condition can occur on single swatch products if some options are not salable)
                return this.getTypeOfFirstOption(attributeId);
            },
            getSwatchType(attributeId, optionId) {
                // Deserialize the attribute details the first time they are used
                if (this.swatchConfig[attributeId] && ! this.swatchConfig[attributeId].details) {
                    this.swatchConfig[attributeId] = this.getAttributeSwatchData(attributeId);
                }
                const type =  this.swatchConfig[attributeId] &&
                    this.swatchConfig[attributeId].details &&
                    this.swatchConfig[attributeId].details.swatch_input_type ||
                    "empty";
                return type === 'visual' ? this.getVisualSwatchType(attributeId, optionId) : type;
            },
            isTextSwatch(attributeId, optionId) {
                return this.getSwatchType(attributeId, optionId) === 'text';
            },
            isVisualSwatch(attributeId, optionId) {
                const type = this.getSwatchType(attributeId, optionId);

                return ['image', 'color'].includes(type);
            },
            getSwatchBackgroundStyle(attributeId, optionId) {
                const config = this.getSwatchConfig(attributeId, optionId);
                const type = this.getSwatchType(attributeId, optionId);

                if (type === "color") {
                        return 'background-color:' + config.value;
                } else if (type === "image") {
                        return "background: #ffffff url('" + config.value + "') no-repeat center";
                } else {
                    return '';
                }
            },
            getSwatchText(attributeId, optionId) {
                const config = this.getSwatchConfig(attributeId, optionId);
                return config.label || config.value || this.getOptionLabelFromOptionConfig(attributeId, optionId);
            },
            getOptionLabelFromOptionConfig(attributeId, optionId) {
                // Fallback if no value is present in swatchConfig data
                // Reference issue https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/issues/190
                const option = this.getAllAttributeOptions(attributeId).filter(option => option.id === optionId);
                return option && option[0] && option[0].label ||'';
            },
            getSwatchConfig(attributeId, optionId) {
                return this.swatchConfig[attributeId] && this.swatchConfig[attributeId][optionId]
                    ? this.swatchConfig[attributeId][optionId]
                    : false;
            },
            activeTooltipItem: false,
            tooltipPositionElement: false,
            isTooltipVisible() {
                return this.activeTooltipItem &&
                    this.getSwatchConfig(
                        this.activeTooltipItem.attribute,
                        this.activeTooltipItem.item
                    );
            },
            isFirstItemCol() {
                return this.activeTooltipItem.index === 0;
            },
            getTooltipImageStyle(attributeId, optionId) {
                const config = this.getSwatchConfig(attributeId, optionId);
                const type = this.getSwatchType(attributeId, optionId);

                if (type === "color") {
                    return 'background-color:' + config.value + '; width: 110px; height: 90px;';
                } else if (type === "image") {
                    return "background: #ffffff url('" + config.thumb +
                        "') center center no-repeat; width: 110px; height: 90px;";
                } else {
                    return 'display:none';
                }
            },
            getTooltipPosition() {
                return this.tooltipPositionElement ?
                    `top: ${this.tooltipPositionElement.offsetTop}px;` +
                    `left: ${
                        this.tooltipPositionElement.offsetLeft - (
                            this.tooltipPositionElement.closest('.snap') &&
                            this.tooltipPositionElement.closest('.snap').scrollLeft ||
                            0
                        )
                    }px;` : ''
            },
            getTooltipLabel() {
                return this.getSwatchConfig(this.activeTooltipItem.attribute, this.activeTooltipItem.item).label
            },
            focusedLabel: false,
            focusLabel(optionId) {
                this.focusedLabel = optionId;
            },
            blurLabel() {
                this.focusedLabel = false;
            },
            showSwatches: false,
            initShowSwatchesIntersect() {
                if ('IntersectionObserver' in window && !window.scrollY) {
                    let io = new IntersectionObserver(
                        entries => {
                            entries.map(entry => {
                                if (entry.isIntersecting) {
                                    this.showSwatches = true;
                                    io.unobserve(this.$root);
                                }
                            })
                        }
                    );
                    io.observe(this.$root);
                } else {
                    this.showSwatches = true
                }
            }
        }
    }
</script>
<script>
    'use strict';

    const grecaptchaV2LoadCallbacks = [];

    function executeRecaptchaLoadCallbacks () {
        while (window.grecaptcha && grecaptchaV2LoadCallbacks.length > 0) {
            const callback = grecaptchaV2LoadCallbacks.pop();
            typeof callback === 'string' ? window[callback]() : callback();
        }
    }

    (function() {
        const loadRecaptchaScript = (event) => {

            if (window.grecaptcha || !event.target.form) {
                return;
            }

            const url = 'https://www.google.com/recaptcha/api.js?onload=executeRecaptchaLoadCallbacks';
            const siteKey = '';
            const script = document.createElement('script');
            script.type = 'text/javascript';
            script.src = siteKey ? `${url}&render=${siteKey}` : `${url}&render=explicit`;
            script.async = true;
            document.head.appendChild(script);

            script.addEventListener('load', () => {
                Array.from(document.querySelectorAll('button[data-recaptcha-btn]:disabled')).forEach(btn => btn.removeAttribute('disabled'));
            });
        }

        window.forceLoadRecaptchaScript = (form) => {
            loadRecaptchaScript({target: {form: form || 'dummy'}});
            executeRecaptchaLoadCallbacks();
        };

        document.body.addEventListener('input', loadRecaptchaScript, { once: true });
        document.body.addEventListener('focus', loadRecaptchaScript, { once: true });

    }());

</script>
<script>
    (() => {
        window.CONSTANTS = window.CONSTANTS || {};

                window.CONSTANTS.SPLIDEJS = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/js/plugins/splide.min.js';
        window.CONSTANTS.SPLIDECSS = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/css/plugins/splide-core.min.css';

                window.CONSTANTS.PHOTOSWIPECSS = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/css/plugins/photoswipe.min.css';
        window.CONSTANTS.PHOTOSWIPEJS = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/js/plugins/photoswipe.min.js';
        window.CONSTANTS.PHOTOSWIPELIGHTJS = 'https://www.burdastyle.com/static/version1773654538/frontend/Burda/default/en_US/js/plugins/photoswipe-lightbox.min.js';
    })();
</script>

<script>
    (function () {
        const modals = [];
        const excludedFromFocusTrapping = new Set();

        function trapFocusInNextModalWithOverlay() {
            for (let idx = modals.length -1; idx >= 0; idx--) {
                const nextOnStack = modals[idx];
                const nextDialogElement = nextOnStack.instance.$refs[nextOnStack.name];
                if (! isOverlayDisabled(nextDialogElement)) {
                    hyva.trapFocus(nextDialogElement);
                    break;
                }
            }
        }

        function focusables(dialogElement) {
            const selector = 'button, [href], input, textarea, select, details, [tabindex]:not([tabindex="-1"])';
            return Array.from(dialogElement.querySelectorAll(selector))
                .filter(el => !el.hasAttribute('disabled'));
        }

        function firstVisible(elements) {
            const a = Array.from(elements);
            for (let i = 0; i < a.length; i++) {
                if (a[i].offsetWidth || a[i].offsetHeight || a[i].getClientRects().length) return a[i];
            }
            return null;
        }

        function isInViewport(element) {
            const rect = element && element.getBoundingClientRect();
            return rect &&
                rect.top >= 0 &&
                rect.left >= 0 &&
                rect.right <= window.innerWidth &&
                rect.bottom <= window.innerHeight;
        }

        function setFocusAfterTransition(dialogElement, duration) {
                        const nested = Array.from(dialogElement.querySelectorAll('[role="dialog"]'));
            const candidates = Array.from(dialogElement.querySelectorAll('[x-focus-first]'));
            next: for (let candidate of candidates) {
                for (let child of nested) {
                    if (child.contains(candidate)) continue next;
                }
                setTimeout(() => candidate.focus(), 50);
                break;
            }
            window.setTimeout(() => {
                const focusElement = firstVisible(dialogElement.querySelectorAll('[x-focus-first]')) ||
                    focusables(dialogElement)[0] ||
                    null;
                focusElement && isInViewport(focusElement) && focusElement.focus();
            }, Math.max(1, duration));
        }

        function determineTrigger($refs, dialog, trigger) {
                        if (typeof trigger === 'undefined' && typeof dialog === 'object' && dialog.target instanceof HTMLElement) {
                return dialog.target;
            }
                        if (typeof dialog === 'string' && typeof trigger === 'object' && trigger.target instanceof HTMLElement) {
                return trigger.target;
            }
                        if (typeof trigger === 'string') {
                try {
                    return $refs[trigger] || document.querySelector(trigger)
                } catch (e) {}
            }
                        if (trigger instanceof Element) {
                return trigger;
            }

                        return null;
        }

        function isOverlayDisabled(dialog) {
            return dialog && dialog.hasAttribute('x-no-overlay')
        }

        function areRemainingModalsWithoutOverlay(modals)
        {
            const overflowDisabled = modals.map(modal => modal.instance.$refs[modal.name]).filter(isOverlayDisabled);

            return overflowDisabled.length === modals.length;
        }

        window.hyva.modal = function(options = {}) {
                        if (this.$el && this.$el.dataset && this.$el.dataset.options) {
                try {
                    options = Object.assign(options, JSON.parse(this.$el.dataset.options || '{}'));
                } catch (e) {
                    throw new Error('Cannot read the dialog options from the data-options attribute: not valid JSON');
                }
            }

            const config = Object.assign({
                dialog: 'dialog',                 duration: 300,                 transitionEnter: 'transition ease-out duration-300',
                transitionEnterStart: 'opacity-0',
                transitionEnterEnd: 'opacity-100',
                transitionLeave: 'transition ease-in duration-300',
                transitionLeaveStart: 'opacity-100',
                transitionLeaveEnd: 'opacity-0',
            }, options);
            let lastHide = 0;

            return {
                opened: {},
                show(dialog, trigger) {
                    const focusTargetAfterHide = determineTrigger(this.$refs, dialog, trigger);
                    const name = typeof dialog === 'string' ? dialog : config.dialog;
                    const dialogElement = this.$refs[name];
                    if (! dialogElement) {
                                                return;
                    }
                    const useOverlay = ! dialogElement.hasAttribute('x-no-overlay');

                    dialogElement.scrollTop = 0;

                                        if (this.opened[name]) {
                        return;
                    }

                    if (focusTargetAfterHide) {
                        focusTargetAfterHide.setAttribute('aria-expanded', 'true');
                    }

                    this.opened[name] = true;
                    useOverlay && this.$nextTick(() => hyva.trapFocus(dialogElement));
                    setFocusAfterTransition(dialogElement, config.duration);

                    const frame = {name, instance: this, focusTarget: focusTargetAfterHide, time: Date.now()};

                    modals.push(frame);
                    if (useOverlay) {
                        document.body.classList.add('overflow-hidden');
                    }
                    return new Promise(resolve => frame.resolve = resolve);
                },
                cancel() {
                    this.hide(false);
                },
                ok() {
                    this.hide(true);
                },
                hide(value) {
                                        if (Date.now() - lastHide < config.duration) {
                        return;
                    }
                    lastHide = Date.now();

                    const modal = modals.pop() || {};
                    if (! modal.instance) {
                        return;
                    }

                    const name = modal.name;
                    this.opened[name] = false;
                    hyva.releaseFocus(modal.instance.$refs[modal.name])
                    trapFocusInNextModalWithOverlay();

                    const nextFocusAfterHide = modal.focusTarget;
                    nextFocusAfterHide && setTimeout(() => {
                        nextFocusAfterHide.setAttribute('aria-expanded', 'false');
                        nextFocusAfterHide.focus()
                    }, config.duration);

                    if (modals.length === 0 || areRemainingModalsWithoutOverlay(modals)) {
                        document.body.classList.remove('overflow-hidden');
                    }

                    modal.resolve(value);
                },
                overlay(dialog) {
                    dialog = this.$el.dataset.dialogRefName || dialog;
                    const name = typeof dialog === 'string' ? dialog : config.dialog;
                    return {
                        ['x-show']() {
                            return this.opened[name]
                        },
                        ['x-transition:enter']: config.transitionEnter,
                        ['x-transition:enter-start']: config.transitionEnterStart,
                        ['x-transition:enter-end']: config.transitionEnterEnd,
                        ['x-transition:leave']: config.transitionLeave,
                        ['x-transition:leave-start']: config.transitionLeaveStart,
                        ['x-transition:leave-end']: config.transitionLeaveEnd,
                        ['@hyva-modal-show.window'](event) {
                            event.detail && event.detail.dialog === name && this.show(name, event.detail.focusAfterHide)
                        }
                    };
                },
                showDialogOnInit() {
                    const parent = this.$el.closest('[data-dialog-ref-name]');
                    if (parent && parent.dataset.dialogRefName) {
                        this.$dispatch('hyva-modal-show', {dialog: parent.dataset.dialogRefName})
                    }
                }
            };
        }

        window.hyva.modal.peek = () => modals.length > 0 && modals[modals.length -1]

        window.hyva.modal.pop = function () {
            if (modals.length > 0) {
                const modal = modals[modals.length -1];
                modal.instance.hide();
            }
        }

        window.hyva.modal.excludeSelectorsFromFocusTrap = function (selectors) {
            typeof selectors === 'string' || selectors instanceof String
                ? excludedFromFocusTrapping.add(selectors)
                : selectors.map(selector => excludedFromFocusTrapping.add(selector));
        }

        window.hyva.modal.eventListeners = {
            keydown: event => {
                if (event.key === 'Escape') {
                    window.hyva.modal.pop();
                }
            },
                        click: event => {
                if (modals.length > 0) {
                    const modal = modals[modals.length -1];
                    const dialog = modal.instance.$refs[modal.name];
                    if (modal.time + 50 < Date.now() && // if last click processing is more than 50ms ago
                        ! isOverlayDisabled(dialog) && // if dialog has overlay
                        ! dialog.contains(event.target)) { // if click is outside of dialog
                        modal.instance.hide();
                    }
                }
            }
        };

        document.addEventListener('keydown', window.hyva.modal.eventListeners.keydown);

        document.addEventListener('click', window.hyva.modal.eventListeners.click);
    })();
    window.addEventListener('alpine:init', () => {
        Alpine.data('hyvaModal', window.hyva.modal);
    }, {once: true});
</script>

<section x-data="{isLoading: false}"
         @amgdpr-loading-start.window="isLoading = true" @amgdpr-loading-stop.window="isLoading = false">

</section>

<script>
    'use strict';

    function initParentContainerProcessor() {
        const selectors = {
            labelContainer: '.amasty-label-container',
            galleryImg: '#gallery img:not(.amasty-label-image)'
        }

        return {
            /**
             * @param {AmlabelComponent} label
             * @return {void}
             */
            process: function (label) {
                this.moveLabelToParent(label);
                this.setParentStyles(label);
            },

            /**
             * @param {AmlabelComponent} label
             * @return {void}
             */
            moveLabelToParent: function (label) {
                const newParent = this.getNewParent(label);

                if (!newParent) {
                    return;
                }

                const wrapperElement = newParent.querySelector(label.wrapperClass);
                label.parent = newParent;

                // if same wrapper already exists - move label there
                if (wrapperElement && !wrapperElement.isSameNode(label.element)) {
                    this.insertLabelByPriority(label, wrapperElement);
                } else {
                    newParent.prepend(label.element);
                }
            },

            /**
             * @param {AmlabelComponent} label
             * @return {HTMLElement|null}
             */
            getNewParent: function (label) {
                // move label to container from settings
                let newParent = label.element.closest(label.config.path)
                    || this.findPreviousNodeExcludingScriptsAndDifferentLabels(label.element)?.querySelector(label.config.path)
                    || label.parent.querySelector(label.config.path);

                // Try to find default gallery container on product page if none of the config selectors found
                if (!newParent && label.config.move !== 1 && label.config.mode === 'prod') {
                    newParent = document.querySelector(selectors.galleryImg)?.parentElement;
                }

                return newParent;
            },

            /**
             * @param {HTMLElement} element
             * @return {HTMLElement|null}
             */
            findPreviousNodeExcludingScriptsAndDifferentLabels: function (element) {
                const previousElement = element?.previousElementSibling;
                if (!previousElement) {
                    return null;
                }

                if (previousElement?.tagName !== 'SCRIPT'
                    && !previousElement?.className?.includes?.('amlabel-position-wrapper')
                ) {
                    return previousElement;
                }

                return this.findPreviousNodeExcludingScriptsAndDifferentLabels(previousElement);
            },

            /**
             * @param {AmlabelComponent} label
             * @param {HTMLElement} wrapperElement
             * @return {void}
             */
            insertLabelByPriority: function (label, wrapperElement) {
                const labelContainers = wrapperElement.querySelectorAll(selectors.labelContainer);
                const currentLabelOrder = label.labelContainer.dataset.amlabelOrder;
                let insertAfterContainer = null;

                // find the label behind which we want to insert current one by priority
                labelContainers.forEach(labelContainer => {
                    if (labelContainer.dataset.amlabelOrder < currentLabelOrder) {
                        insertAfterContainer = labelContainer;
                    }
                });

                insertAfterContainer === null
                    ? wrapperElement.prepend(label.labelContainer)
                    : insertAfterContainer.after(label.labelContainer);

                label.element.remove();
                label.element = wrapperElement;
            },

            /**
             * @param {AmlabelComponent} label
             * @return {void}
             */
            setParentStyles: function (label) {
                /* required for child position absolute */
                !(label.parent.style.position === 'absolute') && (label.parent.style.position = 'relative');
                !label.parent.style.width && label.parent.classList.add('w-fit-content');
                !label.parent.style.marginLeft && label.parent.classList.add('ml-auto');
                !label.parent.style.marginRight && label.parent.classList.add('mr-auto');
            },
        }
    }
</script>
<script>
    'use strict';

    function initLabelItemProcessor() {
        /**
         * @typedef {Object} AmlabelComponent
         *
         * @property {HTMLElement} element Label wrapper element
         * @property {HTMLElement} parent Element where label should be placed
         * @property {boolean} initialized Is label initialized
         * @property {string} wrapperClass Dynamic class for label wrapper to place multiple labels properly by position
         * @property {HTMLElement} labelContainer Container for label text image and tooltip
         * @property {Config} config Label Configuration
         * @property {Object} parentContainerProcessor
         * @property {Object} labelItemProcessor
         */

        /**
         * @typedef {Object} AmLabelConfig
         *
         * @property {0|1} alignment Labels Alignment config value (0 - Horizontal| 1 - Vertical)
         * @property {number} label Label Id
         * @property {number} margin Margin between labels config value
         * @property {('cat'|'prod')} mode Label mode
         * @property {number} move
         * @property {number} order Label order
         * @property {string} path The css selector to which label should place
         * @property {string} position Label position
         * @property {string} product Product Id
         * @property {string} redirect_url
         * @property {string} size Label size
         * @property {{
         *     backgroundColor: string,
         *     color: string,
         *     content: string,
         *     status: 1|2|3
         * }} tooltip
         */

        return {
            /**
             * @param {AmlabelComponent} label
             * @return {void}
             */
            process: function(label) {
                this.setLabelSize(label);
                this.setLinkProps(label);
            },

            /**
             * @param {AmlabelComponent} label
             * @return {void}
             */
            setLabelSize: function (label) {
                if (!label.config.size) {
                    return;
                }

                label.labelContainer.style.width = label.parent.offsetWidth * label.config.size / 100 + 'px';
            },

            /**
             *
             * @param {Object} $event
             * @param {HTMLElement} tooltipNode
             */
            placeTooltip: function($event, tooltipNode) {
                const labelNode = $event.target;
                const labelNodeRect = labelNode.getBoundingClientRect();

                tooltipNode.style.bottom = (window.innerHeight - labelNodeRect.top)  + 'px';
                tooltipNode.style.left = (labelNodeRect.left + labelNode.offsetWidth / 2 ) + 'px';
            },

            /**
             * @param {AmlabelComponent} label
             * @return {void}
             */
            setLinkProps: function (label) {
                !!label.config.redirect_url && label.labelContainer.classList.add('-link', 'cursor-pointer');
            },

            /**
             * @param {Object} $event Click event
             * @param {string} redirectUrl
             */
            openLink: function($event, redirectUrl) {
                if (redirectUrl.length === 0) {
                    return;
                }

                $event.preventDefault();
                window.open(redirectUrl, '_blank');
            }
        }
    }
</script>

<script>
    (function () {
        'use strict';

        const observedEvent = 'amlabel-swatch-product-changed';
        const selectors = {
            swatchOptions: 'div[x-data^=initConfigurable][x-data*=Options]',
            addToCartFormOnListing: 'form.product_addtocart_form',
            galleryImage: '#gallery img:not(.amasty-label-image)',
            labelWrapper: '.amlabel-position-wrapper'
        }

        /**
         * @return {void}
         */
        const injectLabelObserver = function () {
            const swatches = document.querySelectorAll(selectors.swatchOptions);

            swatches.forEach(swatch => {
                const isListing = !!swatch.closest(selectors.addToCartFormOnListing);
                const injectedDispatch = `$dispatch('${observedEvent}', `
                    + `{productIndex: productIndex, element: $el, optionConfig: optionConfig, isListing: ${isListing ? 1 : 0}})`;

                let mutatedInitAttribute = swatch.getAttribute('x-init');
                mutatedInitAttribute += `; $watch('productIndex', (productIndex) => { ${injectedDispatch} });`;
                swatch.setAttribute('x-init', mutatedInitAttribute);
            });
        }

        /**
         * @param {{
         *  productIndex: number,
         *  element: HTMLElement,
         *  optionConfig: Object,
         *  isListing: 0|1
         * }} payload
         * @return {void}
         */
        const updateLabel = function ({detail: payload}) {
            const {productIndex, element, optionConfig, isListing} = payload;

            if (!productIndex) {
                return;
            }

            const reloadUrl = optionConfig.label_reload;
            const headers = {
                "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
            };
            const body = new URLSearchParams({
                product_ids: productIndex,
                in_product_list: isListing
            });
            const labelContainerSelector = isListing ? optionConfig.label_category : optionConfig.label_product;

            fetch(`${reloadUrl}?${body.toString()}`, {headers: headers, method: 'GET'}).then((response) => {
                if (response.ok) {
                    return response.json();
                }
            }).then((result) => {
                const labelHtml = result.labels && result.labels[productIndex];
                let labelContainer = findClosest(element, labelContainerSelector);

                // Try to find default gallery container on product page if none of the config selectors found
                if (labelContainer === null && isListing === 0) {
                    labelContainer = document.querySelector(selectors.galleryImage)?.parentElement;
                }

                if (!!labelContainer) {
                    !!labelHtml ? replaceLabels(labelContainer, labelHtml) : clearLabelWrapper(labelContainer);
                }
            }).catch((error) => {
                typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                    [{
                        type: 'error',
                        text: error
                    }],
                    5000
                );
            });
        }

        /**
         * We use approach from hyva.replaceDomElement method to replace labels and init components
         *
         * @param {HTMLElement} labelContainer
         * @param {string} labelHtml
         * @return {void}
         */
        function replaceLabels(labelContainer, labelHtml) {
            const parser = new DOMParser();
            const doc = parser.parseFromString(labelHtml, 'text/html');
            const nodes = doc.querySelectorAll(selectors.labelWrapper);

            if (!nodes) {
                return;
            }

            clearLabelWrapper(labelContainer);

            // Extract all the script tags from the new content.
            // Script tags won't execute when inserted into a dom-element directly,
            // therefore we need to inject them to the head of the document.
            const tmpScripts = doc.getElementsByTagName('script');

            if (tmpScripts.length > 0) {
                // Push all script tags into an array
                // (to prevent dom manipulation while iterating over dom nodes)
                const scripts = [...tmpScripts];

                // Iterate over all script tags and duplicate+inject each into the head
                scripts.forEach(script => {
                    let scriptNode = document.createElement('script');
                    scriptNode.innerHTML = script.innerHTML;
                    document.head.appendChild(scriptNode);

                    // Remove the original (non-executing) node from the page
                    script.parentNode.removeChild(script);
                });
            }

            labelContainer.append(...nodes);
        }

        /**
         * @param {HTMLElement} labelContainer
         * @return {void}
         */
        function clearLabelWrapper(labelContainer) {
            labelContainer.querySelectorAll(selectors.labelWrapper).forEach(wrapper => wrapper.remove());
        }

        /**
         * @param {HTMLElement} currentElement
         * @param {string} selector
         * @return {HTMLElement|null}
         */
        function findClosest(currentElement, selector) {
            // We need to limit parent searches to prevent labels from being associated with the wrong product.
            const maxDepth = 3;
            let counter = 0;
            let closest = null;

            while (currentElement.parentNode && closest === null && counter < maxDepth) {
                ++counter;
                currentElement = currentElement.parentNode;
                closest = currentElement.querySelector(selector);
            }

            return closest;
        }

        injectLabelObserver();
        window.addEventListener(observedEvent, updateLabel);
    })();
</script>

<script>
    (function () {
        'use strict';

        const storageName = 'AmastyCookieGroups';

        !!hyva.amStorage && hyva.amStorage.create(storageName, {
            /**
             * @type {{
             * checked: boolean,
             * cookies: {description: string, lifetime: number|null, name: string, provider: string, type: string}[],
             * description: string,
             * groupId: string|number,
             * isEssential: boolean,
             * name: string
             * }[]} name
             */
            groupData: [],
            cookiePolicy: undefined,
            lastUpdate: undefined,

            /**
             * @returns {string|number[]}
             */
            getEssentialGroupIds: function () {
                return this.groupData.reduce(function (essentialGroupIds, group) {
                        if (group.isEssential) {
                            essentialGroupIds.push(group.groupId)
                        }

                        return essentialGroupIds;
                    }, []);
            },

            /**
             * @returns {string|number[]}
             */
            getCheckedGroupIds: function () {
                return this.groupData.reduce(function (checkedGroupIds, group) {
                    if (group.checked) {
                        checkedGroupIds.push(group.groupId);
                    }

                    return checkedGroupIds;
                }, []);
            },

            /**
             * @param {string} cookieName
             * @returns {boolean}
             */
            isCookieEssential: function (cookieName) {
                const allEssentialCookies = this.groupData
                    .filter(group => group.isEssential)
                    .map(group => group.cookies)
                    .flat();

                return !!allEssentialCookies.find(cookie => cookie.name === cookieName);
            },

            /**
             * @param {boolean} setAcceptance
             * @returns {Promise}
             */
            updateGroupData: function (setAcceptance = false) {
                const params = new URLSearchParams({
                    allowed: hyva.getCookie('amcookie_allowed') ?? '',
                    restriction: hyva.getCookie('amcookie_policy_restriction') ?? ''
                });
                const cookieFetchUrl = `${BASE_URL}amcookie/cookie/cookies?${params}`;
                return fetch(cookieFetchUrl, {
                    method: "GET",
                    headers: {
                        'X-Requested-With': 'XMLHttpRequest'
                    }
                })
                    .then(response => {
                        if (response.ok) {
                            return response.json();
                        }

                        return Promise.reject(`${response.status} ${response.statusText}`);
                    })
                    .then(data => {
                        this.cookiePolicy = data.cookiePolicy ?? 'allowed';
                        this.lastUpdate = data.lastUpdate ?? 0;
                        this.groupData = [...data.groupData];

                        hyva.setCookie('amcookie_policy_restriction', this.cookiePolicy, 10);
                        if (setAcceptance) {
                            amastyCookieManager.setLastCookieAcceptance(this.lastUpdate);
                        }

                        return data;
                    })
                    .catch(error => {
                        typeof window.dispatchMessages !== "undefined" && window.dispatchMessages([
                            {
                                type: "error",
                                text: error
                            }
                        ]);
                    })
                    .finally(() => window.dispatchEvent(new Event('amasty-cookie-group-updated')));
            },
        });
    })();
</script>
<script>
    (function (amastyCookieManager) {
        'use strict';

        amastyCookieManager.deleteDisallowedCookie = function () {
            let disallowedCookie = decodeURIComponent(hyva.getCookie('amcookie_disallowed') ?? '');

            if (!disallowedCookie) {
                return;
            }

            disallowedCookie.split(',').forEach(function (name) {
                if (!!hyva.amStorage && !hyva.amStorage.getStorage('AmastyCookieGroups').isCookieEssential(name)) {
                    hyva.setCookie(name, '', -1, true);
                }
            });
        };

        amastyCookieManager.isCookieAllowed = function (cookieName) {
            const allowedGroups = hyva.getCookie('amcookie_allowed');
            const disallowedCookie = decodeURIComponent(hyva.getCookie('amcookie_disallowed') ?? '');
            const isCookiePolicyAllowed = hyva.getCookie('amcookie_policy_restriction') === 'allowed';
            const isCookieEssential = !!hyva.amStorage
                && hyva.amStorage.getStorage('AmastyCookieGroups').isCookieEssential(cookieName);

            if (!isCookiePolicyAllowed || isCookieEssential) {
                return true;
            }

            return !((!allowedGroups && !disallowedCookie)
                || disallowedCookie.split(',').indexOf(cookieName) !== -1);
        };

        amastyCookieManager.processManageableCookies = function () {
            let cookieScripts = document.querySelectorAll('script[data-amcookie-groupid][type="text/plain"]');

            cookieScripts.forEach((elem) => {
                if (this.isChecked(elem.dataset['amcookie-groupid'])) {
                    let elClone = elem.cloneNode(true).setAttribute('type', 'text/javascript');

                    elem.remove();
                    document.body.appendChild(elClone);
                }
            });
        };

        amastyCookieManager.setLastCookieAcceptance = function (lastUpdate) {
            localStorage.setItem('am-last-cookie-acceptance', lastUpdate);
        };

        window.addEventListener('amasty-cookie-group-updated', () => {
            amastyCookieManager.deleteDisallowedCookie();
        });

        window.addEventListener('private-content-loaded', () => {
            amastyCookieManager.deleteDisallowedCookie();
        });
    }(window.amastyCookieManager = window.amastyCookieManager || {}));
</script>
<script>
    (function () {
        'use strict';

        window.addEventListener('cookiebar-action-accept', (event) => {
            const groups = event.detail;
            const url = `${BASE_URL}amcookie/cookie/savegroups`;
            const contentType = 'application/x-www-form-urlencoded; charset=UTF-8';
            const body = new URLSearchParams({
                form_key: hyva.getFormKey()
            });
            groups.length && groups.map(groupId => body.append('groups[]', groupId));

            fetch(url, {method: 'POST', body, headers: {'Content-Type': contentType}})
                .then(response => {
                    if (response.ok) {
                        return response.json();
                    }

                    return Promise.reject(`${response.status} ${response.statusText}`);
                })
                .then(data => {
                    if (data.success) {
                        !!hyva.amStorage && hyva.amStorage.getStorage('AmastyCookieGroups').updateGroupData(true);
                    }
                })
                .catch(error => {
                    typeof window.dispatchMessages !== "undefined" && window.dispatchMessages([
                        {
                            type: "error",
                            text: error
                        }
                    ]);
                })
                .finally(() => {
                    amastyCookieManager.processManageableCookies();
                    window.dispatchEvent(new CustomEvent('cookiebar-action-accept-finish'));
                    window.dispatchEvent(new CustomEvent('amasty-cookie-group-updated'));
                    // Wait cookiebar close animation
                    setTimeout(() => {
                        window.dispatchEvent(new CustomEvent('reload-customer-section-data'));
                    }, 100);
                });
        });
    })();
</script>
<script>
    (function () {
        'use strict';

        window.addEventListener('cookiebar-action-allow', () => {
            const url = `${BASE_URL}amcookie/cookie/allow`;
            const contentType = 'application/x-www-form-urlencoded; charset=UTF-8';
            const body = new URLSearchParams({
                form_key: hyva.getFormKey()
            });
            fetch(url, {method: 'POST', body, headers: {'Content-Type': contentType}})
                .then(response => {
                    if (response.ok) {
                        return response;
                    }

                    return Promise.reject(`${response.status} ${response.statusText}`);
                })
                .then(() => {
                    !!hyva.amStorage && hyva.amStorage.getStorage('AmastyCookieGroups').updateGroupData(true);
                })
                .catch(error => {
                    typeof window.dispatchMessages !== "undefined" && window.dispatchMessages([
                        {
                            type: "error",
                            text: error
                        }
                    ]);
                })
                .finally(() => {
                    amastyCookieManager.processManageableCookies();
                    window.dispatchEvent(new CustomEvent('cookiebar-action-allow-finish'));
                    // Wait cookiebar close animation
                    setTimeout(() => {
                        window.dispatchEvent(new CustomEvent('reload-customer-section-data'));
                    }, 100);
                });
        });
    })();
</script>

<style>
    :root {
        /* Bar Color Settings */
        --ambar-background: #fff;
        --ambar-links-color: #000000;
        --ambar-policy-text: #374151;

        /* Buttons Color Settings */
        --ambar-button-accept-color: #EEEEEE;
        --ambar-button-accept-hover-color: #000000;
        --ambar-button-accept-text: #000000;
        --ambar-button-accept-hover-text: #FFFFFF;

        --ambar-button-allow-color: #EEEEEE;
        --ambar-button-allow-hover-color: #000000;
        --ambar-button-allow-text: #000000;
        --ambar-button-allow-hover-text: #FFFFFF;

        --ambar-button-decline-color: #EEEEEE;
        --ambar-button-decline-hover-color: #000000;
        --ambar-button-decline-text: #000000;
        --ambar-button-decline-hover-text: #FFFFFF;

        --ambar-button-settings-color: #EEEEEE;
        --ambar-button-settings-hover-color: #000000;
        --ambar-button-settings-text: #000000;
        --ambar-button-settings-hover-text: #FFFFFF;

        /* Buttons Order Settings */
        --ambar-button-accept-order: 3;
        --ambar-button-allow-order: 1;
        --ambar-button-settings-order: 1;
        --ambar-button-decline-order: 2;
    }
</style>
<script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/www.burdastyle.com\/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"https:\/\/www.burdastyle.com\/videos","name":"Videos"}}]}</script><script type="application/ld+json">[]</script><script type="text/json" id="default-section-data">
    {"messages":[],"customer":[],"compare-products":[],"last-ordered-items":[],"cart":[],"directory-data":{"AD":{"name":"Andorra"},"AE":{"name":"United Arab Emirates"},"AF":{"name":"Afghanistan"},"AG":{"name":"Antigua & Barbuda"},"AI":{"name":"Anguilla"},"AL":{"name":"Albania","regions":{"577":{"code":"AL-01","name":"Berat"},"578":{"code":"AL-09","name":"Dib\u00ebr"},"579":{"code":"AL-02","name":"Durr\u00ebs"},"580":{"code":"AL-03","name":"Elbasan"},"581":{"code":"AL-04","name":"Fier"},"582":{"code":"AL-05","name":"Gjirokast\u00ebr"},"583":{"code":"AL-06","name":"Kor\u00e7\u00eb"},"584":{"code":"AL-07","name":"Kuk\u00ebs"},"585":{"code":"AL-08","name":"Lezh\u00eb"},"586":{"code":"AL-10","name":"Shkod\u00ebr"},"587":{"code":"AL-11","name":"Tiran\u00eb"},"588":{"code":"AL-12","name":"Vlor\u00eb"}}},"AM":{"name":"Armenia"},"AN":{"name":null},"AO":{"name":"Angola"},"AQ":{"name":"Antarctica"},"AR":{"name":"Argentina","regions":{"590":{"code":"AR-B","name":"Buenos Aires"},"591":{"code":"AR-K","name":"Catamarca"},"592":{"code":"AR-H","name":"Chaco"},"593":{"code":"AR-U","name":"Chubut"},"589":{"code":"AR-C","name":"Ciudad Aut\u00f3noma de Buenos Aires"},"594":{"code":"AR-X","name":"C\u00f3rdoba"},"595":{"code":"AR-W","name":"Corrientes"},"596":{"code":"AR-E","name":"Entre R\u00edos"},"597":{"code":"AR-P","name":"Formosa"},"598":{"code":"AR-Y","name":"Jujuy"},"599":{"code":"AR-L","name":"La Pampa"},"600":{"code":"AR-F","name":"La Rioja"},"601":{"code":"AR-M","name":"Mendoza"},"602":{"code":"AR-N","name":"Misiones"},"603":{"code":"AR-Q","name":"Neuqu\u00e9n"},"604":{"code":"AR-R","name":"R\u00edo Negro"},"605":{"code":"AR-A","name":"Salta"},"606":{"code":"AR-J","name":"San Juan"},"607":{"code":"AR-D","name":"San Luis"},"608":{"code":"AR-Z","name":"Santa Cruz"},"609":{"code":"AR-S","name":"Santa Fe"},"610":{"code":"AR-G","name":"Santiago del Estero"},"611":{"code":"AR-V","name":"Tierra del Fuego"},"612":{"code":"AR-T","name":"Tucum\u00e1n"}}},"AS":{"name":"American Samoa"},"AT":{"name":"Austria","regions":{"102":{"code":"BL","name":"Burgenland"},"99":{"code":"KN","name":"K\u00e4rnten"},"96":{"code":"NO","name":"Nieder\u00f6sterreich"},"97":{"code":"OO","name":"Ober\u00f6sterreich"},"98":{"code":"SB","name":"Salzburg"},"100":{"code":"ST","name":"Steiermark"},"101":{"code":"TI","name":"Tirol"},"103":{"code":"VB","name":"Vorarlberg"},"95":{"code":"WI","name":"Wien"}}},"AU":{"name":"Australia","regions":{"569":{"code":"ACT","name":"Australian Capital Territory"},"570":{"code":"NSW","name":"New South Wales"},"576":{"code":"NT","name":"Northern Territory"},"572":{"code":"QLD","name":"Queensland"},"573":{"code":"SA","name":"South Australia"},"574":{"code":"TAS","name":"Tasmania"},"571":{"code":"VIC","name":"Victoria"},"575":{"code":"WA","name":"Western Australia"}}},"AW":{"name":"Aruba"},"AX":{"name":"\u00c5land Islands"},"AZ":{"name":"Azerbaijan"},"BA":{"name":"Bosnia & Herzegovina"},"BB":{"name":"Barbados"},"BD":{"name":"Bangladesh"},"BE":{"name":"Belgium","regions":{"620":{"code":"VAN","name":"Antwerpen"},"621":{"code":"WBR","name":"Brabant wallon"},"622":{"code":"BRU","name":"Brussels-Capital Region"},"623":{"code":"WHT","name":"Hainaut"},"625":{"code":"WLG","name":"Li\u00e8ge"},"624":{"code":"VLI","name":"Limburg"},"626":{"code":"WLX","name":"Luxembourg"},"627":{"code":"WNA","name":"Namur"},"628":{"code":"VOV","name":"Oost-Vlaanderen"},"629":{"code":"VBR","name":"Vlaams-Brabant"},"630":{"code":"VWV","name":"West-Vlaanderen"}}},"BF":{"name":"Burkina Faso"},"BG":{"name":"Bulgaria","regions":{"640":{"code":"BG-01","name":"Blagoevgrad"},"641":{"code":"BG-02","name":"Burgas"},"647":{"code":"BG-08","name":"Dobrich"},"646":{"code":"BG-07","name":"Gabrovo"},"665":{"code":"BG-26","name":"Haskovo"},"648":{"code":"BG-09","name":"Kardzhali"},"649":{"code":"BG-10","name":"Kyustendil"},"650":{"code":"BG-11","name":"Lovech"},"651":{"code":"BG-12","name":"Montana"},"652":{"code":"BG-13","name":"Pazardzhik"},"653":{"code":"BG-14","name":"Pernik"},"654":{"code":"BG-15","name":"Pleven"},"655":{"code":"BG-16","name":"Plovdiv"},"656":{"code":"BG-17","name":"Razgrad"},"657":{"code":"BG-18","name":"Ruse"},"666":{"code":"BG-27","name":"Shumen"},"658":{"code":"BG-19","name":"Silistra"},"659":{"code":"BG-20","name":"Sliven"},"660":{"code":"BG-21","name":"Smolyan"},"661":{"code":"BG-22","name":"Sofia City"},"662":{"code":"BG-23","name":"Sofia Province"},"663":{"code":"BG-24","name":"Stara Zagora"},"664":{"code":"BG-25","name":"Targovishte"},"642":{"code":"BG-03","name":"Varna"},"643":{"code":"BG-04","name":"Veliko Tarnovo"},"644":{"code":"BG-05","name":"Vidin"},"645":{"code":"BG-06","name":"Vratsa"},"667":{"code":"BG-28","name":"Yambol"}}},"BH":{"name":"Bahrain"},"BI":{"name":"Burundi"},"BJ":{"name":"Benin"},"BL":{"name":"St. Barth\u00e9lemy"},"BM":{"name":"Bermuda"},"BN":{"name":"Brunei"},"BO":{"name":"Bolivia","regions":{"632":{"code":"BO-H","name":"Chuquisaca"},"631":{"code":"BO-C","name":"Cochabamba"},"633":{"code":"BO-B","name":"El Beni"},"634":{"code":"BO-L","name":"La Paz"},"635":{"code":"BO-O","name":"Oruro"},"636":{"code":"BO-N","name":"Pando"},"637":{"code":"BO-P","name":"Potos\u00ed"},"638":{"code":"BO-S","name":"Santa Cruz"},"639":{"code":"BO-T","name":"Tarija"}}},"BQ":{"name":"Caribbean Netherlands"},"BR":{"name":"Brazil","regions":{"485":{"code":"AC","name":"Acre"},"486":{"code":"AL","name":"Alagoas"},"487":{"code":"AP","name":"Amap\u00e1"},"488":{"code":"AM","name":"Amazonas"},"489":{"code":"BA","name":"Bahia"},"490":{"code":"CE","name":"Cear\u00e1"},"511":{"code":"DF","name":"Distrito Federal"},"491":{"code":"ES","name":"Esp\u00edrito Santo"},"492":{"code":"GO","name":"Goi\u00e1s"},"493":{"code":"MA","name":"Maranh\u00e3o"},"494":{"code":"MT","name":"Mato Grosso"},"495":{"code":"MS","name":"Mato Grosso do Sul"},"496":{"code":"MG","name":"Minas Gerais"},"497":{"code":"PA","name":"Par\u00e1"},"498":{"code":"PB","name":"Para\u00edba"},"499":{"code":"PR","name":"Paran\u00e1"},"500":{"code":"PE","name":"Pernambuco"},"501":{"code":"PI","name":"Piau\u00ed"},"502":{"code":"RJ","name":"Rio de Janeiro"},"503":{"code":"RN","name":"Rio Grande do Norte"},"504":{"code":"RS","name":"Rio Grande do Sul"},"505":{"code":"RO","name":"Rond\u00f4nia"},"506":{"code":"RR","name":"Roraima"},"507":{"code":"SC","name":"Santa Catarina"},"508":{"code":"SP","name":"S\u00e3o Paulo"},"509":{"code":"SE","name":"Sergipe"},"510":{"code":"TO","name":"Tocantins"}}},"BS":{"name":"Bahamas"},"BT":{"name":"Bhutan"},"BV":{"name":"Bouvet Island"},"BW":{"name":"Botswana"},"BY":{"name":"Belarus","regions":{"613":{"code":"BY-BR","name":"Bresckaja voblas\u0107"},"614":{"code":"BY-HO","name":"Homie\u013askaja voblas\u0107"},"615":{"code":"BY-HM","name":"Horad Minsk"},"616":{"code":"BY-HR","name":"Hrodzienskaja voblas\u0107"},"617":{"code":"BY-MA","name":"Mahilio\u016dskaja voblas\u0107"},"618":{"code":"BY-MI","name":"Minskaja voblas\u0107"},"619":{"code":"BY-VI","name":"Viciebskaja voblas\u0107"}}},"BZ":{"name":"Belize"},"CA":{"name":"Canada","regions":{"66":{"code":"AB","name":"Alberta"},"67":{"code":"BC","name":"British Columbia"},"68":{"code":"MB","name":"Manitoba"},"70":{"code":"NB","name":"New Brunswick"},"69":{"code":"NL","name":"Newfoundland and Labrador"},"72":{"code":"NT","name":"Northwest Territories"},"71":{"code":"NS","name":"Nova Scotia"},"73":{"code":"NU","name":"Nunavut"},"74":{"code":"ON","name":"Ontario"},"75":{"code":"PE","name":"Prince Edward Island"},"76":{"code":"QC","name":"Quebec"},"77":{"code":"SK","name":"Saskatchewan"},"78":{"code":"YT","name":"Yukon Territory"}}},"CC":{"name":"Cocos (Keeling) Islands"},"CD":{"name":"Congo - Kinshasa"},"CF":{"name":"Central African Republic"},"CG":{"name":"Congo - Brazzaville"},"CH":{"name":"Switzerland","regions":{"104":{"code":"AG","name":"Aargau"},"106":{"code":"AR","name":"Appenzell Ausserrhoden"},"105":{"code":"AI","name":"Appenzell Innerrhoden"},"108":{"code":"BL","name":"Basel-Landschaft"},"109":{"code":"BS","name":"Basel-Stadt"},"107":{"code":"BE","name":"Bern"},"110":{"code":"FR","name":"Friburg"},"111":{"code":"GE","name":"Geneva"},"112":{"code":"GL","name":"Glarus"},"113":{"code":"GR","name":"Graub\u00fcnden"},"114":{"code":"JU","name":"Jura"},"115":{"code":"LU","name":"Lucerne"},"116":{"code":"NE","name":"Neuch\u00e2tel"},"117":{"code":"NW","name":"Nidwalden"},"118":{"code":"OW","name":"Obwalden"},"120":{"code":"SH","name":"Schaffhausen"},"122":{"code":"SZ","name":"Schwyz"},"121":{"code":"SO","name":"Solothurn"},"119":{"code":"SG","name":"St. Gallen"},"123":{"code":"TG","name":"Thurgau"},"124":{"code":"TI","name":"Ticino"},"125":{"code":"UR","name":"Uri"},"126":{"code":"VD","name":"Vaud"},"127":{"code":"VS","name":"Wallis"},"128":{"code":"ZG","name":"Zug"},"129":{"code":"ZH","name":"Z\u00fcrich"}}},"CI":{"name":"C\u00f4te d\u2019Ivoire"},"CK":{"name":"Cook Islands"},"CL":{"name":"Chile","regions":{"668":{"code":"CL-AI","name":"Ais\u00e9n del General Carlos Iba\u00f1ez del Campo"},"669":{"code":"CL-AN","name":"Antofagasta"},"670":{"code":"CL-AP","name":"Arica y Parinacota"},"672":{"code":"CL-AT","name":"Atacama"},"673":{"code":"CL-BI","name":"Biob\u00edo"},"674":{"code":"CL-CO","name":"Coquimbo"},"671":{"code":"CL-AR","name":"La Araucan\u00eda"},"675":{"code":"CL-LI","name":"Libertador General Bernardo O'Higgins"},"676":{"code":"CL-LL","name":"Los Lagos"},"677":{"code":"CL-LR","name":"Los R\u00edos"},"678":{"code":"CL-MA","name":"Magallanes"},"679":{"code":"CL-ML","name":"Maule"},"680":{"code":"CL-NB","name":"\u00d1uble"},"681":{"code":"CL-RM","name":"Regi\u00f3n Metropolitana de Santiago"},"682":{"code":"CL-TA","name":"Tarapac\u00e1"},"683":{"code":"CL-VS","name":"Valpara\u00edso"}}},"CM":{"name":"Cameroon"},"CN":{"name":"China","regions":{"684":{"code":"CN-AH","name":"Anhui Sheng"},"685":{"code":"CN-BJ","name":"Beijing Shi"},"686":{"code":"CN-CQ","name":"Chongqing Shi"},"687":{"code":"CN-FJ","name":"Fujian Sheng"},"688":{"code":"CN-GS","name":"Gansu Sheng"},"689":{"code":"CN-GD","name":"Guangdong Sheng"},"690":{"code":"CN-GX","name":"Guangxi Zhuangzu Zizhiqu"},"691":{"code":"CN-GZ","name":"Guizhou Sheng"},"692":{"code":"CN-HI","name":"Hainan Sheng"},"693":{"code":"CN-HE","name":"Hebei Sheng"},"694":{"code":"CN-HL","name":"Heilongjiang Sheng"},"695":{"code":"CN-HA","name":"Henan Sheng"},"696":{"code":"CN-HK","name":"Hong Kong SAR"},"697":{"code":"CN-HB","name":"Hubei Sheng"},"698":{"code":"CN-HN","name":"Hunan Sheng"},"699":{"code":"CN-JS","name":"Jiangsu Sheng"},"700":{"code":"CN-JX","name":"Jiangxi Sheng"},"701":{"code":"CN-JL","name":"Jilin Sheng"},"702":{"code":"CN-LN","name":"Liaoning Sheng"},"703":{"code":"CN-MO","name":"Macao SAR"},"704":{"code":"CN-NM","name":"Nei Mongol Zizhiqu"},"705":{"code":"CN-NX","name":"Ningxia Huizi Zizhiqu"},"706":{"code":"CN-QH","name":"Qinghai Sheng"},"707":{"code":"CN-SN","name":"Shaanxi Sheng"},"708":{"code":"CN-SD","name":"Shandong Sheng"},"709":{"code":"CN-SH","name":"Shanghai Shi"},"710":{"code":"CN-SX","name":"Shanxi Sheng"},"711":{"code":"CN-SC","name":"Sichuan Sheng"},"712":{"code":"CN-TW","name":"Taiwan Sheng"},"713":{"code":"CN-TJ","name":"Tianjin Shi"},"714":{"code":"CN-XJ","name":"Xinjiang Uygur Zizhiqu"},"715":{"code":"CN-XZ","name":"Xizang Zizhiqu"},"716":{"code":"CN-YN","name":"Yunnan Sheng"},"717":{"code":"CN-ZJ","name":"Zhejiang Sheng"}}},"CO":{"name":"Colombia","regions":{"718":{"code":"CO-AMA","name":"Amazonas"},"719":{"code":"CO-ANT","name":"Antioquia"},"720":{"code":"CO-ARA","name":"Arauca"},"721":{"code":"CO-ATL","name":"Atl\u00e1ntico"},"722":{"code":"CO-BOL","name":"Bol\u00edvar"},"723":{"code":"CO-BOY","name":"Boyac\u00e1"},"724":{"code":"CO-CAL","name":"Caldas"},"725":{"code":"CO-CAQ","name":"Caquet\u00e1"},"726":{"code":"CO-CAS","name":"Casanare"},"727":{"code":"CO-CAU","name":"Cauca"},"728":{"code":"CO-CES","name":"Cesar"},"729":{"code":"CO-CHO","name":"Choc\u00f3"},"730":{"code":"CO-COR","name":"C\u00f3rdoba"},"731":{"code":"CO-CUN","name":"Cundinamarca"},"732":{"code":"CO-GUA","name":"Guain\u00eda"},"733":{"code":"CO-GUV","name":"Guaviare"},"734":{"code":"CO-HUL","name":"Huila"},"735":{"code":"CO-LAG","name":"La Guajira"},"736":{"code":"CO-MAG","name":"Magdalena"},"737":{"code":"CO-MET","name":"Meta"},"738":{"code":"CO-NAR","name":"Nari\u00f1o"},"739":{"code":"CO-NSA","name":"Norte de Santander"},"740":{"code":"CO-PUT","name":"Putumayo"},"741":{"code":"CO-QUI","name":"Quind\u00edo"},"742":{"code":"CO-RIS","name":"Risaralda"},"743":{"code":"CO-SAP","name":"San Andr\u00e9s y Providencia"},"744":{"code":"CO-SAN","name":"Santander"},"745":{"code":"CO-SUC","name":"Sucre"},"746":{"code":"CO-TOL","name":"Tolima"},"747":{"code":"CO-VAC","name":"Valle del Cauca"},"748":{"code":"CO-VAU","name":"Vaup\u00e9s"},"749":{"code":"CO-VID","name":"Vichada"}}},"CR":{"name":"Costa Rica"},"CU":{"name":"Cuba"},"CV":{"name":"Cape Verde"},"CW":{"name":"Cura\u00e7ao"},"CX":{"name":"Christmas Island"},"CY":{"name":"Cyprus"},"CZ":{"name":"Czechia","regions":{"1110":{"code":"CZ-31","name":"Jiho\u010desk\u00fd kraj"},"1118":{"code":"CZ-64","name":"Jihomoravsk\u00fd kraj"},"1112":{"code":"CZ-41","name":"Karlovarsk\u00fd kraj"},"1117":{"code":"CZ-63","name":"Kraj Vyso\u010dina"},"1115":{"code":"CZ-52","name":"Kr\u00e1lov\u00e9hradeck\u00fd kraj"},"1114":{"code":"CZ-51","name":"Libereck\u00fd kraj"},"1121":{"code":"CZ-80","name":"Moravskoslezsk\u00fd kraj"},"1119":{"code":"CZ-71","name":"Olomouck\u00fd kraj"},"1116":{"code":"CZ-53","name":"Pardubick\u00fd kraj"},"1111":{"code":"CZ-32","name":"Plze\u0148sk\u00fd kraj"},"1108":{"code":"CZ-10","name":"Praha, Hlavn\u00ed m\u011bsto"},"1109":{"code":"CZ-20","name":"St\u0159edo\u010desk\u00fd kraj"},"1113":{"code":"CZ-42","name":"\u00dasteck\u00fd kraj"},"1120":{"code":"CZ-72","name":"Zl\u00ednsk\u00fd kraj"}}},"DE":{"name":"Germany","regions":{"80":{"code":"BAW","name":"Baden-W\u00fcrttemberg"},"81":{"code":"BAY","name":"Bayern"},"82":{"code":"BER","name":"Berlin"},"83":{"code":"BRG","name":"Brandenburg"},"84":{"code":"BRE","name":"Bremen"},"85":{"code":"HAM","name":"Hamburg"},"86":{"code":"HES","name":"Hessen"},"87":{"code":"MEC","name":"Mecklenburg-Vorpommern"},"79":{"code":"NDS","name":"Niedersachsen"},"88":{"code":"NRW","name":"Nordrhein-Westfalen"},"89":{"code":"RHE","name":"Rheinland-Pfalz"},"90":{"code":"SAR","name":"Saarland"},"91":{"code":"SAS","name":"Sachsen"},"92":{"code":"SAC","name":"Sachsen-Anhalt"},"93":{"code":"SCN","name":"Schleswig-Holstein"},"94":{"code":"THE","name":"Th\u00fcringen"}}},"DJ":{"name":"Djibouti"},"DK":{"name":"Denmark","regions":{"750":{"code":"DK-84","name":"Hovedstaden"},"751":{"code":"DK-82","name":"Midtjylland"},"752":{"code":"DK-81","name":"Nordjylland"},"753":{"code":"DK-85","name":"Sj\u00e6lland"},"754":{"code":"DK-83","name":"Syddanmark"}}},"DM":{"name":"Dominica"},"DO":{"name":"Dominican Republic"},"DZ":{"name":"Algeria"},"EC":{"name":"Ecuador","regions":{"755":{"code":"EC-A","name":"Azuay"},"756":{"code":"EC-B","name":"Bol\u00edvar"},"757":{"code":"EC-F","name":"Ca\u00f1ar"},"758":{"code":"EC-C","name":"Carchi"},"759":{"code":"EC-H","name":"Chimborazo"},"760":{"code":"EC-X","name":"Cotopaxi"},"761":{"code":"EC-O","name":"El Oro"},"762":{"code":"EC-E","name":"Esmeraldas"},"763":{"code":"EC-W","name":"Gal\u00e1pagos"},"764":{"code":"EC-G","name":"Guayas"},"765":{"code":"EC-I","name":"Imbabura"},"766":{"code":"EC-L","name":"Loja"},"767":{"code":"EC-R","name":"Los R\u00edos"},"768":{"code":"EC-M","name":"Manab\u00ed"},"769":{"code":"EC-S","name":"Morona Santiago"},"770":{"code":"EC-N","name":"Napo"},"771":{"code":"EC-D","name":"Orellana"},"772":{"code":"EC-Y","name":"Pastaza"},"773":{"code":"EC-P","name":"Pichincha"},"774":{"code":"EC-SE","name":"Santa Elena"},"775":{"code":"EC-SD","name":"Santo Domingo de los Ts\u00e1chilas"},"776":{"code":"EC-U","name":"Sucumb\u00edos"},"777":{"code":"EC-T","name":"Tungurahua"},"778":{"code":"EC-Z","name":"Zamora Chinchipe"}}},"EE":{"name":"Estonia","regions":{"340":{"code":"EE-37","name":"Harjumaa"},"341":{"code":"EE-39","name":"Hiiumaa"},"342":{"code":"EE-44","name":"Ida-Virumaa"},"344":{"code":"EE-51","name":"J\u00e4rvamaa"},"343":{"code":"EE-49","name":"J\u00f5gevamaa"},"346":{"code":"EE-59","name":"L\u00e4\u00e4ne-Virumaa"},"345":{"code":"EE-57","name":"L\u00e4\u00e4nemaa"},"348":{"code":"EE-67","name":"P\u00e4rnumaa"},"347":{"code":"EE-65","name":"P\u00f5lvamaa"},"349":{"code":"EE-70","name":"Raplamaa"},"350":{"code":"EE-74","name":"Saaremaa"},"351":{"code":"EE-78","name":"Tartumaa"},"352":{"code":"EE-82","name":"Valgamaa"},"353":{"code":"EE-84","name":"Viljandimaa"},"354":{"code":"EE-86","name":"V\u00f5rumaa"}}},"EG":{"name":"Egypt"},"EH":{"name":"Western Sahara"},"ER":{"name":"Eritrea"},"ES":{"name":"Spain","regions":{"130":{"code":"A Coru\u0441a","name":"A Coru\u00f1a"},"131":{"code":"Alava","name":"Alava"},"132":{"code":"Albacete","name":"Albacete"},"133":{"code":"Alicante","name":"Alicante"},"134":{"code":"Almeria","name":"Almeria"},"135":{"code":"Asturias","name":"Asturias"},"136":{"code":"Avila","name":"Avila"},"137":{"code":"Badajoz","name":"Badajoz"},"138":{"code":"Baleares","name":"Baleares"},"139":{"code":"Barcelona","name":"Barcelona"},"140":{"code":"Burgos","name":"Burgos"},"141":{"code":"Caceres","name":"Caceres"},"142":{"code":"Cadiz","name":"Cadiz"},"143":{"code":"Cantabria","name":"Cantabria"},"144":{"code":"Castellon","name":"Castellon"},"145":{"code":"Ceuta","name":"Ceuta"},"146":{"code":"Ciudad Real","name":"Ciudad Real"},"147":{"code":"Cordoba","name":"Cordoba"},"148":{"code":"Cuenca","name":"Cuenca"},"149":{"code":"Girona","name":"Girona"},"150":{"code":"Granada","name":"Granada"},"151":{"code":"Guadalajara","name":"Guadalajara"},"152":{"code":"Guipuzcoa","name":"Guipuzcoa"},"153":{"code":"Huelva","name":"Huelva"},"154":{"code":"Huesca","name":"Huesca"},"155":{"code":"Jaen","name":"Jaen"},"156":{"code":"La Rioja","name":"La Rioja"},"157":{"code":"Las Palmas","name":"Las Palmas"},"158":{"code":"Leon","name":"Leon"},"159":{"code":"Lleida","name":"Lleida"},"160":{"code":"Lugo","name":"Lugo"},"161":{"code":"Madrid","name":"Madrid"},"162":{"code":"Malaga","name":"Malaga"},"163":{"code":"Melilla","name":"Melilla"},"164":{"code":"Murcia","name":"Murcia"},"165":{"code":"Navarra","name":"Navarra"},"166":{"code":"Ourense","name":"Ourense"},"167":{"code":"Palencia","name":"Palencia"},"168":{"code":"Pontevedra","name":"Pontevedra"},"169":{"code":"Salamanca","name":"Salamanca"},"170":{"code":"Santa Cruz de Tenerife","name":"Santa Cruz de Tenerife"},"171":{"code":"Segovia","name":"Segovia"},"172":{"code":"Sevilla","name":"Sevilla"},"173":{"code":"Soria","name":"Soria"},"174":{"code":"Tarragona","name":"Tarragona"},"175":{"code":"Teruel","name":"Teruel"},"176":{"code":"Toledo","name":"Toledo"},"177":{"code":"Valencia","name":"Valencia"},"178":{"code":"Valladolid","name":"Valladolid"},"179":{"code":"Vizcaya","name":"Vizcaya"},"180":{"code":"Zamora","name":"Zamora"},"181":{"code":"Zaragoza","name":"Zaragoza"}}},"ET":{"name":"Ethiopia"},"FI":{"name":"Finland","regions":{"339":{"code":"Ahvenanmaa","name":"Ahvenanmaa"},"333":{"code":"Etel\u00e4-Karjala","name":"Etel\u00e4-Karjala"},"326":{"code":"Etel\u00e4-Pohjanmaa","name":"Etel\u00e4-Pohjanmaa"},"325":{"code":"Etel\u00e4-Savo","name":"Etel\u00e4-Savo"},"337":{"code":"It\u00e4-Uusimaa","name":"It\u00e4-Uusimaa"},"322":{"code":"Kainuu","name":"Kainuu"},"335":{"code":"Kanta-H\u00e4me","name":"Kanta-H\u00e4me"},"330":{"code":"Keski-Pohjanmaa","name":"Keski-Pohjanmaa"},"331":{"code":"Keski-Suomi","name":"Keski-Suomi"},"338":{"code":"Kymenlaakso","name":"Kymenlaakso"},"320":{"code":"Lappi","name":"Lappi"},"334":{"code":"P\u00e4ij\u00e4t-H\u00e4me","name":"P\u00e4ij\u00e4t-H\u00e4me"},"328":{"code":"Pirkanmaa","name":"Pirkanmaa"},"327":{"code":"Pohjanmaa","name":"Pohjanmaa"},"323":{"code":"Pohjois-Karjala","name":"Pohjois-Karjala"},"321":{"code":"Pohjois-Pohjanmaa","name":"Pohjois-Pohjanmaa"},"324":{"code":"Pohjois-Savo","name":"Pohjois-Savo"},"329":{"code":"Satakunta","name":"Satakunta"},"336":{"code":"Uusimaa","name":"Uusimaa"},"332":{"code":"Varsinais-Suomi","name":"Varsinais-Suomi"}}},"FJ":{"name":"Fiji"},"FK":{"name":"Falkland Islands"},"FM":{"name":"Micronesia"},"FO":{"name":"Faroe Islands"},"FR":{"name":"France","regions":{"182":{"code":"1","name":"Ain"},"183":{"code":"2","name":"Aisne"},"184":{"code":"3","name":"Allier"},"185":{"code":"4","name":"Alpes-de-Haute-Provence"},"187":{"code":"6","name":"Alpes-Maritimes"},"188":{"code":"7","name":"Ard\u00e8che"},"189":{"code":"8","name":"Ardennes"},"190":{"code":"9","name":"Ari\u00e8ge"},"191":{"code":"10","name":"Aube"},"192":{"code":"11","name":"Aude"},"193":{"code":"12","name":"Aveyron"},"249":{"code":"67","name":"Bas-Rhin"},"194":{"code":"13","name":"Bouches-du-Rh\u00f4ne"},"195":{"code":"14","name":"Calvados"},"196":{"code":"15","name":"Cantal"},"197":{"code":"16","name":"Charente"},"198":{"code":"17","name":"Charente-Maritime"},"199":{"code":"18","name":"Cher"},"200":{"code":"19","name":"Corr\u00e8ze"},"201":{"code":"2A","name":"Corse-du-Sud"},"203":{"code":"21","name":"C\u00f4te-d'Or"},"204":{"code":"22","name":"C\u00f4tes-d'Armor"},"205":{"code":"23","name":"Creuse"},"261":{"code":"79","name":"Deux-S\u00e8vres"},"206":{"code":"24","name":"Dordogne"},"207":{"code":"25","name":"Doubs"},"208":{"code":"26","name":"Dr\u00f4me"},"273":{"code":"91","name":"Essonne"},"209":{"code":"27","name":"Eure"},"210":{"code":"28","name":"Eure-et-Loir"},"211":{"code":"29","name":"Finist\u00e8re"},"212":{"code":"30","name":"Gard"},"214":{"code":"32","name":"Gers"},"215":{"code":"33","name":"Gironde"},"250":{"code":"68","name":"Haut-Rhin"},"202":{"code":"2B","name":"Haute-Corse"},"213":{"code":"31","name":"Haute-Garonne"},"225":{"code":"43","name":"Haute-Loire"},"234":{"code":"52","name":"Haute-Marne"},"252":{"code":"70","name":"Haute-Sa\u00f4ne"},"256":{"code":"74","name":"Haute-Savoie"},"269":{"code":"87","name":"Haute-Vienne"},"186":{"code":"5","name":"Hautes-Alpes"},"247":{"code":"65","name":"Hautes-Pyr\u00e9n\u00e9es"},"274":{"code":"92","name":"Hauts-de-Seine"},"216":{"code":"34","name":"H\u00e9rault"},"217":{"code":"35","name":"Ille-et-Vilaine"},"218":{"code":"36","name":"Indre"},"219":{"code":"37","name":"Indre-et-Loire"},"220":{"code":"38","name":"Is\u00e8re"},"221":{"code":"39","name":"Jura"},"222":{"code":"40","name":"Landes"},"223":{"code":"41","name":"Loir-et-Cher"},"224":{"code":"42","name":"Loire"},"226":{"code":"44","name":"Loire-Atlantique"},"227":{"code":"45","name":"Loiret"},"228":{"code":"46","name":"Lot"},"229":{"code":"47","name":"Lot-et-Garonne"},"230":{"code":"48","name":"Loz\u00e8re"},"231":{"code":"49","name":"Maine-et-Loire"},"232":{"code":"50","name":"Manche"},"233":{"code":"51","name":"Marne"},"235":{"code":"53","name":"Mayenne"},"236":{"code":"54","name":"Meurthe-et-Moselle"},"237":{"code":"55","name":"Meuse"},"238":{"code":"56","name":"Morbihan"},"239":{"code":"57","name":"Moselle"},"240":{"code":"58","name":"Ni\u00e8vre"},"241":{"code":"59","name":"Nord"},"242":{"code":"60","name":"Oise"},"243":{"code":"61","name":"Orne"},"257":{"code":"75","name":"Paris"},"244":{"code":"62","name":"Pas-de-Calais"},"245":{"code":"63","name":"Puy-de-D\u00f4me"},"246":{"code":"64","name":"Pyr\u00e9n\u00e9es-Atlantiques"},"248":{"code":"66","name":"Pyr\u00e9n\u00e9es-Orientales"},"251":{"code":"69","name":"Rh\u00f4ne"},"253":{"code":"71","name":"Sa\u00f4ne-et-Loire"},"254":{"code":"72","name":"Sarthe"},"255":{"code":"73","name":"Savoie"},"259":{"code":"77","name":"Seine-et-Marne"},"258":{"code":"76","name":"Seine-Maritime"},"275":{"code":"93","name":"Seine-Saint-Denis"},"262":{"code":"80","name":"Somme"},"263":{"code":"81","name":"Tarn"},"264":{"code":"82","name":"Tarn-et-Garonne"},"272":{"code":"90","name":"Territoire-de-Belfort"},"277":{"code":"95","name":"Val-d'Oise"},"276":{"code":"94","name":"Val-de-Marne"},"265":{"code":"83","name":"Var"},"266":{"code":"84","name":"Vaucluse"},"267":{"code":"85","name":"Vend\u00e9e"},"268":{"code":"86","name":"Vienne"},"270":{"code":"88","name":"Vosges"},"271":{"code":"89","name":"Yonne"},"260":{"code":"78","name":"Yvelines"}}},"GA":{"name":"Gabon"},"GB":{"name":"United Kingdom"},"GD":{"name":"Grenada"},"GE":{"name":"Georgia"},"GF":{"name":"French Guiana"},"GG":{"name":"Guernsey"},"GH":{"name":"Ghana"},"GI":{"name":"Gibraltar"},"GL":{"name":"Greenland"},"GM":{"name":"Gambia"},"GN":{"name":"Guinea"},"GP":{"name":"Guadeloupe"},"GQ":{"name":"Equatorial Guinea"},"GR":{"name":"Greece","regions":{"792":{"code":"GR-69","name":"\u00c1gion \u00d3ros"},"779":{"code":"GR-A","name":"Anatolik\u00ed Makedon\u00eda kai Thr\u00e1ki"},"780":{"code":"GR-I","name":"Attik\u00ed"},"781":{"code":"GR-G","name":"Dytik\u00ed Ell\u00e1da"},"782":{"code":"GR-C","name":"Dytik\u00ed Makedon\u00eda"},"783":{"code":"GR-F","name":"Ion\u00eda N\u00edsia"},"784":{"code":"GR-D","name":"\u00cdpeiros"},"785":{"code":"GR-B","name":"Kentrik\u00ed Makedon\u00eda"},"786":{"code":"GR-M","name":"Kr\u00edti"},"787":{"code":"GR-L","name":"N\u00f3tio Aiga\u00edo"},"788":{"code":"GR-J","name":"Pelop\u00f3nnisos"},"789":{"code":"GR-H","name":"Stere\u00e1 Ell\u00e1da"},"790":{"code":"GR-E","name":"Thessal\u00eda"},"791":{"code":"GR-K","name":"V\u00f3reio Aiga\u00edo"}}},"GS":{"name":"South Georgia & South Sandwich Islands"},"GT":{"name":"Guatemala"},"GU":{"name":"Guam"},"GW":{"name":"Guinea-Bissau"},"GY":{"name":"Guyana","regions":{"793":{"code":"GY-BA","name":"Barima-Waini"},"794":{"code":"GY-CU","name":"Cuyuni-Mazaruni"},"795":{"code":"GY-DE","name":"Demerara-Mahaica"},"796":{"code":"GY-EB","name":"East Berbice-Corentyne"},"797":{"code":"GY-ES","name":"Essequibo Islands-West Demerara"},"798":{"code":"GY-MA","name":"Mahaica-Berbice"},"799":{"code":"GY-PM","name":"Pomeroon-Supenaam"},"800":{"code":"GY-PT","name":"Potaro-Siparuni"},"801":{"code":"GY-UD","name":"Upper Demerara-Berbice"},"802":{"code":"GY-UT","name":"Upper Takutu-Upper Essequibo"}}},"HK":{"name":"Hong Kong SAR China"},"HM":{"name":"Heard & McDonald Islands"},"HN":{"name":"Honduras"},"HR":{"name":"Croatia","regions":{"518":{"code":"HR-07","name":"Bjelovarsko-bilogorska \u017eupanija"},"523":{"code":"HR-12","name":"Brodsko-posavska \u017eupanija"},"530":{"code":"HR-19","name":"Dubrova\u010dko-neretvanska \u017eupanija"},"532":{"code":"HR-21","name":"Grad Zagreb"},"529":{"code":"HR-18","name":"Istarska \u017eupanija"},"515":{"code":"HR-04","name":"Karlova\u010dka \u017eupanija"},"517":{"code":"HR-06","name":"Koprivni\u010dko-kri\u017eeva\u010dka \u017eupanija"},"513":{"code":"HR-02","name":"Krapinsko-zagorska \u017eupanija"},"520":{"code":"HR-09","name":"Li\u010dko-senjska \u017eupanija"},"531":{"code":"HR-20","name":"Me\u0111imurska \u017eupanija"},"525":{"code":"HR-14","name":"Osje\u010dko-baranjska \u017eupanija"},"522":{"code":"HR-11","name":"Po\u017ee\u0161ko-slavonska \u017eupanija"},"519":{"code":"HR-08","name":"Primorsko-goranska \u017eupanija"},"526":{"code":"HR-15","name":"\u0160ibensko-kninska \u017eupanija"},"514":{"code":"HR-03","name":"Sisa\u010dko-moslava\u010dka \u017eupanija"},"528":{"code":"HR-17","name":"Splitsko-dalmatinska \u017eupanija"},"516":{"code":"HR-05","name":"Vara\u017edinska \u017eupanija"},"521":{"code":"HR-10","name":"Viroviti\u010dko-podravska \u017eupanija"},"527":{"code":"HR-16","name":"Vukovarsko-srijemska \u017eupanija"},"524":{"code":"HR-13","name":"Zadarska \u017eupanija"},"512":{"code":"HR-01","name":"Zagreba\u010dka \u017eupanija"}}},"HT":{"name":"Haiti"},"HU":{"name":"Hungary"},"ID":{"name":"Indonesia"},"IE":{"name":"Ireland"},"IL":{"name":"Israel"},"IM":{"name":"Isle of Man"},"IN":{"name":"India","regions":{"533":{"code":"AN","name":"Andaman and Nicobar Islands"},"534":{"code":"AP","name":"Andhra Pradesh"},"535":{"code":"AR","name":"Arunachal Pradesh"},"536":{"code":"AS","name":"Assam"},"537":{"code":"BR","name":"Bihar"},"538":{"code":"CH","name":"Chandigarh"},"539":{"code":"CT","name":"Chhattisgarh"},"540":{"code":"DN","name":"Dadra and Nagar Haveli"},"541":{"code":"DD","name":"Daman and Diu"},"542":{"code":"DL","name":"Delhi"},"543":{"code":"GA","name":"Goa"},"544":{"code":"GJ","name":"Gujarat"},"545":{"code":"HR","name":"Haryana"},"546":{"code":"HP","name":"Himachal Pradesh"},"547":{"code":"JK","name":"Jammu and Kashmir"},"548":{"code":"JH","name":"Jharkhand"},"549":{"code":"KA","name":"Karnataka"},"550":{"code":"KL","name":"Kerala"},"551":{"code":"LD","name":"Lakshadweep"},"552":{"code":"MP","name":"Madhya Pradesh"},"553":{"code":"MH","name":"Maharashtra"},"554":{"code":"MN","name":"Manipur"},"555":{"code":"ML","name":"Meghalaya"},"556":{"code":"MZ","name":"Mizoram"},"557":{"code":"NL","name":"Nagaland"},"558":{"code":"OR","name":"Odisha"},"559":{"code":"PY","name":"Puducherry"},"560":{"code":"PB","name":"Punjab"},"561":{"code":"RJ","name":"Rajasthan"},"562":{"code":"SK","name":"Sikkim"},"563":{"code":"TN","name":"Tamil Nadu"},"564":{"code":"TG","name":"Telangana"},"565":{"code":"TR","name":"Tripura"},"566":{"code":"UP","name":"Uttar Pradesh"},"567":{"code":"UT","name":"Uttarakhand"},"568":{"code":"WB","name":"West Bengal"}}},"IO":{"name":"British Indian Ocean Territory"},"IQ":{"name":"Iraq"},"IR":{"name":"Iran"},"IS":{"name":"Iceland","regions":{"809":{"code":"IS-07","name":"Austurland"},"803":{"code":"IS-01","name":"H\u00f6fu\u00f0borgarsv\u00e6\u00f0i"},"808":{"code":"IS-06","name":"Nor\u00f0urland eystra"},"807":{"code":"IS-05","name":"Nor\u00f0urland vestra"},"810":{"code":"IS-08","name":"Su\u00f0urland"},"804":{"code":"IS-02","name":"Su\u00f0urnes"},"806":{"code":"IS-04","name":"Vestfir\u00f0ir"},"805":{"code":"IS-03","name":"Vesturland"}}},"IT":{"name":"Italy","regions":{"811":{"code":"AG","name":"Agrigento"},"812":{"code":"AL","name":"Alessandria"},"813":{"code":"AN","name":"Ancona"},"814":{"code":"AO","name":"Aosta"},"816":{"code":"AR","name":"Arezzo"},"817":{"code":"AP","name":"Ascoli-Piceno"},"818":{"code":"AT","name":"Asti"},"819":{"code":"AV","name":"Avellino"},"820":{"code":"BA","name":"Bari"},"821":{"code":"BT","name":"Barletta-Andria-Trani"},"822":{"code":"BL","name":"Belluno"},"823":{"code":"BN","name":"Benevento"},"824":{"code":"BG","name":"Bergamo"},"825":{"code":"BI","name":"Biella"},"826":{"code":"BO","name":"Bologna"},"827":{"code":"BZ","name":"Bolzano"},"828":{"code":"BS","name":"Brescia"},"829":{"code":"BR","name":"Brindisi"},"830":{"code":"CA","name":"Cagliari"},"831":{"code":"CL","name":"Caltanissetta"},"832":{"code":"CB","name":"Campobasso"},"833":{"code":"CI","name":"Carbonia Iglesias"},"834":{"code":"CE","name":"Caserta"},"835":{"code":"CT","name":"Catania"},"836":{"code":"CZ","name":"Catanzaro"},"837":{"code":"CH","name":"Chieti"},"838":{"code":"CO","name":"Como"},"839":{"code":"CS","name":"Cosenza"},"840":{"code":"CR","name":"Cremona"},"841":{"code":"KR","name":"Crotone"},"842":{"code":"CN","name":"Cuneo"},"843":{"code":"EN","name":"Enna"},"844":{"code":"FM","name":"Fermo"},"845":{"code":"FE","name":"Ferrara"},"846":{"code":"FI","name":"Firenze"},"847":{"code":"FG","name":"Foggia"},"848":{"code":"FC","name":"Forli-Cesena"},"849":{"code":"FR","name":"Frosinone"},"850":{"code":"GE","name":"Genova"},"851":{"code":"GO","name":"Gorizia"},"852":{"code":"GR","name":"Grosseto"},"853":{"code":"IM","name":"Imperia"},"854":{"code":"IS","name":"Isernia"},"815":{"code":"AQ","name":"L'Aquila"},"855":{"code":"SP","name":"La-Spezia"},"856":{"code":"LT","name":"Latina"},"857":{"code":"LE","name":"Lecce"},"858":{"code":"LC","name":"Lecco"},"859":{"code":"LI","name":"Livorno"},"860":{"code":"LO","name":"Lodi"},"861":{"code":"LU","name":"Lucca"},"862":{"code":"MC","name":"Macerata"},"863":{"code":"MN","name":"Mantova"},"864":{"code":"MS","name":"Massa-Carrara"},"865":{"code":"MT","name":"Matera"},"866":{"code":"VS","name":"Medio Campidano"},"867":{"code":"ME","name":"Messina"},"868":{"code":"MI","name":"Milano"},"869":{"code":"MO","name":"Modena"},"870":{"code":"MB","name":"Monza-Brianza"},"871":{"code":"NA","name":"Napoli"},"872":{"code":"NO","name":"Novara"},"873":{"code":"NU","name":"Nuoro"},"874":{"code":"OG","name":"Ogliastra"},"875":{"code":"OT","name":"Olbia Tempio"},"876":{"code":"OR","name":"Oristano"},"877":{"code":"PD","name":"Padova"},"878":{"code":"PA","name":"Palermo"},"879":{"code":"PR","name":"Parma"},"880":{"code":"PV","name":"Pavia"},"881":{"code":"PG","name":"Perugia"},"882":{"code":"PU","name":"Pesaro-Urbino"},"883":{"code":"PE","name":"Pescara"},"884":{"code":"PC","name":"Piacenza"},"885":{"code":"PI","name":"Pisa"},"886":{"code":"PT","name":"Pistoia"},"887":{"code":"PN","name":"Pordenone"},"888":{"code":"PZ","name":"Potenza"},"889":{"code":"PO","name":"Prato"},"890":{"code":"RG","name":"Ragusa"},"891":{"code":"RA","name":"Ravenna"},"892":{"code":"RC","name":"Reggio-Calabria"},"893":{"code":"RE","name":"Reggio-Emilia"},"894":{"code":"RI","name":"Rieti"},"895":{"code":"RN","name":"Rimini"},"896":{"code":"RM","name":"Roma"},"897":{"code":"RO","name":"Rovigo"},"898":{"code":"SA","name":"Salerno"},"899":{"code":"SS","name":"Sassari"},"900":{"code":"SV","name":"Savona"},"901":{"code":"SI","name":"Siena"},"902":{"code":"SR","name":"Siracusa"},"903":{"code":"SO","name":"Sondrio"},"904":{"code":"TA","name":"Taranto"},"905":{"code":"TE","name":"Teramo"},"906":{"code":"TR","name":"Terni"},"907":{"code":"TO","name":"Torino"},"908":{"code":"TP","name":"Trapani"},"909":{"code":"TN","name":"Trento"},"910":{"code":"TV","name":"Treviso"},"911":{"code":"TS","name":"Trieste"},"912":{"code":"UD","name":"Udine"},"913":{"code":"VA","name":"Varese"},"914":{"code":"VE","name":"Venezia"},"915":{"code":"VB","name":"Verbania"},"916":{"code":"VC","name":"Vercelli"},"917":{"code":"VR","name":"Verona"},"918":{"code":"VV","name":"Vibo-Valentia"},"919":{"code":"VI","name":"Vicenza"},"920":{"code":"VT","name":"Viterbo"}}},"JE":{"name":"Jersey"},"JM":{"name":"Jamaica"},"JO":{"name":"Jordan"},"JP":{"name":"Japan"},"KE":{"name":"Kenya"},"KG":{"name":"Kyrgyzstan"},"KH":{"name":"Cambodia"},"KI":{"name":"Kiribati"},"KM":{"name":"Comoros"},"KN":{"name":"St. Kitts & Nevis"},"KP":{"name":"North Korea"},"KR":{"name":"South Korea"},"KW":{"name":"Kuwait"},"KY":{"name":"Cayman Islands"},"KZ":{"name":"Kazakhstan"},"LA":{"name":"Laos"},"LB":{"name":"Lebanon"},"LC":{"name":"St. Lucia"},"LI":{"name":"Liechtenstein"},"LK":{"name":"Sri Lanka"},"LR":{"name":"Liberia"},"LS":{"name":"Lesotho"},"LT":{"name":"Lithuania","regions":{"475":{"code":"LT-AL","name":"Alytaus Apskritis"},"476":{"code":"LT-KU","name":"Kauno Apskritis"},"477":{"code":"LT-KL","name":"Klaip\u0117dos Apskritis"},"478":{"code":"LT-MR","name":"Marijampol\u0117s Apskritis"},"479":{"code":"LT-PN","name":"Panev\u0117\u017eio Apskritis"},"480":{"code":"LT-SA","name":"\u0160iauli\u0173 Apskritis"},"481":{"code":"LT-TA","name":"Taurag\u0117s Apskritis"},"482":{"code":"LT-TE","name":"Tel\u0161i\u0173 Apskritis"},"483":{"code":"LT-UT","name":"Utenos Apskritis"},"484":{"code":"LT-VL","name":"Vilniaus Apskritis"}}},"LU":{"name":"Luxembourg"},"LV":{"name":"Latvia","regions":{"471":{"code":"\u0100da\u017eu novads","name":"\u0100da\u017eu novads"},"366":{"code":"Aglonas novads","name":"Aglonas novads"},"367":{"code":"LV-AI","name":"Aizkraukles novads"},"368":{"code":"Aizputes novads","name":"Aizputes novads"},"369":{"code":"Akn\u012bstes novads","name":"Akn\u012bstes novads"},"370":{"code":"Alojas novads","name":"Alojas novads"},"371":{"code":"Alsungas novads","name":"Alsungas novads"},"372":{"code":"LV-AL","name":"Al\u016bksnes novads"},"373":{"code":"Amatas novads","name":"Amatas novads"},"374":{"code":"Apes novads","name":"Apes novads"},"375":{"code":"Auces novads","name":"Auces novads"},"376":{"code":"Bab\u012btes novads","name":"Bab\u012btes novads"},"377":{"code":"Baldones novads","name":"Baldones novads"},"378":{"code":"Baltinavas novads","name":"Baltinavas novads"},"379":{"code":"LV-BL","name":"Balvu novads"},"380":{"code":"LV-BU","name":"Bauskas novads"},"381":{"code":"Bever\u012bnas novads","name":"Bever\u012bnas novads"},"382":{"code":"Broc\u0113nu novads","name":"Broc\u0113nu novads"},"383":{"code":"Burtnieku novads","name":"Burtnieku novads"},"384":{"code":"Carnikavas novads","name":"Carnikavas novads"},"387":{"code":"LV-CE","name":"C\u0113su novads"},"385":{"code":"Cesvaines novads","name":"Cesvaines novads"},"386":{"code":"Ciblas novads","name":"Ciblas novads"},"388":{"code":"Dagdas novads","name":"Dagdas novads"},"355":{"code":"LV-DGV","name":"Daugavpils"},"389":{"code":"LV-DA","name":"Daugavpils novads"},"390":{"code":"LV-DO","name":"Dobeles novads"},"391":{"code":"Dundagas novads","name":"Dundagas novads"},"392":{"code":"Durbes novads","name":"Durbes novads"},"393":{"code":"Engures novads","name":"Engures novads"},"472":{"code":"\u0112rg\u013cu novads","name":"\u0112rg\u013cu novads"},"394":{"code":"Garkalnes novads","name":"Garkalnes novads"},"395":{"code":"Grobi\u0146as novads","name":"Grobi\u0146as novads"},"396":{"code":"LV-GU","name":"Gulbenes novads"},"397":{"code":"Iecavas novads","name":"Iecavas novads"},"398":{"code":"Ik\u0161\u0137iles novads","name":"Ik\u0161\u0137iles novads"},"399":{"code":"Il\u016bkstes novads","name":"Il\u016bkstes novads"},"400":{"code":"In\u010dukalna novads","name":"In\u010dukalna novads"},"401":{"code":"Jaunjelgavas novads","name":"Jaunjelgavas novads"},"402":{"code":"Jaunpiebalgas novads","name":"Jaunpiebalgas novads"},"403":{"code":"Jaunpils novads","name":"Jaunpils novads"},"357":{"code":"J\u0113kabpils","name":"J\u0113kabpils"},"405":{"code":"LV-JK","name":"J\u0113kabpils novads"},"356":{"code":"LV-JEL","name":"Jelgava"},"404":{"code":"LV-JL","name":"Jelgavas novads"},"358":{"code":"LV-JUR","name":"J\u016brmala"},"406":{"code":"Kandavas novads","name":"Kandavas novads"},"412":{"code":"K\u0101rsavas novads","name":"K\u0101rsavas novads"},"473":{"code":"\u0136eguma novads","name":"\u0136eguma novads"},"474":{"code":"\u0136ekavas novads","name":"\u0136ekavas novads"},"407":{"code":"Kokneses novads","name":"Kokneses novads"},"410":{"code":"LV-KR","name":"Kr\u0101slavas novads"},"408":{"code":"Krimuldas novads","name":"Krimuldas novads"},"409":{"code":"Krustpils novads","name":"Krustpils novads"},"411":{"code":"LV-KU","name":"Kuld\u012bgas novads"},"413":{"code":"Lielv\u0101rdes novads","name":"Lielv\u0101rdes novads"},"359":{"code":"LV-LPX","name":"Liep\u0101ja"},"360":{"code":"LV-LE","name":"Liep\u0101jas novads"},"417":{"code":"L\u012bgatnes novads","name":"L\u012bgatnes novads"},"414":{"code":"LV-LM","name":"Limba\u017eu novads"},"418":{"code":"L\u012bv\u0101nu novads","name":"L\u012bv\u0101nu novads"},"415":{"code":"Lub\u0101nas novads","name":"Lub\u0101nas novads"},"416":{"code":"LV-LU","name":"Ludzas novads"},"419":{"code":"LV-MA","name":"Madonas novads"},"421":{"code":"M\u0101lpils novads","name":"M\u0101lpils novads"},"422":{"code":"M\u0101rupes novads","name":"M\u0101rupes novads"},"420":{"code":"Mazsalacas novads","name":"Mazsalacas novads"},"423":{"code":"Nauk\u0161\u0113nu novads","name":"Nauk\u0161\u0113nu novads"},"424":{"code":"Neretas novads","name":"Neretas novads"},"425":{"code":"N\u012bcas novads","name":"N\u012bcas novads"},"426":{"code":"LV-OG","name":"Ogres novads"},"427":{"code":"Olaines novads","name":"Olaines novads"},"428":{"code":"Ozolnieku novads","name":"Ozolnieku novads"},"432":{"code":"P\u0101rgaujas novads","name":"P\u0101rgaujas novads"},"433":{"code":"P\u0101vilostas novads","name":"P\u0101vilostas novads"},"434":{"code":"P\u013cavi\u0146u novads","name":"P\u013cavi\u0146u novads"},"429":{"code":"LV-PR","name":"Prei\u013cu novads"},"430":{"code":"Priekules novads","name":"Priekules novads"},"431":{"code":"Prieku\u013cu novads","name":"Prieku\u013cu novads"},"435":{"code":"Raunas novads","name":"Raunas novads"},"361":{"code":"LV-REZ","name":"R\u0113zekne"},"442":{"code":"LV-RE","name":"R\u0113zeknes novads"},"436":{"code":"Riebi\u0146u novads","name":"Riebi\u0146u novads"},"362":{"code":"LV-RIX","name":"R\u012bga"},"363":{"code":"LV-RI","name":"R\u012bgas novads"},"437":{"code":"Rojas novads","name":"Rojas novads"},"438":{"code":"Ropa\u017eu novads","name":"Ropa\u017eu novads"},"439":{"code":"Rucavas novads","name":"Rucavas novads"},"440":{"code":"Rug\u0101ju novads","name":"Rug\u0101ju novads"},"443":{"code":"R\u016bjienas novads","name":"R\u016bjienas novads"},"441":{"code":"Rund\u0101les novads","name":"Rund\u0101les novads"},"444":{"code":"Salacgr\u012bvas novads","name":"Salacgr\u012bvas novads"},"445":{"code":"Salas novads","name":"Salas novads"},"446":{"code":"Salaspils novads","name":"Salaspils novads"},"447":{"code":"LV-SA","name":"Saldus novads"},"448":{"code":"Saulkrastu novads","name":"Saulkrastu novads"},"455":{"code":"S\u0113jas novads","name":"S\u0113jas novads"},"449":{"code":"Siguldas novads","name":"Siguldas novads"},"451":{"code":"Skr\u012bveru novads","name":"Skr\u012bveru novads"},"450":{"code":"Skrundas novads","name":"Skrundas novads"},"452":{"code":"Smiltenes novads","name":"Smiltenes novads"},"453":{"code":"Stopi\u0146u novads","name":"Stopi\u0146u novads"},"454":{"code":"Stren\u010du novads","name":"Stren\u010du novads"},"456":{"code":"LV-TA","name":"Talsu novads"},"458":{"code":"T\u0113rvetes novads","name":"T\u0113rvetes novads"},"457":{"code":"LV-TU","name":"Tukuma novads"},"459":{"code":"Vai\u0146odes novads","name":"Vai\u0146odes novads"},"460":{"code":"LV-VK","name":"Valkas novads"},"364":{"code":"Valmiera","name":"Valmiera"},"461":{"code":"LV-VM","name":"Valmieras novads"},"462":{"code":"Varak\u013c\u0101nu novads","name":"Varak\u013c\u0101nu novads"},"469":{"code":"V\u0101rkavas novads","name":"V\u0101rkavas novads"},"463":{"code":"Vecpiebalgas novads","name":"Vecpiebalgas novads"},"464":{"code":"Vecumnieku novads","name":"Vecumnieku novads"},"365":{"code":"LV-VEN","name":"Ventspils"},"465":{"code":"LV-VE","name":"Ventspils novads"},"466":{"code":"Vies\u012btes novads","name":"Vies\u012btes novads"},"467":{"code":"Vi\u013cakas novads","name":"Vi\u013cakas novads"},"468":{"code":"Vi\u013c\u0101nu novads","name":"Vi\u013c\u0101nu novads"},"470":{"code":"Zilupes novads","name":"Zilupes novads"}}},"LY":{"name":"Libya"},"MA":{"name":"Morocco"},"MC":{"name":"Monaco"},"MD":{"name":"Moldova"},"ME":{"name":"Montenegro"},"MF":{"name":"St. Martin"},"MG":{"name":"Madagascar"},"MH":{"name":"Marshall Islands"},"MK":{"name":"North Macedonia"},"ML":{"name":"Mali"},"MM":{"name":"Myanmar (Burma)"},"MN":{"name":"Mongolia"},"MO":{"name":"Macao SAR China"},"MP":{"name":"Northern Mariana Islands"},"MQ":{"name":"Martinique"},"MR":{"name":"Mauritania"},"MS":{"name":"Montserrat"},"MT":{"name":"Malta"},"MU":{"name":"Mauritius"},"MV":{"name":"Maldives"},"MW":{"name":"Malawi"},"MX":{"name":"Mexico","regions":{"921":{"code":"AGU","name":"Aguascalientes"},"922":{"code":"BCN","name":"Baja California"},"923":{"code":"BCS","name":"Baja California Sur"},"924":{"code":"CAM","name":"Campeche"},"925":{"code":"CHP","name":"Chiapas"},"926":{"code":"CHH","name":"Chihuahua"},"927":{"code":"CMX","name":"Ciudad de M\u00e9xico"},"928":{"code":"COA","name":"Coahuila"},"929":{"code":"COL","name":"Colima"},"930":{"code":"DUR","name":"Durango"},"931":{"code":"MEX","name":"Estado de M\u00e9xico"},"932":{"code":"GUA","name":"Guanajuato"},"933":{"code":"GRO","name":"Guerrero"},"934":{"code":"HID","name":"Hidalgo"},"935":{"code":"JAL","name":"Jalisco"},"936":{"code":"MIC","name":"Michoac\u00e1n"},"937":{"code":"MOR","name":"Morelos"},"938":{"code":"NAY","name":"Nayarit"},"939":{"code":"NLE","name":"Nuevo Le\u00f3n"},"940":{"code":"OAX","name":"Oaxaca"},"941":{"code":"PUE","name":"Puebla"},"942":{"code":"QUE","name":"Quer\u00e9taro"},"943":{"code":"ROO","name":"Quintana Roo"},"944":{"code":"SLP","name":"San Luis Potos\u00ed"},"945":{"code":"SIN","name":"Sinaloa"},"946":{"code":"SON","name":"Sonora"},"947":{"code":"TAB","name":"Tabasco"},"948":{"code":"TAM","name":"Tamaulipas"},"949":{"code":"TLA","name":"Tlaxcala"},"950":{"code":"VER","name":"Veracruz"},"951":{"code":"YUC","name":"Yucat\u00e1n"},"952":{"code":"ZAC","name":"Zacatecas"}}},"MY":{"name":"Malaysia"},"MZ":{"name":"Mozambique"},"NA":{"name":"Namibia"},"NC":{"name":"New Caledonia"},"NE":{"name":"Niger"},"NF":{"name":"Norfolk Island"},"NG":{"name":"Nigeria"},"NI":{"name":"Nicaragua"},"NL":{"name":"Netherlands"},"NO":{"name":"Norway"},"NP":{"name":"Nepal"},"NR":{"name":"Nauru"},"NU":{"name":"Niue"},"NZ":{"name":"New Zealand"},"OM":{"name":"Oman"},"PA":{"name":"Panama"},"PE":{"name":"Peru","regions":{"972":{"code":"PE-AMA","name":"Amazonas"},"973":{"code":"PE-ANC","name":"Ancash"},"974":{"code":"PE-APU","name":"Apur\u00edmac"},"975":{"code":"PE-ARE","name":"Arequipa"},"976":{"code":"PE-AYA","name":"Ayacucho"},"977":{"code":"PE-CAJ","name":"Cajamarca"},"978":{"code":"PE-CUS","name":"Cusco"},"979":{"code":"PE-CAL","name":"El Callao"},"980":{"code":"PE-HUV","name":"Huancavelica"},"981":{"code":"PE-HUC","name":"Hu\u00e1nuco"},"982":{"code":"PE-ICA","name":"Ica"},"983":{"code":"PE-JUN","name":"Jun\u00edn"},"984":{"code":"PE-LAL","name":"La Libertad"},"985":{"code":"PE-LAM","name":"Lambayeque"},"986":{"code":"PE-LIM","name":"Lima"},"987":{"code":"PE-LOR","name":"Loreto"},"988":{"code":"PE-MDD","name":"Madre de Dios"},"989":{"code":"PE-MOQ","name":"Moquegua"},"971":{"code":"PE-LMA","name":"Municipalidad Metropolitana de Lima"},"990":{"code":"PE-PAS","name":"Pasco"},"991":{"code":"PE-PIU","name":"Piura"},"992":{"code":"PE-PUN","name":"Puno"},"993":{"code":"PE-SAM","name":"San Mart\u00edn"},"994":{"code":"PE-TAC","name":"Tacna"},"995":{"code":"PE-TUM","name":"Tumbes"},"996":{"code":"PE-UCA","name":"Ucayali"}}},"PF":{"name":"French Polynesia"},"PG":{"name":"Papua New Guinea"},"PH":{"name":"Philippines"},"PK":{"name":"Pakistan"},"PL":{"name":"Poland","regions":{"997":{"code":"PL-02","name":"dolno\u015bl\u0105skie"},"998":{"code":"PL-04","name":"kujawsko-pomorskie"},"999":{"code":"PL-06","name":"lubelskie"},"1000":{"code":"PL-08","name":"lubuskie"},"1003":{"code":"PL-14","name":"mazowieckie"},"1002":{"code":"PL-12","name":"ma\u0142opolskie"},"1004":{"code":"PL-16","name":"opolskie"},"1005":{"code":"PL-18","name":"podkarpackie"},"1006":{"code":"PL-20","name":"podlaskie"},"1007":{"code":"PL-22","name":"pomorskie"},"1008":{"code":"PL-24","name":"\u015bl\u0105skie"},"1009":{"code":"PL-26","name":"\u015bwi\u0119tokrzyskie"},"1010":{"code":"PL-28","name":"warmi\u0144sko-mazurskie"},"1011":{"code":"PL-30","name":"wielkopolskie"},"1012":{"code":"PL-32","name":"zachodniopomorskie"},"1001":{"code":"PL-10","name":"\u0142\u00f3dzkie"}}},"PM":{"name":"St. Pierre & Miquelon"},"PN":{"name":"Pitcairn Islands"},"PS":{"name":"Palestinian Territories"},"PT":{"name":"Portugal","regions":{"1013":{"code":"PT-01","name":"Aveiro"},"1014":{"code":"PT-02","name":"Beja"},"1015":{"code":"PT-03","name":"Braga"},"1016":{"code":"PT-04","name":"Bragan\u00e7a"},"1017":{"code":"PT-05","name":"Castelo Branco"},"1018":{"code":"PT-06","name":"Coimbra"},"1019":{"code":"PT-07","name":"\u00c9vora"},"1020":{"code":"PT-08","name":"Faro"},"1021":{"code":"PT-09","name":"Guarda"},"1022":{"code":"PT-10","name":"Leiria"},"1023":{"code":"PT-11","name":"Lisboa"},"1024":{"code":"PT-12","name":"Portalegre"},"1025":{"code":"PT-13","name":"Porto"},"1032":{"code":"PT-30","name":"Regi\u00e3o Aut\u00f3noma da Madeira"},"1031":{"code":"PT-20","name":"Regi\u00e3o Aut\u00f3noma dos A\u00e7ores"},"1026":{"code":"PT-14","name":"Santar\u00e9m"},"1027":{"code":"PT-15","name":"Set\u00fabal"},"1028":{"code":"PT-16","name":"Viana do Castelo"},"1029":{"code":"PT-17","name":"Vila Real"},"1030":{"code":"PT-18","name":"Viseu"}}},"PW":{"name":"Palau"},"PY":{"name":"Paraguay","regions":{"954":{"code":"PY-16","name":"Alto Paraguay"},"955":{"code":"PY-10","name":"Alto Paran\u00e1"},"956":{"code":"PY-13","name":"Amambay"},"953":{"code":"PY-ASU","name":"Asunci\u00f3n"},"957":{"code":"PY-19","name":"Boquer\u00f3n"},"958":{"code":"PY-5","name":"Caaguaz\u00fa"},"959":{"code":"PY-6","name":"Caazap\u00e1"},"960":{"code":"PY-14","name":"Canindey\u00fa"},"961":{"code":"PY-11","name":"Central"},"962":{"code":"PY-1","name":"Concepci\u00f3n"},"963":{"code":"PY-3","name":"Cordillera"},"964":{"code":"PY-4","name":"Guair\u00e1"},"965":{"code":"PY-7","name":"Itap\u00faa"},"966":{"code":"PY-8","name":"Misiones"},"967":{"code":"PY-12","name":"\u00d1eembuc\u00fa"},"968":{"code":"PY-9","name":"Paraguar\u00ed"},"969":{"code":"PY-15","name":"Presidente Hayes"},"970":{"code":"PY-2","name":"San Pedro"}}},"QA":{"name":"Qatar"},"RE":{"name":"R\u00e9union"},"RO":{"name":"Romania","regions":{"278":{"code":"AB","name":"Alba"},"279":{"code":"AR","name":"Arad"},"280":{"code":"AG","name":"Arge\u015f"},"281":{"code":"BC","name":"Bac\u0103u"},"282":{"code":"BH","name":"Bihor"},"283":{"code":"BN","name":"Bistri\u0163a-N\u0103s\u0103ud"},"284":{"code":"BT","name":"Boto\u015fani"},"286":{"code":"BR","name":"Br\u0103ila"},"285":{"code":"BV","name":"Bra\u015fov"},"287":{"code":"B","name":"Bucure\u015fti"},"288":{"code":"BZ","name":"Buz\u0103u"},"290":{"code":"CL","name":"C\u0103l\u0103ra\u015fi"},"289":{"code":"CS","name":"Cara\u015f-Severin"},"291":{"code":"CJ","name":"Cluj"},"292":{"code":"CT","name":"Constan\u0163a"},"293":{"code":"CV","name":"Covasna"},"294":{"code":"DB","name":"D\u00e2mbovi\u0163a"},"295":{"code":"DJ","name":"Dolj"},"296":{"code":"GL","name":"Gala\u0163i"},"297":{"code":"GR","name":"Giurgiu"},"298":{"code":"GJ","name":"Gorj"},"299":{"code":"HR","name":"Harghita"},"300":{"code":"HD","name":"Hunedoara"},"301":{"code":"IL","name":"Ialomi\u0163a"},"302":{"code":"IS","name":"Ia\u015fi"},"303":{"code":"IF","name":"Ilfov"},"304":{"code":"MM","name":"Maramure\u015f"},"305":{"code":"MH","name":"Mehedin\u0163i"},"306":{"code":"MS","name":"Mure\u015f"},"307":{"code":"NT","name":"Neam\u0163"},"308":{"code":"OT","name":"Olt"},"309":{"code":"PH","name":"Prahova"},"311":{"code":"SJ","name":"S\u0103laj"},"310":{"code":"SM","name":"Satu-Mare"},"312":{"code":"SB","name":"Sibiu"},"313":{"code":"SV","name":"Suceava"},"314":{"code":"TR","name":"Teleorman"},"315":{"code":"TM","name":"Timi\u015f"},"316":{"code":"TL","name":"Tulcea"},"318":{"code":"VL","name":"V\u00e2lcea"},"317":{"code":"VS","name":"Vaslui"},"319":{"code":"VN","name":"Vrancea"}}},"RS":{"name":"Serbia"},"RU":{"name":"Russia"},"RW":{"name":"Rwanda"},"SA":{"name":"Saudi Arabia"},"SB":{"name":"Solomon Islands"},"SC":{"name":"Seychelles"},"SD":{"name":"Sudan"},"SE":{"name":"Sweden","regions":{"1043":{"code":"SE-K","name":"Blekinge l\u00e4n"},"1044":{"code":"SE-W","name":"Dalarnas l\u00e4n"},"1046":{"code":"SE-X","name":"G\u00e4vleborgs l\u00e4n"},"1045":{"code":"SE-I","name":"Gotlands l\u00e4n"},"1047":{"code":"SE-N","name":"Hallands l\u00e4n"},"1048":{"code":"SE-Z","name":"J\u00e4mtlands l\u00e4n"},"1049":{"code":"SE-F","name":"J\u00f6nk\u00f6pings l\u00e4n"},"1050":{"code":"SE-H","name":"Kalmar l\u00e4n"},"1051":{"code":"SE-G","name":"Kronobergs l\u00e4n"},"1052":{"code":"SE-BD","name":"Norrbottens l\u00e4n"},"1062":{"code":"SE-T","name":"\u00d6rebro l\u00e4n"},"1063":{"code":"SE-E","name":"\u00d6sterg\u00f6tlands l\u00e4n"},"1053":{"code":"SE-M","name":"Sk\u00e5ne l\u00e4n"},"1055":{"code":"SE-D","name":"S\u00f6dermanlands l\u00e4n"},"1054":{"code":"SE-AB","name":"Stockholms l\u00e4n"},"1056":{"code":"SE-C","name":"Uppsala l\u00e4n"},"1057":{"code":"SE-S","name":"V\u00e4rmlands l\u00e4n"},"1058":{"code":"SE-AC","name":"V\u00e4sterbottens l\u00e4n"},"1059":{"code":"SE-Y","name":"V\u00e4sternorrlands l\u00e4n"},"1060":{"code":"SE-U","name":"V\u00e4stmanlands l\u00e4n"},"1061":{"code":"SE-O","name":"V\u00e4stra G\u00f6talands l\u00e4n"}}},"SG":{"name":"Singapore"},"SH":{"name":"St. Helena"},"SI":{"name":"Slovenia"},"SJ":{"name":"Svalbard & Jan Mayen"},"SK":{"name":"Slovakia"},"SL":{"name":"Sierra Leone"},"SM":{"name":"San Marino"},"SN":{"name":"Senegal"},"SO":{"name":"Somalia"},"SR":{"name":"Suriname","regions":{"1033":{"code":"SR-BR","name":"Brokopondo"},"1034":{"code":"SR-CM","name":"Commewijne"},"1035":{"code":"SR-CR","name":"Coronie"},"1036":{"code":"SR-MA","name":"Marowijne"},"1037":{"code":"SR-NI","name":"Nickerie"},"1038":{"code":"SR-PR","name":"Para"},"1039":{"code":"SR-PM","name":"Paramaribo"},"1040":{"code":"SR-SA","name":"Saramacca"},"1041":{"code":"SR-SI","name":"Sipaliwini"},"1042":{"code":"SR-WA","name":"Wanica"}}},"ST":{"name":"S\u00e3o Tom\u00e9 & Pr\u00edncipe"},"SV":{"name":"El Salvador"},"SX":{"name":"Sint Maarten"},"SY":{"name":"Syria"},"SZ":{"name":"Eswatini"},"TC":{"name":"Turks & Caicos Islands"},"TD":{"name":"Chad"},"TF":{"name":"French Southern Territories"},"TG":{"name":"Togo"},"TH":{"name":"Thailand"},"TJ":{"name":"Tajikistan"},"TK":{"name":"Tokelau"},"TL":{"name":"Timor-Leste"},"TM":{"name":"Turkmenistan"},"TN":{"name":"Tunisia"},"TO":{"name":"Tonga"},"TR":{"name":"Turkey"},"TT":{"name":"Trinidad & Tobago"},"TV":{"name":"Tuvalu"},"TW":{"name":"Taiwan, Province of China"},"TZ":{"name":"Tanzania"},"UA":{"name":"Ukraine"},"UG":{"name":"Uganda"},"UM":{"name":"U.S. Outlying Islands"},"US":{"name":"United States","regions":{"1":{"code":"AL","name":"Alabama"},"2":{"code":"AK","name":"Alaska"},"3":{"code":"AS","name":"American Samoa"},"4":{"code":"AZ","name":"Arizona"},"5":{"code":"AR","name":"Arkansas"},"6":{"code":"AE","name":"Armed Forces Africa"},"7":{"code":"AA","name":"Armed Forces Americas"},"8":{"code":"AE","name":"Armed Forces Canada"},"9":{"code":"AE","name":"Armed Forces Europe"},"10":{"code":"AE","name":"Armed Forces Middle East"},"11":{"code":"AP","name":"Armed Forces Pacific"},"12":{"code":"CA","name":"California"},"13":{"code":"CO","name":"Colorado"},"14":{"code":"CT","name":"Connecticut"},"15":{"code":"DE","name":"Delaware"},"16":{"code":"DC","name":"District of Columbia"},"17":{"code":"FM","name":"Federated States Of Micronesia"},"18":{"code":"FL","name":"Florida"},"19":{"code":"GA","name":"Georgia"},"20":{"code":"GU","name":"Guam"},"21":{"code":"HI","name":"Hawaii"},"22":{"code":"ID","name":"Idaho"},"23":{"code":"IL","name":"Illinois"},"24":{"code":"IN","name":"Indiana"},"25":{"code":"IA","name":"Iowa"},"26":{"code":"KS","name":"Kansas"},"27":{"code":"KY","name":"Kentucky"},"28":{"code":"LA","name":"Louisiana"},"29":{"code":"ME","name":"Maine"},"30":{"code":"MH","name":"Marshall Islands"},"31":{"code":"MD","name":"Maryland"},"32":{"code":"MA","name":"Massachusetts"},"33":{"code":"MI","name":"Michigan"},"34":{"code":"MN","name":"Minnesota"},"35":{"code":"MS","name":"Mississippi"},"36":{"code":"MO","name":"Missouri"},"37":{"code":"MT","name":"Montana"},"38":{"code":"NE","name":"Nebraska"},"39":{"code":"NV","name":"Nevada"},"40":{"code":"NH","name":"New Hampshire"},"41":{"code":"NJ","name":"New Jersey"},"42":{"code":"NM","name":"New Mexico"},"43":{"code":"NY","name":"New York"},"44":{"code":"NC","name":"North Carolina"},"45":{"code":"ND","name":"North Dakota"},"46":{"code":"MP","name":"Northern Mariana Islands"},"47":{"code":"OH","name":"Ohio"},"48":{"code":"OK","name":"Oklahoma"},"49":{"code":"OR","name":"Oregon"},"50":{"code":"PW","name":"Palau"},"51":{"code":"PA","name":"Pennsylvania"},"52":{"code":"PR","name":"Puerto Rico"},"53":{"code":"RI","name":"Rhode Island"},"54":{"code":"SC","name":"South Carolina"},"55":{"code":"SD","name":"South Dakota"},"56":{"code":"TN","name":"Tennessee"},"57":{"code":"TX","name":"Texas"},"58":{"code":"UT","name":"Utah"},"59":{"code":"VT","name":"Vermont"},"60":{"code":"VI","name":"Virgin Islands"},"61":{"code":"VA","name":"Virginia"},"62":{"code":"WA","name":"Washington"},"63":{"code":"WV","name":"West Virginia"},"64":{"code":"WI","name":"Wisconsin"},"65":{"code":"WY","name":"Wyoming"}}},"UY":{"name":"Uruguay","regions":{"1064":{"code":"UY-AR","name":"Artigas"},"1065":{"code":"UY-CA","name":"Canelones"},"1066":{"code":"UY-CL","name":"Cerro Largo"},"1067":{"code":"UY-CO","name":"Colonia"},"1068":{"code":"UY-DU","name":"Durazno"},"1069":{"code":"UY-FS","name":"Flores"},"1070":{"code":"UY-FD","name":"Florida"},"1071":{"code":"UY-LA","name":"Lavalleja"},"1072":{"code":"UY-MA","name":"Maldonado"},"1073":{"code":"UY-MO","name":"Montevideo"},"1074":{"code":"UY-PA","name":"Paysandu"},"1075":{"code":"UY-RN","name":"R\u00edo Negro"},"1076":{"code":"UY-RV","name":"Rivera"},"1077":{"code":"UY-RO","name":"Rocha"},"1078":{"code":"UY-SA","name":"Salto"},"1079":{"code":"UY-SJ","name":"San Jos\u00e9"},"1080":{"code":"UY-SO","name":"Soriano"},"1081":{"code":"UY-TA","name":"Tacuaremb\u00f3"},"1082":{"code":"UY-TT","name":"Treinta y Tres"}}},"UZ":{"name":"Uzbekistan"},"VA":{"name":"Vatican City"},"VC":{"name":"St. Vincent & Grenadines"},"VE":{"name":"Venezuela","regions":{"1085":{"code":"VE-Z","name":"Amazonas"},"1086":{"code":"VE-B","name":"Anzo\u00e1tegui"},"1087":{"code":"VE-C","name":"Apure"},"1088":{"code":"VE-D","name":"Aragua"},"1089":{"code":"VE-E","name":"Barinas"},"1090":{"code":"VE-F","name":"Bol\u00edvar"},"1091":{"code":"VE-G","name":"Carabobo"},"1092":{"code":"VE-H","name":"Cojedes"},"1093":{"code":"VE-Y","name":"Delta Amacuro"},"1083":{"code":"VE-W","name":"Dependencias Federales"},"1084":{"code":"VE-A","name":"Distrito Capital"},"1094":{"code":"VE-I","name":"Falc\u00f3n"},"1095":{"code":"VE-J","name":"Gu\u00e1rico"},"1096":{"code":"VE-K","name":"Lara"},"1097":{"code":"VE-L","name":"M\u00e9rida"},"1098":{"code":"VE-M","name":"Miranda"},"1099":{"code":"VE-N","name":"Monagas"},"1100":{"code":"VE-O","name":"Nueva Esparta"},"1101":{"code":"VE-P","name":"Portuguesa"},"1102":{"code":"VE-R","name":"Sucre"},"1103":{"code":"VE-S","name":"T\u00e1chira"},"1104":{"code":"VE-T","name":"Trujillo"},"1105":{"code":"VE-X","name":"Vargas"},"1106":{"code":"VE-U","name":"Yaracuy"},"1107":{"code":"VE-V","name":"Zulia"}}},"VG":{"name":"British Virgin Islands"},"VI":{"name":"U.S. Virgin Islands"},"VN":{"name":"Vietnam"},"VU":{"name":"Vanuatu"},"WF":{"name":"Wallis & Futuna"},"WS":{"name":"Samoa"},"XK":{"name":"Kosovo"},"YE":{"name":"Yemen"},"YT":{"name":"Mayotte"},"ZA":{"name":"South Africa"},"ZM":{"name":"Zambia"},"ZW":{"name":"Zimbabwe"},"data_id":1774353238},"captcha":[],"instant-purchase":[],"loggedAsCustomer":[],"persistent":[],"review":[],"wishlist":{"items":[]},"hyva_checkout":[],"wp_ga4":[],"recently_viewed_product":[],"recently_compared_product":[],"product_data_storage":[],"paypal-billing-agreement":[]}</script>

</div>
<script>
    const wpGA4ServerSide = {
        pushClick: function(productId, listId, listName, index, elm) {
            if (elm && elm.hasAttribute('onclick')) {
                var requestUrl = 'https://www.burdastyle.com/weltpixel_ga4/track/productclick/';
                if (productId && listId && listName) {
                    fetch(requestUrl, {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/x-www-form-urlencoded',
                            'X-Requested-With': 'XMLHttpRequest'
                        },
                        body: 'product_id=' + productId + '&list_id=' + listId +'&list_name=' + listName + '&index=' + index
                    })
                    .then(res => res.json())
                    .then(data => {
                    });
                }
            }
        },

        pushViewItemList: function(hashId) {
            if (hashId && document.getElementById('wp_ga4_server_side_view_item_list')) {
                var requestUrl = 'https://www.burdastyle.com/weltpixel_ga4/track/viewitemlist/';
                fetch(requestUrl, {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/x-www-form-urlencoded',
                        'X-Requested-With': 'XMLHttpRequest'
                    },

                    body: 'hash_id='+hashId
                })
                .then(res => res.json())
                .then(data => {
                });
            }
        }
    };

    window.wpGA4ServerSide = wpGA4ServerSide;

    const { fetch: originalFetch } = window;
    window.fetch = async (...args) => {
        let [resource, config] = args;
        let response = await originalFetch(resource, config);

        if (!response.ok) {
            return response;
        }

        response.clone()?.json().then(data => {
            if (!data.wp_ga4) {
                return;
            }

            const dataLayerData = JSON.parse(data.wp_ga4.datalayer ?? '');

            if (!dataLayerData) {
                return;
            }

            dataLayerData.forEach((dataLayerItem) => {
                window.dataLayer.push({ecommerce: null});
                window.dataLayer.push(dataLayerItem);
            });
        });
        return response;
    };
</script>
</body>
</html>
