Outiref
<!doctype html>
<html lang="fr">
<head >
    <meta charset="utf-8"/>
<meta name="title" content="Multitude - Atol"/>
<meta name="keywords" content="Magento, Varien, E-commerce"/>
<meta name="robots" content="INDEX,FOLLOW"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Multitude - Atol</title>
<link  rel="stylesheet" type="text/css">
<link  rel="stylesheet" type="text/css"  media="all" href="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/css/autocomplete.css" />
<link  rel="stylesheet" type="text/css"  media="all" href="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Algolia_AlgoliaSearch/css/grid.css" />
<link  rel="stylesheet" type="text/css"  media="all" href="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Algolia_AlgoliaSearch/css/algolia-reset.css" />
<link  rel="stylesheet" type="text/css"  media="all" href="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Algolia_AlgoliaSearch/css/instantsearch.v3.css" />
<link  rel="stylesheet" type="text/css"  media="all" href="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Algolia_AlgoliaSearch/css/recommend.css" />
<link  rel="icon" type="image/x-icon" href="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Magento_Enterprise/favicon.ico" />
<link  rel="shortcut icon" type="image/x-icon" href="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Magento_Enterprise/favicon.ico" />
<script  type="text/javascript"  src="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/IoT_Gtm/js/gtm-events.js"></script>
<script  type="text/javascript"  src="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/IoT_Gtm/js/didomi.js"></script>
<script  type="text/javascript"  src="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/IoT_Gtm/js/matomo.js"></script>
<link  rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" />
<link  rel="canonical" href="https://www.atol.fr/multitude" />
<meta name="facebook-domain-verification" content="5pq1tqueyjfb3lvgvsb1hj3ajvo64f" />
    <!-- Google Tag  -->
<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-NK5JVTR');</script>
<!-- End Google Tag Manager -->
<script>
    var BASE_URL = 'https://www.atol.fr/';
    var THEME_PATH = 'https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR';
    var COOKIE_CONFIG = {
        "expires": null,
        "path": "\u002F",
        "domain": ".www.atol.fr",
        "secure": true,
        "lifetime": "2592000",
        "cookie_restriction_enabled": false    };
    var CURRENT_STORE_CODE = 'b2c_main_fr';
    var CURRENT_WEBSITE_ID = '1';

    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'
        ]
    );
</script>
<script>
    'use strict';
    (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(
                'fr\u002DFR',
                Object.assign({
                    style: 'currency',
                    currency: 'EUR',
                    signDisplay: showSign ? 'always' : 'auto'
                }, options)
            );
            return (typeof Intl.NumberFormat.prototype.formatToParts === 'function') ?
                formatter.formatToParts(value).map(({type, value}) => {
                    switch (type) {
                        case 'currency':
                            return '\u20AC' || 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 can't be found
            if (!contentNode) {
                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.activateScripts = (contentNode) => {
            // Extract all the script tags from the 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 = contentNode.getElementsByTagName('script');

            if (tmpScripts.length > 0) {
                // Push all script tags into an array
                // (to prevent dom manipulation while iterating over dom nodes)
                const scripts = [];
                for (let i = 0; i < tmpScripts.length; i++) {
                    scripts.push(tmpScripts[i]);
                }

                // Iterate over all script tags and duplicate+inject each into the head
                for (let i = 0; i < scripts.length; i++) {
                    let script = document.createElement('script');
                    script.innerHTML = scripts[i].innerHTML;

                    document.head.appendChild(script);

                    // Remove the original (non-executing) node from the content
                    scripts[i].parentNode.removeChild(scripts[i]);
                }
            }
            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.alpineInitialized = (fn) => window.addEventListener('alpine:initialized', fn, {once: true})
                window.addEventListener('user-allowed-save-cookie', () => internalCookie.saveTempStorageCookies())

    }( window.hyva = window.hyva || {} ));
</script>
<script>
    if (!window.IntersectionObserver) {
        window.IntersectionObserver = function (callback) {
            this.observe = el => el && callback(this.takeRecords());
            this.takeRecords = () => [{isIntersecting: true, intersectionRatio: 1}];
            this.disconnect = () => {};
            this.unobserve = () => {};
        }
    }
</script>
</head>
<body class="pl-thm-iot pl-thm-iot-default multitude-index-index page-layout-1column" id="html-body">

<script nonce='bzA4ZWVuMm55N2ZoZnN5bjVqNDBvaXB3OW1qeHZobGM=' >
    '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>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NK5JVTR"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --><script>
    document.addEventListener('DOMContentLoaded', function() {
        'use strict';

        window.psloginLoginPath = "https\u003A\u002F\u002Fwww.atol.fr\u002Fpslogin\u002Faccount\u002Flogin\u002F";
        window.customerLogoutPath = "https\u003A\u002F\u002Fwww.atol.fr\u002Fcustomer\u002Faccount\u002Flogout\u002F";

        let url = document.URL.toLowerCase();
        if (url) {
            let skip = false;
            let paths = ["customer\/account","pslogin\/account"];

            for (let path of paths) {
                if (url.indexOf(path) !== -1) {
                    skip = true;
                    break;
                }
            }

            if (!skip) {
                hyva.setCookie('pslogin_referer', document.URL, 'session', true);
            }
        }


    }, false);
        </script>
<form style="display:none;" class="form" action="https://www.atol.fr/pslogin/account/loginPost/" method="post" id="pslogin-login-form">
    <input id="pslogin-login-referer" name="referer" type="hidden" value="">
    <input id="pslogin-login-action" name="auth_action" type="hidden" value="">
    <input id="pslogin-login-submit" type="submit" value="">
</form>

<div x-data="initPsloginBindEmailModal()">
        <div x-cloak x-bind="overlay('dialog')"
    x-spread="overlay('dialog')"
    class="fixed inset-0 bg-black bg-opacity-50 z-50">
    <div class="fixed flex justify-end items-center text-left z-40 inset-0">
        <div x-ref="dialog" role="dialog" aria-modal="true"
                                                     aria-labelledby="bind-email"
                         class="inline-block bg-white shadow-xl rounded-l-lg max-h-screen overflow-auto overscroll-y-contain border border-10 lg:max-w-xl relative">
            
<button class="prpop-close-btn outline-none absolute top-4 right-4" @click="hide">&#10005;</button>
<div id="pslogin-bind-email-modal" :class="{['pslogin-state-step-' + step]: true, 'ps-no-linked': ! linkedNetworksHtml}">

    <div class="text-2xl font-light border-b border-gray-500 pb-4 mb-4 break-words" x-text="firstTitle"></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-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" viewbox="0 0 57 57" width="57" height="57" fill="none" stroke="currentColor" stroke-width="2" class="text-primary" role="img">
    <style>
        @keyframes spinner-ball-triangle1 {
            0% { transform: translate(0%, 0%); }
            33% { transform: translate(38%, -79%); }
            66% { transform: translate(77%, 0%); }
            100% { transform: translate(0%, 0%); }
        }

        @keyframes spinner-ball-triangle2 {
            0% { transform: translate(0%, 0%); }
            33% { transform: translate(38%, 79%); }
            66% { transform: translate(-38%, 79%); }
            100% { transform: translate(0%, 0%); }
        }

        @keyframes spinner-ball-triangle3 {
            0% { transform: translate(0%, 0%); }
            33% { transform: translate(-77%, 0%); }
            66% { transform: translate(-38%, -79%); }
            100% { transform: translate(0%, 0%); }
        }
    </style>
    <circle cx="5" cy="50" r="5" style="animation: spinner-ball-triangle1 2.2s linear infinite"/>
    <circle cx="27" cy="5" r="5" style="animation: spinner-ball-triangle2 2.2s linear infinite"/>
    <circle cx="49" cy="50" r="5" style="animation: spinner-ball-triangle3 2.2s linear infinite"/>
<title>loader</title></svg>
    <div class="ml-10 text-primary text-xl">
        Loading...    </div>
</div>

    <template x-if="error">
        <div class="message error">
            <div x-html="error"></div>
        </div>
    </template>
    <template x-if="1 === step">
        <div class="pslogin-form-title mb-3 break-words">Please provide your email</div>
    </template>
    <template x-if="2 === step">
        <div class="pslogin-form-title mb-3 break-words" x-text="alreadyRegisteredText"></div>
    </template>
    <template x-if="4 === step">
        <div class="pslogin-form-title mb-3 break-words">We couldn&#039;t find an account with your credentials. Are you already registered at our store?</div>
    </template>
    <template x-if="5 === step">
        <div class="pslogin-form-title mb-3 break-words">Please enter your store password to link your social account. Or login using previously used social networks.</div>
    </template>
    <template x-if="3 !== step">
        <div class="pslogin-authorization-wrapper">
            <form name="pslogin_bind" id="pslogin_bind">
                <fieldset class="fieldset">
                    <div class="fieldset-wrapper mb-4">
                        <template x-if="5 === step">
                            <div class="field mb-3">
                                <label class="label mb-0 font-semibold" for="pslogin_bind_email">Adresse mail</label>
                                <div class="control">
                                    <input type="email" id="pslogin_bind_email" name="pslogin_email" autocomplete="email" value="" title="Your&#x20;Email&#x20;Address" class="input-text required-entry w-full" data-validate='{"required": true}' aria-required="true" required>
                                </div>
                            </div>
                        </template>
                        <template x-if="1 === step || 2 === step">
                            <div class="field mb-3">
                                <label class="label mb-0 font-semibold" for="pslogin_bind_email">Adresse mail</label>
                                <div class="control">
                                    <input type="email" id="pslogin_bind_email" name="pslogin_email" autocomplete="email" :value="customer.email" x-model="customer.email" title="Your&#x20;Email&#x20;Address" :disabled="2 === step" class="input-text required-entry w-full" data-validate='{"required": true}' aria-required="true" required>
                                </div>
                            </div>
                        </template>
                        <template x-if="2 === step || 5 === step">
                            <div class="field mb-3">
                                <label class="label mb-0 font-semibold" for="pslogin_bind_pass">Mot de passe</label>
                                <div class="control">
                                    <input id="pslogin_bind_pass" type="password" name="pslogin_pass" title="Mot&#x20;de&#x20;passe" class="input-text w-full" data-validate='{"required": true, "password": true, "minlength": 8}' autocomplete="off" aria-required="true" aria-autocomplete="list" required>
                                </div>
                            </div>
                        </template>
                    </div>
                </fieldset>
                <template x-if="3 !== step">
                    <div class="button-wrapper flex flex-wrap items-center justify-between gap-3">
                        <template x-if="1 === step || 2 === step || 5 === step">
                            <button class="action primary pslogin-bind-step-5 btn btn-primary" type="button" @click="loginDependOnStep">
                                <span>Login</span>
                            </button>
                        </template>
                        <template x-if="2 === step || 5 === step">
                            <div class="secondary">
                                <a class="action remind text-blue-700 hover:underline" target="_blank" :href="forgotPassUrl">
                                    <span>Mot de passe oublié?</span>
                                </a>
                            </div>
                        </template>
                        <template x-if="4 === step">
                            <div>
                                <button class="action primary pslogin-bind-step-4 text-blue-700 hover:underline" type="button" @click="setFifthStep">
                                    <span>Yes, I already have an account</span>
                                </button>
                                <button class="action primary pslogin-bind-step-4 text-blue-700 hover:underline" type="button" @click="registerWithEmail">
                                    <span>No, I want to register a new account</span>
                                </button>
                            </div>
                        </template>
                    </div>
                </template>
            </form>
            <!-- <template x-if="linkedNetworksHtml">
                <div>
                    <span class="pslogin-or-border">
                        OR                    </span>
                    <div class="ps-login-networks-container" x-html="linkedNetworksHtml"></div>
                </div>
            </template> -->
            <template x-if="loginNetworksButtonsHtml && 5 === step">
                <div>
                    <span class="pslogin-or-border">
                        OR                    </span>
                    <div class="ps-login-networks-container" x-html="loginNetworksButtonsHtml"></div>
                    
<script>
    function initPsloginButtons_bindEmailPopup() {
        let buttons = [{"code":"apple","icon":"https:\/\/www.atol.fr\/static\/version1764689007\/frontend\/Iot\/default\/fr_FR\/Plumrocket_SocialLoginPro\/images\/networks\/apple_icon.svg","design":"default","height":650,"width":650,"visible":true,"textColor":"","backgroundColor":"#000","borderColor":"","openOnPage":false,"text":"Apple","image":"","url":"https:\/\/www.atol.fr\/pslogin\/account\/douse\/type\/apple\/refresh\/1765829587\/customer_action\/login\/call\/pslogin.account_login.network\/"},{"code":"facebook","icon":"https:\/\/www.atol.fr\/static\/version1764689007\/frontend\/Iot\/default\/fr_FR\/Plumrocket_SocialLoginPro\/images\/networks\/facebook_icon.svg","design":"default","height":650,"width":450,"visible":true,"textColor":"#ffffff","backgroundColor":"#157DC3","borderColor":"","openOnPage":false,"text":"Facebook","image":"","url":"https:\/\/www.atol.fr\/pslogin\/account\/douse\/type\/facebook\/refresh\/1765829587\/customer_action\/login\/call\/pslogin.account_login.network\/"},{"code":"google","icon":"https:\/\/www.atol.fr\/static\/version1764689007\/frontend\/Iot\/default\/fr_FR\/Plumrocket_SocialLoginPro\/images\/networks\/google_icon.svg","design":"default","height":450,"width":450,"visible":true,"textColor":"#1a1a1a","backgroundColor":"#fff","borderColor":"#d9d9d9","openOnPage":false,"text":"Google","image":"","url":"https:\/\/www.atol.fr\/pslogin\/account\/douse\/type\/google\/refresh\/1765829587\/customer_action\/login\/call\/pslogin.account_login.network\/"}];

        return {
            buttons,
            show: false,
            title: 'show\u0020more',
            toggle() {
                this.show = !this.show;
                this.title = this.show ?
                    'show\u0020less' :
                    'show\u0020more';
            },
            hasHidden() {
                return this.buttons.filter(btn => !btn.visible).length > 0;
            },
            login(btn) {
                if (! btn.url) {
                    alert('The\u0020Login\u0020Application\u0020was\u0020not\u0020configured\u0020correctly.\u0020If\u0020your\u0020are\u0020the\u0020admin\u0020of\u0020store\u003A\u0020Please\u0020activate\u0020\u201CEnable\u0020Logging\u201D\u0020in\u0020Magento\u0020Login\u0020Extension\u0020and\u0020try\u0020again\u0020to\u0020see\u0020error\u0020details.');
                    return false;
                }

                let href = btn.url,
                    openOnPage = btn.openOnPage,
                    width = btn.width,
                    height = btn.height;

                if (openOnPage) {
                    window.dispatchEvent(new CustomEvent("reload-customer-section-data"));
                    window.location.href = href;
                    return;
                }

                width = width ? width : 650;
                height = height ? height : 350;

                if (href.indexOf('js_login_method') === 0) {
                    // For Telegram
                    // prCustomJsLoginMethod(href, width, height);
                    return;
                }

                const popup = this.openPopup(href, width, height);
                this.loadingMessage(popup);

                return false;
            },
            /**
             * Open OAuth window using Modal/InitOAuth action.
             *
             * @since 3.10.0
             * @param href
             * @param width
             * @param height
             * @returns {WindowProxy}
             */
            openPopup(href, width, height) {
                const left = parseInt((window.innerWidth - width) / 2);
                const top = parseInt((window.innerHeight - height) / 2);

                const params = [
                    'resizable=yes',
                    'scrollbars=no',
                    'toolbar=no',
                    'menubar=no',
                    'location=no',
                    'directories=no',
                    'status=yes',
                    'width=' + width,
                    'height=' + height,
                    'left=' + left,
                    'top=' + top
                ];

                const popup = window.open(href, 'pslogin_popup', params.join(','));
                popup.focus();

                return popup;
            },
            loadingMessage(popup) {
                const loaderText = 'Loading...';
                let html = '<!DOCTYPE html><html style="height: 100%;"><head><meta name="viewport" content="width=device-width, initial-scale=1"><title>' + loaderText + '</title></head>';
                html += '<body style="height: 100%; margin: 0; padding: 0;">';
                html += '<div style="text-align: center; height: 100%;"><div id="loader" style="top: 50%; position: relative; margin-top: -50px; color: #646464; height:25px; font-size: 25px; text-align: center; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;">' + loaderText + '</div></div>';
                html += '</body></html>';

                popup.document.documentElement.innerHTML = html;
            }
        };
    }
</script>
                </div>
            </template>
        </div>
    </template>
    <template x-if="3 === step">
        <div class="flex flex-col items-center">
            <img class="pslogin-success-icon" :src="successIcon" alt="Succ&#xE8;s" width="92" height="92">
            <div class="pslogin-thank-text">
                THANK YOU!            </div>
        </div>
    </template>
</div>
        </div>
    </div>
    </div>
</div>

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

        return {
            ...hyva.modal(),
            ...{"components":{"pr-pslogin-email-popup":{"component":"Plumrocket_SocialLoginPro\/js\/view\/bind-email","storeName":"Atol Mon Opticien","loginWithEmailUrl":"https:\/\/www.atol.fr\/pslogin\/account\/register\/","loginWithPassUrl":"https:\/\/www.atol.fr\/pslogin\/account_login\/password\/","forgotPassUrl":"https:\/\/www.atol.fr\/customer\/account\/forgotpassword\/","login_networks_buttons_html":"","successIcon":"https:\/\/www.atol.fr\/static\/version1764689007\/frontend\/Iot\/default\/fr_FR\/Plumrocket_SocialLoginPro\/images\/success_icon.png","loaderIconSrc":"https:\/\/www.atol.fr\/static\/version1764689007\/frontend\/Iot\/default\/fr_FR\/images\/loader-2.gif"}}}['components']['pr-pslogin-email-popup'],

            /**
             * Popup will change by this variable
             *
             * 1 - "Email Missing" Popup
             * 2 - "Email Exists" Popup
             * 3 - "Success" Popup
             * 4 - "Do you have an account?" Popup
             * 5 - "Link to existing account" Popup
             */
            step: 1,
            isLoading: false,

            customer: {
                name: '',
                email: '',
            },
            success: {
                redirectUrl: '',
                message: '',
            },
            error: '',

            /**
             * Social network type
             */
            type: '',

            /**
             * Networks already linked to account
             */
            linkedNetworksHtml: '',
            loginNetworksButtonsHtml: '',

            firstTitlePatter: 'Welcome\u0020\u00251',
            firstTitle: '',
            secondTitlePatter: 'Hello\u0020\u00251',
            secondTitle: '',

            alreadyRegisteredPattern: 'An\u0020account\u0020with\u0020email\u0020\u0022\u00251\u0022\u0020is\u0020already\u0020registered\u0020at\u0020\u00252.\u0020Please\u0020enter\u0020your\u0020store\u0020password\u0020to\u0020link\u0020your\u0020social\u0020account.\u0020Or\u0020login\u0020using\u0020previously\u0020used\u0020social\u0020networks.',
            alreadyRegisteredText: '',

            errorMessageLifetime: 4000,
            successRedirectDelay: 2000,

            init() {
                document.pslogin = {
                    bindEmail: this
                };

                this.$watch('step', this.afterSetStep.bind(this));
                this.loginNetworksButtonsHtml = this.login_networks_buttons_html;
                this.autoOpen()

                // Object.assign(this, hyva.formValidation(this.$refs.form));
            },

            autoOpen: function () {
                var params = new URLSearchParams(location.search);
                if (! params.get('showPrBindEmailPopup')) {
                    return;
                }

                this.openPopup(
                    String(params.get('firstname') ? params.get('firstname') : ''),
                    String(params.get('email') ? params.get('email') : ''),
                    String(params.get('networkCode') ? params.get('networkCode') : ''),
                    Number(params.get('step'))
                );
            },

            /**
             * @param {string} name
             * @param {string} email
             * @param {string} type
             * @param {int}    step
             */
            openPopup(name, email, type, step) {
                this.setStep(step ? step : 1);

                this.firstTitle = hyva.str(this.firstTitlePatter, name);
                this.alreadyRegisteredText = hyva.str(this.alreadyRegisteredPattern, email, this.storeName);

                this.customer.name = name;
                this.customer.email = email;
                this.type = type;

                this.renderError('');

                this.closePrPopupLogin();

                this.show('dialog');
            },

            /**
             * Convert number into int
             *
             * @param stepNumber
             */
            setStep(stepNumber) {
                this.step = +stepNumber;
            },

            /**
             * For bind click in template
             */
            setFifthStep() {
                this.setStep(5);
            },

            afterSetStep(stepNumber) {
                if (3 === stepNumber) {
                    this.renderError('');
                    this.renderSuccessRedirect();
                }

                if (1 === stepNumber || 4 === stepNumber) {
                    this.firstTitle = hyva.str(this.firstTitlePatter, this.customer.name);
                } else {
                    this.firstTitle = hyva.str(this.secondTitlePatter, this.customer.name);
                }

                if (2 === stepNumber) {
                    this.buildAlreadyRegisteredText();
                }
            },

            setSuccessRedirect(redirectUrl) {
                this.success.redirectUrl = redirectUrl;
            },

            buildAlreadyRegisteredText() {
                this.alreadyRegisteredText = hyva.str(
                    this.alreadyRegisteredPattern,
                    this.customer.email,
                    this.storeName
                );
            },

            registerWithEmail() {
                let email = (this.step === 4) ?
                    this.customer.email :
                    document.getElementById('pslogin_bind_email').value.trim();

                if (email) {
                    let postData = {
                        email: email,
                        type: this.type,
                        ajax: 1,
                        step: this.step,
                        form_key: hyva.getFormKey()
                    };

                    this.isLoading = true;
                    fetch(this.loginWithEmailUrl, {
                            method: 'POST',
                            headers: {
                                'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
                            },
                            body: new URLSearchParams(postData),
                        })
                        .then(response => {
                            this.isLoading = false;
                            if (response.ok) {
                                return response.json();
                            } else {
                                console.warn('GET request failed', response);
                            }
                        })
                        .then(responseData => {
                            if (responseData) {
                                if (!this.validateResponse(responseData)) {
                                    console.error('Invalid response');
                                    return;
                                }

                                if (responseData.status) {
                                    if (responseData.data.exist) {
                                        this.customer.email = email;
                                        this.buildAlreadyRegisteredText();

                                        /* if (responseData.data.linked_networks) {
                                            this.linkedNetworksHtml = responseData.data.linked_networks;
                                        } */

                                        this.setStep(2);
                                        return;
                                    }

                                    if (responseData.data.step) {
                                        this.customer.email = email;
                                        this.setStep(responseData.data.step);
                                        return;
                                    }

                                    if (responseData.data.redirectUrl && responseData.data.message) {
                                        this.success.redirectUrl = responseData.data.redirectUrl;
                                        this.success.message = responseData.data.message;
                                    } else {
                                        console.error('Invalid data response');
                                    }

                                    this.setStep(3);
                                } else {
                                    console.error(responseData.error);
                                    if (responseData.data.redirectUrl) {
                                        window.location.href = responseData.data.redirectUrl;
                                    }
                                }
                            }
                        })
                        .catch(function name(params) {
                            window.console && console.log(status + ': ' + error + '\nResponse text:\n' + jqXHR.responseText);
                        });
                }
            },

            loginDependOnStep() {
                switch (this.step) {
                    case 1:
                        this.registerWithEmail();
                        break;
                    case 2:
                        this.loginWithPass();
                        break;
                    case 5:
                        this.loginWithPassTakeEmail();
                        break;
                }
            },

            loginWithPassTakeEmail() {
                let email = document.getElementById('pslogin_bind_email').value.trim();
                this.loginWithPass(email);
            },

            loginWithPass(email) {
                if (typeof email === 'object') {
                    email = undefined;
                }

                let password = document.getElementById('pslogin_bind_pass').value.trim();

                if (!password || (typeof email !== 'undefined' && !email)) {
                    let form = document.getElementById('pslogin_bind');
                    if (typeof form.reportValidity === 'function') {
                        form.reportValidity();
                    }

                    return;
                }

                let postData = {
                    password,
                    type: this.type,
                    ajax: 1,
                    form_key: hyva.getFormKey()
                };

                if (email) {
                    postData.email = email;
                }

                this.isLoading = true;
                fetch(this.loginWithPassUrl, {
                        method: 'POST',
                        headers: {
                            // contentType: 'application/json',
                            // "X-Requested-With": "XMLHttpRequest",
                            // "Accept": "application/json"
                            'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
                        },
                        // body: JSON.stringify(postData),
                        body: new URLSearchParams(postData),
                    })
                    .then(response => {
                        this.isLoading = false;
                        if (response.ok) {
                            return response.json();
                        } else {
                            console.warn('GET request failed', response);
                        }
                    })
                    .then(responseData => {
                        if (responseData) {
                            if (!this.validateResponse(responseData)) {
                                console.error('Invalid response');
                                return;
                            }

                            if (responseData.status) {
                                if (responseData.data.redirectUrl) {
                                    this.setStep(3);
                                    this.renderRedirect(responseData.data.redirectUrl, 'Succ\u00E8s');
                                } else {
                                    console.error('Invalid data response');
                                }
                            } else {
                                this.renderError(responseData.error);
                                if (responseData.data.redirectUrl) {
                                    this.renderRedirect(responseData.data.redirectUrl, responseData.error);
                                }
                            }
                        }
                    })
                    .catch(function name(params) {
                        window.console && console.log(status + ': ' + error + '\nResponse text:\n' + jqXHR.responseText);
                    });
            },

            /**
             * @param {{}} data
             */
            validateResponse(data) {
                return typeof data === 'object' &&
                    data.hasOwnProperty('status') &&
                    data.hasOwnProperty('data') &&
                    data.hasOwnProperty('error')
            },

            renderRedirect(redirectUrl, message) {
                if (message) {
                    setTimeout(() => window.location.href = redirectUrl, this.successRedirectDelay);
                } else {
                    window.location.href = redirectUrl;
                }
            },

            renderError(message) {
                if (message) {
                    this.error = message;
                    setTimeout(() => this.error = '', this.errorMessageLifetime);
                } else {
                    this.error = '';
                }
            },

            renderSuccessRedirect() {
                this.renderRedirect(this.success.redirectUrl, true);
            },

            openForgotPassword() {
                window.open(this.forgotPassUrl);
            },

            closePrPopupLogin() {
                if (typeof window.plumrocket !== 'undefined' &&
                    typeof window.plumrocket.popupLoginControl !== 'undefined'
                ) {
                    window.plumrocket.popupLoginControl.closeForm();
                }
            }
        };
    }
</script>
<input name="form_key" type="hidden" value="quh0J8BeGfhwngRW" />
    <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>
<script type="text/javascript" src="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/js/disable-columns-hide.js"></script>
<div id="fb-root"></div><script async defer crossorigin="anonymous"
        src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v23.0&appId=968080778750706">
</script><div class="page-wrapper"><header class="page-header"><div id="notice" class="w-full pt-[1.25rem] pb-[1rem] pl-[1.75rem] gap-10 sm:pl-auto h-[38px] bg-red-base flex justify-center items-center overflow-x-auto no-scrollbar touch-pan-x">
<div class="relative whitespace-nowrap">
<div class="pl-2 flex text-start z-10 sm:text-center shrink basis-0 font-normal text-[#FFFFFF] text-sm md:text-[16px] font-poppins leading-[140%] whitespace-nowrap px-3 animate-scrollLeft sm:animate-none"> D&eacute;couvrez Multitude, 1 lunette. 100 styles &agrave; d&eacute;voiler.
</div>
</div>
</div>


<div id="subheader" class="w-full bg-white  border-b border-gris  items-center z-20">
    <div class="flex flex-col lg:flex-row justify-end items-center gap-4">
                    <div class="flex w-full z-10 bg-white justify-end">
    <div class="text-end">
        <!-- Hidden button trigger (optional) -->
        <div
            x-data="{                isAudition: window.location.href.includes('audition'),                auditionUrl: 'https://magasins.atol.fr/?f%5Bservices%5D=49',                magasinUrl: 'https://magasins.atol.fr/',                get finalUrl() {                    return this.isAudition ? this.auditionUrl : this.magasinUrl;                }            }"
            @click="window.open(finalUrl, '_blank')"
            class="hidden gtm-find-store-button h-[38px] px-4 py-2 bg-bleu-base hover:bg-bleu-dragg rounded-[20px] justify-end items-center gap-2 inline-flex cursor-pointer"
        >
        </div>
    </div>

    <div class="w-full md:w-auto grid grid-cols-2">
        <!-- Nos magasins -->
        <div class="flex items-center py-2 px-6 bg-grisaccount text-bleu-base gap-[0.25rem]">
            <svg width="14" height="14" viewbox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <g id="Group"> <path id="Path" d="M1 12.849H13" stroke="#3E4DD2" stroke-linecap="round" stroke-linejoin="round" /> <path id="Shape" d="M1.5 3.51823C1.5 3.24209 1.27614 3.01823 1 3.01823C0.723858 3.01823 0.5 3.24209 0.5 3.51823H1.5ZM5.5 3.51823C5.5 3.24209 5.27614 3.01823 5 3.01823C4.72386 3.01823 4.5 3.24209 4.5 3.51823H5.5ZM5.5 4.1849C5.5 3.90875 5.27614 3.6849 5 3.6849C4.72386 3.6849 4.5 3.90875 4.5 4.1849H5.5ZM9.5 3.51823C9.5 3.24209 9.27614 3.01823 9 3.01823C8.72386 3.01823 8.5 3.24209 8.5 3.51823H9.5ZM9.5 4.1849C9.5 3.90875 9.27614 3.6849 9 3.6849C8.72386 3.6849 8.5 3.90875 8.5 4.1849H9.5ZM13 3.51823H13.5C13.5 3.24209 13.2761 3.01823 13 3.01823V3.51823ZM1 3.51823L0.552786 3.29462C0.475289 3.44962 0.483571 3.63369 0.574675 3.78109C0.665778 3.9285 0.826711 4.01823 1 4.01823V3.51823ZM2.33333 0.851562V0.351562C2.14395 0.351562 1.97082 0.458564 1.88612 0.627956L2.33333 0.851562ZM11.6667 0.851562L12.1139 0.627956C12.0292 0.458564 11.8561 0.351562 11.6667 0.351562V0.851562ZM12.5528 3.74184C12.6763 3.98883 12.9766 4.08894 13.2236 3.96544C13.4706 3.84195 13.5707 3.54161 13.4472 3.29462L12.5528 3.74184ZM0.5 3.51823V4.1849H1.5V3.51823H0.5ZM0.5 4.1849C0.5 5.56561 1.61929 6.6849 3 6.6849V5.6849C2.17157 5.6849 1.5 5.01332 1.5 4.1849H0.5ZM3 6.6849C4.38071 6.6849 5.5 5.56561 5.5 4.1849H4.5C4.5 5.01332 3.82843 5.6849 3 5.6849V6.6849ZM5.5 4.1849V3.51823H4.5V4.1849H5.5ZM4.5 4.1849C4.5 5.56561 5.61929 6.6849 7 6.6849V5.6849C6.17157 5.6849 5.5 5.01332 5.5 4.1849H4.5ZM7 6.6849C8.38071 6.6849 9.5 5.56561 9.5 4.1849H8.5C8.5 5.01332 7.82843 5.6849 7 5.6849V6.6849ZM9.5 4.1849V3.51823H8.5V4.1849H9.5ZM8.5 4.1849C8.5 5.56561 9.61929 6.6849 11 6.6849V5.6849C10.1716 5.6849 9.5 5.01332 9.5 4.1849H8.5ZM11 6.6849C12.3807 6.6849 13.5 5.56561 13.5 4.1849H12.5C12.5 5.01332 11.8284 5.6849 11 5.6849V6.6849ZM13.5 4.1849V3.51823H12.5V4.1849H13.5ZM13 3.01823H1V4.01823H13V3.01823ZM1.44721 3.74184L2.78055 1.07517L1.88612 0.627956L0.552786 3.29462L1.44721 3.74184ZM2.33333 1.35156H11.6667V0.351562H2.33333V1.35156ZM11.2195 1.07517L12.5528 3.74184L13.4472 3.29462L12.1139 0.627956L11.2195 1.07517Z" fill="#3E4DD2" /> <path id="Path_2" d="M2.33333 12.8526V6.08594" stroke="#3E4DD2" stroke-linecap="round" stroke-linejoin="round" /> <path id="Path_3" d="M11.6673 12.8526V6.08594" stroke="#3E4DD2" stroke-linecap="round" stroke-linejoin="round" /> <path id="Path_4" d="M5 12.8516V10.1849C5 9.44852 5.59695 8.85156 6.33333 8.85156H7.66667C8.40305 8.85156 9 9.44852 9 10.1849V12.8516" stroke="#3E4DD2" stroke-linecap="round" stroke-linejoin="round" /> </g> </svg>
            <a 
                x-data="{ isAudition: window.location.href.includes('audition') }"
                :href="isAudition ? 'https://magasins.atol.fr/?f%5Bservices%5D=49' : 'https://magasins.atol.fr/'"
                target="_blank"
                class="gtm-find-store-button text-bleu-base text-[14px] font-poppins font-[500] leading-[140%]"
            >
                Nos magasins            </a>
        </div>

        <!-- Prendre RDV -->
        <div class="flex items-center py-2 px-6 bg-bleu-base text-white gap-[0.25rem]">
            <svg width="16" height="16" viewbox="0 0 16 16" fill="none"> <g stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round"> <rect x="2.67" y="3.34" width="10.67" height="10.67" rx="1" /> <path d="M10.67 2V4.67" /> <path d="M5.33 2V4.67" /> <path d="M2.67 7.33h10.67" /> <rect x="5.33" y="10" width="1.33" height="1.33" /> </g> </svg>
                            <a 
                    x-data="{ isAudition: window.location.href.includes('audition') }"
                    :href="isAudition ? 'https://magasins.atol.fr/?f%5Bservices%5D=49' : 'https://magasins.atol.fr/'"
                    target="_blank"
                    class="gtm-find-store-button text-white text-[14px] font-poppins font-[500] leading-[140%]"
                >
                    Prendre RDV                </a>
                    </div>
    </div>
</div>

    </div>
</div><script>
    function initHeader() {
        return {
            searchOpen: false,
            cart: {},
            isCartOpen: false,
            wishItemCount: 0,
            getData(data) {
                if (data.cart) {
                    this.cart = data.cart
                }
            },
            initCustomerData() {
                return {
                    receiveCustomerWishlistData(data) {
                        window.customerData = data;
                        if (data.wishlist?.counter) {
                            this.wishItemCount = parseInt(data.wishlist.counter.replace("items", ""));
                        }
                    }
                }
            },
            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;
                }
            },
        }
    }


    function initCompareHeader() {
        return {
            compareProducts: null,
            itemCount: 0,
            receiveCompareData(data) {
                if (data['compare-products']) {
                    this.compareProducts = data['compare-products'];
                    this.itemCount = this.compareProducts.count;
                }
            }
        }
    }
</script>


<nav id="header"
    class="bg-container-lighter border-container-lighter z-20 w-full border-b shadow transition-all duration-300"
    x-data="initHeader()"
    @private-content-loaded.window="getData(event.detail.data)">
    <div class="flex h-[70px] flex-wrap lg:flex-nowrap items-center justify-between w-full px-4 xl:pl-6 xl:pr-10 lg:px-0 mx-auto mt-0">


        <!--Main Navigation-->
        <div class="flex items-center order-1 lg:order-2">
            
<nav x-data="initMenuMobile_694068fea3f6c()" @load.window="setActiveMenu($root);fetchCustomerInfo()"
    @keydown.window.escape="closeMenu()" class="z-20 order-2 sm:order-1 lg:order-2 navigation lg:hidden w-12 h-12"
    aria-label="Site&#x20;navigation" role="navigation">

    <div class="relative flex justify-between items-center gap-1 mb-[17px] mt-[7px]">

        <button x-ref="mobileMenuTrigger" @click="openMenu()"
            :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 width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M4 6H20" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                <path d="M4 12H20" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                <path d="M4 18H16" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
            </svg>

        </button>
        <button @click="closeMenu()" class="flex  justify-end w-16 self-end mb-1 text-bleu-indigo"
            aria-label="Close&#x20;menu" type="button" :hidden="!open">
            <div class="hidden" :class="{ 'hidden': !open, 'block': open }" aria-hidden="true">
                <svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <g id="Group">
                        <path id="Path" d="M18 6L6 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round"
                            stroke-linejoin="round" />
                        <path id="Path_2" d="M6 6L18 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round"
                            stroke-linejoin="round" />
                    </g>
                </svg>
            </div>
        </button>

        <button id="menu-search-icon" class="rounded p-1 hover:bg-primary/10 outline-offset-2" @click.prevent="                    searchOpen = !searchOpen;                    if (open) { closeMenu(); }                    $dispatch('search-open');                " aria-label="Toggle&#x20;search&#x20;form" aria-haspopup="true"
            :aria-expanded="searchOpen" x-ref="searchButton">
            <svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                <g id="Group">
                    <circle id="Oval" cx="10" cy="10" r="7" stroke="#1F226B" stroke-width="2" stroke-linecap="round"
                        stroke-linejoin="round" />
                    <path id="Path" d="M21 21L15 15" stroke="#1F226B" stroke-width="2" stroke-linecap="round"
                        stroke-linejoin="round" />
                </g>
            </svg>
        </button>
    </div>




<div x-ref="mobileMenuNavLinks" class="absolute top-full left-0 w-full flex-col bg-white hidden"
    :class="{ 'flex': open, 'hidden': !open }" :aria-hidden="open ? 'false' : 'true'" role="dialog"
    aria-modal="true">
   <div class="bg-white justify-between max-h-[80svh] w-[320px] overflow-y-auto">
            <div class="relative bg-white flex flex-col h-full justify-between gap-8">
                <div class="bg-white flex flex-col gap-6 min-h-[400px]">
                    <div class="flex">
                        <aside class="w-full bg-white h-full text-bleu-indigo px-4 relative overflow-hidden">
                            <!-- Radio buttons controlling pages -->
                            <input type="radio" name="menu" id="menu-main" class="hidden peer/menu-main" checked>
                            <input type="radio" name="menu" id="menu-vue" class="hidden peer/menu-vue">
                            <input type="radio" name="menu" id="menu-genre-vue" class="hidden peer/menu-genre-vue">
                            <input type="radio" name="menu" id="menu-marque-vue" class="hidden peer/menu-marque-vue">
                            <input type="radio" name="menu" id="menu-forme-vue" class="hidden peer/menu-forme-vue">
                            <input type="radio" name="menu" id="menu-accessoire-vue"
                                class="hidden peer/menu-accessoire-vue">
                            <input type="radio" name="menu" id="menu-offre-vue" class="hidden peer/menu-offre-vue">

                            <input type="radio" name="menu" id="menu-soleil" class="hidden peer/menu-soleil">
                            <input type="radio" name="menu" id="menu-genre-soleil"
                                class="hidden peer/menu-genre-soleil">
                            <input type="radio" name="menu" id="menu-marque-soleil"
                                class="hidden peer/menu-marque-soleil">
                            <input type="radio" name="menu" id="menu-forme-soleil"
                                class="hidden peer/menu-forme-soleil">
                            <input type="radio" name="menu" id="menu-accessoire-soleil"
                                class="hidden peer/menu-accessoire-soleil">
                            <input type="radio" name="menu" id="menu-offre-soleil"
                                class="hidden peer/menu-offre-soleil">

                            <input type="radio" name="menu" id="menu-lentilles" class="hidden peer/menu-lentilles">
                            <input type="radio" name="menu" id="menu-periodicites-lentilles"
                                class="hidden peer/menu-periodicites-lentilles">
                            <input type="radio" name="menu" id="menu-marque-lentilles"
                                class="hidden peer/menu-marque-lentilles">
                            <input type="radio" name="menu" id="menu-types-lentilles"
                                class="hidden peer/menu-types-lentilles">
                            <input type="radio" name="menu" id="menu-produits-lentilles"
                                class="hidden peer/menu-produits-lentilles">
                            <input type="radio" name="menu" id="menu-offre-lentilles"
                                class="hidden peer/menu-offre-lentilles">

                            <input type="radio" name="menu" id="menu-conseils" class="hidden peer/menu-conseils">
                            <input type="radio" name="menu" id="menu-audition-conseils"
                                class="hidden peer/menu-audition-conseils">
                            <input type="radio" name="menu" id="menu-marque-conseils"
                                class="hidden peer/menu-marque-conseils">
                            <input type="radio" name="menu" id="menu-style-conseils"
                                class="hidden peer/menu-style-conseils">
                            <input type="radio" name="menu" id="menu-thematiques-conseils"
                                class="hidden peer/menu-thematiques-conseils">

                            <input type="radio" name="menu" id="menu-services" class="hidden peer/menu-services">
                            <input type="radio" name="menu" id="menu-offres-services"
                                class="hidden peer/menu-offres-services">
                            <input type="radio" name="menu" id="menu-marque-services"
                                class="hidden peer/menu-marque-services">
                            <input type="radio" name="menu" id="menu-aide-services"
                                class="hidden peer/menu-aide-services">
                            <input type="radio" name="menu" id="menu-accessoire-services"
                                class="hidden peer/menu-accessoire-services">

                            <input type="radio" name="menu" id="menu-audition" class="hidden peer/menu-audition">
                            <input type="radio" name="menu" id="menu-gammes-audition"
                                class="hidden peer/menu-gammes-audition">
                            <input type="radio" name="menu" id="menu-offre-audition"
                                class="hidden peer/menu-offre-audition">
                            <input type="radio" name="menu" id="menu-services-audition"
                                class="hidden peer/menu-services-audition">
                            <input type="radio" name="menu" id="menu-produits-audition"
                                class="hidden peer/menu-produits-audition">
                            <input type="radio" name="menu" id="menu-conseils-audition"
                                class="hidden peer/menu-conseils-audition">

                            <input type="radio" name="menu" id="menu-profile" class="hidden peer/menu-profile">        
                        <!-- Main Menu -->
    <div class="menu-page peer-checked/menu-main:block hidden py-4  flex flex-col gap-6">
      <ul class="space-y-1">
        <li>
          <div class="flex items-center justify-between py-3">
            <div class="flex items-center space-x-2">
              <!-- vue icon -->
              <svg width="30" height="30" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M8.96875 4.92676H6.96875L3.96875 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M16.9688 4.92676H18.9688L21.9688 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M10.9688 16.9268H14.9688" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M21.9688 17.4268C21.9688 19.3598 20.4017 20.9268 18.4688 20.9268C16.5358 20.9268 14.9688 19.3598 14.9688 17.4268V14.9268H21.9688V17.4268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M10.9688 17.4268C10.9687 19.3598 9.40175 20.9268 7.46875 20.9268C5.53575 20.9268 3.96875 19.3598 3.96875 17.4268V14.9268H10.9688V17.4268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
              </svg>
              <a href="/lunettes-de-vue.html" class="text-left flex items-center w-full px-4 gap-x-2 cursor-pointer font-poppins leading-[25.20px] text-lg font-semibold text-bleu-indigo bg-container-lighter border-container">Lunettes
                de vue</a>
            </div>
            <label for="menu-vue" class="cursor-pointer ml-2 flex-shrink-0">
              <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-[#1F226B] hover:text-[#1F226B] transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">

                <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
              </svg>
            </label>
          </div>
        </li>
        <li>
          <div class="flex items-center justify-between py-3">
            <div class="flex items-center space-x-2">
              <!-- soleil icon -->
              <svg width="30" height="30" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M8.96875 4.92676H6.96875L3.96875 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M16.9688 4.92676H18.9688L21.9688 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M10.9688 16.9268H14.9688" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path fill-rule="evenodd" clip-rule="evenodd" d="M21.9688 17.4268C21.9688 19.3598 20.4017 20.9268 18.4688 20.9268C16.5358 20.9268 14.9688 19.3598 14.9688 17.4268V14.9268H21.9688V17.4268Z" fill="#1F226B"></path>
                <path d="M21.9688 17.4268C21.9688 19.3598 20.4017 20.9268 18.4688 20.9268C16.5358 20.9268 14.9688 19.3598 14.9688 17.4268V14.9268H21.9688V17.4268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path fill-rule="evenodd" clip-rule="evenodd" d="M10.9688 17.4268C10.9688 19.3598 9.40175 20.9268 7.46875 20.9268C5.53575 20.9268 3.96875 19.3598 3.96875 17.4268V14.9268H10.9688V17.4268Z" fill="#1F226B" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
                </path>
              </svg>
              <a href="/lunettes-de-soleil.html" class="text-left flex items-center w-full px-4 gap-x-2 cursor-pointer font-poppins leading-[25.20px] text-lg font-semibold text-bleu-indigo bg-container-lighter border-container">Lunettes
                de soleil</a>
            </div>
            <label for="menu-soleil" class="cursor-pointer ml-2 flex-shrink-0">
              <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-[#1F226B] hover:text-[#1F226B] transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
                <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
              </svg>
            </label>
          </div>
        </li>

        <!-- Lentilles -->
        <li>
          <div class="flex items-center justify-between py-3">
            <div class="flex items-center space-x-2">
              <!-- lentilles icon -->
              <svg width="30" height="30" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M12.9688 3.43848C14.1506 3.43848 15.321 3.67127 16.4129 4.12356C17.5048 4.57585 18.497 5.23879 19.3327 6.07452C20.1684 6.91024 20.8314 7.9024 21.2837 8.99433C21.736 10.0863 21.9688 11.2566 21.9688 12.4385C21.9688 13.6204 21.736 14.7907 21.2837 15.8826C20.8314 16.9746 20.1684 17.9667 19.3327 18.8024C18.497 19.6382 17.5048 20.3011 16.4129 20.7534C15.321 21.2057 14.1506 21.4385 12.9688 21.4385C10.5818 21.4385 8.29262 20.4903 6.60479 18.8024C4.91696 17.1146 3.96875 14.8254 3.96875 12.4385C3.96875 10.0515 4.91696 7.76234 6.60479 6.07452C8.29262 4.38669 10.5818 3.43848 12.9688 3.43848Z" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M6.96875 12.4385C6.96875 10.8472 7.60089 9.32105 8.72611 8.19584C9.85133 7.07062 11.3775 6.43848 12.9688 6.43848" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
              </svg>
              <a href="/lentilles.html" class="text-left flex items-center w-full px-4 gap-x-2 cursor-pointer font-poppins leading-[25.20px] text-lg font-semibold text-bleu-indigo bg-container-lighter border-container">Lentilles</a>
            </div>
            <label for="menu-lentilles" class="cursor-pointer ml-2 flex-shrink-0">
              <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-[#1F226B] hover:text-[#1F226B] transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
                <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
              </svg>
            </label>
          </div>
        </li>

        <!-- Audition -->
        <li>
          <div class="flex items-center justify-between py-3">
            <div class="flex items-center space-x-2">
              <!-- audition icon -->
              <svg width="30" height="30" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M6.96875 10.9268C6.96641 7.96838 8.82419 5.3279 11.6095 4.33082C14.3949 3.33373 17.5063 4.19536 19.382 6.48319C21.2577 8.77102 21.4926 11.991 19.9688 14.5268C19.4002 15.2849 18.7268 15.9583 17.9688 16.5268C17.0825 17.3616 16.3985 18.3877 15.9688 19.5268C15.3404 20.7142 14.2145 21.5587 12.8987 21.8296C11.583 22.1005 10.215 21.7694 9.16875 20.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M10.969 10.9268C10.9524 9.54393 11.8834 8.32893 13.2229 7.98511C14.5625 7.64129 15.9635 8.25773 16.615 9.47763C17.2665 10.6975 16.9997 12.2047 15.969 13.1268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
              </svg>
              <a href="/audition.html" class="text-left flex items-center w-full px-4 gap-x-2 cursor-pointer font-poppins leading-[25.20px] text-lg font-semibold text-bleu-indigo bg-container-lighter border-container">Audition</a>
            </div>
            <label for="menu-audition" class="cursor-pointer ml-2 flex-shrink-0">
              <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-[#1F226B] hover:text-[#1F226B] transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
                <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
              </svg>
            </label>
          </div>
        </li>

        <!-- Services -->
        <hr class="border-t border-container w-[286px] pl-4">

        <li>
          <div class="flex items-center justify-between py-3">
            <div class="flex items-center space-x-2">
              <!-- services icon -->
              <svg width="30" height="30" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M7.96877 10.9268H10.9688V7.92678L7.46877 4.42678C9.76322 3.33096 12.4992 3.80039 14.2972 5.59835C16.0952 7.39631 16.5646 10.1323 15.4688 12.4268L21.4688 18.4268C22.2972 19.2552 22.2972 20.5984 21.4688 21.4268C20.6403 22.2552 19.2972 22.2552 18.4688 21.4268L12.4688 15.4268C10.1743 16.5226 7.4383 16.0532 5.64034 14.2552C3.84238 12.4572 3.37296 9.72123 4.46877 7.42678L7.96877 10.9268" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
              </svg>
              <a href="/nos-services" class="text-left flex items-center w-full px-4 gap-x-2 cursor-pointer font-poppins leading-[25.20px] text-lg font-semibold text-bleu-base bg-container-lighter border-container">Services</a>
            </div>
            <label for="menu-services" class="cursor-pointer ml-2 text-bleu-base flex-shrink-0">
              <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-text-bleu-base  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
                <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
              </svg>
            </label>
          </div>
        </li>

        <!-- Conseils -->
        <hr class="border-t border-container w-[286px] pl-4">

        <li>
          <div class="flex items-center justify-between py-3">
            <div class="flex items-center space-x-2">
              <!-- conseils icon -->
              <svg width="30" height="30" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <circle cx="12.9688" cy="12.9268" r="9" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></circle>
                <path d="M12.9688 17.9266V17.9366" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                <path d="M12.9688 14.4271C12.9309 13.7602 13.3386 13.1487 13.9688 12.9271C14.9994 12.5329 15.6691 11.5311 15.6391 10.428C15.6091 9.32492 14.8861 8.36091 13.8356 8.02328C12.785 7.68565 11.6357 8.04797 10.9688 8.92708" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
              </svg>
              <a href="/conseils.html" class="text-left flex items-center w-full px-4 gap-x-2 cursor-pointer font-poppins leading-[25.20px] text-lg font-semibold text-bleu-base bg-container-lighter border-container">Conseils</a>
            </div>
            <label for="menu-conseils" class="cursor-pointer ml-2 flex-shrink-0">
              <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-base transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
                <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
              </svg>
            </label>
          </div>
        </li>


      </ul>
    </div>
                        <!-- Vue -->
    <div class="menu-page peer-checked/menu-vue:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-main" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <div class="flex items-center space-x-2">
          <svg width="25" height="25" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M8.96875 4.92676H6.96875L3.96875 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M16.9688 4.92676H18.9688L21.9688 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M10.9688 16.9268H14.9688" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M21.9688 17.4268C21.9688 19.3598 20.4017 20.9268 18.4688 20.9268C16.5358 20.9268 14.9688 19.3598 14.9688 17.4268V14.9268H21.9688V17.4268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M10.9688 17.4268C10.9687 19.3598 9.40175 20.9268 7.46875 20.9268C5.53575 20.9268 3.96875 19.3598 3.96875 17.4268V14.9268H10.9688V17.4268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
          </svg>
          <h2 class="text-lg font-semibold text-bleu-indigo">Lunettes de vue</h2>
        </div>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">
        <li>
          <label for="menu-marque-vue" class="flex items-center justify-between py-2  cursor-pointer">
            <span class="text-bleu-indigo">Marques</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-genre-vue" class="flex items-center justify-between py-2  cursor-pointer">
            <span class="text-bleu-indigo">Genres</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-forme-vue" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Formes</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-accessoire-vue" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Accessoires</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-offre-vue" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-red-500">Offre du moment</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-offre-vue" class="flex items-center justify-between py-2 font-bold  text-bleu-indigo cursor-pointer">
            <span>Tout voir</span>

          </label>
        </li>
        <li>
          <div class="level-2 relative h-[310px] rounded-lg overflow-hidden flex items-center justify-center">

            <!-- Image replaces background -->

            <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/Multitude%20-%20Menu%20d%C3%A9cli%202.png?vh=c32ed9" alt="Multitude" class="no-lazy-load absolute inset-0 w-full h-full">



            <!-- Content overlay -->

            <div class="relative z-10 rounded-lg overflow-hidden flex flex-col justify-between h-full w-full">

              <div class="flex-1"></div>

              <div class="self-stretch py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4">



                <div class="px-4 py-2 bg-white/20 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2">

                  <div class="text-white text-[14px] font-[400] leading-[19.6px] break-words"><a href="/multitude">D&eacute;couvrir</a></div>

                </div>

              </div>

            </div>

          </div>
        </li>
      </ul>
    </div>
 <!-- Vue Page -->
    <div class="menu-page peer-checked/menu-marque-vue:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-vue" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Marques</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4"> <li><a href="/lunettes-de-vue.html?brand=Multitude" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes Multitude</a></li>
        <li><a href="/lunettes-de-vue.html?brand=Ray-Ban" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Ray-Ban </a></li>
        <li><a href="/lunettes-de-vue.html?brand=Gucci" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Gucci</a></li>
       
        <li><a href="/lunettes-de-vue.html?brand=Polo%20Ralph%20Lauren" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes Polo Ralph Lauren</a></li>
        <li><a href="/lunettes-de-vue.html?brand=Red%20Bull%20Spect%20Eyewear" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Redbull Spect Eyewear </a></li>
        <li><a href="/lunettes-de-vue.html?brand=Latitude%2047" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Latitude</a></li>
        <li><a href="/lunettes-de-vue.html?brand=Ameya" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Ameya</a></li>
        <li><a href="/lunettes-de-vue.html?brand=Lexilens" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Lexilens</a></li>
        <li><a href="/lunettes-de-vue.html" class="block py-2  text-bleu-indigo   font-bold">Toutes les marques</a></li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-genre-vue:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-vue" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Genres</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lunettes-de-vue.html?gender=Femme" title="Femme" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Femme</a></li>
        <li><a href="/lunettes-de-vue.html?gender=Homme" title="Homme" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Homme</a></li>
        <li><a href="/lunettes-de-vue.html?gender=Unisexe" title="Mixte" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Mixte</a></li>
        <li><a href="/lunettes-de-vue.html?gender=Enfant" title="Enfant" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Enfant</a></li>
        <li><a href="/lunettes-de-vue.html" title="Tout voir" class="text-bleu-indigo flex items-center w-full font-bold py-2 cursor-pointer">Tout voir</a></li>
      </ul>
    </div>

    <div class="menu-page peer-checked/menu-forme-vue:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-vue" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Formes</h2>
        <span class="w-5"></span>
      </div>
      <ul class="">

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Angulaire" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Angulaire%20%281%29.png?h=25&amp;w=50" width="45" height="20" alt="Angulaire">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Angulaire</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Arrondie" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20arrondie.png?h=25&amp;w=50" width="45" height="20" alt="Arrondie">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Arrondie</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Aviateur" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/forme%20aviateur.png?h=25&amp;w=50" width="45" height="20" alt="Aviateur">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Aviateur</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Carr%C3%A9" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/forme%20carr%C3%A9%20%281%29.png?vh=721441" width="45" height="20" alt="Carr&eacute;">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Carr&eacute;</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Ovale" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/DIVERS/b2c_medias/Forme%20Ovale.png?h=20&amp;w=60" width="45" height="20" alt="Ovale">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Ovale</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Oversize" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20oversiz.jpg?h=20&amp;w=45" width="45" height="20" alt="Oversize">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Oversize</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Papillonnante" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Papillonnante%20.png?h=25&amp;w=50" width="45" height="20" alt="Papillonnante">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Papillonnante</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Rectangulaire" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/rectangulaire.png?vh=856ff0" width="45" height="20" alt="Rectangulaire">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Rectangulaire</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-vue.html?frame_shape=Ronde" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[25px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/Multitude%20-%20Menu%20d%C3%A9cli%202.png?vh=c32ed9" width="45" height="20" alt="Ronde">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Ronde</div>
          </a>
        </li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-accessoire-vue:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-vue" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo&gt;Accessoires&lt;/h2&gt;          &lt;span class=" w-5>
      </h2></div>
      <ul class="space-y-4">
        <li><a href="/lunettes-de-vue/accessoires.html" title="Cordons" class="text-bleu-indigo font-poppins font-normal leading-tight text-sm cursor-pointer">Cordons</a></li>
        <li><a href="/lunettes-de-vue/accessoires.html" title="Etui" class="text-bleu-indigo font-poppins font-normal leading-tight text-sm cursor-pointer">Etui</a></li>
        <li><a href="/lunettes-de-vue/accessoires.html" title="Chiffon" class="text-bleu-indigo font-poppins font-normal leading-tight text-sm cursor-pointer">Chiffon</a></li>
        <li><a href="/lunettes-de-vue.html/accessoires.html" title="Tout voir" class="text-bleu-indigo flex items-center w-full font-bold py-2 cursor-pointer">Tout les accessoires</a>
        </li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-offre-vue:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-vue" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg text-red-500 font-bold">Offres du moment</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">

<li><a href="/les-cadeaux-atol" class="text-bleu-indigo  font-poppins font-bold leading-tight py-2 text-sm cursor-pointer">Les cadeaux Atol</a></li>
       
      </ul>
    </div>
    <!-- Vue Page -->

                        <!-- soleil -->
    <div class="menu-page peer-checked/menu-soleil:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-main" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <div class="flex items-center space-x-2">
          <svg width="25" height="25" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M8.96875 4.92676H6.96875L3.96875 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M16.9688 4.92676H18.9688L21.9688 14.9268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M10.9688 16.9268H14.9688" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path fill-rule="evenodd" clip-rule="evenodd" d="M21.9688 17.4268C21.9688 19.3598 20.4017 20.9268 18.4688 20.9268C16.5358 20.9268 14.9688 19.3598 14.9688 17.4268V14.9268H21.9688V17.4268Z" fill="#1F226B"></path>
            <path d="M21.9688 17.4268C21.9688 19.3598 20.4017 20.9268 18.4688 20.9268C16.5358 20.9268 14.9688 19.3598 14.9688 17.4268V14.9268H21.9688V17.4268" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path fill-rule="evenodd" clip-rule="evenodd" d="M10.9688 17.4268C10.9688 19.3598 9.40175 20.9268 7.46875 20.9268C5.53575 20.9268 3.96875 19.3598 3.96875 17.4268V14.9268H10.9688V17.4268Z" fill="#1F226B" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
          </svg>
          <h2 class="text-lg font-semibold text-bleu-indigo">Lunettes de soleil</h2>
        </div>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">
        <li>
          <label for="menu-marque-soleil" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Marques</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-genre-soleil" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Genres</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-forme-soleil" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Formes</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-accessoire-soleil" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Accessoires</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-offre-soleil" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-red-500">Offre du moment</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-offre-soleil" class="flex items-center justify-between py-2 font-bold rounded cursor-pointer">
            <span class="text-bleu-indigo">Tout Voir</span>
          </label>
        </li>
        <li>
          <div class="level-2 relative h-[310px] rounded-lg overflow-hidden flex items-center justify-center">

            <!-- Image replaces background -->

            <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/280x357_menu%20%281%29.png?vh=0e8008" alt="Wishlist" class="no-lazy-load absolute inset-0 w-full h-full">



            <!-- Content overlay -->

            <div class="relative z-10 rounded-lg overflow-hidden flex flex-col justify-between h-full w-full">

              <div class="flex-1"></div>

              <div class="self-stretch py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4">



                <div class="px-4 py-2 bg-white/20 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2">

                  <div class="text-white text-[14px] font-[400] leading-[19.6px] break-words"><a href="/wishlist-de-noel">D&eacute;couvrir</a></div>

                </div>

              </div>

            </div>

          </div>
        </li>
      </ul>
    </div>
<!-- marque-soleil Page -->
    <div class="menu-page peer-checked/menu-marque-soleil:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-soleil" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold">Marques</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lunettes-de-soleil.html?brand=Ray-Ban" title="Ray-Ban" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Ray-Ban</a></li>
        <li><a href="/lunettes-de-soleil.html?brand=Gucci" title="Gucci" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Gucci</a></li>
        <li><a href="/lunettes-de-soleil.html?brand=Vogue%20Eyewear" title="Vogue Eyewear" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes Vogue
            Eyewear</a></li>
        <li><a href="/lunettes-de-soleil.html?brand=Oakley%20Meta" title="Oakley Meta" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes Oakley
            Meta</a></li>
        <li><a href="/lunettes-de-soleil.html?brand=Red%20Bull%20Spect%20Eyewear" title="Redbull Spect Eyewear" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm whitespace-nowrap cursor-pointer">Lunettes
            Redbull Spect Eyewear</a></li>
        <li><a href="/lunettes-de-soleil.html?brand=Ameya" title="Ameya" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Ameya</a></li>
        <li><a href="/lunettes-de-soleil.html?brand=Anyway" title="Anyway" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Anyway</a></li>
        <li><a href="/lunettes-de-soleil.html?brand=Flower" title="Flower" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            Flower</a></li>
        <li><a href="/lunettes-de-soleil.html" title="Toutes les marques" class="text-bleu-indigo flex items-center font-bold w-full py-2 cursor-pointer">Toutes les marques</a>
        </li>
      </ul>

    </div>
    <div class="menu-page peer-checked/menu-genre-soleil:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-soleil" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold">Genres</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lunettes-de-soleil.html?gender=Femme" title="Femme" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Femme</a></li>
        <li><a href="/lunettes-de-soleil.html?gender=Homme" title="Homme" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Homme</a></li>
        <li><a href="/lunettes-de-soleil.html?gender=Unisexe" title="Mixte" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Mixte</a></li>
        <li><a href="/lunettes-de-soleil.html?gender=Enfant" title="Enfant" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Enfant</a></li>
        <li><a href="/lunettes-de-soleil.html" title="Tout voir" class="text-bleu-indigo flex items-center w-full font-bold py-2 cursor-pointer">Tout voir</a></li>
      </ul>
    </div>

    <div class="menu-page peer-checked/menu-forme-soleil:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-soleil" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-normal text-bleu-indigo">Formes</h2>
        <span class="w-5"></span>
      </div>
      <ul>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Angulaire" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Angulaire%20%281%29.png?h=25&amp;w=50" width="45" height="20" alt="Angulaire">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Angulaire</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Arrondie" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20arrondie.png?h=25&amp;w=50" width="45" height="20" alt="Arrondie">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Arrondie</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Aviateur" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/forme%20aviateur.png?h=25&amp;w=50" width="45" height="20" alt="Aviateur">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Aviateur</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Carr%C3%A9" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/forme%20carr%C3%A9%20%281%29.png?vh=721441" width="45" height="20" alt="Carr&eacute;">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Carr&eacute;</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Ovale" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/DIVERS/b2c_medias/Forme%20Ovale.png?h=20&amp;w=60" width="45" height="20" alt="Ovale">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Ovale</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Oversize" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20oversiz.jpg?h=20&amp;w=45" width="45" height="20" alt="Oversize">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Oversize</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Papillonnante" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Papillonnante%20.png?h=25&amp;w=50" width="45" height="20" alt="Papillonnante">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Papillonnante</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Rectangulaire" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[20px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/rectangulaire.png?vh=856ff0" width="45" height="20" alt="Rectangulaire">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Rectangulaire</div>
          </a>
        </li>

        <li>
          <a href="/lunettes-de-soleil.html?frame_shape=Ronde" class="w-[212px] py-2 flex justify-start items-center gap-4">
            <div class="relative w-[45px] h-[25px] overflow-hidden">
              <img class="absolute grayscale transition-all duration-300 no-lazy-load ease-in-out hover:opacity-100 hover:grayscale-0" src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/forme%20ronde.png?h=25&amp;w50" width="45" height="20" alt="Ronde">
            </div>
            <div class="text-bleu-indigo body_small_regular break-words">Ronde</div>
          </a>
        </li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-accessoire-soleil:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-soleil" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-normal text-bleu-indigo">Accessoires</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lunettes-de-soleil/accessoires.html" title="Cordons" class="text-bleu-indigo font-poppins font-normal leading-tight text-sm cursor-pointer">Cordon</a></li>
        <li><a href="/lunettes-de-soleil/accessoires.html" title="Etui" class="text-bleu-indigo font-poppins font-normal leading-tight text-sm cursor-pointer">Etui</a></li>
        <li><a href="/lunettes-de-soleil/accessoires.html" title="Chiffon" class="text-bleu-indigo font-poppins font-normal leading-tight text-sm cursor-pointer">Chiffon</a></li>
        <li><a href="/lunettes-de-soleil/accessoires.html" title="Tout voir" class="text-bleu-indigo flex items-center w-full font-bold py-2 cursor-pointer pl-2">Tous les
            accessoires</a></li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-offre-soleil:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-soleil" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-red-base text-[16px] font-[400] leading-[22.4px]cursor-pointer">Offre du moment</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/les-cadeaux-atol" class="text-bleu-indigo  font-poppins font-bold leading-tight py-2 text-sm cursor-pointer">Les cadeaux Atol</a></li>
       
      </ul>
    </div>
                        <!-- lentilles -->
    <div class="menu-page peer-checked/menu-lentilles:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-main" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <div class="flex items-center space-x-2">
          <svg width="25" height="25" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M12.9688 3.43848C14.1506 3.43848 15.321 3.67127 16.4129 4.12356C17.5048 4.57585 18.497 5.23879 19.3327 6.07452C20.1684 6.91024 20.8314 7.9024 21.2837 8.99433C21.736 10.0863 21.9688 11.2566 21.9688 12.4385C21.9688 13.6204 21.736 14.7907 21.2837 15.8826C20.8314 16.9746 20.1684 17.9667 19.3327 18.8024C18.497 19.6382 17.5048 20.3011 16.4129 20.7534C15.321 21.2057 14.1506 21.4385 12.9688 21.4385C10.5818 21.4385 8.29262 20.4903 6.60479 18.8024C4.91696 17.1146 3.96875 14.8254 3.96875 12.4385C3.96875 10.0515 4.91696 7.76234 6.60479 6.07452C8.29262 4.38669 10.5818 3.43848 12.9688 3.43848Z" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M6.96875 12.4385C6.96875 10.8472 7.60089 9.32105 8.72611 8.19584C9.85133 7.07062 11.3775 6.43848 12.9688 6.43848" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
          </svg>
          <h2 class="text-lg font-semibold text-bleu-indigo">Lentilles</h2>
        </div>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">
        <li>
          <label for="menu-marque-lentilles" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Marques</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-periodicites-lentilles" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">P&eacute;riodicit&eacute;s</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-types-lentilles" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Types de lentilles</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-produits-lentilles" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo whitespace-nowrap">Produits compl&eacute;mentaires</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-offre-lentilles" class="flex items-center justify-between  py-2 cursor-pointer">
            <span class="text-red-500">Offre du moment</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <a href="/lentilles.html" class="flex items-center justify-between font-bold  py-2 cursor-pointer">
            <span>Tout voir</span>
          </a>
          
        </li>
        <li>
          <div class="level-2 relative h-[310px] rounded-lg overflow-hidden flex items-center justify-center">
            <!-- Image replaces background -->
            <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/280x357_menu_entretenir_lentilles.png?vh=04548d" alt="Entretenir ses lentilles" class="no-lazy-load absolute inset-0 w-full h-full">
            <!-- Content overlay -->
            <div class="relative z-10 rounded-lg overflow-hidden flex flex-col justify-between h-full w-full">
              <div class="flex-1"></div>
              <div class="self-stretch py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4">
                <div class="w-[232px]">
                  <span class="text-white text-[24px] font-[300] leading-[28.8px] break-words">Entretenir</span><br>
                  <span class="text-white text-[24px] font-[300] leading-[28.8px] break-words">ses lentilles</span>
                </div>
                <div class="px-4 py-2 bg-white/20 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2">
                  <a href="/conseils/entretenir-ses-lentilles" class="text-white text-[14px] font-[400] leading-[19.6px] break-words">D&eacute;couvrir</a>
                </div>
              </div>
            </div>
          </div>

        </li>
      </ul>
    </div>
    <!-- lentilles -->
       <!-- lentilles Page -->
    <div class="menu-page peer-checked/menu-marque-lentilles:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-lentilles" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Marques</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lentilles.html?brand=Acuvue" title="Acuvue" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            Acuvue</a></li>
        <li><a href="/lentilles.html?brand=Air%20Optix" title="Air optix" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles Air
            optix</a></li>
        <li><a href="/lentilles.html?brand=Biofinity" title="Biofinity" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            Biofinity</a></li>
        <li><a href="/lentilles.html?brand=Dailies" title="Dailies" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            Dailies</a></li>
        <li><a href="/lentilles.html?brand=Miru" title="Miru" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            Miru</a></li>
        <li><a href="/lentilles.html?brand=Myday" title="Myday" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            Myday</a></li>
        <li><a href="/lentilles.html?brand=Freshlook" title="Freshlook" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            Freshlook</a></li>
        <li><a href="/lentilles.html" title="Tout voir" class="text-bleu-indigo flex items-center font-bold w-full py-2 cursor-pointer">Tout voir</a></li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-periodicites-lentilles:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-lentilles" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">P&eacute;riodicit&eacute;s</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lentilles.html?lens_periodicity=Journali%C3%A8re" title="journali&egrave;res" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            journali&egrave;res</a></li>
        <li><a href="/lentilles.html?lens_periodicity=Bi-mensuelle" title="bi-mensuelles" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            bi-mensuelles </a></li>
        <li><a href="/lentilles.html?lens_periodicity=Mensuelle" title="mensuelles " class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lentilles
            mensuelles </a></li>
        <li><a href="/lentilles.html" title="Tout voir" class="text-bleu-indigo flex items-center font-bold w-full  py-2 cursor-pointer">Tout voir</a></li>
      </ul>
    </div>

    <div class="menu-page peer-checked/menu-types-lentilles:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-lentilles" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Types de lentilles</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lentilles.html?lens_correction_type=Sph%C3%A9rique" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Sph&eacute;rique</a>
        </li><li><a href="/lentilles.html?lens_correction_type=Sph%C3%A9rique%20progressive" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Sph&eacute;rique progressive</a>
        </li>
        <li><a href="/lentilles.html?lens_correction_type=Torique" title="Torique" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Torique</a>
        </li>
        <li><a href="/lentilles.html?lens_correction_type=Torique%20progressive" title="Torique" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Torique
            progressive</a></li>
        <li><a href="/" title="Tout voir" class="text-bleu-indigo flex items-center font-bold w-full   py-2 cursor-pointer">Tout voir</a></li>

      </ul>
    </div>
    <div class="menu-page peer-checked/menu-produits-lentilles:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-lentilles" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Produits compl&eacute;mentaires</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lentilles/produits-d-entretien.html" title="Produits d'entretien" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Produits
            d'entretien</a></li>
        <li><a href="/lentilles/produits-d-entretien.html" title="Gouttes" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Gouttes</a>
        </li>
        <li><a href="/lentilles/produits-d-entretien.html" title="Packs" class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Packs</a></li>
        <li><a href="/lentilles/produits-d-entretien.html" title="Toues les produits compl&eacute;mentaires" class="text-bleu-indigo whitespace-nowrap flex items-center font-bold w-full  py-2 cursor-pointer">Tous
            les produits compl&eacute;mentaires</a></li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-offre-lentilles:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-lentilles" class="cursor-pointer text-[#1F226B]  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg text-red-500 font-bold text-bleu-indigo">Offre du moment</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">

        <li><a href="/les-cadeaux-atol" class="block py-2 font-bold text-bleu-indigo">Les cadeaux Atol</a></li>
      </ul>
    </div>
    <!-- lentilles Page -->
                          <!-- audition -->
    <div class="menu-page peer-checked/menu-services-audition:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-audition" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor"
            stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Services</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="https://magasins.atol.fr/?f%5Bservices%5D=49" title="Prendre RDV avec un audioprothésiste"
            class="text-bleu-indigo  font-poppins font-semibold leading-tight py-2 text-sm cursor-pointer">Prendre RDV
            <br> <span>avec un audioprothésiste</span></a></li>
        <li><a href="/testauditif.atol.fr" title="Faire un pré-depistage en ligne"
            class="text-bleu-indigo  font-poppins font-semibold leading-tight py-2 text-sm cursor-pointer">Faire un
            pré-depistage en ligne</a></li>
        <li><a href="https://magasins.atol.fr/?f%5Bservices%5D=49" title="Trouver un centre Atol Audition"
            class="text-bleu-indigo  font-poppins font-semibold leading-tight py-2 text-sm cursor-pointer">Trouver un
            centre Atol Audition</a></li>
        <li><a href="/audition"
            class="px-4 py-2 bg-bleu-cyanBleu hover:bg-bleu-skyBleu rounded-full flex justify-center items-center gap-2">
            <div class="text-bleu-base body_small_regular break-words whitespace-nowrap">Découvrir Atol Audition</div>
            <svg width="20" height="20" viewbox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg" class="ml-2">
              <path d="M22.6667 9.98441L9.33333 23.3177" stroke="#1F226B" stroke-width="2" stroke-linecap="round"
                stroke-linejoin="round" />
              <path d="M10.6667 9.98441H22.6667V21.9844" stroke="#1F226B" stroke-width="2" stroke-linecap="round"
                stroke-linejoin="round" />
            </svg>
          </a></li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-gammes-audition:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-audition" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor"
            stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
          </svg>
        </label>
        <h2 class="text-lg font-semibold">Gammes</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/gamme-solo" title="Gamme Solo"
            class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Gamme Solo</a>
        </li>
        <li><a href="/gamme-concerto" title="Gamme concerto"
            class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Gamme
            Concerto</a></li>
        <li><a href="/gamme-symphonie" title="Gamme Symphonie"
            class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Gamme
            Symphonie</a></li>
        <li><a href="/gamme-opera" title="Gamme Opéra"
            class="text-bleu-indigo  font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Gamme Opéra</a>
        </li>
        <li><a href="#" title="Toutes les gammes"
            class="text-bleu-indigo flex items-center font-bold w-full  py-2 cursor-pointer">Toutes les gammes</a></li>
      </ul>
    </div>

    <div class="menu-page peer-checked/menu-produits-audition:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-audition" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor"
            stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
          </svg>
        </label>
        <h2 class="text-lg font-semibold whitespace-nowrap">Produites complémentaires</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/lunettes-de-vue/accessoires.html?brand=Audio" title="Piles"
            class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Piles</a></li>
        <li><a href="/lunettes-de-vue/accessoires.html?brand=Audio" title="Accessoires"
            class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Accessoires</a>
        </li>
        <li><a href="/lunettes-de-vue/accessoires.html?brand=Audio" title="Tous les produits complémentaires"
            class="text-bleu-indigo font-poppins font-bold leading-tight py-2 text-sm cursor-pointer">Tous les produits
            complémentaires</a></li>

      </ul>
    </div>
    <div class="menu-page peer-checked/menu-conseils-audition:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-audition" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor"
            stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
          </svg>
        </label>
        <h2 class="text-lg font-semibold">Conseils</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/conseils/entretien-appareil-auditif" title="Entretenier son appareil"
            class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Entretenier son
            appareil</a></li>
        <li><a href="/conseils/comprendre-troubles-auditifs" title="Comprendre ses troubles"
            class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Comprendre ses
            troubles</a></li>
        <li><a href="/conseils/100-pour-cent-sante-audition" title="Comprendre ses troubles"
            class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">100% santé</a>
        </li>
        <li><a href="/conseils/votre-audition" title="Toutes nos conseils"
            class="text-bleu-indigo flex items-center font-bold w-full py-2 cursor-pointer">Toutes nos conseils</a></li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-offre-audition:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-audition" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor"
            stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
          </svg>
        </label>
        <h2 class="text-lg text-red-500 font-semibold">Offres</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/30-jours-essai-appareils-auditifs" title="30 jours d'essai gratuit"
            class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">30 jours d'essai
            gratuit</a></li>
        <li><a href="/votre-appareil-auditif-a-partir-de-0" title="Tout nos conseils"
            class="text-bleu-indigo whitespace-nowrap flex items-center font-normal w-full py-2  cursor-pointer">Votre
            appareil auditif à partir de 0€</a></li>
        <li><a href="/nos-offres-audition" title="Tout les offres"
            class="text-bleu-indigo flex items-center font-bold w-full py-2  cursor-pointer">Toutes les offres</a></li>
      </ul>
    </div>
    <!-- audition -->
 <!-- audition Page -->
    <div class="menu-page peer-checked/menu-audition:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-main" class="cursor-pointer text-[#1F226B] hover:text-[#1F226B]">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor"
            stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
          </svg>
        </label>
        <div class="flex items-center space-x-2">
          <svg width="25" height="25" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path
              d="M6.96875 10.9268C6.96641 7.96838 8.82419 5.3279 11.6095 4.33082C14.3949 3.33373 17.5063 4.19536 19.382 6.48319C21.2577 8.77102 21.4926 11.991 19.9688 14.5268C19.4002 15.2849 18.7268 15.9583 17.9688 16.5268C17.0825 17.3616 16.3985 18.3877 15.9688 19.5268C15.3404 20.7142 14.2145 21.5587 12.8987 21.8296C11.583 22.1005 10.215 21.7694 9.16875 20.9268"
              stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path
              d="M10.969 10.9268C10.9524 9.54393 11.8834 8.32893 13.2229 7.98511C14.5625 7.64129 15.9635 8.25773 16.615 9.47763C17.2665 10.6975 16.9997 12.2047 15.969 13.1268"
              stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
          </svg>
          <h2 class="text-lg font-semibold text-bleu-indigo">Audition</h2>
        </div>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">
        <li>
          <label for="menu-services-audition" class="flex items-center justify-between py-2 cursor-pointer">
            <span>Services</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none"
              viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" />
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-gammes-audition" class="flex items-center justify-between py-2 cursor-pointer">
            <span>Gammes</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none"
              viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" />
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-produits-audition" class="flex items-center justify-between py-2 cursor-pointer">
            <span>Produits complémentaires</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none"
              viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" />
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-conseils-audition" class="flex items-center justify-between py-2 cursor-pointer">
            <span>Conseils</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none"
              viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" />
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-offre-audition" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-red-500">Offres</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none"
              viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7" />
            </svg>
          </label>
        </li>
        <li>
          <div class="level-2 relative h-[310px] rounded-lg overflow-hidden flex items-center justify-center">
            <!-- Background image -->
            <img
              src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/B2C_default/Test+New+B2C/HP/hp+audition/CTA+DEPISTAGE.jpg?vh=8e1392"
              alt="Réalisez un pré-dépistage en ligne gratuitement"
              class="no-lazy-load absolute inset-0 w-full h-full object-cover object-center" />

            <!-- Overlay content -->
            <div class="relative z-10 rounded-lg overflow-hidden flex flex-col justify-between h-full w-full">
              <div class="flex-1"></div>
              <div
                class="self-stretch py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4">
                <div class="w-[232px]">
                  <span class="text-white text-[24px] font-[300] leading-[28.8px] break-words">Réalisez un </span><br>
                  <span class="text-white text-[20px] font-[400] leading-[24px] break-words">pré-dépistage</span><br>
                  <span class="text-white text-[24px] font-[300] leading-[28.8px] break-words">en ligne
                    gratuitement</span>
                </div>
                <div
                  class="px-4 py-2 bg-white/20 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2">
                  <div class="text-white text-[14px] font-[400] leading-[19.6px] break-words">lancer le test</div>
                </div>
              </div>
            </div>
          </div>
        </li>
      </ul>
    </div>
    <!-- audition Page -->                        <!-- services -->
    <div class="menu-page peer-checked/menu-services:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-main" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <div class="flex items-center space-x-2">
          <svg width="25" height="25" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M7.96877 10.9268H10.9688V7.92678L7.46877 4.42678C9.76322 3.33096 12.4992 3.80039 14.2972 5.59835C16.0952 7.39631 16.5646 10.1323 15.4688 12.4268L21.4688 18.4268C22.2972 19.2552 22.2972 20.5984 21.4688 21.4268C20.6403 22.2552 19.2972 22.2552 18.4688 21.4268L12.4688 15.4268C10.1743 16.5226 7.4383 16.0532 5.64034 14.2552C3.84238 12.4572 3.37296 9.72123 4.46877 7.42678L7.96877 10.9268" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
          </svg>
          <h2 class="text-lg font-semibold text-bleu-base">Services</h2>
        </div>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">
        <li>
          <label for="menu-marque-services" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Services</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-offres-services" class="flex items-center justify-between py-2 cursor-pointer">
            <span>Offres</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-aide-services" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Aide et support</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>

          <div class="level-2 relative h-[310px] rounded-lg overflow-hidden flex items-center justify-center">
            <!-- Background image -->
            <img src="https://medias.Atol.fr/Site%20Web/Menu/280x357_menu_examen_vue.png?vh=678b35" alt="R&eacute;alisez un pr&eacute;-d&eacute;pistage en ligne gratuitement" class="no-lazy-load absolute inset-0 w-full h-full object-cover object-center">

            <!-- Overlay content -->
            <div class="relative z-10 rounded-lg overflow-hidden flex flex-col justify-between h-full w-full">
              <div class="flex-1"></div>
              <div class="self-stretch py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4">
                <div class="w-[232px]">
                  <span class="text-white text-[24px] font-[300] leading-[28.8px] break-words">Examen</span><br>
                  <span class="text-white text-[24px] font-[300] leading-[28.8px] break-words">de la vue</span>
                </div>
                <div class="px-4 py-2 bg-white/20 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2">
                  <a class="text-white text-[14px] font-[400] leading-[19.6px] break-words">En savoir plus</a>
                </div>
              </div>
            </div>
          </div>

        </li>
      </ul>
    </div>
    <!-- services -->
    <!-- services Page -->
    <div class="menu-page peer-checked/menu-marque-services:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-services" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Services</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <h2 class="text-bleu-indigo font-bold">Services en magasin</h2>
        <li><a href="/satisfait-ou-satisfait" title="Satisfait ou Satisfait Atol Kids" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Satisfait ou
            Satisfait</a></li>
        <li><a href="/atol-kids" title="Atol kids" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Atol Kids</a>
        </li>
        <li><a href="/atol-garantie-plus" title="Garantie Atol" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Garantie Atol +
          </a></li>
        <li><a href="/essai-lunettes-basse-vision" title=" Essai de lunettes basse vision" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Essai de
            lunettes basse vision</a></li>
  <li><a href="/totale-atol" title=" La totale Atol" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">La totale Atol</a></li>
        <h2 class="text-bleu-indigo font-bold">Services en ligne </h2>

        <li><a href="https://magasins.atol.fr" title="Prise de rendez-vous" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Prise de
            rendez-vous</a></li>
        <li><a href="/customer/account/carnet/" title="Diagnostic" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Diagnostic</a>
        </li>
        <li><a href="https://testauditif.atol.fr/" title="Pr&eacute;-d&eacute;pistage audition" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Pr&eacute;-d&eacute;pistage
            audition</a></li>
      </ul>
    </div>
    <div class="menu-page peer-checked/menu-offres-services:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-services" class="cursor-pointer text-bleu-indigo  hover:text-[#1F226B]">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-normal text-bleu-indigo">Offres</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <h2 class="text-bleu-indigo font-bold">Offres en magasin</h2>
        <li><a href="/les-cadeaux-atol" title="Les cadeaux Atol" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Les cadeaux
            Atol</a></li>
        <li><a href="/examen-de-la-vue" title="Examen vue Offre Duo" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Examen vue</a>
        </li>
        <li><a href="/offre-duo" title="Offre Duo" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Offre Duo</a>
        </li>
        <li><a href="/offre-de-reprise" title="Offre de reprise" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Offre de
            reprise</a></li>
        <li><a href="/30-jours-essai-appareils-auditifs" title="Essaie auditif offert" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Essai auditif
            offert</a></li>
        <h2 class="text-bleu-indigo font-bold">Offres en ligne</h2>

      </ul>
    </div>

    <div class="menu-page peer-checked/menu-aide-services:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-services" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-normal text-bleu-indigo">Aide et support</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <li><a href="/service-client" title="Nous contacter" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Nous
            contacter</a></li>
        <li><a href="/faq" title="FAQ" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">FAQ</a></li>
        <li><a href="/livraison-et-retours" title="Livraison et retours" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Livraison et
            retours</a></li>
        <li><a href="/nos-moyens-de-paiements" title="Paiement" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">mode de
            paiement</a></li>
      </ul>
    </div>
    <!-- services Page -->
                        <!-- conseils -->
    <div class="menu-page peer-checked/menu-conseils:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-main" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <div class="flex items-center space-x-2">
          <svg width="25" height="25" viewbox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
            <circle cx="12.9688" cy="12.9268" r="9" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></circle>
            <path d="M12.9688 17.9266V17.9366" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
            <path d="M12.9688 14.4271C12.9309 13.7602 13.3386 13.1487 13.9688 12.9271C14.9994 12.5329 15.6691 11.5311 15.6391 10.428C15.6091 9.32492 14.8861 8.36091 13.8356 8.02328C12.785 7.68565 11.6357 8.04797 10.9688 8.92708" stroke="#3E4DD2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
          </svg>
          <h2 class="text-lg font-semibold text-bleu-base">Conseils</h2>
        </div>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-1">
        <li>
          <label for="menu-marque-conseils" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Ma sant&eacute; visuelle</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-audition-conseils" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Mon audition</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-style-conseils" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">Mon style</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-thematiques-conseils" class="flex items-center justify-between py-2 cursor-pointer">
            <span class="text-bleu-indigo">#Th&eacute;matiques</span>
            <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-bleu-indigo  transition" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
              <path stroke-linecap="round" stroke-linejoin="round" d="M9 5l7 7-7 7"></path>
            </svg>
          </label>
        </li>
        <li>
          <label for="menu-thematiques-conseils" class="flex items-center justify-between py-2 font-bold cursor-pointer">
            <span class="text-bleu-indigo">Tout voir</span>
          </label>
        </li>
        <li>
          <div class="level-2 relative h-[310px] rounded-lg overflow-hidden flex items-center justify-center">
            <!-- Background image -->
            <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/280x357_menu_conseils_conduite.png?vh=c70415" alt="Conduite de nuit" class="no-lazy-load absolute inset-0 w-full h-full object-cover object-center">

            <!-- Overlay content -->
            <div class="relative z-10 rounded-lg overflow-hidden flex flex-col justify-between h-full w-full">
              <div class="flex-1"></div>
              <div class="self-stretch py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4">
               <span class="text-white text-[24px] font-[300] leading-[28.8px] break-words"><strong>Conduite de nuit</strong></span><br>
                
                <div class="px-4 py-2 bg-white/20 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2">
                  <div class="text-white text-[14px] font-[400] leading-[19.6px] break-words"><a href="https://www.atol.fr/conseils/thematique/myopie">D&eacute;couvrir</a></div>
                </div>
              </div>
            </div>
          </div>
        </li>
      </ul>
    </div>
    <!-- conseils -->
  
    <!-- conseils Page -->
    <div class="menu-page peer-checked/menu-marque-conseils:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-conseils" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Ma sant&eacute; visuelle</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">
        <h2 class="pl-2 text-bleu-indigo font-bold">Troubles visuels</h2>
        <li><a href="/conseils/thematique/myopie" title="Myopie" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Myopie</a></li>
        <li><a href="/conseils/thematique/Hypermetropie" title="Hyperm&eacute;triopie" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Hyperm&eacute;triopie</a>
        </li>
        <li><a href="/conseils/thematique/Astigmatisme" title="Astigmatisme" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Astigmatisme</a>
        </li>
        <li><a href="/conseils/ma-sante-visuelle/troubles-pathologies-viseulles" title="Tous les troubles visuels" class="pl-2 text-bleu-indigo font-poppins font-bold leading-tight py-2 text-sm cursor-pointer">Tous les
            troubles visuels</a></li>

        <h2 class="pl-2 text-bleu-indigo font-bold"><a href="/conseils/ma-sante-visuelle/basse-vision">Base vision</a>
        </h2>

        <li><a href="/conseils/thematique/dlma" title="DLMA" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">DLMA</a></li>
        <li><a href="/conseils/thematique/glaucome" title="Glaucome" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Glaucome</a>
        </li>
        <li><a href="/conseils/thematique/cataracte" title="Cataracte" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Cataracte</a>
        </li>
        <li><a href="/conseils/ma-sante-visuelle/basse-vision" title="Tout sur la basse vision" class="pl-2 text-bleu-indigo font-poppins font-bold leading-tight py-2 text-sm cursor-pointer">Tout sur la
            basse vision</a></li>

        <h2 class="pl-2 text-bleu-indigo font-bold"> <a href="/conseils/ma-sante-visuelle/dyslexie">Dyslexie</a></h2>

        <li><a href="/conseils/dyslexie-trouble-dys" title="Qu'est-ce que la dyslexie ?" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Qu'est-ce que la
            dyslexie ?</a></li>
        <li><a href="/conseils/dysorthographie-dyslexie" title="Dysorthographie &amp; Dyslexie ?" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Dysorthographie
            &amp; Dyslexie ?</a></li>
        <li><a href="/lexilens" title="Lunettes lexilens" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes
            lexilens</a></li>
        <li><a href="/conseils/ma-sante-visuelle/dyslexie" title="Tout savoir" class="pl-2 text-bleu-indigo font-poppins font-bold leading-tight py-2 text-sm cursor-pointer">Tout
            savoir</a></li>


        <h2 class="pl-2 text-bleu-indigo font-bold"> <a href="/conseils/ma-sante-visuelle/remboursements-mutuelles">Remboursement et mutuelle</a></h2>

        <li><a href="/conseils/remboursement-secu-mutuelle-opticien" title="Remboursement lunettes" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Remboursement
            lunettes</a></li>
        <li><a href="/conseils/remboursement-lentilles" title="Remboursement lentilles" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Remboursement
            lentilles</a></li>
        <li><a href="/conseils/mutuelle-contrat-responsable" title="Organismes compl&eacute;mentaires" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Organismes
            compl&eacute;mentaires</a></li>
        <li><a href="/conseils/ma-sante-visuelle/remboursements-mutuelles" title="Tout savoir" class="pl-2 text-bleu-indigo font-poppins font-bold leading-tight py-2 text-sm cursor-pointer">Tout
            savoir</a></li>


      </ul>
    </div>
    <div class="menu-page peer-checked/menu-audition-conseils:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-conseils" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Mon audition</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">

        <li><a href="/conseils/style/conseils-en-image" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Conseil en
            image</a></li>
        <li><a href="/conseils/style/lunettes-et-mode" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes &amp;
            mode</a></li>
        <li><a href="/conseils/style" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Accessoire
            auditif Chic</a></li>
        <li>
          <a href="/conseils/style/conseils-en-image" title="Tout voir" class="text-bleu-indigo flex items-center w-full font-bold py-2 cursor-pointer">
            Tout sur le style
          </a>
        </li>

      </ul>
    </div>

    <div class="menu-page peer-checked/menu-style-conseils:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-conseils" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">Mon style</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">

        <li><a href="/conseils/style/conseils-en-image" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Conseil en
            image</a></li>
        <li><a href="/conseils/style/lunettes-et-mode" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lunettes &amp;
            mode</a></li>
        <li><a href="/conseils/style" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Accessoire
            auditif Chic</a></li>
        <li>
          <a href="/conseils/style/conseils-en-image" title="Tout voir" class="text-bleu-indigo flex items-center w-full font-bold py-2 cursor-pointer">
            Tout sur le style
          </a>
        </li>

      </ul>
    </div>
    <div class="menu-page peer-checked/menu-thematiques-conseils:block hidden">
      <div class="flex items-center justify-between py-4">
        <label for="menu-conseils" class="cursor-pointer text-bleu-indigo  hover:text-bleu-indigo">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" fill="none" viewbox="0 0 24 24" stroke="currentColor" stroke-width="2">
            <path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path>
          </svg>
        </label>
        <h2 class="text-lg font-semibold text-bleu-indigo">#Th&eacute;matiques</h2>
        <span class="w-5"></span>
      </div>
      <ul class="space-y-4">

        <li><a href="/conseils/thematique/enfants" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Equipements
            enfants</a></li>
        <li><a href="/conseils/thematique/sports" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Equipements
            enfants</a></li>
        <li><a href="/conseils/thematique/fatigue-oculaire" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Fatigue
            oculaire</a></li>
        <li><a href="/conseils/thematique/lumiere-bleue" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Lumi&egrave;re
            bleue</a></li>
        <li><a href="/conseils/ma-sante-visuelle/remboursements-mutuelles" class="text-bleu-indigo font-poppins font-normal leading-tight py-2 text-sm cursor-pointer">Remboursement et
            mutuelle</a></li>

      </ul>
    </div>


    <!-- conseils Page -->
                        </aside>
                    </div>
                </div>


            </div>
            <div class="mt-[50px] pb-[30px] pt-2 px-4 bg-white">
                <!-- User Connected -->
                <template x-if='isLoggedIn'>
                    <div class="space-y-4">
                        <div class="p-4 bg-bleu-grisclair rounded-lg flex justify-between items-center">
                            <p class="text-bleu-indigo font-poppins">
                                <span class="text-sm">Votre espace Atol</span><br>
                                <a href="https://www.atol.fr/customer/account/"
                                class="text-lg font-semibold"
                                x-text="userName"></a>
                            </p>
                            <a href="https://www.atol.fr/customer/account/">
                                <svg width="16" height="16" viewbox="0 0 16 16" fill="none">
                                    <path d="M6 4L10 8L6 12" stroke="#1F226B" stroke-width="1.3"
                                        stroke-linecap="round" stroke-linejoin="round"/>
                                </svg>
                            </a>
                        </div>
                        <a href="https://www.atol.fr/customer/account/logout/"
                         class="flex items-center gap-2">
                            <svg width="16" height="17" viewbox="0 0 16 17" fill="none">
                                <path d="M9.333 6.233V4.9A.9.9 0 0 0 8 3.566H3.333A.9.9 0 0 0 2 4.9v8a.9.9 0 0 0 .333.9H8a.9.9 0 0 0 1.333-.9v-1.333"
                                    stroke="#888E9B" stroke-linecap="round" stroke-linejoin="round"/>
                                <path d="M4.667 8.4a.5.5 0 0 0 0 1h9.333l-1.667 1.667.707.707L15.06 9l-1.02-1.02-.707.707L14 8.9H4.667Z"
                                    fill="#888E9B"/>
                            </svg>

                            <span class="text-sm text-[#878e9a] font-poppins underline">Se déconnecter</span>
                        </a>
                    </div>
                </template>
                <template x-if="!isLoggedIn">
                    <!-- User Not Connected (guest user) -->
                    <div>
                        <div class="w-full p-4 bg-bleu-grayBleu rounded-lg justify-between items-center inline-flex">
                            <div class="flex justify-start items-center gap-16">
                                <div class="flex-col justify-center items-start inline-flex">
                                    <div class="text-bleu-indigo text-sm font-poppins font-normal leading-5">Votre espace Atol
                                    </div>
                                    <a href="https://www.atol.fr/customer/account/login/"
                                        class="text-bleu-indigo text-lg font-poppins font-semibold leading-7">Se connecter</a>
                                </div>
                            </div>
                            <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M6 4L10 8L6 12" stroke="#1F226B" stroke-width="1.33333" stroke-linecap="round"
                                    stroke-linejoin="round" />
                            </svg>
                        </div>
                        <div class="w-full py-[16px]">
                            <span
                                class="text-bleu-indigo text-[14px] font-poppins font-normal leading-[19.6px] break-words">Vous
                                n'avez pas encore un compte ? </span>
                            <a href="https://www.atol.fr/customer/account/create/"
                                class="text-bleu-indigo text-[14px] font-poppins font-normal underline leading-[19.6px] break-words">Inscrivez-vous
                                ici</a>
                            <span
                                class="text-bleu-indigo text-[14px] font-poppins font-normal leading-[19.6px] break-words">.</span>
                        </div>
                    </div>
                </template>
            </div>
        </div>
    </div>
</nav>

<script>
    'use strict';

    const initMenuMobile_694068fea3f6c = () => {
        return {
            open: false,
            isLoggedIn: false,
            userName: '',
            setActiveMenu(menuNode) {
                Array.from(menuNode.querySelectorAll('a')).filter(link => {
                    return link.href === window.location.href.split('?')[0];
                }).map(item => {
                    // item.classList.add('underline');
                });
            },

            openMenu() {
                this.open = true;
            },
            closeMenu() {
                this.open = false;
                const menuMain = document.getElementById('menu-main');
                menuMain.checked = true;
            },
            fetchCustomerInfo() {
                fetch(`/customer/account/getcustomerinfo`, {
                        method: 'GET',
                    })
                    .then(res => res.json())
                    .then(data => {
                        this.isLoggedIn = data.isLoggedIn;
                        this.userName = data.firstname + ' ' + data.lastname;
                    })
                    .catch(err => console.error('Error fetching data:', err));
                },
        }
    }
</script>
<div x-data="initMenuDesktop_694068feaa853()"
    class="z-20 order-2 sm:order-1 lg:order-2 navigation hidden lg:flex">
    <div x-ref="nav-desktop">
        <nav class="relative" aria-label="Main&#x20;menu">
            <ul class="flex flex-wrap items-center">
                                    <li @mouseenter="hoverPanelActiveId = 291"
                        @mouseleave="hoverPanelActiveId = null"
                        class="relative group flex items-center cursor-pointer border-b-2 border-transparent">
                        <span class="flex items-center text-md">
                            <a class="justify-between w-full text-base font-bold font-poppins level-0 py-6 lg:px-[0.25rem] xl:px-4                            text-bleu-indigo" href="/lunettes-de-vue.html" title="Lunettes de vue">
                                Lunettes de vue                            </a>
                        </span>
                        <div
                            class="absolute inset-x-0 bottom-0 h-[2px] bg-transparent group-hover:bg-bleu-label transition-all duration-100 ease-in-out">
                        </div>
                    </li>

                                                        <li @mouseenter="hoverPanelActiveId = 292"
                        @mouseleave="hoverPanelActiveId = null"
                        class="relative group flex items-center cursor-pointer border-b-2 border-transparent">
                        <span class="flex items-center text-md">
                            <a class="justify-between w-full text-base font-bold font-poppins level-0 py-6 lg:px-[0.25rem] xl:px-4                            text-bleu-indigo" href="/lunettes-de-soleil.html" title="Lunettes de soleil">
                                Lunettes de soleil                            </a>
                        </span>
                        <div
                            class="absolute inset-x-0 bottom-0 h-[2px] bg-transparent group-hover:bg-bleu-label transition-all duration-100 ease-in-out">
                        </div>
                    </li>

                                                        <li @mouseenter="hoverPanelActiveId = 293"
                        @mouseleave="hoverPanelActiveId = null"
                        class="relative group flex items-center cursor-pointer border-b-2 border-transparent">
                        <span class="flex items-center text-md">
                            <a class="justify-between w-full text-base font-bold font-poppins level-0 py-6 lg:px-[0.25rem] xl:px-4                            text-bleu-indigo" href="/lentilles.html" title="Lentilles">
                                Lentilles                            </a>
                        </span>
                        <div
                            class="absolute inset-x-0 bottom-0 h-[2px] bg-transparent group-hover:bg-bleu-label transition-all duration-100 ease-in-out">
                        </div>
                    </li>

                                                        <li @mouseenter="hoverPanelActiveId = 294"
                        @mouseleave="hoverPanelActiveId = null"
                        class="relative group flex items-center cursor-pointer border-b-2 border-transparent">
                        <span class="flex items-center text-md">
                            <a class="justify-between w-full text-base font-bold font-poppins level-0 py-6 lg:px-[0.25rem] xl:px-4                            text-bleu-indigo" href="/audition" title="Audition">
                                Audition                            </a>
                        </span>
                        <div
                            class="absolute inset-x-0 bottom-0 h-[2px] bg-transparent group-hover:bg-bleu-label transition-all duration-100 ease-in-out">
                        </div>
                    </li>

                                                              <li class="hidden lg:flex items-center   xl:px-4">
                                              <div class="w-[1px] h-[28px] bg-gray-300 opacity-100"></div>
                                          </li>
                                                                          <li @mouseenter="hoverPanelActiveId = 295"
                        @mouseleave="hoverPanelActiveId = null"
                        class="relative group flex items-center cursor-pointer border-b-2 border-transparent">
                        <span class="flex items-center text-md">
                            <a class="justify-between w-full text-base font-bold font-poppins level-0 py-6 lg:px-[0.25rem] xl:px-4                            text-bleu-base" href="/nos-services" title="Services">
                                Services                            </a>
                        </span>
                        <div
                            class="absolute inset-x-0 bottom-0 h-[2px] bg-transparent group-hover:bg-bleu-label transition-all duration-100 ease-in-out">
                        </div>
                    </li>

                                                        <li @mouseenter="hoverPanelActiveId = 296"
                        @mouseleave="hoverPanelActiveId = null"
                        class="relative group flex items-center cursor-pointer border-b-2 border-transparent">
                        <span class="flex items-center text-md">
                            <a class="justify-between w-full text-base font-bold font-poppins level-0 py-6 lg:px-[0.25rem] xl:px-4                            text-bleu-base" href="/conseils" title="Conseils">
                                Conseils                            </a>
                        </span>
                        <div
                            class="absolute inset-x-0 bottom-0 h-[2px] bg-transparent group-hover:bg-bleu-label transition-all duration-100 ease-in-out">
                        </div>
                    </li>

                                                </ul>
        </nav>
        <!-- Mega Menu Content: Display based on hover -->
                    <div x-show="hoverPanelActiveId === 291"
                x-transition:enter="transition ease-out duration-100 transform"
                x-transition:leave="transition ease-in duration-100 transform"
                @mouseenter="hoverPanelActiveId = 291"
                @mouseleave="hoverPanelActiveId = null" class="absolute left-0 top-full w-screen bg-white lg:h-[470px]"
                x-cloak>

                <div class="bg-white"> 

    <div class="container z-50 pb-[24px] pt-[12px] relative"> 

        <div class="flex container px-0 mx-auto justify-between bg-white font-poppins"> 

            <!-- Column 1 --> 

            <div class="w-[15%] flex flex-col gap-6"> 

                <div class="flex flex-col"> 

                    <div class="py-2"> 

                        <div class="text-bleu-base text-[16px] font-[600] leading-[22.4px]">Marques</div> 

                    </div> 

                    <div class="py-2 flex flex-col gap-4"> <a href="/lunettes-de-vue.html?brand=Multitude" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Multitude</a> 

                        <a href="/lunettes-de-vue.html?brand=Ray-Ban" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Ray-Ban</a> 

                        <a href="/lunettes-de-vue.html?brand=Gucci" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Gucci</a> 

                        <a href="/lunettes-de-vue.html?brand=Polo%20Ralph%20Lauren" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Polo Ralph Lauren</a> 

                        <a href="/lunettes-de-vue.html?brand=Red%20Bull%20Spect%20Eyewear" class="text-bleu-indigo   text-[14px] font-[400] leading-[19.6px]">Lunettes Redbull Spect 

                            Eyewear</a> 

                        <a href="/lunettes-de-vue.html?brand=Latitude%2047" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Latitude</a> 

                        <a href="/lunettes-de-vue.html?brand=Ameya" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Ameya</a> 

                        <a href="/lunettes-de-vue.html?brand=Lexilens" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Lexilens</a> 

                        <a href="/lunettes-de-vue.html" class="text-bleu-indigo text-[14px] font-[600] leading-[19.6px]">Toutes les marques</a> 

                    </div> 

                </div> 

            </div> 

  

            <!-- Column 2 --> 

            <div class="font-poppins font-bold"> 

                <div class="w-full h-full flex flex-col justify-start items-start gap-6"> 

                    <div class="flex flex-col justify-center items-start"> 

                        <div class="self-stretch py-2 flex justify-start items-center"> 

                            <div class="text-bleu-base body_body_bold font-poppins break-words">Genres</div> 

                        </div> 

                        <div class="self-stretch py-2 flex flex-col gap-4"> 

                            <a href="/lunettes-de-vue.html?gender=Femme" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes 

                                Femme</a> 

                            <a href="/lunettes-de-vue.html?gender=Homme" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes 

                                Homme</a> 

                            <a href="/lunettes-de-vue.html?gender=Unisexe" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes 

                                Mixte</a> 

                            <a href="/lunettes-de-vue.html?gender=Enfant" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes 

                                Enfant</a> 

                        </div> 

                    </div> 

  

                    <a href="/lunettes-de-vue.html" class="px-4 py-2 bg-bleu-cyanBleu hover:bg-bleu-skyBleu rounded-full flex justify-center items-center gap-2  cursor-pointer"> 

                        <div class="text-bleu-base body_small_regular break-words">Toutes les lunettes de vue</div> 

                        <svg width="20" height="20" viewbox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg" class="ml-2"> 

                            <path d="M22.6667 9.98441L9.33333 23.3177" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> 

                            <path d="M10.6667 9.98441H22.6667V21.9844" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> 

                        </svg> 

                    </a> 

                </div> 

  

            </div> 

  


            <div class="w-[15%]"> 

                <div class="w-full flex flex-col justify-center items-start"> 

                    <div class="self-stretch py-2 flex justify-start items-center"> 

                        <div class="flex justify-start items-center gap-2"> 

                            <div class="text-bleu-base body_body_bold font-poppins break-words">Formes</div> 

                        </div> 

                    </div> 

                     


                    <a href="/lunettes-de-vue.html?frame_shape=Angulaire" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Angulaire%20%281%29.png?h=20&amp;w=50" alt="Angulaire" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Angulaire</span> 

                    </a> 

  

                    <!-- Arrondie --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Arrondie" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20arrondie.png?h=25&amp;w=50" alt="Arrondie" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Arrondie</span> 

                    </a> 

  

                    <!-- Aviateur --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Aviateur" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/forme%20aviateur.png?h=20&amp;w=50" alt="Aviateur" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Aviateur</span> 

                    </a> 

  

                    <!-- Carr&eacute; --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Carr%C3%A9" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/forme%20carr%C3%A9%20%281%29.png?vh=721441" alt="Carr&eacute;" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Carr&eacute;</span> 

                    </a> 

  

                    <!-- Ovale --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Ovale" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://fqusgztob.filerobot.com/DIVERS/b2c_medias/Forme%20Ovale.png?h=20&amp;w=60" alt="Ovale" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Ovale</span> 

                    </a> 

  

                    <!-- Oversize --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Oversize" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20oversiz.jpg?h=20&amp;w=45" alt="Oversize" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Oversize</span> 

                    </a> 

  

                    <!-- Papillonnante --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Papillonnante" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Papillonnante%20.png?h=20&amp;w=50" alt="Papillonnante" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Papillonnante</span> 

                    </a> 

  

                    <!-- Rectangulaire --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Rectangulaire" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/rectangulaire.png?vh=856ff0" alt="Rectangulaire" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Rectangulaire</span> 

                    </a> 

  

                    <!-- Ronde --> 

                    <a href="/lunettes-de-vue.html?frame_shape=Ronde" class="flex items-center gap-4 p-2 w-52 group"> 

                        <div class="w-11    overflow-hidden"> 

                            <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/forme%20ronde.png?h=20&amp;w50" alt="Ronde" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="30"> 

                        </div> 

                        <span class="text-bleu-indigo text-sm break-words">Ronde</span> 

                    </a> 

                </div> 

            </div> 

  

            <!-- Column 4 --> 

            <div class="w-[15%]"> 

                <div class="w-full flex flex-col gap-6"> 

                    <!-- Accessoires Section --> 

                    <div> 

                        <div class="py-2"> 
                            <div class="text-bleu-base body_body_bold font-poppins break-words">Accessoires</div> 
                        </div> 
                        <div class="py-2">
                            <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-vue/accessoires.html">Cordon</a></div>
                        </div>


                        <div class="py-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-vue/accessoires.html">Etui</a></div> 
                        </div> 

                        <div class="py-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-vue/accessoires.html">Chiffon</a></div> 
                        </div> 

           
                        <div class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">
                            <a href="/lunettes-de-vue/accessoires.html">Tous les accessoires</a>
                        </div> 

                    </div> 

                    <!-- Promotions Section --> 

                    <div> 

                        <div class="py-2"> 

                            <div class="text-red-base body_body_bold font-poppins break-words">OffreS du moment</div> 

                        </div> 

                        <div class="py-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words"><strong><a href="/les-cadeaux-atol">Les cadeaux Atol</a></strong></div> </div>   <div class="py-2">


                        </div> 

                    </div> 

  

                </div> 

  

  

            </div> 

            <!-- Column 5 (Promo Banner) --> 

            <div class="w-1/5"> 

                <div class="relative h-[440px] rounded-lg overflow-hidden flex items-center justify-center"> 

                    <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/Multitude%20-%20Menu%20d%C3%A9cli%202.png?vh=c32ed9" alt="Multitude" class="no-lazy-load absolute inset-0 w-full h-full"> 

  

                    <!-- Gradient overlay and content --> 

                    <div class="relative w-full h-full rounded-lg py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4"> 

                         

                        <button class="px-4 py-2 cursor-pointer bg-white/20 hover:bg-white/40 rounded-full backdrop-blur-[10px] flex items-center gap-2"> 

                            <a href="/multitude" class="text-white text-[14px] font-[400] leading-[19.6px] break-words">D&eacute;couvrir</a> 

                        </button> 

                    </div> 

                </div> 

            </div> 

        </div> 

    </div> 

</div> 
            </div>
                    <div x-show="hoverPanelActiveId === 292"
                x-transition:enter="transition ease-out duration-100 transform"
                x-transition:leave="transition ease-in duration-100 transform"
                @mouseenter="hoverPanelActiveId = 292"
                @mouseleave="hoverPanelActiveId = null" class="absolute left-0 top-full w-screen bg-white lg:h-[470px]"
                x-cloak>

                <div class="bg-white">
  <div class="container z-50 relative pb-[24px] pt-[12px]">
    <div class="flex container px-0 mx-auto justify-between bg-white font-poppins">
      <!-- Column 1 -->
      <div class="w-[15%] flex flex-col gap-6">
        <div class="flex flex-col">
          <div class="py-2">
            <div class="text-bleu-base text-[16px] font-[600] leading-[22.4px]">Marques</div>
          </div>
          <div class="py-2 flex flex-col gap-4">
            <a href="/lunettes-de-soleil.html?brand=Ray-Ban" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Ray-Ban</a>
            <a href="/lunettes-de-soleil.html?brand=Gucci" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Gucci</a>
            <a href="/lunettes-de-soleil.html?brand=Anyway" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Anyway</a>
            <a href="/lunettes-de-soleil.html?brand=Oakley%20Meta" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Oakley Meta</a>
            <a href="/lunettes-de-soleil.html?brand=Red%20Bull%20Spect%20Eyewear" class="text-bleu-indigo   text-[14px] font-[400] leading-[19.6px]">Lunettes Redbull Spect
              Eyewear</a>
            <a href="/lunettes-de-soleil.html?brand=Flower" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Flower</a>
            <a href="/lunettes-de-soleil.html?brand=Ameya" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Ameya</a>
            <a href="/lunettes-de-soleil.html?brand=Vogue%20Eyewear" class="text-bleu-indigo text-[14px] font-[400] leading-[19.6px]">Lunettes Vogue Eyewear</a>
            <a href="/lunettes-de-soleil.html" class="text-bleu-indigo text-[14px] font-[600] leading-[19.6px]">Toutes les marques</a>
          </div>
        </div>
      </div>
      <!-- Column 2 -->
      <div class="font-poppins font-bold">
        <div class="w-full h-full flex flex-col justify-start items-start gap-6">
          <div class="flex flex-col justify-center items-start">
            <div class="self-stretch py-2 flex justify-start items-center">
              <div class="text-bleu-base body_body_bold font-poppins break-words">Genres</div>
            </div>
            <div class="self-stretch py-2 flex flex-col gap-4">
              <a href="/lunettes-de-soleil.html?gender=Femme" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes
                Femme</a>
              <a href="/lunettes-de-soleil.html?gender=Homme" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes
                Homme</a>
              <a href="/lunettes-de-soleil.html?gender=Unisexe" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes
                Mixte</a>
              <a href="/lunettes-de-soleil.html?gender=Enfant" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Lunettes
                Enfant</a>
            </div>
          </div>
          <a href="/lunettes-de-soleil.html" class="px-4 py-2 bg-bleu-cyanBleu hover:bg-bleu-skyBleu rounded-full flex justify-center items-center gap-2">
            <div class="text-bleu-base body_small_regular break-words">Toutes les lunettes de soleil</div>
            <svg width="20" height="20" viewbox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg" class="ml-2">
              <path d="M22.6667 9.98441L9.33333 23.3177" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
              <path d="M10.6667 9.98441H22.6667V21.9844" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
            </svg>
          </a>
        </div>
      </div>
      <!-- Column 3 -->
      <div class="w-[15%]">
        <div class="w-full flex flex-col justify-center items-start">
          <div class="self-stretch py-2 flex justify-start items-center">
            <div class="flex justify-start items-center gap-2">
              <div class="text-bleu-base body_body_bold font-poppins break-words">Formes</div>
            </div>
          </div>
          <!-- Angulaire -->
          <a href="/lunettes-de-soleil.html?frame_shape=Angulaire" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Angulaire%20%281%29.png?h=20&amp;w=50" alt="Angulaire" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Angulaire</span>
          </a>
          <!-- Arrondie -->
          <a href="/lunettes-de-soleil.html?frame_shape=Arrondie" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20arrondie.png?h=25&amp;w=50" alt="Arrondie" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Arrondie</span>
          </a>
          <!-- Aviateur -->
          <a href="/lunettes-de-soleil.html?frame_shape=Aviateur" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/forme%20aviateur.png?h=20&amp;w=50" alt="Aviateur" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Aviateur</span>
          </a>
          <!-- Carr&eacute; -->
          <a href="/lunettes-de-soleil.html?frame_shape=Carr%C3%A9" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/forme%20carr%C3%A9%20%281%29.png?vh=721441" alt="Carr&eacute;" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Carr&eacute;</span>
          </a>
          <!-- Ovale -->
          <a href="/lunettes-de-soleil.html?frame_shape=Ovale" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://fqusgztob.filerobot.com/DIVERS/b2c_medias/Forme%20Ovale.png?h=20&amp;w=60" alt="Ovale" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Ovale</span>
          </a>
          <!-- Oversize -->
          <a href="/lunettes-de-soleil.html?frame_shape=Oversize" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/Forme%20oversiz.jpg?h=20&amp;w=45" alt="Oversize" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Oversize</span>
          </a>
          <!-- Papillonnante -->
          <a href="/lunettes-de-soleil.html?frame_shape=Papillonnante" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/Papillonnante%20.png?h=20&amp;w=50" alt="Papillonnante" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Papillonnante</span>
          </a>
          <!-- Rectangulaire -->
          <a href="/lunettes-de-soleil.html?frame_shape=Rectangulaire" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://fqusgztob.filerobot.com/Site%20Web/Menu/Pictogrames/rectangulaire.png?vh=856ff0" alt="Rectangulaire" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="20">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Rectangulaire</span>
          </a>
          <!-- Ronde -->
          <a href="/lunettes-de-soleil.html?frame_shape=Ronde" class="flex items-center gap-4 p-2 w-52 group">
            <div class="w-11    overflow-hidden">
              <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/forme%20ronde.png?h=20&amp;w50" alt="Ronde" class="grayscale transition duration-300 ease-in-out group-hover:grayscale-0 no-lazy-load" width="45" height="30">
            </div>
            <span class="text-bleu-indigo text-sm break-words">Ronde</span>
          </a>
        </div>
      </div>
      <!-- Column 4 -->
      <div class="w-[15%]">
        <div class="w-full flex flex-col gap-6">
          <!-- Accessoires Section -->

          <div>

            <div class="py-2">

              <div class="text-bleu-base body_body_bold font-poppins break-words">Accessoires</div>

            </div>

            <div class="py-2">

              <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-soleil/accessoires.html">Cordon</a></div>

            </div>

            <div class="py-2">

              <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-soleil/accessoires.html">Etui</a></div>

            </div>

            <div class="py-2">
              <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-soleil/accessoires.html">Chiffon</a></div>

            </div>

            <div class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words"><a href="/lunettes-de-soleil/accessoires.html">Tous les accessoires</a></div>

          </div>

          <!-- Promotions Section -->

          <div>

            <div class="py-2">
              <div class="text-red-base body_body_bold font-poppins break-words">Offres du moment</div>

            </div>

            <div class="py-2">
              <div class="text-bleu-indigo body_small_regular break-words"><strong><a href="/les-cadeaux-atol">Les cadeaux Atol</a></strong></div>
            </div>
          

          </div></div>

        </div> <!-- Column 5 (Promo Banner) -->
        <div class="w-1/5">
          <div class="relative h-[440px] rounded-lg overflow-hidden flex items-center justify-center">
            <!-- Background image as actual img tag -->
            <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/280x357_menu%20%281%29.png?vh=0e8008" alt="Wishlist" class="no-lazy-load absolute inset-0 w-full h-full">
            <!-- Overlay with gradient and text -->
            <div class="relative w-full h-full rounded-lg py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4">
              <button class="px-4 py-2 cursor-pointer bg-white/20 hover:bg-white/40 rounded-full backdrop-blur-[10px] flex items-center gap-2">
                <a href="/wishlist-de-noel" class="text-white text-[14px] font-[400] leading-[19.6px] break-words">D&eacute;couvrir</a>
              </button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>


            </div>
                    <div x-show="hoverPanelActiveId === 293"
                x-transition:enter="transition ease-out duration-100 transform"
                x-transition:leave="transition ease-in duration-100 transform"
                @mouseenter="hoverPanelActiveId = 293"
                @mouseleave="hoverPanelActiveId = null" class="absolute left-0 top-full w-screen bg-white lg:h-[470px]"
                x-cloak>

                <div class="bg-white"> 
    <div class="container pb-[24px] pt-[12px] z-50 relative"> 
        <div class="flex justify-between container px-0 mx-auto bg-white font-poppins"> 
            <!-- Column 1 --> 
            <div class="w-1/5"> 
                <div class="w-full h-full flex flex-col items-start justify-start gap-6"> 
                    <div class="flex flex-col items-start justify-center"> 
                        <div class="self-stretch py-2 flex items-center">                             <div class="flex items-center gap-2"> 
                                <div class="text-bleu-base body_body_bold break-words">Marques</div> 
                            </div> 
                        </div> 
                        <a href="/lentilles.html?brand=Acuvue" class="self-stretch py-2 flex items-center cursor-pointer"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words">Lentilles Acuvue</div> 
                            </div> 
                        </a> 
                        <a href="/lentilles.html?brand=Air%20Optix" class="self-stretch py-2 flex items-center cursor-pointer"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words">Lentilles Air optix</div> 
                            </div> 
                        </a> 
                        <a href="/lentilles.html?brand=Biofinity" class="self-stretch py-2 flex items-center cursor-pointer"> 
                            <div class="flex items-center gap-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words">Lentilles Biofinity</div> 
                            </div> 
                        </a> 
                        <a href="/lentilles.html?brand=Dailies" class="self-stretch py-2 flex items-center cursor-pointer"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words">Lentilles Dailies</div> 
                            </div> 
                        </a> 
                        <a href="/lentilles.html?brand=Miru" class="self-stretch py-2 flex items-center cursor-pointer"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words">Lentilles Miru</div> 
                            </div> 
                        </a> 
                        <a href="/lentilles.html?brand=Myday" class="self-stretch py-2 flex items-center cursor-pointer"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words">Lentilles Myday</div> 
                            </div> 
                        </a> 
                        <a href="/lentilles.html?brand=Freshlook" class="self-stretch py-2 flex items-center cursor-pointer"> 
                          <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words">Lentilles Freshlook</div> 
                            </div> 
                        </a> 
                        <a href="/lentilles.html" class="self-stretch py-2 flex items-center cursor-pointer"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] break-words"> 
                                    Toutes les marques</div> 
                            </div> 
                        </a> 
                    </div> 
                </div> 
         </div> 
              <!-- Column 2 --> 
           <div class="w-1/5  font-poppins font-bold"> 
                <div class="w-full  flex flex-col items-start justify-start gap-6"> 
                    <div class="flex flex-col items-start justify-center"> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-base body_body_bold break-words">P&eacute;riodicit&eacute;s</div> 
                            </div> 
                        </div> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                            <div class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] break-words"> 
                                    <a href="/lentilles.html?lens_periodicity=Journali%C3%A8re">Lentilles journali&egrave;res</a></div> 
                           </div> 
                        </div> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] break-words">
                                   <a href="/lentilles.html?lens_periodicity=Bi-mensuelle">Lentilles bi-mensuelles</a></div> 
                            </div> 
                        </div> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] break-words"> 
                                    <a href="/lentilles.html?lens_periodicity=Mensuelle">Lunettes mensuelles</a></div> 
                            </div> 
                        </div> 
                    </div> 
                    <a href="/lentilles.html" class="px-4 py-2 bg-bleu-cyanBleu hover:bg-bleu-skyBleu rounded-full flex items-center gap-2"> 
                        <div class="text-bleu-base body_small_regular break-words">Toutes nos lentilles</div> 
                        <svg width="20" height="20" viewbox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg" class="ml-2"> 
                            <path d="M22.6667 9.98441L9.33333 23.3177" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> 
                            <path d="M10.6667 9.98441H22.6667V21.9844" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> 
                        </svg> 
                    </a> 
                </div> 
              </div> 
              <!-- Column 3 --> 
            <div class="w-1/5"> 
                <div class="w-full  flex flex-col items-start justify-center"> 
                    <div class="self-stretch py-2 flex items-center"> 
                        <div class="flex items-center gap-2"> 
                            <div class="text-bleu-base body_body_bold break-words">Types de lentilles</div> 
                        </div> 
                    </div> 
                    <div class="w-[212px] py-2 flex items-center"> 
                        <a href="lentilles.html?lens_correction_type=Sph%C3%A9rique" class="flex items-center gap-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words">Sph&eacute;rique</div> 
                        </a> 
                    </div> 
                    <div class="w-[212px] py-2 flex items-center"> 
                        <a href="lentilles.html?lens_correction_type=Sph%C3%A9rique%20progressive" class="flex items-center gap-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words">Sph&eacute;rique progressive</div> 
                        </a> 
                    </div> 
                    <div class="w-[212px] py-2 flex items-center"> 
                      <a href="lentilles.html?lens_correction_type=Torique" class="flex items-center gap-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words">Torique</div> 
                        </a> 
                    </div> 
                    <div class="w-[212px] py-2 flex items-center"> 
                        <a href="lentilles.html?lens_correction_type=Torique%20progressive" class="flex items-center gap-2"> 
                            <div class="text-bleu-indigo body_small_regular break-words">Torique progressive</div> 
                        </a> 
                    </div> 
                </div> 
            </div> 
             <!-- Column 4 --> 
            <div class="w-1/5"> 
                <div class="w-full flex flex-col items-start gap-8"> 
                    <div class="flex flex-col items-start justify-center"> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-base body_body_bold break-words">Produits compl&eacute;mentaires</div> 
                            </div> 
                        </div> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words"><a href="/lentilles/produits-d-entretien.html">Produit d'entretien</a></div> 
                            </div> 
                        </div> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words"><a href="/lentilles/produits-d-entretien.html">Gouttes</a></div> 
                            </div> 
                        </div> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words"><a href="/lentilles/produits-d-entretien.html">Pack</a></div> 
                            </div> 
                        </div> 
                        <a href="/lentilles/produits-d-entretien.html" class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center">
                                <div class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] break-words"> 
                                    <a href="/lentilles/produits-d-entretien.html">Tous les produits compl&eacute;mentaires</a></div> 
                            </div> 
                        </a> 
                    </div> 
                    <div class="flex flex-col items-start justify-center"> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-red-base body_body_bold break-words">Offre du moment</div> 
                            </div> 
                        </div> 
                        <div class="self-stretch py-2 flex items-center"> 
                            <div class="flex items-center gap-2"> 
                                <div class="text-bleu-indigo body_small_regular break-words"><strong><a href="/les-cadeaux-atol">Les cadeaux atol</a></strong></div> <br>
                            </div> 
                                                    </div> 
                     
                     </div> 
                </div> 
            </div> 
             <!-- Column 5 (Promo Banner) --> 
           <div class="w-1/5"> 
                <div class="relative h-[440px] rounded-lg overflow-hidden flex items-center justify-center"> 
                    <!-- Background image as <img> --> 
                    <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/280x357_menu_entretenir_lentilles.png?vh=04548d4" alt="Entretenir ses lentilles" class="no-lazy-load absolute inset-0 w-full h-full"> <figcaption class="absolute bottom-16 left-4 text-white font-[300] font-poppins text-lg leading-snug drop-shadow-md max-w-[13rem]"> 

                     <br> Entretenir ses

                                                <span class="font-bold">lentilles</span> 

                </figcaption> 
                    <!-- Overlay content --> 
                    <div class="relative w-full h-full rounded-lg py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4"> 
                        <button class="px-4 py-2 cursor-pointer bg-white/20 hover:bg-white/40 rounded-full backdrop-blur-[10px] flex items-center gap-2"> 
                            <a href="/conseils/entretenir-ses-lentilles" class="text-white text-[14px] font-[400] leading-[19.6px] break-words">D&eacute;couvrir</a> 
                        </button> 
                    </div> 
                </div> 
            </div> 
      </div> 
    </div> 

</div> 
            </div>
                    <div x-show="hoverPanelActiveId === 294"
                x-transition:enter="transition ease-out duration-100 transform"
                x-transition:leave="transition ease-in duration-100 transform"
                @mouseenter="hoverPanelActiveId = 294"
                @mouseleave="hoverPanelActiveId = null" class="absolute left-0 top-full w-screen bg-white lg:h-[470px]"
                x-cloak>

                <div class="bg-white"> 

                                    <div class="container pb-[24px] pt-[12px] z-50 relative"> 

                                        <div class="flex justify-between container px-0 mx-auto"> 

                                            <!-- Column 1 --> 

                                            <div class="w-1/5  font-poppins font-bold"> 

                                                <div class="w-full h-full flex flex-col items-start justify-start gap-6"> 

                                                    <div class="flex flex-col items-start justify-center"> 

                                                        <div class="self-stretch py-2 flex items-center"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-base body_body_bold break-words">Services</div> 

                                                            </div> 

                                                        </div> 

                                                        <a href="https://magasins.atol.fr/?f%5Bservices%5D=49" class="flex flex-col py-2 !font-semibold text-bleu-indigo body_small_regular"> 

                                                            <span>Prendre RDV</span> 

                                                            <span>avec un audioproth&eacute;siste</span> 

                                                        </a> 

  

                                                        <a href="https://testauditif.atol.fr/" class="self-stretch py-2  flex items-center"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo !font-semibold body_small_regular break-words">Faire un pr&eacute;-d&eacute;pistage en 

                                                                    ligne</div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="https://magasins.atol.fr/?f%5Bservices%5D=49" class="self-stretch py-2 flex  items-center"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo !font-semibold body_small_regular break-words">Trouver un centre Atol 

                                                                    Audition</div> 

                                                            </div> 

                                                        </a> 

                                                    </div> 

                                                    <a href="/audition" class="px-4 py-2 bg-bleu-cyanBleu hover:bg-bleu-skyBleu rounded-full flex justify-center items-center gap-2"> 

                                                        <div class="text-bleu-base body_small_regular break-words whitespace-nowrap">D&eacute;couvrir Atol Audition</div> 

                                                        <svg width="20" height="20" viewbox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg" class="ml-2"> 

                                                            <path d="M22.6667 9.98441L9.33333 23.3177" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> 

                                                            <path d="M10.6667 9.98441H22.6667V21.9844" stroke="#3E4DD2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> 

                                                        </svg> 

                                                    </a> 

  

  

                                                </div> 

  

  

                                            </div> 

  

                                            <!-- Column 2 --> 

                                            <div class="w-1/5"> 

                                                <div class="w-full  flex flex-col items-start justify-start gap-6"> 

                                                    <div class="flex flex-col items-start justify-center"> 

                                                        <div class="self-stretch py-2 flex items-center"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-base body_body_bold break-words">Gammes</div> 

                                                            </div> 

                                                        </div> 

                                                        <a href="/gamme-solo" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">Gamme Solo</div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="/gamme-concerto" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">Gamme Concerto</div> 

                                                            </div> 

                                                            </a> 

                                                        <a href="/gamme-symphonie" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">Gamme Symphonie</div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="/gamme-opera" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">Gamme Op&eacute;ra</div> 

                                                            </div> 

                                                        </a> 

                                                        <div class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_bold break-words"><a href="/nos-gammes-audition">Toutes les gammes</a></div> 

                                                            </div> 

                                                        </div> 

                                                    </div> 

                                                </div> 

  

                                            </div> 

  

                                            <!-- Column 3 --> 

                                            <div class="w-1/5"> 

                                                <div class="w-full  flex flex-col items-start justify-center"> 

                                                    <div class="self-stretch py-2 flex items-center"> 

                                                        <div class="flex items-center gap-2"> 

                                                            <div class="text-bleu-base body_body_bold break-words"><a href="/lunettes-de-vue/accessoires.html?brand=Audio">Produits compl&eacute;mentaires</a></div> 

                                                        </div> 

                                                    </div> 

                                                    <div class="w-[212px] py-2 flex items-center"> 

                                                        <div class="flex items-center gap-2"> 

                                                            <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-vue/accessoires.html?brand=Audio">Pile</a></div> 

                                                        </div> 

                                                    </div> 

                                                    <div class="w-[212px] py-2 flex items-center"> 

                                                        <div class="flex items-center gap-2"> 

                                                            <div class="text-bleu-indigo body_small_regular break-words"><a href="/lunettes-de-vue/accessoires.html?brand=Audio">Accessoire</a></div> 

                                                        </div> 

                                                    </div> 

                                                    <div class="self-stretch py-2 flex items-center"> 

                                                        <div class="flex items-center gap-2"> 

                                                            <div class="text-bleu-indigo body_small_bold break-words"><a href="/lunettes-de-vue/accessoires.html?brand=Audio"> Tous les produits compl&eacute;mentaires </a> 

                                                            </div> 

                                                        </div> 

                                                    </div> 

                                                </div> 

  

                                            </div> 

  

                                            <!-- Column 4 --> 

                                            <div class="w-1/5"> 

                                                <div class="w-full flex flex-col items-start gap-8"> 

                                                    <div class="flex flex-col items-start justify-center"> 

                                                        <a href="/conseils/votre-audition" class="self-stretch py-2 flex items-center"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-base body_body_bold break-words">Conseils</div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="/conseils/entretien-appareil-auditif" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">Entretenir son appareil 

                                                                </div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="/conseils/comprendre-troubles-auditifs" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">Comprendre ses troubles 

                                                                </div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="/conseils/100-pour-cent-sante-audition" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">100% sant&eacute;</div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="/conseils/votre-audition" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_bold break-words">Tous nos conseils</div> 

                                                            </div> 

                                                        </a> 

                                                    </div> 

                                                    <div class="flex flex-col items-start justify-center"> 

                                                        <div class="self-stretch py-2 flex items-center"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-red-base body_body_bold break-words">Offres</div> 

                                                            </div> 

                                                        </div> 

                                                        <a href="/30-jours-essai-appareils-auditifs" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">30 jours d'essai gratuit 

                                                                </div> 

                                                            </div> 

                                                        </a> 

                                                        <a href="/votre-appareil-auditif-a-partir-de-0" class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <div class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_regular break-words">Votre appareil auditif &agrave; partir de 0&euro; 

                                                                </div> 

                                                            </div> 

                                                        </a> 

                                                        <div class="self-stretch py-2 flex items-center cursor-pointer"> 

                                                            <a href="/nos-offres-audition" class="flex items-center gap-2"> 

                                                                <div class="text-bleu-indigo body_small_bold break-words">Toutes les offres</div> 

                                                            </a> 

                                                        </div> 

                                                    </div> 

                                                </div> 

  

                                            </div> 

  

                                            <!-- Column 5 (Promo Banner) --> 

                                        <div class="w-1/5"> 

                                                <div class="relative h-[440px] rounded-lg overflow-hidden flex items-center justify-center font-poppins"> 

                                                    <!-- Background image as actual <img> --> 

                                                    <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/B2C_default/Test+New+B2C/HP/hp+audition/CTA+DEPISTAGE.jpg?func=crop&amp;w=300&amp;h=400&amp;gravity=center" alt="R&eacute;alisez un pr&eacute;-d&eacute;pistage en ligne gratuitement" class="no-lazy-load absolute inset-0 w-full h-full"> 

  

                                                    <!-- Overlay content --> 

                                                    <div class="relative w-full h-full rounded-lg py-6 px-6 bg-gradient-to-t from-black/20 to-transparent flex flex-col justify-end items-start gap-4"> 

                                                        <div class="w-[232px] space-y-1"> 

                                                            <span class="block text-white text-[24px] font-[300] leading-[28.8px]">R&eacute;alisez</span> 

                                                            <span class="block text-white text-[24px] font-[300] leading-[28.8px]">un</span> 

                                                            <span class="block text-white text-[20px] font-[600] leading-[24px]">pr&eacute;-d&eacute;pistage</span> 

                                                            <span class="block text-white text-[24px] font-[300] leading-[28.8px]">en ligne</span> 

                                                            <span class="block text-white text-[24px] font-[300] leading-[28.8px]">gratuitement</span> 

                                                        </div> 

                                                        <button class="px-4 py-2 cursor-pointer bg-white/20 hover:bg-white/40 rounded-full backdrop-blur-[10px]"> 

                                                            <a href="https://testauditif.atol.fr/" class="text-white text-[14px] font-[400] leading-[19.6px] break-words">Lancer le test</a> 

                                                        </button> 

                                                    </div> 

                                                </div> 

                                            </div> 

                                        </div> 

                                    </div> 

                                </div> 
            </div>
                    <div x-show="hoverPanelActiveId === 295"
                x-transition:enter="transition ease-out duration-100 transform"
                x-transition:leave="transition ease-in duration-100 transform"
                @mouseenter="hoverPanelActiveId = 295"
                @mouseleave="hoverPanelActiveId = null" class="absolute left-0 top-full w-screen bg-white lg:h-[470px]"
                x-cloak>

                <div class="bg-white"> 

    <div class="container mx-auto relative z-50 pt-3 pb-6 font-poppins"> 

        <div class="flex justify-between gap-6"> 

  

            <!-- Left Column: Services + Offres + Aide --> 

            <div class="flex w-4/5 gap-16"> 

  

                <!-- Services Column --> 

                <div class="flex flex-col gap-6 w-1/2 pt-2"> 

                    <h2 class="text-bleu-base body_body_bold break-words">Services</h2> 

  

                    <div class="flex gap-16"> 

                        <div> 

                            <p class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words"> 

                                Services en magasin</p> 

                            <ul class="mt-4 space-y-4 text-sm text-bleu-indigo font-normal"> 

                                <li><a href="/satisfait-ou-satisfait">Satisfait ou Satisfait</a></li> 

                                <li><a href="/atol-kids">Atol Kids</a></li> 

                                <li><a href="/atol-garantie-plus">Atol Garantie +</a></li> 

                                <li><a href="/essai-lunettes-basse-vision">Essai de lunettes basse vision</a></li> 
<li><a href="/totale-atol">La totale Atol</a></li> 

                            </ul> 

                        </div> 

                        <div> 

                            <p class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words"> 

                                Services en ligne</p> 

                            <ul class="mt-4 space-y-4 text-sm text-bleu-indigo font-normal"> 

                                <li><a href="https://magasins.atol.fr">Prise de rendez-vous</a></li> 

                                <li><a href="/customer/account/carnet/">Diagnostic</a></li> 

                                <li><a href="https://testauditif.atol.fr/">Pr&eacute;-d&eacute;pistage audition</a></li> 

                            </ul> 

                        </div> 

  

                    </div> 

                </div> 

  

  

                <!-- Offres + Aide Column --> 

                <div class="flex flex-col gap-6 w-1/2 pt-2"> 

                    <h2 class="text-bleu-base body_body_bold break-words">Offres</h2> 

  

                    <!-- Columns wrapper --> 

                    <div class="flex flex-row gap-16"> 

                        <div> 

                            <p class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words"> 

                                Offres en magasin</p> 

                            <ul class="mt-4 space-y-4 text-sm text-bleu-indigo font-normal"> 

                                <li><a href="/les-cadeaux-atol">Les cadeaux Atol</a></li> 

                                <li><a href="/examen-de-la-vue">Examen de la vue</a></li> 

                                <li><a href="/offre-duo">Offre Duo</a></li> 

                                <li><a href="/offre-de-reprise">Offre de reprise</a></li> 

                                <li><a href="/30-jours-essai-appareils-auditifs">Essai auditif offert</a></li> 

                            </ul> 

                        </div> 

  

                        <!-- Offres en ligne --> 

                        <div class="space-y-12"> 

                            <div> 

                                <p class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words"> 

                                Offres en ligne</p> 
<ul class="mt-4 space-y-4 text-sm text-bleu-indigo font-normal"> 
                                                            </ul></div> 

                            <div> 

                                <h3 class="text-bleu-base body_body_bold break-words">Aide et support</h3> 

                                <ul class="mt-4 space-y-4 text-sm text-bleu-indigo font-normal"> 

                                    <li><a href="/service-client">Nous contacter</a></li> 

                                    <li><a href="/faq">FAQ</a></li> 

                                    <li><a href="/livraison-et-retours">Livraison et retours</a></li> 

                                    <li><a href="/nos-moyens-de-paiements">Mode de paiement</a></li> 

                                </ul> 

                            </div> 

                        </div> 

  

  

  

                    </div> 

                </div> 

  

            </div> 

  

            <!-- Right Column: Promo Image --> 

            <div class="w-1/5 h-[440px]"> 

                 <figure class="relative h-[440px] rounded-lg overflow-hidden flex-1"> 

                <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/280x357_menu.png?vh=19054f" alt="Examen de la vue" class="w-full no-lazy-load h-full  rounded-lg"> 

                <figcaption class="absolute bottom-16 left-4 text-white font-[300] font-poppins text-lg leading-snug drop-shadow-md max-w-[13rem]"> 

                    Examen de la vue<br> 

                    <span class="font-bold">offert</span> 

                </figcaption> 

                <!-- Button for Right Image --> 

                <button class="absolute bottom-4 left-4 px-4 py-2 cursor-pointer bg-white/20 hover:bg-white/40 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2"> 

                    <a class="text-white text-[14px] font-[400] leading-[19.6px] break-words" href="/examen-de-la-vue">En savoir plus</a> 

                </button> 

            </figure> 

            </div> 

  

        </div> 

    </div> 

</div> 
            </div>
                    <div x-show="hoverPanelActiveId === 296"
                x-transition:enter="transition ease-out duration-100 transform"
                x-transition:leave="transition ease-in duration-100 transform"
                @mouseenter="hoverPanelActiveId = 296"
                @mouseleave="hoverPanelActiveId = null" class="absolute left-0 top-full w-screen bg-white lg:h-[470px]"
                x-cloak>

                <div class="bg-white"> 

                            <div class="container pb-[24px] pt-[12px]"> 

  

                                <!-- Column 1: Ma sant&eacute; visuelle --> 

                                <div class="flex container px-0 mx-auto justify-between bg-white font-poppins"> 

                                    <nav aria-label="Ma sant&eacute; visuelle" class="w-2/5 text-bleu-indigo text-sm pt-2"> 

                                        <h2 class="text-bleu-base body_body_bold pb-6 break-words">Ma sant&eacute; visuelle</h2> 

  

                                        <div class="flex gap-16"> 

                                            <!-- Left sub-column --> 

                                            <div class="flex flex-col gap-12"> 

                                                <ul class="space-y-2"> 

                                                    <li><a href="/conseils/ma-sante-visuelle" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Troubles 

                                                            visuels</a></li> 

                                                    <li><a href="/conseils/thematique/myopie">Myopie</a></li> 

                                                    <li><a href="/conseils/thematique/hypermetropie">Hyperm&eacute;tropie</a></li> 

                                                    <li><a href="/conseils/thematique/astigmatisme">Astigmatisme</a></li> 

                                                    <li><a href="/conseils/ma-sante-visuelle/troubles-pathologies-visuelles" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Tous 

                                                            les troubles visuels</a></li> 

                                                </ul> 

  

                                                <ul class="space-y-2"> 

                                                    <li><a href="/conseils/ma-sante-visuelle/basse-vision" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Basse 

                                                            vision</a></li> 

                                                    <li><a href="/conseils/thematique/dmla">DMLA</a></li> 

                                                    <li><a href="/conseils/thematique/glaucome">Glaucome</a></li> 

                                                    <li><a href="/conseils/thematique/cataracte">Cataracte</a></li> 

                                                    <li><a href="/conseils/ma-sante-visuelle/basse-vision" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Tout 

                                                            sur la basse vision</a></li> 

                                                </ul> 

                                            </div> 

  

                                            <!-- Right sub-column --> 

                                            <div class="flex flex-col gap-12"> 

                                                <ul class="space-y-2"> 

                                                    <li><a href="/conseils/ma-sante-visuelle/dyslexie" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Dyslexie</a> 

                                                    </li> 

                                                    <li><a href="/conseils/dyslexie-trouble-dys" class="text-bleu-indigo">Qu&rsquo;est-ce que la 

                                                            dyslexie ?</a></li> 

                                                    <li><a href="/conseils/dysorthographie-dyslexie" class="font-normal text-bleu-indigo">Dysorthographie &amp; Dyslexie ?</a></li> 

                                                    <li><a href="/lexilens" class="font-normal text-bleu-indigo">Lunettes lexilens</a></li> 

                                                    <li><a href="/conseils/ma-sante-visuelle/dyslexie" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Tout 

                                                            savoir</a></li> 

                                                </ul> 

  

                                                <ul class="space-y-2"> 

                                                    <li><a href="/conseils/ma-sante-visuelle/remboursements-mutuelles" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Remboursement 

                                                            et mutuelle</a></li> 

                                                    <li><a href="/conseils/remboursement-secu-mutuelle-opticien">Remboursement lunettes</a></li> 

                                                    <li><a href="/conseils/remboursement-lentilles">Remboursement lentilles</a></li> 

                                                    <li><a href="/conseils/mutuelle-contrat-responsable">Organismes compl&eacute;mentaires</a></li> 

                                                    <li><a href="/conseils/ma-sante-visuelle/remboursements-mutuelles" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Tout 

                                                            savoir</a></li> 

                                                </ul> 

                                            </div> 

                                        </div> 

                                    </nav> 

  

  

                                    <!-- Column 2: Mon audition --> 

                                    <nav aria-label="Mon audition" class="w-1/5 ml-4 text-bleu-indigo text-sm pt-2"> 

                                        <h2 class="text-bleu-base body_body_bold pb-6 break-words">Mon audition</h2> 

                                        <div class="flex flex-col gap-12"> 

                                            <ul class="space-y-2"> 

                                                <li><a href="/conseils/votre-audition/troubles-auditifs" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Troubles 

                                                        auditifs</a></li> 

                                                <li><a href="/conseils/presbyacousie-tout-savoir">Presbyacousie</a></li> 

                                                <li><a href="/conseils/hyperacousie-tout-savoir">Hyperacousie</a></li> 

                                                <li><a href="/conseils/acouphene-tout-savoir">Acouph&egrave;ne</a></li> 

                                                <li><a href="/conseils/votre-audition/troubles-auditifs" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Tous 

                                                        les troubles auditifs</a></li> 

                                            </ul> 

  

                                            <ul class="space-y-2"> 

                                                <li><a class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Appareils 

                                                        auditifs</a></li> 

                                                <li><a href="/audition/intra-auriculaire">Intra-auriculaire</a></li> 

                                                <li><a href="/audition/contour-d-oreille">Contours d&rsquo;oreille</a></li> 

                                                <li><a href="/audition/micro-contour">Micro-contour</a></li> 

                                            </ul> 

                                        </div> 

                                    </nav> 

  

                                    <!-- Column 3: Mon style --> 

                                    <nav aria-label="Mon style" class="pt-2 flex flex-col gap-4 w-1/5 text-bleu-indigo text-sm"> 

                                        <h2 class="text-bleu-base body_body_bold break-words">Mon style</h2> 

  

                                        <ul class="space-y-2"> 

                                            <li><a href="/conseils/style/conseils-en-image">Conseil en image</a></li> 

                                            <li><a href="/conseils/style/lunettes-et-mode">Lunettes &amp; Mode</a></li>                       

                                            <li><a href="/conseils/style" class="text-bleu-indigo text-[14px] font-semibold leading-[19.6px] font-poppins break-words">Tout 

                                                    sur le style</a></li> 

                                        </ul> 

  

                                        <ul class="space-y-2 mt-4"> 

                                            <li class="text-bleu-indigo body_body_bold break-words">#Th&eacute;matiques</li> 

                                            <li><a href="/conseils/thematique/enfants" class="font-normal text-bleu-indigo">Equipements 

                                                    enfants</a></li> 

                                            <li><a href="/conseils/thematique/sports" class="font-normal text-bleu-indigo">Equipements 

                                                    Sportifs</a></li> 

                                            <li><a href="/conseils/thematique/fatigue-oculaire" class="font-normal text-bleu-indigo">Fatigue 

                                                    oculaire</a></li> 

                                            <li><a href="/conseils/thematique/lumiere-bleue" class="font-normal text-bleu-indigo">Lumi&egrave;re 

                                                    bleue</a></li> 

                                            <li><a href="/conseils/ma-sante-visuelle/remboursements-mutuelles" class="font-normal text-bleu-indigo">Remboursement et mutuelle</a></li> 

                                        </ul> 

                                    </nav> 

  

                                    <!-- Column 4: Images --> 

                                    <div class="flex gap-4 w-1/5"> 

                                        <!-- Right image --> 

                                        <figure class="relative h-[440px] rounded-lg overflow-hidden flex-1"> 

                                            <img src="https://medias.atol.fr/DIVERS/b2c_medias/Menu/280x357_menu_conseils_conduite.png?vh=c70415" alt="Semaine de la myopie" class="w-full h-full  no-lazy-load rounded-lg"> 

                                            <figcaption class="absolute bottom-16 left-4 text-white font-[300] font-poppins text-lg leading-snug drop-shadow-md max-w-[13rem]"> 

                                                 <br> Conduite de nuit

                                                <span class="font-bold"></span> 

                                            </figcaption> 

                                            <!-- Button for Right Image --> 

                                            <div class="absolute bottom-4 left-4 px-4 py-2 cursor-pointer bg-white/20 hover:bg-white/40 rounded-full backdrop-blur-[10px] flex justify-center items-center gap-2"> 

                                                <div class="text-white text-[14px] font-[400] leading-[19.6px] break-words"><a href="/conseils/thematique/myopie">D&eacute;couvrir</a></div> 

                                            </div> 

                                        </figure> 

  

                                    </div> 

  

                                </div> 

  

                            </div> 

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

<script>
    'use strict';

    const initMenuDesktop_694068feaa853 = () => {
        return {
            hoverPanelActiveId: null, // Tracks which menu item is hovered
        }
    }
</script>        </div>
        <!--Logo-->
        <div
            class="flex items-center ml-8 order-2 lg:order-1 z-30"
            :class="{'md:hidden': searchOpen, 'flex': !searchOpen || !searchOpen}">
            <div class="order-1 sm:order-2 lg:order-1 w-full sm:w-auto sm:pb-0">
    <a
        class="flex items-center justify-center text-xl font-medium tracking-wide text-gray-800            no-underline hover:no-underline font-title"
        href="https://www.atol.fr/"
        aria-label="Go&#x20;to&#x20;Home&#x20;page"
    >
        <!-- SVG for mobile devices -->
        <svg 
            class="block sm:hidden" 
            width="70" height="34" viewbox="0 0 70 34" fill="none" xmlns="http://www.w3.org/2000/svg">
            <g id="Logo=Default, Device=Mobile">
                <path id="Vector" d="M6.48686 17.3939C6.29322 16.5233 7.16459 14.3953 8.03596 13.3312C8.52005 12.7508 8.90733 12.5574 9.29461 12.5574C9.68188 12.5574 10.0692 12.8476 10.5533 13.3312C11.4246 14.3953 12.296 16.4266 12.1024 17.3939C12.0055 18.071 10.8437 18.071 9.39143 18.071C9.19779 18.071 8.90733 18.071 8.71369 18.071C7.55187 18.071 6.58368 17.9743 6.48686 17.3939ZM36.2102 16.9102C36.2102 12.7508 39.5989 9.36527 43.7621 9.36527C47.9253 9.36527 51.314 12.7508 51.314 16.9102C51.314 21.0696 47.9253 24.4552 43.7621 24.4552C39.5989 24.3585 36.2102 21.0696 36.2102 16.9102ZM32.8216 10.4293C32.6279 9.94565 32.4343 9.462 32.3375 9.17181C32.3375 9.07508 32.2407 9.07508 32.2407 9.07508C30.5947 8.59143 27.787 8.10778 24.0111 8.10778C19.5574 8.10778 16.2656 8.78489 14.8133 9.26855C14.7165 9.26855 14.7165 9.26854 14.7165 9.36527C14.6196 9.7522 14.0387 11.1064 13.9419 11.2999C12.7801 9.65547 11.231 8.10778 9.39143 8.10778C7.16459 8.10778 4.84094 10.7195 3.67912 12.8476C1.5491 16.9102 0.0968188 22.2304 0 24.2617V24.6487C0 24.6487 0 24.6487 0 24.7454C0.0968188 25.8094 0.677732 26.0029 1.45228 26.0029C2.71093 26.0029 3.5823 25.1323 6.1964 21.2631C6.1964 21.2631 7.45505 21.0696 9.29461 21.0696C11.0373 21.0696 12.5864 21.2631 12.5864 21.2631C15.2006 25.1323 16.0719 26.0029 17.3306 26.0029C17.9115 26.0029 18.686 25.8094 18.686 24.7454C18.686 23.1977 17.4274 17.2972 15.0069 12.9443C14.8133 12.6541 14.7165 12.3639 14.5228 12.0737C15.1037 12.1705 20.7192 13.041 20.7192 13.041C21.0097 17.8775 21.8811 22.7141 22.462 24.4552C22.7524 25.5192 23.1397 26.0996 24.1079 26.0996C25.0761 26.0996 25.4633 25.5192 25.7538 24.4552C26.4315 22.3271 27.1093 17.6841 27.4965 13.041C27.4965 13.041 30.2075 12.5574 31.9502 12.2672C31.3693 13.7181 31.0788 15.2658 31.0788 16.9102C31.0788 23.8748 36.7911 29.5819 43.7621 29.5819C49.4744 29.5819 54.3153 25.8094 55.9613 20.4893C55.9613 25.1323 57.8976 25.9062 61.964 25.9062C64.1909 25.9062 67.5795 25.4225 68.2573 25.1323C68.935 24.8421 69.8064 23.5846 70 22.6173C70 22.5206 70 22.4239 70 22.3271C70 22.2304 70 22.2304 69.9032 22.1337C69.4191 21.65 63.61 21.65 62.0609 21.65C62.0609 21.65 62.2545 13.2345 61.2863 9.55874C60.9958 8.4947 60.6086 7.91432 59.4467 7.91432C58.5754 7.91432 57.8976 8.59143 57.5104 10.0424C57.0263 11.7835 56.639 13.8149 56.3485 15.6527C55.7676 9.17181 50.3458 4.0451 43.6653 4.0451C39.1148 4.14184 35.0484 6.65682 32.8216 10.4293Z" fill="#1F226B"/>
            </g>
        </svg>
           

        <!-- Regular logo for larger screens -->
        <img
            class="hidden sm:block"  
            src="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/images/logo.svg"
            alt="Store&#x20;logo"
            width="90"            height="32"        />
            </a>
</div>
        </div>



        <div class="flex items-center gap-[0.75rem] md:gap-3 order-3 md:-mr-1">
            <!--Search Icon-->
<button
    id="menu-search-icon-header"
    class="flex items-center gap-2 rounded-[100px] py-2 px-4 outline-offset-2 hidden lg:flex bg-[#F7F5F2] text-grisfonce"
    @click.prevent="        searchOpen = !searchOpen;        $dispatch('search-open');    "
    aria-label="Toggle&#x20;search&#x20;form"
    aria-haspopup="true"
    :aria-expanded="searchOpen"
    x-ref="searchButton"
>
    <svg width="18" height="18" viewbox="0 0 24 24" fill="none"
         xmlns="http://www.w3.org/2000/svg"
         class="flex-shrink-0 stroke-[#888E9B]">
        <circle cx="10" cy="10" r="7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
        <path d="M21 21L15 15" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
    </svg>
    <span>Rechercher</span>
</button>



            <div class="hidden lg:flex items-center px-2">
                <span class="w-px h-7 bg-gray-300 opacity-100"></span>
            </div>

            
                        <a href="https://www.atol.fr/customer/account/login/">
                <span class="sr-only">Connexion</span>
                <svg  width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <ellipse cx="12" cy="7" rx="4" ry="4" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                    <path d="M6 21V19C6 16.7909 7.79086 15 10 15H14C16.2091 15 18 16.7909 18 19V21" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                </svg>
            </a>
            <!-- whislist-->
            <div x-data="initCustomerData()"
            @private-content-loaded.window="receiveCustomerWishlistData(event.detail.data)">
                <a href="/wishlist/index/index/wishlist_id">
                    <div class="relative">
                        <svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <g id="Group">
                                <path id="Shape" d="M20.0272 14.1086C20.3215 13.8171 20.3238 13.3423 20.0323 13.048C19.7409 12.7537 19.266 12.7514 18.9717 13.0429L20.0272 14.1086ZM11.9995 21.0037L11.4717 21.5366C11.764 21.8261 12.2349 21.8261 12.5272 21.5366L11.9995 21.0037ZM5.02723 13.0429C4.73293 12.7514 4.25806 12.7537 3.96658 13.048C3.67511 13.3423 3.6774 13.8171 3.9717 14.1086L5.02723 13.0429ZM3.97642 14.1132C4.27327 14.4021 4.7481 14.3956 5.03698 14.0988C5.32585 13.8019 5.31938 13.3271 5.02252 13.0382L3.97642 14.1132ZM11.9995 7.00973L11.3975 7.45712C11.5386 7.64692 11.7609 7.75907 11.9974 7.75973C12.2339 7.76039 12.4568 7.64948 12.5989 7.46047L11.9995 7.00973ZM18.9739 13.0467C18.6784 13.3369 18.6741 13.8118 18.9644 14.1073C19.2547 14.4028 19.7295 14.4071 20.025 14.1168L18.9739 13.0467ZM18.9717 13.0429L11.4717 20.4709L12.5272 21.5366L20.0272 14.1086L18.9717 13.0429ZM12.5272 20.4709L5.02723 13.0429L3.9717 14.1086L11.4717 21.5366L12.5272 20.4709ZM5.02252 13.0382C3.87612 11.9227 3.45319 10.2579 3.92812 8.73045L2.49577 8.28508C1.8532 10.3516 2.42541 12.604 3.97642 14.1132L5.02252 13.0382ZM3.92812 8.73045C4.40306 7.20299 5.69542 6.07158 7.27226 5.80277L7.02019 4.3241C4.88682 4.68778 3.13833 6.21852 2.49577 8.28508L3.92812 8.73045ZM7.27226 5.80277C8.84911 5.53396 10.4433 6.17329 11.3975 7.45712L12.6014 6.56234C11.3105 4.8254 9.15357 3.96042 7.02019 4.3241L7.27226 5.80277ZM12.5989 7.46047C13.5571 6.18613 15.1479 5.55529 16.719 5.82661L16.9743 4.34849C14.8487 3.98141 12.6964 4.8349 11.4 6.559L12.5989 7.46047ZM16.719 5.82661C18.2902 6.09793 19.5773 7.22578 20.0526 8.74766L21.4844 8.3005C20.8413 6.24148 19.0999 4.71557 16.9743 4.34849L16.719 5.82661ZM20.0526 8.74766C20.5279 10.2695 20.1114 11.9294 18.9739 13.0467L20.025 14.1168C21.5639 12.6052 22.1274 10.3595 21.4844 8.3005L20.0526 8.74766Z" fill="#1F226B" />
                            </g>
                        </svg>
                        <template x-if="wishItemCount > 0">
                            <span class="absolute -top-5 left-1 text-red-base font-semibold px-4 py-2 font-poppins" x-text="wishItemCount"></span>
                        </template>
                    </div>
                    <span class="sr-only">Liste des favories</span>
                </a>
            </div>
            <!--Cart Icon-->
                            <button
                                        id="menu-cart-icon"
                    class="relative inline-block rounded p-1 hover:bg-primary/10 outline-offset-2"
                    x-ref="cartButton"
                    :aria-disabled="isCartEmpty()"
                    :aria-label="`                    Toggle&#x20;minicart,                    ${isCartEmpty()                        ? 'Cart&#x20;is&#x20;empty'                        : cart.summary_count > 1                            ? hyva.str('&#x25;1&#x20;items', cart.summary_count)                            : hyva.str('&#x25;1&#x20;item', cart.summary_count)                    }`"
                                        @click.prevent.stop="() => {                        $dispatch('toggle-cart', { isOpen: true })                    }"
                    @toggle-cart.window="toggleCart($event)"
                    :aria-expanded="isCartOpen"
                    aria-haspopup="dialog"
                    >
                    <svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <g id="Group">
                            <path id="Path" d="M7 10L12 4L17 10" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                            <path id="Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M21 10L19 18C18.8071 19.1828 17.9655 20.0243 17 20H7C6.03448 20.0243 5.19295 19.1828 5 18L3 10H21Z" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                            <ellipse id="Oval" cx="12" cy="15" rx="2" ry="2" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                        </g>
                    </svg>

                    <span
                        x-text="cart.summary_count"
                        x-show="!isCartEmpty()"
                        x-cloak
 class="absolute -top-1.5 -right-1.5 h-5 px-2 py-1 rounded-full bg-bleu-base text-white                        text-xs font-poppins font-semibold leading-none text-center uppercase tabular-nums"
                        aria-hidden="true"></span>
                                    </button>
                    </div>
    </div>
    <!--Search-->
    <div class="absolute z-20  w-full bg-white mt-[-10px] md:mt-[-72px] border-t border-container-lighter"
        id="search-content"
        x-cloak x-show="searchOpen"
        @click.outside="searchOpen = false"
        @keydown.escape="            searchOpen = false;            $refs.searchButton.focus();         "> 
      
                 <div id="algoliaAutocomplete" class="container py-4 items-center border-t border-container-lighter relative flex-row flex block block-search algolia-search-block algolia-search-input py-2 mx-auto text-black">
        <a href="/" class="cursor-pointer hidden md:block px-8">
            <svg width="90" height="42" viewbox="0 0 90 42" fill="none" xmlns="http://www.w3.org/2000/svg">
                <g id="Logo Atol">
                    <path id="Vector" d="M8.34025 21.4963C8.09129 20.4036 9.21162 17.7327 10.3319 16.3972C10.9544 15.6688 11.4523 15.426 11.9502 15.426C12.4481 15.426 12.9461 15.7902 13.5685 16.3972C14.6888 17.7327 15.8091 20.2822 15.5602 21.4963C15.4357 22.3461 13.9419 22.3461 12.0747 22.3461C11.8257 22.3461 11.4523 22.3461 11.2033 22.3461C9.70954 22.3461 8.46473 22.2247 8.34025 21.4963ZM46.556 20.8892C46.556 15.6688 50.9129 11.4195 56.2656 11.4195C61.6183 11.4195 65.9751 15.6688 65.9751 20.8892C65.9751 26.1097 61.6183 30.3589 56.2656 30.3589C50.9129 30.2375 46.556 26.1097 46.556 20.8892ZM42.1992 12.755C41.9502 12.148 41.7012 11.5409 41.5768 11.1767C41.5768 11.0553 41.4523 11.0553 41.4523 11.0553C39.3361 10.4483 35.7261 9.84126 30.8714 9.84126C25.1452 9.84126 20.9129 10.6911 19.0456 11.2981C18.9212 11.2981 18.9212 11.2981 18.9212 11.4195C18.7967 11.9052 18.0498 13.6049 17.9253 13.8477C16.4315 11.7838 14.4398 9.84126 12.0747 9.84126C9.21162 9.84126 6.22407 13.1192 4.73029 15.7902C1.9917 20.8892 0.124481 27.5666 0 30.1161V30.6018C0 30.6018 0 30.6018 0 30.7232C0.124481 32.0586 0.871369 32.3014 1.86722 32.3014C3.48548 32.3014 4.60581 31.2088 7.96681 26.3525C7.96681 26.3525 9.58506 26.1097 11.9502 26.1097C14.1909 26.1097 16.1826 26.3525 16.1826 26.3525C19.5436 31.2088 20.6639 32.3014 22.2822 32.3014C23.029 32.3014 24.0249 32.0586 24.0249 30.7232C24.0249 28.7807 22.4066 21.3749 19.2946 15.9116C19.0456 15.5474 18.9212 15.1831 18.6722 14.8189C19.4191 14.9403 26.639 16.033 26.639 16.033C27.0124 22.1033 28.1328 28.1736 28.8797 30.3589C29.2531 31.6944 29.751 32.4229 30.9959 32.4229C32.2407 32.4229 32.7386 31.6944 33.112 30.3589C33.9834 27.688 34.8548 21.8605 35.3527 16.033C35.3527 16.033 38.8382 15.426 41.0788 15.0617C40.3319 16.8828 39.9585 18.8253 39.9585 20.8892C39.9585 29.6305 47.3029 36.7935 56.2656 36.7935C63.61 36.7935 69.834 32.0586 71.9502 25.3813C71.9502 31.2088 74.4398 32.18 79.668 32.18C82.5311 32.18 86.888 31.573 87.7593 31.2088C88.6307 30.8446 89.751 29.2663 90 28.0522C90 27.9308 90 27.8094 90 27.688C90 27.5666 90 27.5666 89.8755 27.4452C89.2531 26.8382 81.7842 26.8382 79.7925 26.8382C79.7925 26.8382 80.0415 16.2758 78.7967 11.6624C78.4232 10.3269 77.9253 9.59845 76.4315 9.59845C75.3112 9.59845 74.4398 10.4483 73.9419 12.2694C73.3195 14.4547 72.8216 17.0042 72.4481 19.311C71.7012 11.1767 64.7303 4.74219 56.1411 4.74219C50.2905 4.86359 45.0622 8.02016 42.1992 12.755Z" fill="#1F226B" />
                </g>
            </svg>
        </a>
        <button id="return-button" class="cursor-pointer hidden md:block pr-8" @click="searchOpen = false">
            <svg width="24" height="25" viewbox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M5 12.6511H19" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                <path d="M5 12.6511L11 18.6511" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                <path d="M5 12.6511L11 6.65112" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
            </svg>
        </button>

    </div>

    <div id="panelContainer" class="relative" x-data="initAutocompleteInsight"></div>


    <script>
        document.addEventListener('DOMContentLoaded', function() {
            if (algoliaConfig.autocomplete.enabled) {
                document.getElementById('menu-search-icon-header').onclick = async () => {
                    await initAutocomplete();
                    focusSearchInput();
                    document.getElementById('algoliaAutocomplete').classList.remove('!hidden');
                    algolia.registerHook('afterAutocompleteStart', function() {
                        document.querySelector('#algoliaAutocomplete input').focus();
                    });
                };
            }


        });
    </script>
    <script>
        'use strict';

        function initAutocompleteInsight() {
            return {
                bindClickEvent(element, eventName, objectID, indexName, position, queryId) {
                    element.querySelector('.algoliasearch-autocomplete-hit')?.addEventListener("click", function() {
                        buildInsightsEventData(eventName, objectID, indexName, position, queryId);
                    });
                }
            }
        }
        function focusSearchInput(retries = 10) {
            const input = document.querySelector('#algoliaAutocomplete input');
            if (input && input.offsetParent !== null) {
                input.focus();
            } else if (retries > 0) {
                setTimeout(() => focusSearchInput(retries - 1), 100); 
            }
        }
    </script>
            </div>
 

    <!--Cart Drawer-->
    <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));
                }
            },

            deleteItemFromCart(itemId) {
                this.isLoading = true;

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

                // 1. Get product info via custom API
                fetch(BASE_URL + 'gtm/cart/item?item_id=' + itemId, {
                    method: 'GET',
                    credentials: 'include'
                })
                .then(response => response.json())
                .then(product => {
                    // 2. Push GTM event BEFORE removing the item
                    window.dataLayer = window.dataLayer || [];
                    var user = {
                            userId: null,
                            userLoginState: '0',
                            userEmail: null                        };
                    window.dataLayer.push({
                        event: 'remove_from_cart',
                        ecommerce: {
                            currency: product.currency,
                            value: product.price * product.quantity,
                            items: [{
                                item_id: product.item_id,
                                item_name: product.item_name,
                                item_brand: product.item_brand,
                                item_category: product.item_category,
                                item_category2: product.item_category2,
                                item_category3: product.item_category3,
                                discount: product.discount,
                                price: product.price,
                                quantity: product.quantity,
                                index: product.index
                            }]
                        },
                        user: user
                    });

                    // 3. Now actually remove the item
                    return 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 => {
                    if (!result) return;

                    window.dispatchMessages && window.dispatchMessages([{
                        type: result.success ? 'success' : 'error',
                        text: result.success ?
                            'Vous\u0020avez\u0020supprim\u00E9\u0020le\u0020produit.' : 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;
            },
            moveToWishlist(itemId) {
                const postParams = {
                    action: BASE_URL + "wishlist/index/fromcart/",
                    data: {
                        item: itemId,
                        uenc: hyva.getUenc(),
                        form_key: hyva.getFormKey()
                    }
                };

                let postData = Object.keys(postParams.data).map(key => {
                    return `${key}=${postParams.data[key]}`;
                }).join('&');

                fetch(postParams.action, {
                    "headers": {
                        "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
                    },
                    "body": postData,
                    "method": "POST",
                    "mode": "cors",
                    "credentials": "include"
                }).then(response => {
                    if (response.redirected) {
                        window.location.href = response.url;
                    } else if (response.ok) {
                        return response.json();
                    } else {
                        throw new Error("Could\u0020not\u0020add\u0020item\u0020to\u0020wishlist.");
                    }
                }).then(result => {
                    window.dispatchMessages([{
                        type: result.success ? 'success' : 'error',
                        text: result.success ? "Item\u0020added\u0020to\u0020your\u0020Wish\u0020List." : result.error_message
                    }], 5000);
                    window.dispatchEvent(new CustomEvent("reload-customer-section-data"));
                });
            },
        }
    }
</script>
<section x-cloak x-show="cart" id="cart-drawer" class="no-visibility-optimization" 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-50 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" s
 role="button" @click="closeCartDrawer">
        </div>
        <div class="relative w-screen max-w-md shadow-2xl md:max-w-[599px]" 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-white shadow-xl relative z-0">

                <template x-if="!itemsCount">
                                        <header class="relative px-4 py-6 sm:px-6">
                        <p id="cart-drawer-title" class="flex justify-center items-center body_emphasis_bold_mobile md:body_emphasis_bold text-bleu-indigo">
                            <label>Votre panier est vide</label>
                            <span class="items-total text-xs"
                                x-show="maxItemsToDisplay && maxItemsToDisplay < itemsCount"
                                x-text="getItemCountTitle()">
                            </span>
                        </p>
                    </header>
                                    </template>
                <template x-if="!itemsCount">
                    <div class="relative h-full">
                        <div class="w-full pt-14 container grid lg:flex gap-8 border-t">
                            <div class="w-full lg:order-1 bg-white grid gap-6 lg:gap-10 rounded-lg">
                                <div class="flex flex-col items-center justify-center text-center">
                                    <p class="text-bleu-indigo body_body_regular">
                                        Votre sélection vous attend : lunettes de vue, de soleil, lentilles…<br>
                                        faites votre choix chez Atol                                    </p>
                                                                             <p class="text-bleu-indigo body_body_regular" style="margin-top: 20px;">
                                            Connectez-vous pour consulter votre panier et<br>
                                            commencez vos achats !                                        </p>
                                                                    </div>

                            </div>
                        </div>
                        <div class="absolute bottom-0 w-full">
                            <div class="flex justify-center border-t px-4 py-3">
                                <p class="hover:bg-bleu-dragg w-full flex px-6 py-3 bg-bleu-base text-white rounded-[100px] justify-center items-center gap-2 body_body_regular whitespace-nowrap">
                                                                            <a href="https://www.atol.fr/customer/account/login/">
                                            Commencer mes achats                                        </a>
                                                                    </p>
                            </div>
                        </div>
                    </div>
                </div>

            </template>
            <template x-if="itemsCount">
                                <header class="relative px-4 py-6 sm:px-6">
                    <p id="cart-drawer-title" class="flex justify-center items-center body_emphasis_bold_mobile md:body_emphasis_bold text-bleu-indigo">
                        <label>Mon panier</label>
                        <span class="items-total text-xs"
                            x-show="maxItemsToDisplay && maxItemsToDisplay < itemsCount"
                            x-text="getItemCountTitle()">
                        </span>
                    </p>
                </header>
                            </template>
            <template x-if="itemsCount">
                <div class="relative no-scrollbar grid gap-4 pb-24 md:pb-[107px] sm:gap-8 px-3 bg-white border-container overflow-y-auto overscroll-y-contain">                    
                    <template x-for="item in cartItems">
                    <div class="flex items-start pt-4 pb-3 space-x-4 transition duration-150 ease-in-out rounded-lg">
                    <div class="!mr-3 bg-gris rounded-md w-[120px] h-[120px] flex justify-center items-center">
                    <template x-if="item.product_has_url && item.is_visible_in_site_visibility">
                        <a :href="item.product_url"
                            class=""
                            :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="item.product_name"
                                />
                        </a>
                    </template>
                    <template x-if="!item.product_has_url || !item.is_visible_in_site_visibility">
                        <img
                            :src="item.product_image.src"
                            :width="item.product_image.width"
                            :height="item.product_image.height"
                            loading="lazy"
                            :alt="item.product_name"
                        />
                    </template>
                </div>              
                            <div class="w-3/4 space-img space-y-2">
                                <div class="grid gap-2">
                                    <div class="grid gap-1">
                                        <p class="body_body_regular text-bleu-indigo">
                                            <span x-html="item.product_name"></span>
                                        </p>
                                        <p x-html="item.product_sku" class="self-stretch text-[#878e9a] body_body_regular"></p>
                                    </div>
                                    <div x-text="'Quantité : ' + item.qty" class="self-stretch text-[#878e9a] text-base font-normal font-poppins leading-snug"></div>
                                    <!-- <p class="self-stretch text-[#878e9a] body_body_regular">Type de verres</p> -->
                                    <!-- <p class="text-sm"><span x-html="item.product_sku"></span></p> -->
                                    <p><span class="text-bleu-indigo body_body_bold" x-html="item.product_price"></span></p>
                                    <div class="justify-start items-center gap-2 flex">
                                        <div class="w-4 h-4 justify-center items-center gap-2.5 flex">
                                            <div class="w-1.5 h-1.5 bg-states-confirmation-500 rounded-full fffffff"></div>
                                        </div>
                                        <div class="text-states-confirmation-500 body_small_regular">En stock</div>
                                    </div>

                                   <div x-data="{ open: false }" x-show="item.options && item.options.length > 0" class="space-y-2">
                                        <button 
                                            @click="open = !open" 
                                            class="text-[#878e9a] body_body_regular underline transition"
                                        >
                                            Détails
                                        </button>
                                        <div x-show="open" x-transition class="flex gap-2 flex-wrap">
                                            <template x-for="option in item.options" :key="option.label">
                                                <div class="flex">
                                                    <p class="text-[#878e9a] text-[15px]" x-text="option.label + ':'"></p>
                                                    <p class="text-[#878e9a] pl-2 text-[15px]" x-html="option.value"></p>
                                                </div>
                                            </template>
                                        </div>
                                    </div>


                                    <div class="md:space-x-4">
                                        
                                        <button type="button"
                                            class="self-stretch justify-end items-center gap-4 inline-flex"
                                            @click="deleteItemFromCart(item.item_id)"
                                            :aria-label="hyva.strf('Remove\u0020product\u0020\u0022\u00250\u0022\u0020from\u0020cart', item.product_name)">
                                            <span class="text-[#878e9a] body_body_regular underline">Supprimer du panier</span>
                                        </button>
                                    </div>
                                </div>
                                
                            </div>
                                                    </div>
                </div>
            </template>
        </div>
        </template>

        <template x-if="itemsCount">
                        <div class="absolute bg-white bottom-0 grid gap-3 p-4 px-3 w-full">
                <div class="w-full bg-white">
                    <div class="w-full px-3 py-4 space-x-4 rounded-lg">
                        <a href="https://www.atol.fr/checkout/cart/"
                            id="beginCheckoutBtn"
                            class="w-full inline-flex px-6 py-3 bg-bleu-base hover:bg-bleu-dragg text-white rounded-[100px] justify-center items-center gap-2 body_body_regular">
                            Commander                        </a>
                    </div>
                    <div x-html="getSectionDataExtraActions()"></div>
                                    </div>
            </div>
        </template>

            </div>

    <button
        type="button"
        @click="closeCartDrawer"
        aria-label="Close&#x20;minicart"
        class="absolute top-0 right-2 p-4 mt-2 text-bleu-indigo">
        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none">
            <path d="M18 6L6 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M6 6L18 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
        </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-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" viewbox="0 0 57 57" width="57" height="57" fill="none" stroke="currentColor" stroke-width="2" class="text-primary" role="img">
    <style>
        @keyframes spinner-ball-triangle1 {
            0% { transform: translate(0%, 0%); }
            33% { transform: translate(38%, -79%); }
            66% { transform: translate(77%, 0%); }
            100% { transform: translate(0%, 0%); }
        }

        @keyframes spinner-ball-triangle2 {
            0% { transform: translate(0%, 0%); }
            33% { transform: translate(38%, 79%); }
            66% { transform: translate(-38%, 79%); }
            100% { transform: translate(0%, 0%); }
        }

        @keyframes spinner-ball-triangle3 {
            0% { transform: translate(0%, 0%); }
            33% { transform: translate(-77%, 0%); }
            66% { transform: translate(-38%, -79%); }
            100% { transform: translate(0%, 0%); }
        }
    </style>
    <circle cx="5" cy="50" r="5" style="animation: spinner-ball-triangle1 2.2s linear infinite"/>
    <circle cx="27" cy="5" r="5" style="animation: spinner-ball-triangle2 2.2s linear infinite"/>
    <circle cx="49" cy="50" r="5" style="animation: spinner-ball-triangle3 2.2s linear infinite"/>
<title>loader</title></svg>
    <div class="ml-10 text-primary text-xl">
        Loading...    </div>
</div>
    </div>

</section>
    <!--Authentication Pop-Up-->
    

</nav>
</header><div class="top-container">
</div><main id="maincontent" class="page-main"><div id="algolia-autocomplete-container"></div><div id="" tabindex="-1"></div>
<div class="page messages"><script>
    
    function initMessages() {
        const DEFAULT_TIMEOUT = 5000;
        "use strict";
        return {
            messages: window.mageMessages || [],
            isEmpty() {
                return this.messages.reduce(
                    function(isEmpty, message) {
                        return isEmpty && message === undefined
                    }, true
                )
            },
            removeMessage(messageIndex) {
                this.messages[messageIndex] = undefined;
            },
            addMessages(messages) {
                messages.map((message) => {
                    this.messages = this.messages.concat(message);
                    if (message.type === 'success' || message.type === 'error') {
                        this.setHideTimeOut(this.messages.length - 1, DEFAULT_TIMEOUT);
                    }
                });
            },
            setHideTimeOut(messageIndex, hideAfter) {
                setTimeout((messageIndex) => {
                    this.removeMessage(messageIndex);
                }, hideAfter, messageIndex);
            },
            closeModal() {
                this.messages = [];
            },
            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 = [];
                }
            }
        }
    }
</script>
<section id="messages"
    x-data="initMessages()"
    x-bind="eventListeners"
    aria-live="assertive"
    role="alert">
    <template x-if="!isEmpty()">
        <div class="relative" aria-labelledby="modal-title" role="dialog">
            <div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div>
            <div class="fixed inset-0 overflow-y-auto">
                <div class="flex items-end justify-end p-8 text-center sm:items-center">
                    <div class="w-full relative transform bg-[#ecf9e7] text-left rounded-lg shadow-xl transition-all sm:w-full sm:max-w-lg">
                        <div class="messages mx-auto">
                            <template x-for="(message, index) in messages" :key="index">
                                <div>
                                <template x-if="message">
                                    <div class="message flex items-center justify-between gap-2" :class="message.type" :ui-id="'message-' + message.type">
                                        <template x-if="message.type === 'error'">
                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewbox="0 0 24 25" fill="none">
                                                <circle cx="12" cy="12.6982" r="9" stroke="#AD1F36" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                                <path d="M10.5303 10.1679C10.2374 9.87502 9.76256 9.87502 9.46967 10.1679C9.17678 10.4608 9.17678 10.9357 9.46967 11.2286L10.5303 10.1679ZM13.4697 15.2286C13.7626 15.5215 14.2374 15.5215 14.5303 15.2286C14.8232 14.9357 14.8232 14.4608 14.5303 14.1679L13.4697 15.2286ZM14.5303 11.2286C14.8232 10.9357 14.8232 10.4608 14.5303 10.1679C14.2374 9.87502 13.7626 9.87502 13.4697 10.1679L14.5303 11.2286ZM9.46967 14.1679C9.17678 14.4608 9.17678 14.9357 9.46967 15.2286C9.76256 15.5215 10.2374 15.5215 10.5303 15.2286L9.46967 14.1679ZM9.46967 11.2286L13.4697 15.2286L14.5303 14.1679L10.5303 10.1679L9.46967 11.2286ZM13.4697 10.1679L9.46967 14.1679L10.5303 15.2286L14.5303 11.2286L13.4697 10.1679Z" fill="#AD1F36" />
                                            </svg>
                                        </template>
                                        <template x-if="message.type === 'success'">
                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewbox="0 0 24 25" fill="none">
                                                <circle cx="12" cy="12.6982" r="9" stroke="#107E5A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                                <path d="M9 12.6982L11 14.6982L15 10.6982" stroke="#107E5A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                            </svg>
                                        </template>
                                        <span x-html="message.text.includes('Bienvenue !') ? message.text.replace(/Bienvenue\s*!/, '<strong>Bienvenue&nbsp;!</strong>') : message.text" class="flex-1"></span>
                                        <div class="ml-auto cursor-pointer" @click="closeModal()">
                                            <svg viewbox="0 0 20 20" width="10" height="10" aria-hidden="true">
                                                <path d="M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"></path>
                                            </svg>
                                        </div>
                                    </div>
                                </template>
                                </div>
                            </template>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </template>
</section></div>
<section class="cover-video relative"
         x-data="initVideo()"
         @visibilitychange.window.debounce="checkIsMobileResolution()"
>
    <video id="cover-video" muted autoplay loop playsinline width="100%">
        <source src="" type="video/webm" />
        <source src="" type="video/mp4" />
    </video>

    <a  href="/lunettes-de-vue/accessoires.html?brand=MULTITUDE"
       class="block absolute inset-0 flex items-end justify-center md:justify-end">
        <span class="block py-3 px-6 bg-white/25 rounded-full leading-tight mb-10 md:mr-6">
            Découvrir les clips        </span>
    </a>
</section>

<div class="intro py-8 md:py-16">
    <section class="md:container relative flex flex-col gap-6 pb-8 md:pb-16 px-3 md:px-9">
        <h1 class="h1 max-md:order-3">
            <span class="text-multitude-recover-2 font-semibold">1 lunette.</span>
            <br>
            <span class="font-light">100 styles <span>à dévoiler</span>.</span>
            <span class="sr-only">19€90 le clip</span>
        </h1>

        <img class="m-auto max-md:order-2"
             src="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Atol_Multitude/images/multitude-product.webp"
             width="901" height="580" loading="lazy"
             alt="">

        <div aria-hidden="true" class="price max-md:order-1 self-end">
            <span class="text-[3.75rem] md:text-[7.5rem] font-extrabold">19</span>
            <span class="text-[2rem] md:text-[2.5rem] flex flex-col self-center text-center">
                <span class="font-extrabold">€90</span>
                <span class="text-white text-base md:text-xl font-semibold">
                    Le clip                </span>
            </span>
        </div>
    </section>

    <section class="md:container flex flex-col gap-9 py-8 md:py-16 px-3">
        <h2 class="h2">
            Une infinité de possibilités avec <span class="uppercase">Multitude</span>        </h2>

        <ul class="flex gap-3 md:gap-6 relative flex-nowrap w-full overflow-auto snap">
            <li class="flex-1">
                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Page%20Multitude/1.webp"
                     class="object-cover max-md:max-w-card md:w-full h-full rounded-lg"
                     alt="" width="302" height="537" loading="lazy">
            </li>
            <li class="flex-1">
                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Page%20Multitude/2.webp"
                     class="object-cover max-md:max-w-card md:w-full h-full rounded-lg"
                     alt="" width="302" height="537" loading="lazy">
            </li>
            <li class="flex-1">
                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Page%20Multitude/3.webp"
                     class="object-cover max-md:max-w-card md:w-full h-full rounded-lg"
                     alt="" width="302" height="537" loading="lazy">
            </li>
            <li class="flex-1">
                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Page%20Multitude/4.webp"
                     class="object-cover max-md:max-w-card md:w-full h-full rounded-lg"
                     alt="" width="302" height="537" loading="lazy">
            </li>
        </ul>
    </section>
</div>
<div class="columns px-3 xl:px-0"><div class="column main w-full h-full">
                    <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 x-data="initMultitudeConfigurator()" x-defer="intersect"
    @resize.window.debounce="checkIsMobileResolution(); $nextTick(() => { calcSticky() })"
    @visibilitychange.window.debounce="checkIsMobileResolution(); $nextTick(() => { calcSticky() })"
    @scroll.window="calcSticky()"
     >

    <section class="md:flex md:justify-between md:items-center py-16">
        <h2 class="h2 max-w-[20rem]">
            Et vous, quel est votre style ?        </h2>
        <nav aria-label="Et&#x20;vous,&#x20;quel&#x20;est&#x20;votre&#x20;style&#x20;&#x3F;">
            <ul class="grid grid-rows-2 grid-cols-2 md:flex gap-4 max-md:mt-8">
                <template x-for="(frame, i) in productCollection">
                    <li>
                        <template x-for="wording in frameWording">
                            <template x-if="frame['frame_name'] === wording['frame']">
                                <a x-data="initNavAnchor()"
                                    @click.prevent="scrollToSection()"
                                    @keyup.enter.prevent="moveFocusToSection()"
                                    @keyup.space.prevent="moveFocusToSection()"
                                    :href="'#' + i.toLowerCase().replace(/\s/g, '')"
                                    class="relative flex">
                                    <img :src="wording['thumb']"
                                        :alt="frame['frame_name']" :title="frame['frame_name']"
                                        class="rounded-lg"
                                        width="194" height="180" loading="lazy">
                                    <span class="font-semibold absolute left-1/2 -translate-x-1/2 bottom-6"
                                        x-text="frame['frame_name']"></span>
                                    <span class="absolute top-2.5 left-2.5" aria-hidden="true">
                                        <template x-if="i.toLowerCase().replace(/\s/g, '') !== 'recover'">
                                            <span class="block rounded-full w-5 h-5"
                                                :class="'bg-' + i.toLowerCase().replace(/\s/g, '')"></span>
                                        </template>
                                        <template x-if="i.toLowerCase().replace(/\s/g, '') === 'recover'">
                                            <span class="flex">
                                                <span class="block border-2 border-[#3E7996] rounded-full w-6 h-6"
                                                    :class="'bg-' + i.toLowerCase().replace(/\s/g, '') + '-1'"></span>
                                                <span class="block border-2 border-[#3E7996] rounded-full w-6 h-6 -ml-3"
                                                    :class="'bg-' + i.toLowerCase().replace(/\s/g, '') + '-2'"></span>
                                            </span>
                                        </template>
                                    </span>
                                </a>
                            </template>
                        </template>
                    </li>
                </template>
            </ul>
        </nav>
    </section>

    <div id="multitude-main" class="py-20 md:py-40">
        <nav x-show="isFixed"
            class="fixed top-[140px] right-0 left-0 z-10 flex justify-center px-3 pt-3"
            aria-label="Et&#x20;vous,&#x20;quel&#x20;est&#x20;votre&#x20;style&#x20;&#x3F;">
            <ul x-cloak class="max-md:w-full inline-flex bg-multitude-darker border border-multitude rounded-lg flex gap-4 p-1 overflow-hidden">
                <template x-for="(frame, i) in productCollection">
                    <li class="flex items-center max-md:w-1/4">
                        <template x-for="wording in frameWording">
                            <template x-if="frame['frame_name'] === wording['frame']">
                                <a x-data="initNavAnchor()"
                                    @resize.window.debounce="isInViewport()"
                                    @visibilitychange.window.debounce="isInViewport()"
                                    @scroll.window="isInViewport(); $nextTick(() => { calcActiveLink() })"
                                    @click.prevent="scrollToSection()"
                                    @keyup.enter.prevent="keyboardScrollToSection()"
                                    @keyup.space.prevent="keyboardScrollToSection()"
                                    :aria-current="isActive"
                                    :href="'#' + i.toLowerCase().replace(/\s/g, '')"
                                    :class="{'bg-multitude-grey rounded-lg': isActive}"
                                    class="max-md:w-full inline-block py-3 md:px-8">
                                    <span class="sr-only" x-text="frame['frame_name']"></span>
                                    <span class="block m-auto rounded-full w-6 h-6"
                                        :class="'bg-' + i.toLowerCase().replace(/\s/g, '')"
                                        :title="frame['frame_name']"></span>
                                    <!-- for tailwind compilation: bg-refine bg-revival bg-refresh bg-recover bg-recover-1 bg-recover-2 -->
                                </a>
                            </template>
                        </template>
                    </li>
                </template>
            </ul>
        </nav>

        <template x-for="(frame, i) in productCollection">
            <section x-data="initFrameStepper(frame['options'])" x-defer="intersect"
                :id="i.toLowerCase().replace(/\s/g, '')"
                class="frame-section pt-24 md:pt-32">
                <div class="md:flex md:items-end md:justify-between md:gap-4 mb-14">
                    <template x-for="wording in frameWording">
                        <template x-if="frame['frame_name'] === wording['frame']">
                            <img :src="wording['img']"
                                class="rounded-lg md:order-1 max-md:mb-4"
                                alt="" width="522" height="349" loading="lazy">
                        </template>
                    </template>

                    <div class="flex flex-col gap-4">
                        <h3 x-text="frame['frame_name']" class="text-3xl font-semibold"></h3>

                        <template x-for="wording in frameWording">
                            <template x-if="frame['frame_name'] === wording['frame']">
                                <div class="flex flex-col gap-4 max-w-description max-w-multi-description">
                                    <p x-text="wording['description']"></p>
                                    <div class="flex gap-2 items-center">
                                        <template x-if="i.toLowerCase().replace(/\s/g, '') !== 'recover'">
                                            <span class="block rounded-full w-5 h-5"
                                                :class="'bg-' + i.toLowerCase().replace(/\s/g, '')"
                                                :title="frame['frame_name']"></span>
                                        </template>
                                        <template x-if="i.toLowerCase().replace(/\s/g, '') === 'recover'">
                                            <span :title="frame['frame_name']" class="flex">
                                                <span class="block border-2 border-multitude-darker rounded-full w-6 h-6"
                                                    :class="'bg-' + i.toLowerCase().replace(/\s/g, '') + '-1'"></span>
                                                <span class="block border-2 border-multitude-darker rounded-full w-6 h-6 -ml-3"
                                                    :class="'bg-' + i.toLowerCase().replace(/\s/g, '') + '-2'"></span>
                                            </span>
                                        </template>
                                        <p x-text="wording['advice']" class="flex-1 font-semibold"></p>
                                    </div>
                                </div>
                            </template>
                        </template>
                    </div>
                </div>

                <div class="min-h-[36.125rem] flex max-md:flex-col gap-8">
                    <div class="md:w-2/3 md:order-1">
                        <ol class="flex flex-col gap-8">
                            <li :aria-current="!selectedFrameColor">
                                <fieldset>
                                    <legend class="legend">
                                        <span class="step">Étape 1</span>
                                        <span class="title">Sélectionnez la couleur de votre monture</span>
                                        <span class="sr-only" x-text="frame['frame_name']"></span>
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewbox="0 0 24 24" class="icon" aria-hidden="true" focusable="false">
    <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m18 15-6-6-6 6"/>
</svg>
                                    </legend>
                                    <div class="flex gap-3 flex-wrap px-3 sm:px-0">
                                        <template x-for="frameColor in frame['options']">
                                            <label class="color-label">
                                                <input type="radio"
                                                    :value="frameColor['frame_color_label']"
                                                    :name="i.toLowerCase().replace(/\s/g, '') + '-frame-color'"
                                                    x-model="selectedFrameColor"
                                                    @change="frameImageColor = frameColor['img_frame']; updateImage(frameImageColor); $nextTick(() => { selectedClip = null; selectedClipColor = null; })"
                                                    class="sr-only">
                                                <span class="sr-only" x-text="frameColor['frame_color_label'] + ' ' + frame['frame_name']"></span>
                                                <img :src="frameColor['frame_color_img']"
                                                    :alt="frameColor['frame_color_label']"
                                                    :title="frameColor['frame_color_label']"
                                                    :width="isMobile ? '24' : '40'"
                                                    :height="isMobile ? '24' : '40'"
                                                    loading="lazy">
                                            </label>
                                        </template>
                                    </div>
                                </fieldset>
                            </li>
                            <li :aria-current="selectedFrameColor && !selectedClip"
                                :class="{'opacity-50': !selectedFrameColor}">
                                <fieldset>
                                    <legend class="legend">
                                        <span class="step">Étape 2</span>
                                        <span class="title">Sélectionnez la forme de votre clip</span>
                                        <span class="sr-only" x-text="frame['frame_name']"></span>
                                        <span class="icon" :class="{'rotate-180': !selectedFrameColor}">
                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewbox="0 0 24 24" class="h-6 w-6" aria-hidden="true" focusable="false">
    <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m18 15-6-6-6 6"/>
</svg>
                                        </span>
                                    </legend>
                                    <template x-if="selectedFrameColor">
                                        <div class="flex gap-3 flex-wrap px-3 sm:px-0">
                                            <!-- Loop through clip options -->
                                            <template x-for="clip in frame['options'][selectedFrameColor]['options']" :key="clip['clip_name']">
                                                <label class="flex  justify-center flex-col items-center gap-2 cursor-pointer border border-multitude-darker rounded-2xl p-2 transition-all bg-container-darker"
                                                    :class="{'ring-2 ring-white': selectedClip === clip['clip_name']}">
                                                    <input type="radio"
                                                        :value="clip['clip_name']"
                                                        :name="i.toLowerCase().replace(/\s/g, '') + '-clip'"
                                                        x-model="selectedClip"
                                                        @change="updateImage(frameImageColor); $nextTick(() => { selectedClipColor = null; })"
                                                        class="hidden">
                                                    <template x-if="clip['options']" >
                                                        <img
                                                            :src="'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Formes/' + frame['frame_name'] + '/' + clip['clip_name'] + '.png'"
                                                            :alt="clip['clip_name']"
                                                            class="bg-container-darker no-lazy-load w-28 h-20 object-contain rounded-lg"
                                                           >
                                                    </template>

                                                </label>
                                            </template>
                                            <label class="flex flex-col  items-center justify-center cursor-pointer border border-white rounded-2xl p-2 w-32 h-28 bg-multitude-darker transition-all"
                                                :class="{'ring-2 ring-white': !selectedClip}">
                                                <input type="radio"
                                                    :name="i.toLowerCase().replace(/\s/g, '') + '-clip'"
                                                    value=""
                                                    x-model="selectedClip"
                                                    class="hidden"
                                                    @change="updateImage(frameImageColor); $nextTick(() => { selectedClipColor = null; })">
                                                <span class="text-sm font-medium bg-multitude-darker text-white">Sans clip</span>
                                            </label>
                                        </div>
                                    </template>
                                </fieldset>
                            </li>
                            <li :aria-current="selectedFrameColor && selectedClip && !selectedClipColor"
                                :class="{'opacity-50': !selectedClip}">
                                <fieldset>
                                    <legend class="legend">
                                        <span class="step">Étape 3</span>
                                        <span class="title">Sélectionnez la couleur de votre clip</span>
                                        <span class="sr-only" x-text="frame['frame_name']"></span>
                                        <span class="icon" :class="{'rotate-180': !selectedFrameColor || !selectedClip}">
                                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewbox="0 0 24 24" class="h-6 w-6" aria-hidden="true" focusable="false">
    <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m18 15-6-6-6 6"/>
</svg>
                                        </span>
                                    </legend>
                                    <template x-if="selectedClip">
                                        <div class="flex gap-3 flex-wrap px-3 sm:px-0">
                                            <template x-for="clipColor in frame['options'][selectedFrameColor]['options'][selectedClip]['options']">
                                                <label class="color-label">
                                                    <input type="radio"
                                                        :value="clipColor['clip_color_label']"
                                                        :name="i.toLowerCase().replace(/\s/g, '') + '-clip-color'"
                                                        x-model="selectedClipColor"
                                                        @change="updateImage(clipColor['img_frame_clip']); clip_url = clipColor['clip_url']; fittingBoxUrl = clipColor['fittingbox_url'], clip_composed_sku = clipColor['clip_color_sku']"
                                                        class="sr-only">
                                                    <span class="sr-only" x-text="clipColor['clip_color_label'] + ' ' + frame['frame_name']"></span>
                                                    <span class="block rounded-full"
                                                        :class="[isMobile ? 'w-6 h-6' : 'w-10 h-10']"
                                                        :title="clipColor['clip_color_label']"
                                                        :style="`background: ${clipColor['clip_color_code']};`"></span>
                                                </label>
                                            </template>
                                        </div>
                                    </template>
                                </fieldset>
                            </li>
                        </ol>

                        <ul class="md:flex md:gap-4 mt-8">
                            <li>
                                <a :href="clip_url ? clip_url : '#'"
                                    class="block py-3 px-6 bg-multitude-grey rounded-full leading-tight text-center"
                                    :class="{'opacity-50 cursor-not-allowed': !selectedClipColor}"
                                    :aria-disabled="!selectedClipColor">
                                    Voir le clip sélectionné                                </a>
                            </li>
                            <li>
                                <a href="/lunettes-de-vue/accessoires.html?brand=MULTITUDE" class="block py-3 px-6 underline leading-tight text-center">
                                    Voir tous les clips                                </a>
                            </li>
                        </ul>
                    </div>

                    <div class="relative md:w-1/3 max-w-gallery min-h-[26.813rem] max-w-multi-gallery flex bg-container-darker rounded-lg">
                        <img :src="productImage"
                            class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
                            width="485" height="272" loading="lazy"
                            alt="">
                        <button type="button"
                            x-show="selectedClip && selectedClip !== 'No clip'"
                            @click="openVirtualTryOn(clip_composed_sku)"
                            :disabled="!selectedFrameColor"
                            :class="{'opacity-50 cursor-not-allowed': !selectedFrameColor, 'cursor-pointer': selectedFrameColor}"
                            class="relative z-10 inline-flex items-center gap-2 py-3 px-6 mb-6 bg-white text-multitude leading-tight rounded-full inline-block self-end mx-auto">
                            <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewbox="0 0 16 16" class="h-4 w-4" aria-hidden="true" focusable="false">
    <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m10 6.667 3.035-1.518a.667.667 0 0 1 .965.596v4.51a.667.667 0 0 1-.965.596L10 9.333z" clip-rule="evenodd"/>
    <rect width="8" height="8" x="2" y="4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="1.333"/>
</svg>
                            Essayage virtuel                        </button>
                    </div>
                </div>
            </section>
        </template>
    </div>
    <!-- FittingBox Virtual Try-on Modal -->
    <div x-show="activeFittingBox"
        x-transition:enter="ease-out duration-300"
        x-transition:enter-start="opacity-0"
        x-transition:enter-end="opacity-100"
        style="display: none"
        class="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 p-4"
        @click.self="toggleFittingBox()">
        <div class="bg-white rounded-2xl w-full max-w-6xl h-[90vh] flex flex-col lg:flex-row overflow-hidden">
            <div class="flex-1 relative bg-gray-100">
                <button @click="toggleFittingBox()"
                    class="absolute top-4 right-4 z-20 p-2 bg-white rounded-full shadow-lg">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none">
                        <path d="M18 6L6 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M6 6L18 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                </button>
                <div id="fitmix-container" class="w-full h-full"></div>
                <div x-show="isCameraActive"
                    class="absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-4">
                    <button @click="captureFitmix"
                        class="p-4 bg-white/80 backdrop-blur-sm rounded-full shadow-lg">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewbox="0 0 16 16" class="h-6 w-6" aria-hidden="true">
    <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m10 6.667 3.035-1.518a.667.667 0 0 1 .965.596v4.51a.667.667 0 0 1-.965.596L10 9.333z" clip-rule="evenodd"/>
    <rect width="8" height="8" x="2" y="4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="1.333"/>
</svg>
                    </button>
                </div>
            </div>

            <!-- Product Info Sidebar -->

        </div>
    </div>
</div></div></div>
<!-- <script>
window.__mapsReady = function() {
  document.dispatchEvent(new Event("maps:ready"));
  console.log('readymap');
};

(function() {
  const s = document.createElement('script');
  s.src = "https://maps.googleapis.com/maps/api/js?key=AIzaSyCk1ZJ3UoY99v3ONw2b5cm8YVsaF9ir0m0&libraries=places&callback=__mapsReady";
  s.async = true;
  s.defer = true;
  document.head.appendChild(s);
})();
</script> -->
<!-- <script>
  (g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})({
    key: "AIzaSyCk1ZJ3UoY99v3ONw2b5cm8YVsaF9ir0m0",
    v: "weekly",
  });
  const PlacesService = await google.maps.importLibrary("places")
</script> -->
<script defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCk1ZJ3UoY99v3ONw2b5cm8YVsaF9ir0m0&libraries=places"></script>
<script async src="https://atol.my.join-stories.com/scripts/global.js"></script></main>
<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.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Magefan_YouTubeWidget/css/youtubewidget.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.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Magefan_YouTubeWidget/js/iframe.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.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Magefan_YouTubeWidget/js/link.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);
        });
    })();
</script>
<script>
    for (const [selector, deferUntil] of Object.entries({".product-slider section[x-data]":"intersect",".product-info [x-data]":"intersect","#filters-content [x-data]":"intersect","#review_form":"intersect","section[x-data^=initRecentlyViewedProductsComponent]":"intersect","div[x-data^=initBundleOptions]":"intersect","#product_addtocart_form [x-data]":"intersect","#notice-cookie-block":"idle"})) {
        document.querySelectorAll(selector).forEach(el => el.setAttribute('x-defer', `${deferUntil}`));
    }
</script>
<script>
    (function () {
        "use strict";

        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});
    })()
</script>

<script type="module"
        src="https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Hyva_Theme/js/alpine3.min.js"
        defer
 crossorigin
></script>
<script>
    'use strict';
    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 || {} ));
</script>
<script>
    'use strict';
    {
        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 = 3600;

        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);

        function dispatchPrivateContent(data) {
            const privateContentEvent = new CustomEvent("private-content-loaded", {
                detail: {
                    data: 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);
                            }
                        }
                    }
                );
        }
    }
</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', 'mouseover', 'wheel', 'scroll', 'keydown'])
</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 + '');
                        }
                    }
                    this.preselectQuerystringItems();
                    this.preselectLocationHashItems();
                });
            },
            productIndex: 0,
            productIndexForPrice: 0,
            optionIsActive(attributeId, optionId) {
                                return !!this.getAllowedAttributeOptions(attributeId).find(
                    option => option.id === optionId
                )
            },
            optionIsEnabled(attributeId, optionId) {
                                for (const productId in this.optionConfig.index) {
                    if (this.optionConfig.index[productId][attributeId] === optionId) {
                        return true;
                    }
                }
                return false;
            },
            findSimpleIndex() {
                                this.productIndex = this.calculateSimpleIndexForPartialSelection(this.selectedValues);
                this.productIndexForPrice = this.findCheapestProductForPartialSelection(this.selectedValues);
            },
            calculateSimpleIndexForPartialSelection(selectedValues) {
                if (selectedValues.length === 0) return 0;
                return this.findProductIdsForPartialSelection(selectedValues)[0];
            },
            calculateSimpleIndexForFullSelection(selectedValues) {
                if (! this.isFullSelection(selectedValues)) return false;

                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;
                });
            },
            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] || []
            },
            getAllAttributeOptions(attributeId) {
                return (
                    this.optionConfig.attributes[attributeId] &&
                    this.optionConfig.attributes[attributeId].options
                ) || []
            },
            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.productIndexForPrice)) {
                    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.productIndexForPrice]) {
                    return this.optionConfig.optionPrices[this.productIndexForPrice].finalPrice.amount
                }
                return 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();

                const candidates = this.findProductIdsForPartialSelection(this.selectedValues);

                window.dispatchEvent(
                    new CustomEvent(
                        'configurable-selection-changed',
                        {
                            detail: {
                                productId: this.productId,
                                optionId: attributeId,
                                value: value,
                                productIndex: this.productIndex,
                                selectedValues: this.selectedValues,
                                candidates: candidates,
                                skuCandidates: Object.values(candidates).map(id => this.optionConfig.sku[id]),
                            }
                        }
                    )
                );
            },
            calculateIsMinimalPrice() {
                return ! this.isFullSelection(this.selectedValues);
            },
            isFullSelection(selectedValues) {
                return Object.values(selectedValues).length === Object.keys(this.optionConfig.attributes).length;
            },
            updatePrices() {
                const value = this.optionConfig.optionPrices[this.productIndexForPrice] || 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 => {
                    const v = getLocationValue(attribute);
                    v && this.changeOption(attribute.id, v)
                });
            }
        }
    }

</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;
            },
            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>
    function initVideo() {
        return {
            isMobile: false,
            video: '',
            webmVideo: '',
            mp4Video: '',
            init() {
                this.video = document.getElementById('cover-video');
                this.webmVideo = document.querySelector('source[type="video/webm"]');
                this.mp4Video = document.querySelector('source[type="video/mp4"]');
                this.checkIsMobileResolution();
            },
            checkIsMobileResolution() {
                this.isMobile = window.matchMedia('(max-width: 767px)').matches;
                this.setVideoFile();
            },
            setVideoFile() {
                if (this.isMobile) {
                    this.webmVideo.setAttribute('src', 'https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Atol_Multitude/videos/cover.webm')
                    this.mp4Video.setAttribute('src', 'https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Atol_Multitude/videos/cover.mp4')
                } else {
                    this.webmVideo.setAttribute('src', 'https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Atol_Multitude/videos/cover-d.webm')
                    this.mp4Video.setAttribute('src', 'https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Atol_Multitude/videos/cover-d.mp4')
                }
                this.video.load();
            }
        }
    }
</script>
<script>
    function initMultitudeConfigurator() {
        return {
            productCollection: [],
            frameWording: [
                {
                    frame: "Recover",
                    description: "La monture Recover revisite la forme pantos avec un esprit vintage et affirmé. Sa silhouette doucement arrondie apporte équilibre et harmonie aux visages. Les différents coloris offrent un rendu à la fois lumineux et raffiné. Conçue en acétate, cette monture MULTITUDE combine confort, résistance et légèreté. Grâce à sa palette de clips innovants, en nylon ultraléger, cette monture se transforme au gré des envies, révélant toutes les facettes de votre style — du vintage au look moderne.",
                    advice: "Ce modèle est disponible en 2 tailles : S et M",
                    img: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Images%20grand%20format/Recover.png?vh=c05373',
                    thumb: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Miniatures%20/Recover.png',
                },
                {
                    frame: "Refine",
                    description: "La monture Refine redéfinit le look urbain avec une touche d'audace. Son design oversize mêlé à des coloris raffinés comme le noir brillant, permet d'allier caractère affirmé et élégance plus subtile. Conçue en acétate, cette monture MULTITUDE assure un confort optimal tout au long de la journée sans compromis.",
                    advice: "Cette monture, combiné aux clips innovants, se prête à toutes les envies, du look minimaliste au plus créatif, et est disponible dans plusieurs coloris pour s’adapter à chaque personnalité.",
                    img: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Images%20grand%20format/Refine.png',
                    thumb: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Miniatures%20/Refine.png',
                },
                {
                    frame: "Refresh",
                    description: "La monture Refresh réinvente le style classique avec une touche subtile de modernité. Sa forme papillonnante élégante et légèrement évasée met en valeur le regard tout en adoucissant les traits des visages.  Les différents coloris, affirmés et élégants, accentuent la profondeur du regard.  Conçue en acétate, cette monture MULTITUDE allie confort et légèreté.",
                    advice: "Cette monture s’adapte à tous les looks, du plus classique au plus audacieux, grâce à ses clips innovants, et se décline dans plusieurs coloris pour s’harmoniser parfaitement avec chaque facette de votre personnalité.",
                    img: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Images%20grand%20format/Refresh.png',
                    thumb: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Miniatures%20/Refresh.png',
                },
                {
                    frame: "Revival",
                    description: "La monture Revival réinvente les codes du vintage avec une touche résolument tendance. Sa forme ronde apporte douceur et élégance, tandis que les différents coloris illuminent le regard avec caractère. Conçu en acétate, ce modèle allie confort et robustesse, et s’adapte à tous les styles grâce à une palette de clips innovants en nylon ultraléger.",
                    advice: "Du minimalisme chic au look créatif, cette monture MULTITUDE vous invite à exprimer toutes vos facettes avec assurance.",
                    img: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Images%20grand%20format/Revival.png',
                    thumb: 'https://medias.atol.fr/token_fqusgztob/v7/DIVERS/b2c_medias/MULTITUDE/Miniatures%20/Revival.png',
                },
            ],
            isMobile: false,
            scrollPosition: '',
            abstractScrollPosition: '',
            multitudeConfigPosition: '',
            pageBottomPosition: '',
            isFixed: false,
            clip_composed_sku: null,
            frame_sku:null,
            activeFittingBox: false,
            fitmixInstance: null,
            isCameraActive: false,
            currentProduct: null,
            gap: 8,
            fittingBoxParams: {
            apiKey: 'c2lxunMUwmTBp6FOUjw5UsvTzftAGItkS9ELOfsN', // Replace with your actual API key
            onSnapshot: (data) => {
                if (data && data.dataUrl) {
                    this.downloadSnapshot(data.dataUrl);
                }
            },
            onAgreePrivacyTerms: () => {
                this.isCameraActive = true;
            },
            onDisagreePrivacyTerms: () => {
                this.isCameraActive = false;
            }
        },

        // FittingBox methods
        openVirtualTryOn(sku) {
            if (!sku) {
                console.warn('No SKU available for virtual try-on');
                return;
            }
            
            this.getProductDetails(sku).then(() => {
                this.toggleFittingBox(sku);
            });
        },

        toggleFittingBox(sku = null) {
            this.activeFittingBox = !this.activeFittingBox;
            
            if (this.activeFittingBox && sku) {
                this.initializeFitmix(sku);
            } else {
                this.cleanupFitmix();
            }
        },

        initializeFitmix(sku) {
            this.fittingBoxParams.frame = sku;
            
            if (!this.fitmixInstance) {
                this.fitmixInstance = FitMix.createWidget('fitmix-container', this.fittingBoxParams, () => {
                    this.fitmixInstance.startVto('live');
                });
            } else {
                this.fitmixInstance.setFrame(sku);
            }
        },

        cleanupFitmix() {
            if (this.fitmixInstance) {
                this.fitmixInstance.remove(() => {});
                this.fitmixInstance = null;
            }
            this.isCameraActive = false;
        },

        captureFitmix() {
            if (this.fitmixInstance && typeof this.fitmixInstance.getSnapshot === 'function') {
                this.fitmixInstance.getSnapshot();
            }
        },

        downloadSnapshot(dataUrl) {
            const link = document.createElement('a');
            link.href = dataUrl;
            link.download = `virtual-tryon-${this.currentProduct?.sku || 'multitude'}.png`;
            document.body.appendChild(link);
            link.click();
            document.body.removeChild(link);
        },

        async getProductDetails(sku) {
            try {
                const response = await fetch('/multitude/index/getProduct', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json',
                    },
                    body: JSON.stringify({ sku: sku })
                });
                
                const data = await response.json();
                if (data.success) {
                    this.currentProduct = data.product;
                }
            } catch (error) {
                console.error('Error fetching product details:', error);
            }
        },

        addToCart(productId) {
            fetch(BASE_URL + 'checkout/cart/add', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/x-www-form-urlencoded',
                    'X-Requested-With': 'XMLHttpRequest'
                },
                body: `product=${productId}&form_key=${window.FORM_KEY}`
            }).then(() => {
                this.toggleFittingBox();
            });
        },
            checkIsMobileResolution() {
                this.isMobile = window.matchMedia('(max-width: 767px)').matches;
            },
            calcSticky() {
                this.scrollPosition = window.scrollY;
                this.abstractScrollPosition = this.gap + this.scrollPosition;
                this.pageBottomPosition = this.$el.getBoundingClientRect().bottom + window.scrollY;
                this.isFixed = this.scrollPosition >= this.multitudeConfigPosition && this.scrollPosition <= this.pageBottomPosition;
            },
            init() {
                fetch('multitude/index/get')
                    .then((res) => res.json())
                    .then((data) => {
                        this.productCollection = data;
                    });

                const rect = document.getElementById('multitude-main').getBoundingClientRect();
                this.multitudeConfigPosition = rect.top + window.scrollY;
                this.checkIsMobileResolution();
            },
        }
    }

    function initNavAnchor() {
        return {
            section: '',
            sectionPositionTop: '',
            sectionPositionBottom: '',
            isActive: false,
            calcActiveLink() {
                this.isActive = (this.abstractScrollPosition > this.sectionPositionTop) && (this.abstractScrollPosition < this.sectionPositionBottom);
            },
            isInViewport() {
                document.querySelectorAll('.frame-section').forEach(section => {
                    if ('#' + section.getAttribute('id') === this.$el.getAttribute('href')) {
                        this.section = document.getElementById(section.getAttribute('id'));
                        this.sectionPositionTop = section.getBoundingClientRect().top + window.scrollY ;
                        this.sectionPositionBottom = section.getBoundingClientRect().bottom + window.scrollY;
                    }
                })
            },
            scrollToSection() {
                const elem = document.querySelector(this.$el.getAttribute('href'));
                elem.scrollIntoView({ behavior: "smooth", block: 'start'})
            },
            moveFocusToSection() {
                const elem = document.querySelector(this.$el.getAttribute('href'));
                elem.scrollIntoView({ behavior: "smooth", block: 'start'})
                setTimeout(() => {
                    elem.setAttribute('tabindex', '-1');
                    elem.focus();
                    elem.removeAttribute('tabindex');
                }, 1000);
            }
        }
    }

    function initFrameStepper(frameOptions) {
        return {
            productImage: null,
            frameImage: null,
            selectedFrameColor: null,
            selectedClip: null,
            selectedClipColor: null,
            fittingBoxUrl: null,
            clip_url: null,
            frameImageColor: null,
            init() {
                // set default value
                Object.values(frameOptions).forEach( (frame, key) => {
                    if (key === 0) {
                        this.productImage = frame['img_frame'];
                    }
                })
            },
            updateImage(url) {
                if (this.selectedFrameColor && !this.selectedClipColor) { this.frameImage = url; }
                this.productImage = url;
            }
        }
    }
</script>
<script type="text/template" id="instant_wrapper_template">
    {{#findAutocomplete}}
        <div id="algolia-autocomplete-container"></div>
    {{/findAutocomplete}}

    <!-- Full-width Products Container -->
    <div id="algolia_instant_selector"
        class="w-full px-3 md:px-2 mx-auto sm:max-w-screen-sm md:max-w-screen-md lg:max-w-screen-lg xl:max-w-screen-xl 2xl:max-w-screen-2xl ">
        <div>
            <div class="pb-3.5 hidden">
                <div class="px-2.5">
                    {{#second_bar}}
                        <div id="instant-search-bar"></div>
                    {{/second_bar}}
                </div>
            </div>
        </div>
        <div>
            <div itemscope itemtype="http://schema.org/ItemList">
                <div class="pl-2.5">
                    <div class="flex w-full justify-between flex-wrap pr-2.5 py-1.5">
                        <div class="flex items-center" id="algolia-stats"></div>
                        <div class="pull-right  flex justify-end items-center text-gray-400 text-sm leading-8 tracking-wider">
                            <div class="hidden">
                                SORT BY &nbsp;
                            </div>
                            <div  id="sort-filter-wrapper" x-data="{
                                facetsOpen: false, 
                                nbHits: 0,
                                showSortButton: true,
                                totalSelections: 0,
                                init() {
                                    window.addEventListener('algolia-total-refinements', (e) => {
                                        this.totalSelections = e.detail.total;
                                    });
                                    window.addEventListener('algolia-visible-refinements', (e) => {
                                        this.totalSelections = e.detail.total;
                                    });
                                    window.addEventListener('algolia-refinements-updated', (e) => {
                                        setTimeout(() => this.updateFromDOM(), 50);
                                    });
                                    window.addEventListener('clear-all-filters', () => {
                                        setTimeout(() => this.totalSelections = 0, 100);
                                    });
                                    this.updateFromDOM();
                                    $watch('showSortButton', value => {});
                                    $nextTick(() => {
                                        const statsContainer = document.querySelector('#algolia-stats');
                                        if (statsContainer) {
                                            const statsText = statsContainer.textContent || '';
                                            const match = statsText.match(/(\d+)\s+results/);  <!-- Match number of results -->
                                            if (match && match[1]) {
                                                nbHits = match[1];  <!-- Update nbHits -->
                                            }
                                        }
                                    });
                                },
                                updateFromDOM() {
                                    const currentRefinementItems = document.querySelectorAll('.ais-CurrentRefinements-item');
                                    const visibleRefinements = Array.from(currentRefinementItems).filter(item => 
                                        item.style.display !== 'none' && item.offsetParent !== null
                                    ).length;
                                    
                                    this.totalSelections = visibleRefinements;
                                }
                            }"
                                >

                                <button type="button"  id="sort-filter-button"   x-show="showSortButton" 
@click="facetsOpen = true" x-transition x-cloak class="h-[35px] px-4 py-3 bg-bleu-base hover:bg-bleu-dragg rounded-[100px] justify-center items-center gap-6 inline-flex">
                                    <div class="w-4 h-4 flex justify-center items-center">
                                        <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                                            <g id="Group">
                                                <ellipse id="Oval" cx="9.33333" cy="4.00033" rx="1.33333" ry="1.33333" stroke="white" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                                                <path id="Path" d="M2.6665 4.00033H7.99984" stroke="white" stroke-linecap="round" stroke-linejoin="round"></path>
                                                <path id="Path_2" d="M10.6665 4.00033H13.3332" stroke="white" stroke-linecap="round" stroke-linejoin="round"></path>
                                                <circle id="Oval_2" cx="5.33333" cy="8.00033" r="1.33333" stroke="white" stroke-linecap="round" stroke-linejoin="round"></circle>
                                                <path id="Path_3" d="M2.6665 8.00033H3.99984" stroke="white" stroke-linecap="round" stroke-linejoin="round"></path>
                                                <path id="Path_4" d="M6.6665 8.00033H13.3332" stroke="white" stroke-linecap="round" stroke-linejoin="round"></path>
                                                <ellipse id="Oval_3" cx="11.3333" cy="12.0003" rx="1.33333" ry="1.33333" stroke="white" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                                                <path id="Path_5" d="M2.6665 12.0003H9.99984" stroke="white" stroke-linecap="round" stroke-linejoin="round"></path>
                                                <path id="Path_6" d="M12.6665 12.0003H13.3332" stroke="white" stroke-linecap="round" stroke-linejoin="round"></path>
                                            </g>
                                        </svg>
                                    </div>
                                    <span class="text-white text-base font-normal font-poppins leading-snug">Trier et Filtrer</span>
                                </button>
                                <!-- Modal Overlay -->
<div x-show="facetsOpen"
    class="fixed inset-0 z-50 h-svh"
    @click="facetsOpen = false"
    x-cloak
    x-transition:enter="transition transform duration-500 ease-in-out"
    x-transition:enter-start="translate-x-full"
    x-transition:enter-end="translate-x-0"
    x-transition:leave="transition transform duration-500 ease-in-out"
    x-transition:leave-start="translate-x-0"
    x-transition:leave-end="translate-x-full">
    
    <div class="absolute inset-0 bg-transparent"></div>
    
    <!-- Modal Content -->
    <div class="absolute inset-y-0 right-0 w-full sm:w-[623px] bg-white h-full flex-col justify-start items-start inline-flex z-50"
         @click.stop>
        <!-- Header-->
        <div class="self-stretch p-6 bg-white border-b border-whiteEdgar justify-between items-center inline-flex">
            <div data-svg-wrapper @click="facetsOpen = false">
                            <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M15 6.5L9 12.5L15 18.5" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                            </svg>
            </div>
            <div class="justify-start items-center gap-2 flex">
                <div class="w-6 h-6 justify-center items-center flex">
                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <g id="Group">
                            <circle id="Oval" cx="14" cy="6" r="2" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></circle>
                            <path id="Path" d="M4 6H12" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                            <path id="Path_2" d="M16 6H20" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                            <ellipse id="Oval_2" cx="8" cy="12" rx="2" ry="2" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                            <path id="Path_3" d="M4 12H6" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                            <path id="Path_4" d="M10 12H20" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                            <ellipse id="Oval_3" cx="17" cy="18" rx="2" ry="2" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                            <path id="Path_5" d="M4 18H15" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                            <path id="Path_6" d="M19 18H20" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                        </g>
                    </svg>
                </div>
                <div class="text-right text-bleu-indigo text-xl font-semibold font-poppins leading-7">Trier et filtrer</div>
            </div>
            <div class="w-6 h-6 justify-center items-center flex ">
            </div>
        </div>
        <!-- Content: Sorting & Facets -->
        <div class="flex-1 overflow-auto no-scrollbar p-6 mb-4 w-full">
            <div id="algolia-sorts" class="mb-4"></div>
            <div id="instant-search-facets-container"></div>
        </div>

        <div class="flex self-center justify-center w-full">
            <div class="border-t border-whiteEdgar py-4 w-full">
                <div class="w-full justify-center items-center gap-3 inline-flex flex-col sm:flex-row">
                        <button type="button"
                                x-show="totalSelections > 0"
                            @click="$dispatch('clear-all-filters')"
                            class="group flex h-[46px] items-center gap-2 px-3 py-1 md:px-6 md:py-3 bg-bleu-grisclair hover:bg-bleu-skyBleu rounded-[100px] transition-colors duration-200">
                            <div class="text-bleu-base body_body_regular">Réinitialiser</div>
                        </button>
                    <button type="button"
                        @click="facetsOpen = false"
                        class="h-[46px] px-6 py-3 bg-bleu-base hover:bg-bleu-dragg rounded-[100px] justify-center items-center gap-2 !font-[400] inline-flex body_body_regular text-white">
                        <div id="nbhits-container"></div>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>
                            </div>

                        </div>

                    </div>
                    <div class="flex flex-col gap-2">
                    <div id="current-refinements"></div>
                    <div class="order-2" id="clear-refinements"></div>
                    </div>  
                </div>
                <div id="algolia-banner"></div>
                <div id="instant-empty-results-container"></div>
                <h2 id="instant-search-results-container" class="mb-8"></h2>
            </div>
        </div>
        <div>
            <div id="instant-search-pagination-container"></div>
        </div>
    </div>
</script><script>
    window.cmsBlocks = window.cmsBlocks || {};
    window.cmsBlocks.banner_catalog_enabled = true;
    window.cmsBlocks.notice_catalog_enabled = false;

</script>

<script type="text/template" id="instant-hit-template">

    {{#custom1}}
        <!-- This block only renders if custom1 is TRUE -->
        <div class="w-full h-full min-h-[379px] sm:min-h-[527px] rounded-lg inline-flex justify-center items-center overflow-hidden">
    <div class="flex-1 self-stretch relative rounded-lg flex justify-center items-end overflow-hidden">
        <img src="https://fqusgztob.filerobot.com/DIVERS/b2c_medias/Cat%C3%A9gorie/Lunette%20de%20vue/Marques/197x379_multitude_cat%C3%A9.png?vh=a31119" alt="Mobile Banner" class="absolute inset-0 w-full h-full object-cover md:hidden">
        <img src="https://medias.atol.fr/DIVERS/b2c_medias/Cat%C3%A9gorie/Lunette%20de%20vue/Marques/400x600_multitude_catalogue_lunette.png?vh=53c1af" alt="Desktop Banner" class="absolute inset-0 w-full h-full object-cover hidden md:block">
        <div class="flex flex-col justify-center items-center gap-4 md:gap-8">
            <div class="md:px-6 self-stretch flex flex-col justify-center gap-2">
                <div class="md:px-4 self-stretch relative text-center">
                    <span class="text-white text-[21px] md:text-[32px] font-light font-poppins leading-[31.40px] md:leading-[38.40px]">
                                            </span>
                </div>
            </div>
                            <button onclick="window.location.href='/multitude'" class="mb-4 px-2 md:px-6 py-2 md:py-3 bg-white/20 hover:bg-white/40 rounded-[100px] backdrop-blur-[5px] inline-flex justify-center items-center gap-2 transition-all duration-200">
                       <span class="body_small_regular sm:body_body_regular text-white hover:!text-white">
                            J'en profite                       </span> 
                </button>
                    </div>
    </div>
</div>

    {{/custom1}}

    {{#custom2}}
                {{/custom2}}

    {{^custom1}}
        {{^custom2}}
            <div class="ais-Hits-item font-poppins" 
                 data-objectid="{{objectID}}" 
                 data-name="{{name}}" 
                 data-sku="{{sku}}"
                 data-price="{{price.EUR.default}}" 
                 data-brand="{{brand}}" 
                 data-category="{{categories.level0.0}}"
                 data-gender="{{gender}}"
                 data-frame-shape="{{frame_shape}}"
                 data-orig-price="{{price.EUR.default_original_formated}}">
            <div
            x-data="{
              showSecondImage: false,
              currentVariant: 0,
              wishlistProductIds: &quot;[]&quot;,
              productName: '{{name}}',
              productSku: '{{sku}}',
              productId: '{{objectID}}',
              url: '{{url}}',
              in_stock: '{{in_stock}}',
              regularprice: '{{price.EUR.default_formated}}',
              originprice: '{{price.EUR.default_original_formated}}',
              has_virtual_fitting: '{{has_virtual_fitting}}',
              mediaGallery0: '{{media_gallery.0}}',
              mediaGallery1: '{{media_gallery.1}}',
              groupedColor: '{{grouped_color}}'.split(','),
              groupedProducts: '{{grouped_products}}'.split(','),
              gender: '{{gender}}',
              frame_shape :'{{frame_shape}}',
              isInWishlist(id) {
                let a = JSON.parse(this.wishlistProductIds);
                return id in a;
              },
              getWishlistKeyByValue(id) {
                const a = JSON.parse(this.wishlistProductIds);
                return a[id];
              },
              removeWishlistItem(id) {
                const wishlistItemId = this.getWishlistKeyByValue(id);
                hyva.postForm(
                    {
                        action: 'wishlist/index/remove',
                        data: {
                            item: wishlistItemId ?? null,
                            uenc: '',
                            form_key: ''
                        }
                    },
                    {
                        headers: {
                        'X-Requested-With': 'XMLHttpRequest'
                        }
                    }
                    ).then(() => {
                    });
              },
              fetchProduct(sku) {
                  fetch('https://I4L9KNLMH7-dsn.algolia.net/1/indexes/{{__indexName}}/query', {
                      method: 'POST',
                      headers: {
                          'X-Algolia-Application-Id': 'I4L9KNLMH7',
                          'X-Algolia-API-Key': '631dd76161a22fdf5fe2191aeed9d247',
                          'Content-Type': 'application/json'
                      },
                      body: JSON.stringify({ 'query': sku, 'typoTolerance': 'false' })
                  })
                  .then(response => response.json())
                  .then(data => {
                      if (data.hits.length > 0) {
                          this.productName = data.hits[0].name; 
                          this.productSku = data.hits[0].sku;
                          this.mediaGallery0 = data.hits[0].media_gallery[0];
                          this.mediaGallery1 = data.hits[0].media_gallery[1];
                          this.url = data.hits[0].url;
                          this.in_stock = data.hits[0].in_stock;
                          this.has_virtual_fitting = data.hits[0].has_virtual_fitting;
                          this.gender = data.hits[0].gender;
                          this.frame_shape = data.hits[0].frame_shape;
                          this.regularprice = data.hits[0].price.EUR.default_formated,
                          this.originprice = data.hits[0].price.EUR.default_original_formated,
                          this.frame_shape = data.hits[0].frame_shape;
                      }
                  });
              },
              openProductImageModal(sku) {
                    window.dispatchEvent(new CustomEvent('openProductImageModal', {
                        detail: sku
                    }));
                }
            }"
                class="bg-white rounded-t-lg cursor-pointer">
                <meta itemprop="position" content="{{__position}}" />
                <div class="relative block h-full result">
                    <div class="absolute flex w-full !top-4 !pr-2 md:!pr-3 justify-between z-[1]">
                        <div>
                            <span x-show="originprice" 
                              class="flex top-4 bg-white text-orange-500 body_small_bold sm:body_body_bold pr-2 py-1 rounded-r-[10px]">
                                Promo
                            </span>
                        </div>
                        <div class="!top-3 md:!pr-4 flex gap-2 md:gap-3 flex-end">
                            <template x-if="has_virtual_fitting === 'Oui'">
                                <span @click="openProductImageModal(productSku)" title="Essayez virtuellement vos lunettes" class="text-white bg-bleu-base rounded-full w-8 h-8 md:w-10 md:h-10 flex items-center justify-center p-[0.25rem] sm:p-2 hover:bg-blue-dragg transition-colors duration-200 ease-in-out">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
                                        <g fill="white"><path d="M16 10.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5s.448-1.5 1-1.5s1 .672 1 1.5Zm-6 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S8.448 9 9 9s1 .672 1 1.5Z"/>
                                        <path fill-rule="evenodd" d="M9.944 1.25H10a.75.75 0 0 1 0 1.5c-1.907 0-3.261.002-4.29.14c-1.005.135-1.585.389-2.008.812c-.423.423-.677 1.003-.812 2.009c-.138 1.028-.14 2.382-.14 4.289a.75.75 0 0 1-1.5 0v-.056c0-1.838 0-3.294.153-4.433c.158-1.172.49-2.121 1.238-2.87c.749-.748 1.698-1.08 2.87-1.238c1.14-.153 2.595-.153 4.433-.153Zm8.345 1.64c-1.027-.138-2.382-.14-4.289-.14a.75.75 0 0 1 0-1.5h.056c1.838 0 3.294 0 4.433.153c1.172.158 2.121.49 2.87 1.238c.748.749 1.08 1.698 1.238 2.87c.153 1.14.153 2.595.153 4.433V10a.75.75 0 0 1-1.5 0c0-1.907-.002-3.261-.14-4.29c-.135-1.005-.389-1.585-.812-2.008c-.423-.423-1.003-.677-2.009-.812ZM2 13.25a.75.75 0 0 1 .75.75c0 1.907.002 3.262.14 4.29c.135 1.005.389 1.585.812 2.008c.423.423 1.003.677 2.009.812c1.028.138 2.382.14 4.289.14a.75.75 0 0 1 0 1.5h-.056c-1.838 0-3.294 0-4.433-.153c-1.172-.158-2.121-.49-2.87-1.238c-.748-.749-1.08-1.698-1.238-2.87c-.153-1.14-.153-2.595-.153-4.433V14a.75.75 0 0 1 .75-.75Zm20 0a.75.75 0 0 1 .75.75v.056c0 1.838 0 3.294-.153 4.433c-.158 1.172-.49 2.121-1.238 2.87c-.749.748-1.698 1.08-2.87 1.238c-1.14.153-2.595.153-4.433.153H14a.75.75 0 0 1 0-1.5c1.907 0 3.262-.002 4.29-.14c1.005-.135 1.585-.389 2.008-.812c.423-.423.677-1.003.812-2.009c.138-1.027.14-2.382.14-4.289a.75.75 0 0 1 .75-.75ZM8.397 15.553a.75.75 0 0 1 1.05-.155c.728.54 1.607.852 2.553.852s1.825-.313 2.553-.852a.75.75 0 1 1 .894 1.204A5.766 5.766 0 0 1 12 17.75a5.766 5.766 0 0 1-3.447-1.148a.75.75 0 0 1-.156-1.049Z" clip-rule="evenodd"/>
                                        </g>
                                    </svg>
                                </span>
                            </template>
                            <template x-if="isInWishlist({{objectID}})">
                                <span @click.prevent="removeWishlistItem({{objectID}})"
                                    class="inline-flex items-center justify-center w-8 h-8 md:w-10 md:h-10 rounded-full bg-white">
                                    <svg  viewBox="0 0 24 24"
                                        class="w-5 h-5 md:w-6 md:h-6 transition-all duration-200 fill-red-base"
                                        stroke-width="2">
                                        <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                    </svg>
                                </span>
                            </template>
                            <template x-if="!isInWishlist({{objectID}})">
                                <span x-data="initWishlist()" @click.prevent="addToWishlist({{objectID}})"
                                    class="inline-flex items-center justify-center w-8 h-8 md:w-10 md:h-10 rounded-full bg-white gtm-add-to-wishlist"
                                    :data-sku="productSku"
                                    :data-name="productName"
                                    :data-id="productId">
                                    <svg  viewBox="0 0 24 24"
                                        class="stroke-[#3E4DD2] w-5 h-5 md:w-6 md:h-6 hover:stroke-white transition-all duration-200 fill-transparent hover:fill-red-base"
                                        stroke-width="2">
                                        <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                    </svg>
                                </span>
                            </template>
                        </div>
                    </div>
                    <div>
                        <a :href="url">
                            <div @mouseenter="showSecondImage = mediaGallery1 ? true : false"
                                @mouseleave="showSecondImage = false"
                                class="relative w-full bg-graybg rounded-lg ">
                                {{#media_gallery.0}}
                                    <img itemprop="image"
                                        :class="{'opacity-0 pointer-events-none': showSecondImage}"
                                        class="rounded-[.25rem] w-full object-contain !h-[233px] md:!h-[420px] relative transition-opacity duration-300"
                                        :src="mediaGallery0"
                                        alt="{{name}}">
                                {{/media_gallery.0}}
                                {{^media_gallery.0}}
                                    <img itemprop="image"
                                        :class="{'opacity-0 pointer-events-none': showSecondImage}"
                                        class="rounded-[.25rem] w-full object-contain !h-[233px] md:!h-[420px] relative transition-opacity duration-300"
                                        src="https://medias.atol.fr/token_fqusgztob/v7/PRODUITS/unknown"
                                        alt="{{name}}">
                                {{/media_gallery.0}}

                                {{#media_gallery.1}}
                                    <img itemprop="image"
                                        :class="{'opacity-100': showSecondImage, 'opacity-0': !showSecondImage}"
                                        class="hover-image rounded-[.25rem] w-full object-contain !h-[233px] md:!h-[420px] absolute top-0 left-0 transition-opacity duration-300 pointer-events-none"
                                        :src="mediaGallery1"
                                        alt="{{name}}">
                                {{/media_gallery.1}}
                            </div>
                        </a>
                        {{#grouped_color.0}}
                            <div class="flex justify-center space-x-2 -mt-[2rem] mb-6 relative">
                                <template x-for="(color, index) in groupedColor" :key="index">
                                    <img class="w-3.5 h-3.5 rounded-full cursor-pointer"
                                        :class="{ 'border-2 border-bleu-label': index === currentVariant }"
                                        :src="color"
                                        alt="{{name}}"
                                        @click="currentVariant = index; fetchProduct(groupedProducts[index])">
                                </template>
                            </div>
                        {{/grouped_color.0}}
                        <a :href="url">
                            <h2 itemprop="name" class="left mt-2 mb-1 text-start text-bleu-indigo body_body_regular min-h-[67px] xs:min-h-[45px] line-clamp-3 xs:line-clamp-2" x-text="productName"></h2>
                            <div class="text-start body_body_regular text-grisfonce line-clamp-2">
                                <span x-text="productSku"></span>
                            </div>
                        </a>
                    </div>

                    <div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="price mt-2 flex justify-between">
                        <div class="flex flex-wrap gap-1 sm:gap-2">
                            <span class="self-center flex left body_body_bold" 
                              :class="!originprice ? 'text-bleu-indigo' : 'text-orange-500'"
                              x-text="regularprice"></span>
                              <span class="text-sm text-bleu-indigo line-through" 
                              x-text="originprice"
                              x-show="originprice"
                            ></span>                        
                        </div>
                        <div class="product-in-stock flex flex-no-wrap items-center min-w-[70px]">
                            <span :class="in_stock == 1 ? 'bg-states-confirmation-500' : 'bg-orange-500'"
                                class="w-[6px] h-[6px] rounded-full mr-1"></span>
                            <span :class="in_stock == 1 ? 'text-states-confirmation-500' : 'text-orange-500'"
                                class="body_small_regular inline-flex items-center"
                                x-text="in_stock == 1 ? 'En stock' : 'Rupture de stock'">
                            </span>
                        </div>
                    </div>
                </div>
            </div>
            </div>
        {{/custom2}}
    {{/custom1}}

</script>

<script>
document.addEventListener('DOMContentLoaded', function() {
  // Listen for clicks on product links in Algolia results
  document.addEventListener('click', function(e) {
    // Check if the clicked element is a product link in Algolia results
    const link = e.target.closest('.ais-Hits-item a');
    if (!link) return;

    // Prevent the default navigation temporarily
    e.preventDefault();
    e.stopPropagation();

    const container = link.closest('.ais-Hits-item');
    if (!container) {
      window.location.href = link.href;
      return;
    }

    // Get all product data from data attributes
    const itemId = container.getAttribute('data-objectid') || '';
    const itemName = container.getAttribute('data-name') || '';
    const itemSku = container.getAttribute('data-sku') || '';
    const itemPrice = parseFloat(container.getAttribute('data-price')) || 0;
    const itemBrand = container.getAttribute('data-brand') || '';
    const itemCategory = container.getAttribute('data-category') || '';
    const itemGender = container.getAttribute('data-gender') || '';
    const itemFrameShape = container.getAttribute('data-frame-shape') || '';
    
    // Calculate discount
    const origPriceText = container.getAttribute('data-orig-price') || '';
    const origPrice = parseFloat(origPriceText.replace(/[^\d.,]/g, '').replace(',', '.')) || 0;
    const discount = origPrice > 0 ? origPrice - itemPrice : 0;

    // Fetch customer status for user data
    fetch('/gtm/customer/status')
      .then(response => response.json())
      .then(customerData => {
        window.dataLayer = window.dataLayer || [];
        window.dataLayer.push({ ecommerce: null });
        window.dataLayer.push({
          event: 'select_item',
          ecommerce: {
            currency: 'EUR',
            value: itemPrice,
            items: [{
              item_id: itemId,
              item_name: itemName,
              item_brand: itemBrand,
              item_category: itemCategory,
              item_category2: itemGender,
              item_category3: itemFrameShape,
              quantity: 1,
              price: itemPrice,
              discount: discount,
              currency: 'EUR'
            }]
          },
          user: {
            userId: customerData.userId || 'guest',
            userLoginState: customerData.userLoginState ? '1' : '0',
            userEmail: customerData.userEmail || null
          }
        });

        // Navigate to product page after a short delay to ensure the event is processed
        setTimeout(() => {
          window.location.href = link.href;
        }, 100);
      })
      .catch(error => {
        // If customer API fails, push without user data
        window.dataLayer = window.dataLayer || [];
        window.dataLayer.push({ ecommerce: null });
        window.dataLayer.push({
          event: 'select_item',
          ecommerce: {
            currency: 'EUR',
            value: itemPrice,
            items: [{
              item_id: itemId,
              item_name: itemName,
              item_brand: itemBrand,
              item_category: itemCategory,
              item_category2: itemGender,
              item_category3: itemFrameShape,
              quantity: 1,
              price: itemPrice,
              discount: discount,
              currency: 'EUR'
            }]
          },
          user: {
            userId: 'guest',
            userLoginState: '0',
            userEmail: null
          }
        });

        // Navigate to product page
        setTimeout(() => {
          window.location.href = link.href;
        }, 100);
      });
  });

  // Function to track view_item_list event
  function trackViewItemList() {
    // Get all product items (first 6 only)
    const productItems = document.querySelectorAll('.ais-Hits-item');
    const firstSixItems = Array.from(productItems).slice(0, 6);
    
    if (firstSixItems.length === 0) return;

    const items = firstSixItems.map((item, index) => {
      const itemId = item.getAttribute('data-objectid') || '';
      const itemName = item.getAttribute('data-name') || '';
      const itemPrice = parseFloat(item.getAttribute('data-price')) || 0;
      const itemBrand = item.getAttribute('data-brand') || '';
      const itemCategory = item.getAttribute('data-category') || '';
      const itemGender = item.getAttribute('data-gender') || '';
      const itemFrameShape = item.getAttribute('data-frame-shape') || '';
      
      // Calculate discount
      const origPriceText = item.getAttribute('data-orig-price') || '';
      const origPrice = parseFloat(origPriceText.replace(/[^\d.,]/g, '').replace(',', '.')) || 0;
      const discount = origPrice > 0 ? origPrice - itemPrice : 0;

      return {
        item_id: itemId,
        item_name: itemName,
        item_brand: itemBrand,
        item_category: itemCategory,
        item_category2: itemGender,
        item_category3: itemFrameShape,
        index: index,
        quantity: 1,
        price: itemPrice,
        discount: discount,
        currency: 'EUR'
      };
    });

    // Calculate total value
    const totalValue = items.reduce((sum, item) => sum + item.price, 0);

    // Fetch customer status for user data
    fetch('/gtm/customer/status')
      .then(response => response.json())
      .then(customerData => {
        window.dataLayer = window.dataLayer || [];
        window.dataLayer.push({ ecommerce: null });
        window.dataLayer.push({
          event: 'view_item_list',
          ecommerce: {
            item_list_name: 'Related products',
            item_list_id: 'related_products',
            items: items
          },
          user: {
            userId: customerData.userId || 'guest',
            userLoginState: customerData.userLoginState ? '1' : '0',
            userEmail: customerData.userEmail || null
          }
        });
      })
      .catch(error => {
        // Fallback without user data
        window.dataLayer = window.dataLayer || [];
        window.dataLayer.push({ ecommerce: null });
        window.dataLayer.push({
          event: 'view_item_list',
          ecommerce: {
            item_list_name: 'Related products',
            item_list_id: 'related_products',
            items: items
          },
          user: {
            userId: 'guest',
            userLoginState: '0',
            userEmail: null
          }
        });
      });
  }

  // Track when Related products are loaded/updated
  function observeSearchResults() {
    const observer = new MutationObserver(function(mutations) {
      mutations.forEach(function(mutation) {
        if (mutation.type === 'childList') {
          const hasNewResults = Array.from(mutation.addedNodes).some(node => 
            node.nodeType === 1 && node.classList && node.classList.contains('ais-Hits-item')
          );
          
          if (hasNewResults) {
            // Wait a bit for all items to render
            setTimeout(() => {
              trackViewItemList();
            }, 3000);
          }
        }
      });
    });

    // Start observing the hits container
    const hitsContainer = document.querySelector('.ais-Hits');
    if (hitsContainer) {
      observer.observe(hitsContainer, {
        childList: true,
        subtree: true
      });
      
      // Also track initial results
      setTimeout(() => {
        trackViewItemList();
      }, 5000);
    }
  }

  // Initialize when DOM is ready
  observeSearchResults();

  // Also track on page load if results are already present
  setTimeout(() => {
    if (document.querySelectorAll('.ais-Hits-item').length > 0) {
      trackViewItemList();
    }
  }, 8000);
});
</script><script type="text/template" id="instant-stats-template">
    <div class="py-2">
        {{#hasOneResult}}        
        <span class="text-graystory text-base font-normal font-poppins ">1</span>
        <span class="text-graystory text-base font-normal font-poppins ">
        Élément        </span>
        {{/hasOneResult}}
        {{#hasManyResults}}
        <span class="text-graystory text-base font-normal font-poppins " itemprop="numberOfItems">{{nbHits}}</span>
        <span class="text-graystory text-base font-normal font-poppins ">
            modèles        </span>

        {{/hasManyResults}}
    </div>
</script>

<script type="text/template" id="refinements-lists-item-template">
    <label class="{{cssClasses.label}} {{#isRefined}}checked{{/isRefined}} flex items-center w-full justify-between mb-2.5">
        <span class="pl-2">{{value}}</span>
        <input class="{{cssClasses.checkbox}}  text-right" {{#isRefined}}checked{{/isRefined}} type="checkbox" value="{{value}}" />
        <!-- <span class="{{cssClasses.count}} flex-grow text-right">{{count}}</span> -->
    </label>
</script>
<script type="text/template" id="current-refinements-template">
    <div class="cross-wrapper">
        <span class="clear-cross clear-refinement"></span>
    </div>
    <div class="current-refinement-wrapper">
        {{#label}}
        <span class="current-refinement-label">{{label}}{{^operator}}:{{/operator}}</span>
        {{/label}}
        {{#operator}}
        {{{displayOperator}}}
        {{/operator}}
        {{#exclude}}-{{/exclude}}
        <span class="current-refinement-name">{{name}}</span>
    </div>
</script><script>
    'use strict';

    (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) {

            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() || {};
                    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) {
                    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)
                        }
                    };
                }
            };
        }

        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);
    })();
</script>
    <script>
        window.algoliaConfig = {"instant":{"enabled":true,"selector":".columns","isAddToCartEnabled":true,"addToCartParams":{"action":"https:\/\/www.atol.fr\/checkout\/cart\/add\/","formKey":"quh0J8BeGfhwngRW","redirectUrlParam":"uenc"},"infiniteScrollEnabled":true,"urlTrackedParameters":["query","attribute:*","index"],"isSearchBoxEnabled":true,"isVisualMerchEnabled":false,"categorySeparator":" \/\/\/ ","categoryPageIdAttribute":"categoryPageId","isCategoryNavigationEnabled":false,"hidePagination":false},"autocomplete":{"enabled":true,"selector":".algolia-search-input","sections":[],"nbOfProductsSuggestions":3,"nbOfCategoriesSuggestions":0,"nbOfQueriesSuggestions":3,"isDebugEnabled":false,"isNavigatorEnabled":true,"debounceMilliseconds":300,"minimumCharacters":0},"landingPage":{"query":"","configuration":"[]"},"recommend":{"enabledFBT":false,"enabledRelated":false,"enabledFBTInCart":false,"enabledRelatedInCart":false,"enabledLookingSimilar":0,"limitFBTProducts":6,"limitRelatedProducts":6,"limitTrendingItems":6,"limitLookingSimilar":6,"enabledTrendItems":0,"trendItemFacetName":null,"trendItemFacetValue":null,"isTrendItemsEnabledInPDP":0,"isTrendItemsEnabledInCartPage":0,"isAddToCartEnabledInFBT":false,"isAddToCartEnabledInRelatedProduct":false,"isAddToCartEnabledInTrendsItem":false,"isAddToCartEnabledInLookingSimilar":false,"FBTTitle":"Frequently bought together","relatedProductsTitle":"Related products","trendingItemsTitle":"Trending items","addToCartParams":{"action":"https:\/\/www.atol.fr\/checkout\/cart\/add\/","formKey":"quh0J8BeGfhwngRW","redirectUrlParam":"uenc"},"isLookingSimilarEnabledInPDP":0,"isLookingSimilarEnabledInCartPage":0,"lookingSimilarTitle":"Looking Similar"},"extensionVersion":"3.14.4","applicationId":"I4L9KNLMH7","indexName":"v3_prod_b2c_main_fr","apiKey":"OWJiNTEwZWEzZmQ0NjFkMDQ2ZDJhNDE5MWM5MjdhODA0YmIxYmFjNDVlZGM0NTM2OGNhZmE4ZWU3YzVjY2I1ZnRhZ0ZpbHRlcnM9JnZhbGlkVW50aWw9MTc2NTkxNTk4Nw==","attributeFilter":[],"facets":[{"attribute":"price","type":"slider","label":"Prix","searchable":"2","create_rule":"2"},{"attribute":"gender","type":"disjunctive","label":"Genre","searchable":"2","create_rule":"2"},{"attribute":"brand","type":"disjunctive","label":"Marque","searchable":"1","create_rule":"2"},{"attribute":"color_filter","type":"disjunctive","label":"Couleur","searchable":"2","create_rule":"2"},{"attribute":"frame_material","type":"disjunctive","label":"Mati\u00e8re","searchable":"2","create_rule":"2"},{"attribute":"frame_style","type":"disjunctive","label":"Style de monture","searchable":"2","create_rule":"2"},{"attribute":"frame_shape","type":"disjunctive","label":"Forme de monture","searchable":"2","create_rule":"2"},{"attribute":"lens_correction_type","type":"disjunctive","label":"Type de lentilles","searchable":"2","create_rule":"2"},{"attribute":"lens_periodicity","type":"disjunctive","label":"P\u00e9riodicit\u00e9","searchable":"2","create_rule":"2"}],"areCategoriesInFacets":false,"hitsPerPage":12,"sortingIndices":[{"attribute":"price","sort":"asc","sortLabel":"Prix croissant","name":"v3_prod_b2c_main_fr_products_price_default_asc","ranking":["asc(price.EUR.default)","typo","geo","words","filters","proximity","attribute","exact","custom"],"label":"Prix croissant"},{"attribute":"created_at","sort":"desc","sortLabel":"Nouveaut\u00e9s","name":"v3_prod_b2c_main_fr_products_created_at_desc","ranking":["desc(created_at)","typo","geo","words","filters","proximity","attribute","exact","custom"],"label":"Nouveaut\u00e9s"}],"isSearchPage":false,"isCategoryPage":false,"isLandingPage":false,"removeBranding":true,"productId":null,"priceKey":".EUR.default","priceGroup":null,"origFormatedVar":"price.EUR.default_original_formated","tierFormatedVar":"price.EUR.default_tier_formated","currencyCode":"EUR","currencySymbol":"\u20ac","priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":"\u202f","groupLength":3,"integerRequired":false},"maxValuesPerFacet":100,"autofocus":true,"resultPageUrl":"https:\/\/www.atol.fr\/catalogsearch\/result\/","request":{"query":"","refinementKey":"","refinementValue":"","categoryId":"","landingPageId":"","path":"","level":"","parentCategory":"","childCategories":[],"url":"https:\/\/www.atol.fr\/multitude"},"showCatsNotIncludedInNavigation":false,"showSuggestionsOnNoResultsPage":false,"baseUrl":"https:\/\/www.atol.fr","popularQueries":[],"useAdaptiveImage":false,"urls":{"logo":"https:\/\/www.atol.fr\/static\/version1764689007\/frontend\/Iot\/default\/fr_FR\/Algolia_AlgoliaSearch\/js\/images\/algolia-logo-blue.svg"},"cookieConfiguration":{"customerTokenCookie":"_ALGOLIA_MAGENTO_AUTH","consentCookieName":"user_allowed_save_cookie","cookieAllowButtonSelector":"#btn-cookie-allow","cookieRestrictionModeEnabled":false,"cookieDuration":"15552000000"},"ccAnalytics":{"enabled":false,"ISSelector":".ais-hits--item a.result, .ais-infinite-hits--item a.result","conversionAnalyticsMode":null,"addToCartSelector":".action.primary.tocart","orderedProductIds":[]},"isPersonalizationEnabled":false,"personalization":{"enabled":false,"viewedEvents":{"viewProduct":{"eventName":"Viewed Product","enabled":false,"method":"viewedObjectIDs"}},"clickedEvents":{"productClicked":{"eventName":"Product Clicked","enabled":false,"selector":".ais-Hits-item a.result, .ais-InfiniteHits-item a.result","method":"clickedObjectIDs"},"productRecommended":{"eventName":"Recommended Product Clicked","enabled":false,"selector":".products-upsell .product-item","method":"clickedObjectIDs"}},"filterClicked":{"eventName":"Filter Clicked","enabled":false,"method":"clickedFilters"}},"analytics":{"enabled":false,"delay":"3000","triggerOnUiInteraction":"1","pushInitialSearch":"0"},"now":1765756800,"queue":{"isEnabled":true,"nbOfJobsToRun":50,"retryLimit":3,"nbOfElementsPerIndexingJob":300},"isPreventBackendRenderingEnabled":false,"translations":{"to":"to","or":"or","go":"Go","popularQueries":"You can try one of the popular search queries","seeAll":"See all products","allDepartments":"All departments","seeIn":"See products in","orIn":"or in","noProducts":"No products for query","noResults":"No results","refine":"Refine","selectedFilters":"Selected Filters","clearAll":"Clear all","previousPage":"Previous page","nextPage":"Next page","searchFor":"Search for products","relevance":"Relevance","categories":"Categories","products":"Produits","suggestions":"Suggestions","searchBy":"Search by","searchForFacetValuesPlaceholder":"Search for other ...","showMore":"Show more products","searchTitle":"Search results for","placeholder":"Recherche","addToCart":"Ajouter au panier"}};

        let autocompleteInitialized = false;
        let commonInitialized = false;
        let insightsInitialized = false;

        async function initAutocomplete() {
            if (autocompleteInitialized) return;
            autocompleteInitialized = true;

            Promise.all([
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/common.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/instantsearch.production.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/search-insights.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/algoliasearch-lite.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/autocomplete.production.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/autocomplete-plugin-query-suggestions.production.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/autocomplete.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/templates/autocomplete/additional-section.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/templates/autocomplete/categories.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/templates/autocomplete/pages.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/templates/autocomplete/products.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/templates/autocomplete/suggestions.js"),
                            ]).then(() => {
                initCommon();
                if (typeof initAlgoliaInsights === "function") {
                    initAlgoliaInsights();
                } 
                initAlgoliaAutocomplete();
            });
        }

        function initInstantSearch() {
            Promise.all([
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/common.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/instantsearch.production.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/search-insights.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/hogan.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/instantsearch.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/algoliasearch-lite.js"),
                            ]).then(() => {
                initCommon();
                if (typeof initAlgoliaInsights === "function") {
                    initAlgoliaInsights();
                } 
                initAlgoliaInstantSearch();
            });
        }

        function initRecommended(objectIds) {
            Promise.all([
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/common.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/instantsearch.production.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/search-insights.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/recommend.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/recommend-js.min.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/recommend.js"),
                                blackbird.loadExternalResource("https://www.atol.fr/static/version1764689007/frontend/Iot/default/fr_FR/Blackbird_HyvaAlgoliaSearch/js/internals/templates/recommend/products.js"),
                            ]).then(() => {
                initCommon();
                if (typeof initAlgoliaInsights === "function") {
                    initAlgoliaInsights();
                } 
                initAlgoliaRecommended('multitude_index_index', objectIds);
            });
        }

        function initCommon() {
            if (commonInitialized) return;
            commonInitialized = true;
            initAlgoliaCommon();
        }

        if (algoliaConfig.instant.enabled && (algoliaConfig.isCategoryPage || algoliaConfig.isSearchPage)) {
            initInstantSearch();
        }

        
        
        if (algoliaConfig.autocomplete.enabled) {
            let  el = document.getElementById('menu-search-icon');
            if (el)  {
                el.onclick = async () => {
                    await initAutocomplete();
                    algolia.registerHook('afterAutocompleteStart', function () {
                        document.querySelector('#algoliaAutocomplete input').focus();
                    });
                };
            }
            el = document.getElementById('menu-search-icon-header');
            if (el) {
                el.onclick = async () => {
                    await initAutocomplete();
                    algolia.registerHook('afterAutocompleteStart', function () {
                        document.querySelector('#algoliaAutocomplete input').focus();
                    });
                }
            }
        }

        window.addEventListener('init-algolia-trends', function () {
            initCommon();
            if (typeof initAlgoliaInsights === "function") {
                initAlgoliaInsights();
            } 
            window.dispatchEvent(new CustomEvent('init-algolia-trends-done'));
        });

        window.addEventListener('user-allowed-save-cookie', function () {
            if (typeof initAlgoliaInsights === "function") {
                initAlgoliaInsights(true);
            }
        });
    </script>

    <script>
    function initAlgoliaInsights(partial) {
        window.algoliaAnalytics = AlgoliaAnalytics.default;
        window.hasAddedParameters = false;
        window.useCookie = algoliaConfig.cookieConfiguration.cookieRestrictionModeEnabled ? !!hyva.getCookie(algoliaConfig.cookieConfiguration.consentCookieName) : true;

        if (!canTrack()) {
            return;
        }

        initializeAnalytics(partial);
        addSearchParameters();
        bindEvents();

        // Although events can accept both auth and anon tokens, queries can only accept a single token
        function determineUserToken() {
            return window.algoliaAnalytics.getAuthenticatedUserToken() ?? algoliaAnalytics.getUserToken();
        }

        function initializeAnalytics(partial = false) {
            if (partial) {
                algoliaAnalytics.init({
                    appId: algoliaConfig.applicationId,
                    apiKey: algoliaConfig.apiKey,
                    partial: true,
                    useCookie: true,
                    cookieDuration: Number(algoliaConfig.cookieConfiguration.cookieDuration)
                });
            } else {
                algoliaAnalytics.init({
                    appId: algoliaConfig.applicationId,
                    apiKey: algoliaConfig.apiKey,
                    useCookie: true,
                    cookieDuration: Number(algoliaConfig.cookieConfiguration.cookieDuration)
                });
            }
            let userAgent = 'insights-js-in-magento (' + algoliaConfig.extensionVersion + ')';
            window.algoliaAnalytics.addAlgoliaAgent(userAgent);

            let unsetAuthenticationToken = hyva.getCookie('unset_authentication_token');
            if (hyva.getCookie('aa-search') && hyva.getCookie('aa-search') !== '') {
                window.algoliaAnalytics.setUserToken(hyva.getCookie('aa-search'));
            } else if (hyva.getCookie('_ALGOLIA') && hyva.getCookie('_ALGOLIA') !== '') {
                window.algoliaAnalytics.setUserToken(hyva.getCookie('_ALGOLIA'));
            } else if (unsetAuthenticationToken && unsetAuthenticationToken !== '') {
                window.algoliaAnalytics.setUserToken('undefined');
                hyva.setCookie('unset_authentication_token', '', -1);
            }
        }

        function applyInsightsToSearchParams(params = {}) {
            if (algoliaConfig.ccAnalytics.enabled) {
                params.clickAnalytics = true;
            }

            if (algoliaConfig.personalization.enabled) {
                params.enablePersonalization = true;
                params.userToken = determineUserToken();
            }

            return params;
        }

        function addSearchParameters() {
            if (window.hasAddedParameters) {
                return;
            }
            algolia.registerHook('beforeWidgetInitialization', function (allWidgetConfiguration) {
                allWidgetConfiguration.configure = applyInsightsToSearchParams(
                    allWidgetConfiguration.configure
                );
                return allWidgetConfiguration;
            });

            algolia.registerHook('afterAutocompleteProductSourceOptions', (options) => {
                return applyInsightsToSearchParams(options);
            });

            window.hasAddedParameters = true;
        }


        function bindEvents() {
            bindClickedEvents();
            bindViewedEvents();

            algolia.triggerHooks('afterInsightsBindEvents', this);
        }

        function bindClickedEvents() {
            // Filter Clicked
            if (algoliaConfig.personalization.filterClicked.enabled) {
                const facets = algoliaConfig.facets;
                let containers = [];
                for (let i = 0; i < facets.length; i++) {
                    let elem = createISWidgetContainer(facets[i].attribute);
                    containers.push('.' + elem.className);
                }

                algolia.registerHook('afterInstantsearchStart', function (search) {
                    const selectors = document.querySelectorAll(containers.join(', '));
                    selectors.forEach(function (e) {
                        e.addEventListener('click', function (event) {
                            const attribute = this.dataset.attr;
                            const elem = event.target;
                            if (elem.type === "checkbox" && elem.checked) {
                                var filter = attribute + ':' + elem.value;
                                trackFilterClick([filter]);
                            }
                        });
                    });

                    return search;
                });
            }
        }

        function bindViewedEvents() {
            // viewed event is exclusive to personalization
            if (!algoliaConfig.personalization.enabled) {
                return;
            }

            const viewConfig = algoliaConfig.personalization.viewedEvents.viewProduct;
            if (viewConfig.enabled) {
                if (document.body.classList.contains('catalog-product-view')) {
                    const objectId = document.querySelector('#product_addtocart_form')?.querySelector('input[name="product"]').value;
                    if (objectId) {
                        const viewData = buildEventData(viewConfig.eventName, objectId, algoliaConfig.indexName + '_products');
                        trackView(viewData);
                    }
                }

            }
        }

        function buildEventData(eventName, objectId, indexName, position = null, queryId = null) {
            const eventData = {
                eventName: eventName,
                objectIDs: [objectId + ''],
                index: indexName
            };

            if (position) {
                eventData.positions = [parseInt(position)];
            }

            if (queryId) {
                eventData.queryID = queryId;
            }

            return eventData;
        }

        function trackClick(eventData) {
            if (eventData.queryID) {
                window.algoliaAnalytics.clickedObjectIDsAfterSearch(eventData);
            } else {
                window.algoliaAnalytics.clickedObjectIDs(eventData);
            }
        }

        function trackFilterClick(filters) {
            const eventData = {
                index: algoliaConfig.indexName + '_products',
                eventName: algoliaConfig.personalization.filterClicked.eventName,
                filters: filters
            };

            window.algoliaAnalytics.clickedFilters(eventData);
        }

        function trackView(eventData) {
            window.algoliaAnalytics.viewedObjectIDs(eventData);
        }
    }

    function canTrack() {
        return ((algoliaConfig.ccAnalytics.enabled
            || algoliaConfig.personalization.enabled) && window.useCookie);
    }

    function buildInsightsEventData(eventName, objectId, indexName, position = null, queryId = null) {
        if (!canTrack()) {
            return;
        }

        const eventData = {
            eventName: eventName,
            objectIDs: [objectId + ''],
            index: indexName
        };
        if (position) {
            eventData.positions = [parseInt(position)];
        }
        if (queryId) {
            eventData.queryID = queryId;
        }
        trackClick(eventData);
    }

    function trackClick(eventData) {
        if (eventData.queryID) {
            window.algoliaAnalytics.clickedObjectIDsAfterSearch(eventData);
        } else {
            window.algoliaAnalytics.clickedObjectIDs(eventData);
        }
    }
</script>


<script>
    function initAlgoliaInsights(partial) {
        window.algoliaAnalytics = AlgoliaAnalytics.default;
        window.hasAddedParameters = false;
        window.useCookie = algoliaConfig.cookieConfiguration.cookieRestrictionModeEnabled ? !!hyva.getCookie(algoliaConfig.cookieConfiguration.consentCookieName) : true;

        if (!canTrack()) {
            return;
        }

        initializeAnalytics(partial);
        addSearchParameters();
        bindEvents();

        // Although events can accept both auth and anon tokens, queries can only accept a single token
        function determineUserToken() {
            return window.algoliaAnalytics.getAuthenticatedUserToken() ?? algoliaAnalytics.getUserToken();
        }

        function initializeAnalytics(partial = false) {
            if (partial) {
                algoliaAnalytics.init({
                    appId: algoliaConfig.applicationId,
                    apiKey: algoliaConfig.apiKey,
                    partial: true,
                    useCookie: true,
                    cookieDuration: Number(algoliaConfig.cookieConfiguration.cookieDuration)
                });
            } else {
                algoliaAnalytics.init({
                    appId: algoliaConfig.applicationId,
                    apiKey: algoliaConfig.apiKey,
                    useCookie: true,
                    cookieDuration: Number(algoliaConfig.cookieConfiguration.cookieDuration)
                });
            }
            let userAgent = 'insights-js-in-magento (' + algoliaConfig.extensionVersion + ')';
            window.algoliaAnalytics.addAlgoliaAgent(userAgent);

            let unsetAuthenticationToken = hyva.getCookie('unset_authentication_token');
            if (hyva.getCookie('aa-search') && hyva.getCookie('aa-search') !== '') {
                window.algoliaAnalytics.setUserToken(hyva.getCookie('aa-search'));
            } else if (hyva.getCookie('_ALGOLIA') && hyva.getCookie('_ALGOLIA') !== '') {
                window.algoliaAnalytics.setUserToken(hyva.getCookie('_ALGOLIA'));
            } else if (unsetAuthenticationToken && unsetAuthenticationToken !== '') {
                window.algoliaAnalytics.setUserToken('undefined');
                hyva.setCookie('unset_authentication_token', '', -1);
            }
        }

        function applyInsightsToSearchParams(params = {}) {
            if (algoliaConfig.ccAnalytics.enabled) {
                params.clickAnalytics = true;
            }

            if (algoliaConfig.personalization.enabled) {
                params.enablePersonalization = true;
                params.userToken = determineUserToken();
            }

            return params;
        }

        function addSearchParameters() {
            if (window.hasAddedParameters) {
                return;
            }
            algolia.registerHook('beforeWidgetInitialization', function (allWidgetConfiguration) {
                allWidgetConfiguration.configure = applyInsightsToSearchParams(
                    allWidgetConfiguration.configure
                );
                return allWidgetConfiguration;
            });

            algolia.registerHook('afterAutocompleteProductSourceOptions', (options) => {
                return applyInsightsToSearchParams(options);
            });

            window.hasAddedParameters = true;
        }


        function bindEvents() {
            bindClickedEvents();
            bindViewedEvents();

            algolia.triggerHooks('afterInsightsBindEvents', this);
        }

        function bindClickedEvents() {
            // Filter Clicked
            if (algoliaConfig.personalization.filterClicked.enabled) {
                const facets = algoliaConfig.facets;
                let containers = [];
                for (let i = 0; i < facets.length; i++) {
                    let elem = createISWidgetContainer(facets[i].attribute);
                    containers.push('.' + elem.className);
                }

                algolia.registerHook('afterInstantsearchStart', function (search) {
                    const selectors = document.querySelectorAll(containers.join(', '));
                    selectors.forEach(function (e) {
                        e.addEventListener('click', function (event) {
                            const attribute = this.dataset.attr;
                            const elem = event.target;
                            if (elem.type === "checkbox" && elem.checked) {
                                var filter = attribute + ':' + elem.value;
                                trackFilterClick([filter]);
                            }
                        });
                    });

                    return search;
                });
            }
        }

        function bindViewedEvents() {
            // viewed event is exclusive to personalization
            if (!algoliaConfig.personalization.enabled) {
                return;
            }

            const viewConfig = algoliaConfig.personalization.viewedEvents.viewProduct;
            if (viewConfig.enabled) {
                if (document.body.classList.contains('catalog-product-view')) {
                    const objectId = document.querySelector('#product_addtocart_form')?.querySelector('input[name="product"]').value;
                    if (objectId) {
                        const viewData = buildEventData(viewConfig.eventName, objectId, algoliaConfig.indexName + '_products');
                        trackView(viewData);
                    }
                }

            }
        }

        function buildEventData(eventName, objectId, indexName, position = null, queryId = null) {
            const eventData = {
                eventName: eventName,
                objectIDs: [objectId + ''],
                index: indexName
            };

            if (position) {
                eventData.positions = [parseInt(position)];
            }

            if (queryId) {
                eventData.queryID = queryId;
            }

            return eventData;
        }

        function trackClick(eventData) {
            if (eventData.queryID) {
                window.algoliaAnalytics.clickedObjectIDsAfterSearch(eventData);
            } else {
                window.algoliaAnalytics.clickedObjectIDs(eventData);
            }
        }

        function trackFilterClick(filters) {
            const eventData = {
                index: algoliaConfig.indexName + '_products',
                eventName: algoliaConfig.personalization.filterClicked.eventName,
                filters: filters
            };

            window.algoliaAnalytics.clickedFilters(eventData);
        }

        function trackView(eventData) {
            window.algoliaAnalytics.viewedObjectIDs(eventData);
        }
    }

    function canTrack() {
        return ((algoliaConfig.ccAnalytics.enabled
            || algoliaConfig.personalization.enabled) && window.useCookie);
    }

    function buildInsightsEventData(eventName, objectId, indexName, position = null, queryId = null) {
        if (!canTrack()) {
            return;
        }

        const eventData = {
            eventName: eventName,
            objectIDs: [objectId + ''],
            index: indexName
        };
        if (position) {
            eventData.positions = [parseInt(position)];
        }
        if (queryId) {
            eventData.queryID = queryId;
        }
        trackClick(eventData);
    }

    function trackClick(eventData) {
        if (eventData.queryID) {
            window.algoliaAnalytics.clickedObjectIDsAfterSearch(eventData);
        } else {
            window.algoliaAnalytics.clickedObjectIDs(eventData);
        }
    }
</script>
<script>
    function initCompareOnProductList() {
        return {
            addToCompare(productId) {
                const formKey = hyva.getFormKey();
                const postUrl = BASE_URL + 'catalog/product_compare/add/';

                fetch(postUrl, {
                    "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"
                }).then(function (response) {
                    if (response.redirected) {
                        window.location.href = response.url;
                    }
                }).catch(function (error) {
                    typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                        [{
                            type: "error",
                            text: error
                        }], 5000
                    );
                });
            }
        };
    }
</script>
<script>
    function initWishlist() {
        return {
            addToWishlist(productId) {
                const formKey = hyva.getFormKey();
                const postUrl = BASE_URL + 'wishlist/index/add/';

                fetch(postUrl, {
                    "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"
                }).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: "Could\u0020not\u0020add\u0020item\u0020to\u0020wishlist."
                            }], 5000
                        );
                    }
                }).then(function (response) {
                    if (!response) { return }
                    typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                        [{
                            type: (response.success) ? "success" : "error",
                            text: (response.success)
                                ? "Product\u0020a\u0020\u00E9t\u00E9\u0020ajout\u00E9\u0020\u00E0\u0020votre\u0020liste\u0020de\u0020souhaits."
                                : response.error_message
                        }], 5000
                    );
                    const reloadCustomerDataEvent = new CustomEvent("reload-customer-section-data");
                    window.dispatchEvent(reloadCustomerDataEvent);
                }).catch(function (error) {
                    typeof window.dispatchMessages !== "undefined" && window.dispatchMessages(
                        [{
                            type: "error",
                            text: error
                        }], 5000
                    );
                });
            }
        }
    }
</script>
<script type="text/json" id="default-section-data">
    {"messages":[],"customer":[],"compare-products":[],"last-ordered-items":[],"cart":[],"directory-data":{"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"}}},"data_id":1765829587},"captcha":[],"wishlist":{"items":[]},"instant-purchase":[],"loggedAsCustomer":[],"multiplewishlist":[],"persistent":[],"review":[],"payments":[],"hyva_checkout":[],"pslogin":[],"recently_viewed_product":[],"recently_compared_product":[],"product_data_storage":[],"paypal-billing-agreement":[]}</script>
</div><footer class="footer"><div class="footer content"><div class="text-gray-700 body-font bg-container-darker  border-container-darker shadow">
    <div>
        <div class="flex flex-wrap order-first">
                                                        <div class="w-full bg-blanccasse flex flex-col justify-center items-star self-stretch px-3 py-6 lg:px-20 lg:py-10">
            <span class="text-bleu-indigo text-[40px] not-italic font-semibold leading-[120%] font-poppins">La Totale Atol</span>
            <p class="mt-4 text-bleu-indigo text-base font-poppins not-italic font-normal leading-[140%]">Nos services, compris avec l'achat d'une monture dans votre magasin Atol.</p>
            <div class="flex items-start pb-4 mt-8 lg:mt-14 gap-4 lg:gap-6 xl:justify-between overflow-auto">
                <!-- Icon 1 -->
                <div class="flex min-w-[120px] lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 28 28" fill="none">
                        <rect x="4" y="6.21875" width="20" height="15.5556" rx="2.08333" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></rect>
                        <path d="M4 11.7743H24" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M8.44453 17.329H8.45564" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M12.8887 17.329H15.1109" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Paiement s&eacute;curis&eacute; en plusieurs fois</p>
                </div>
                <!-- Icon 2 -->
                <div class="flex min-w-[120px] lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 28 28" fill="none">
                        <ellipse cx="6.22222" cy="20.6675" rx="2.22222" ry="2.22222" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                        <circle cx="21.7769" cy="7.3316" r="2.22222" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></circle>
                        <path d="M22.611 9.55469C22.611 9.09445 22.2379 8.72135 21.7777 8.72135C21.3174 8.72135 20.9443 9.09445 20.9443 9.55469H22.611ZM12.8888 20.6658L12.2995 20.0765C12.0612 20.3149 11.9899 20.6733 12.1189 20.9847C12.2479 21.2961 12.5517 21.4991 12.8888 21.4991V20.6658ZM16.8114 17.9217C17.1368 17.5963 17.1368 17.0686 16.8114 16.7432C16.4859 16.4178 15.9583 16.4178 15.6329 16.7432L16.8114 17.9217ZM15.6327 24.5885C15.9582 24.9139 16.4858 24.9139 16.8113 24.5885C17.1367 24.263 17.1367 23.7354 16.8113 23.41L15.6327 24.5885ZM13.4779 20.0766C13.1525 19.7512 12.6249 19.7512 12.2994 20.0766C11.974 20.4021 11.974 20.9297 12.2994 21.2551L13.4779 20.0766ZM20.9443 9.55469V15.1102H22.611V9.55469H20.9443ZM20.9443 15.1102C20.9443 17.7183 18.8301 19.8325 16.2221 19.8325V21.4991C19.7506 21.4991 22.611 18.6387 22.611 15.1102H20.9443ZM16.2221 19.8325H12.8888V21.4991H16.2221V19.8325ZM13.478 21.2551L16.8114 17.9217L15.6329 16.7432L12.2995 20.0765L13.478 21.2551ZM16.8113 23.41L13.4779 20.0766L12.2994 21.2551L15.6327 24.5885L16.8113 23.41Z" fill="#1F226B"></path>
                        <path d="M5.38737 18.4444C5.38737 18.9047 5.76047 19.2778 6.2207 19.2778C6.68094 19.2778 7.05404 18.9047 7.05404 18.4444H5.38737ZM15.1096 7.33333V8.16667C15.4466 8.16667 15.7505 7.96363 15.8795 7.65224C16.0085 7.34084 15.9372 6.98241 15.6988 6.74408L15.1096 7.33333ZM12.3655 3.41074C12.0401 3.08531 11.5124 3.08531 11.187 3.41074C10.8616 3.73618 10.8616 4.26382 11.187 4.58926L12.3655 3.41074ZM11.187 10.0774C10.8616 10.4028 10.8616 10.9304 11.187 11.2559C11.5125 11.5813 12.0401 11.5813 12.3655 11.2559L11.187 10.0774ZM15.6989 7.92255C16.0243 7.59711 16.0243 7.06947 15.6989 6.74404C15.3734 6.4186 14.8458 6.4186 14.5204 6.74404L15.6989 7.92255ZM7.05404 18.4444V12.8889H5.38737V18.4444H7.05404ZM7.05404 12.8889C7.05404 10.2809 9.16825 8.16667 11.7763 8.16667V6.5C8.24777 6.5 5.38737 9.3604 5.38737 12.8889H7.05404ZM11.7763 8.16667H15.1096V6.5H11.7763V8.16667ZM15.6988 6.74408L12.3655 3.41074L11.187 4.58926L14.5203 7.92259L15.6988 6.74408ZM12.3655 11.2559L15.6989 7.92255L14.5204 6.74404L11.187 10.0774L12.3655 11.2559Z" fill="#1F226B"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Satisfait ou Satisfait</p>
                </div>
                <!-- Icon 3 -->
                <div class="flex min-w-[120px] lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 28 28" fill="none">
                    <path fill-rule="evenodd" clip-rule="evenodd" d="M17.3359 11.7312L22.3948 9.15082C22.7392 8.97525 23.148 8.99404 23.4755 9.20048C23.803 9.40692 24.0024 9.7716 24.0026 10.1644V17.8328C24.0024 18.2256 23.803 18.5902 23.4755 18.7967C23.148 19.0031 22.7392 19.0219 22.3948 18.8463L17.3359 16.266V11.7312Z" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <rect x="4" y="7.19727" width="13.3333" height="13.6046" rx="1.11111" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></rect>
                    </svg>  
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Essayage virtuel en ligne</p>
                </div>
                <!-- Icon 4 -->
                <div class="flex min-w-[120px] lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 28 27" fill="none">
                    <path d="M9.55859 14.5506V5.10612C9.55859 4.18565 10.3048 3.43945 11.2253 3.43945C12.1457 3.43945 12.8919 4.18565 12.8919 5.10612V13.4395" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M12.8906 12.883V10.6608C12.8906 9.74033 13.6368 8.99414 14.5573 8.99414C15.4778 8.99414 16.224 9.74033 16.224 10.6608V13.4386" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M16.2227 11.7721C16.2227 10.8517 16.9688 10.1055 17.8893 10.1055C18.8098 10.1055 19.556 10.8517 19.556 11.7721V13.4388" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M19.5586 12.8835C19.5586 11.963 20.3048 11.2168 21.2253 11.2168C22.1458 11.2168 22.8919 11.963 22.8919 12.8835V17.8835C22.8919 21.5654 19.9072 24.5501 16.2253 24.5501H14.0031H14.2342C11.9914 24.5505 9.89879 23.4232 8.66528 21.5501L8.4475 21.2168C8.10084 20.6846 6.88417 18.5635 4.79639 14.8524C4.35384 14.0657 4.61785 13.0698 5.39195 12.6057C6.20781 12.1161 7.25211 12.2444 7.92528 12.9168L9.55861 14.5501" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M6.22439 3.43924L5.11328 2.32812" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M5.11111 7.88368H4" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M16.2227 3.43924L17.3338 2.32812" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M17.3359 6.77235H18.447" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Lentilles exp&eacute;di&eacute;es en 24h</p>
                </div>
                <!-- Icon 5 -->
                <div class="flex min-w-[120px] lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 32 32" fill="none">
                        <ellipse cx="9.33268" cy="22.6667" rx="2.66667" ry="2.66667" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                        <ellipse cx="22.6667" cy="22.6667" rx="2.66667" ry="2.66667" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                        <path d="M6.66593 23.6641C7.21822 23.6641 7.66593 23.2164 7.66593 22.6641C7.66593 22.1118 7.21822 21.6641 6.66593 21.6641V23.6641ZM3.99927 22.6641H2.99927C2.99927 23.2164 3.44698 23.6641 3.99927 23.6641V22.6641ZM4.99927 17.3308C4.99927 16.7785 4.55155 16.3308 3.99927 16.3308C3.44698 16.3308 2.99927 16.7785 2.99927 17.3308H4.99927ZM2.66602 5.66406C2.11373 5.66406 1.66602 6.11178 1.66602 6.66406C1.66602 7.21635 2.11373 7.66406 2.66602 7.66406V5.66406ZM17.3327 6.66406H18.3327C18.3327 6.11178 17.885 5.66406 17.3327 5.66406V6.66406ZM16.3327 22.6641C16.3327 23.2163 16.7804 23.6641 17.3327 23.6641C17.885 23.6641 18.3327 23.2163 18.3327 22.6641H16.3327ZM11.9993 21.6641C11.447 21.6641 10.9993 22.1118 10.9993 22.6641C10.9993 23.2164 11.447 23.6641 11.9993 23.6641V21.6641ZM19.9993 23.6641C20.5516 23.6641 20.9993 23.2164 20.9993 22.6641C20.9993 22.1118 20.5516 21.6641 19.9993 21.6641V23.6641ZM25.3326 21.6641C24.7803 21.6641 24.3326 22.1118 24.3326 22.6641C24.3326 23.2164 24.7803 23.6641 25.3326 23.6641V21.6641ZM27.9993 22.6641V23.6641C28.5516 23.6641 28.9993 23.2164 28.9993 22.6641H27.9993ZM27.9993 14.6641H28.9993C28.9993 14.1118 28.5516 13.6641 27.9993 13.6641V14.6641ZM17.3326 13.6641C16.7803 13.6641 16.3326 14.1118 16.3326 14.6641C16.3326 15.2164 16.7803 15.6641 17.3326 15.6641V13.6641ZM17.3326 6.99744C16.7803 6.99744 16.3326 7.44515 16.3326 7.99744C16.3326 8.54972 16.7803 8.99744 17.3326 8.99744V6.99744ZM23.9993 7.99744L24.8568 7.48294C24.676 7.18174 24.3505 6.99744 23.9993 6.99744V7.99744ZM27.1418 15.1786C27.4259 15.6522 28.0402 15.8057 28.5138 15.5216C28.9873 15.2374 29.1409 14.6232 28.8568 14.1496L27.1418 15.1786ZM6.66593 21.6641H3.99927V23.6641H6.66593V21.6641ZM4.99927 22.6641V17.3308H2.99927V22.6641H4.99927ZM2.66602 7.66406H17.3327V5.66406H2.66602V7.66406ZM16.3327 6.66406V22.6641H18.3327V6.66406H16.3327ZM11.9993 23.6641H19.9993V21.6641H11.9993V23.6641ZM25.3326 23.6641H27.9993V21.6641H25.3326V23.6641ZM28.9993 22.6641V14.6641H26.9993V22.6641H28.9993ZM27.9993 13.6641H17.3326V15.6641H27.9993V13.6641ZM17.3326 8.99744H23.9993V6.99744H17.3326V8.99744ZM23.1418 8.51193L27.1418 15.1786L28.8568 14.1496L24.8568 7.48294L23.1418 8.51193Z" fill="#1F226B"></path>
                        <path d="M4 12.0026H9.33333" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Livraison rapide</p>
                </div>
                <!-- Icon 6 -->
                <div class="flex min-w-[120px] lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 26 27" fill="none">
                    <path d="M1 25.6979H25" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M2 7.03064C2 6.47836 1.55228 6.03064 1 6.03064C0.447715 6.03064 1.19209e-07 6.47836 1.19209e-07 7.03064H2ZM10 7.03064C10 6.47836 9.55229 6.03064 9 6.03064C8.44772 6.03064 8 6.47836 8 7.03064H10ZM10 8.36397C10 7.81169 9.55229 7.36397 9 7.36397C8.44772 7.36397 8 7.81169 8 8.36397H10ZM18 7.03064C18 6.47836 17.5523 6.03064 17 6.03064C16.4477 6.03064 16 6.47836 16 7.03064H18ZM18 8.36393C18 7.81165 17.5523 7.36393 17 7.36393C16.4477 7.36393 16 7.81165 16 8.36393H18ZM25 7.0306H26C26 6.47831 25.5523 6.0306 25 6.0306V7.0306ZM1 7.0306L0.105573 6.58339C-0.0494214 6.89337 -0.0328574 7.26151 0.149349 7.55633C0.331556 7.85115 0.653422 8.0306 1 8.0306L1 7.0306ZM3.66667 1.69727V0.697266C3.28789 0.697266 2.94163 0.911268 2.77224 1.25005L3.66667 1.69727ZM22.3333 1.69727L23.2278 1.25005C23.0584 0.911268 22.7121 0.697266 22.3333 0.697266V1.69727ZM24.1056 7.47781C24.3526 7.97179 24.9532 8.17202 25.4472 7.92503C25.9412 7.67804 26.1414 7.07736 25.8944 6.58339L24.1056 7.47781ZM1.19209e-07 7.03064V8.36397H2V7.03064H1.19209e-07ZM1.19209e-07 8.36397C1.19209e-07 11.1254 2.23858 13.364 5 13.364V11.364C3.34315 11.364 2 10.0208 2 8.36397H1.19209e-07ZM5 13.364C7.76142 13.364 10 11.1254 10 8.36397H8C8 10.0208 6.65685 11.364 5 11.364V13.364ZM10 8.36397V7.03064H8V8.36397H10ZM8 8.36397C8 11.1254 10.2386 13.364 13 13.364V11.364C11.3431 11.364 10 10.0208 10 8.36397H8ZM13 13.364C15.7614 13.364 18 11.1254 18 8.36397H16C16 10.0208 14.6569 11.364 13 11.364V13.364ZM18 8.36397V7.03064H16V8.36397H18ZM16 8.36393C16 11.1254 18.2386 13.3639 21 13.3639V11.3639C19.3431 11.3639 18 10.0208 18 8.36393H16ZM21 13.3639C23.7614 13.3639 26 11.1254 26 8.36393H24C24 10.0208 22.6569 11.3639 21 11.3639V13.3639ZM26 8.36393V7.0306H24V8.36393H26ZM25 6.0306H1V8.0306H25V6.0306ZM1.89443 7.47781L4.56109 2.14448L2.77224 1.25005L0.105573 6.58339L1.89443 7.47781ZM3.66667 2.69727H22.3333V0.697266H3.66667V2.69727ZM21.4389 2.14448L24.1056 7.47781L25.8944 6.58339L23.2278 1.25005L21.4389 2.14448Z" fill="#1F226B"></path>
                    <path d="M3.66667 25.6974V12.1641" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M22.3346 25.6974V12.1641" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    <path d="M9 25.6973V20.3639C9 18.8912 10.1939 17.6973 11.6667 17.6973H14.3333C15.8061 17.6973 17 18.8912 17 20.3639V25.6973" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Livraison gratuite en magasins</p>
                </div>
                <!-- Icon 7 -->
                <div class="flex min-w-[120px] lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 32 32" fill="none">
                    <path d="M9.33466 13.3327H13.3347V9.33271L8.66799 4.66604C11.7273 3.20496 15.3753 3.83086 17.7726 6.22814C20.1698 8.62542 20.7957 12.2734 19.3347 15.3327L27.3347 23.3327C28.4392 24.4373 28.4392 26.2281 27.3347 27.3327C26.2301 28.4373 24.4392 28.4373 23.3347 27.3327L15.3347 19.3327C12.2754 20.7938 8.62737 20.1679 6.23009 17.7706C3.83281 15.3733 3.20691 11.7253 4.66799 8.66604L9.33466 13.3327" stroke="#1F226B" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">D&eacute;pannage imm&eacute;diat</p>
                </div>
                <!-- Icon 8 -->
                <div class="flex min-w-[120px]  lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 26 24" fill="none">
                        <path d="M7.66667 1.33594H5L1 14.6693" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M18.334 1.33594H21.0007L25.0007 14.6693" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M10.334 17.3385H15.6673" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M24.9993 18.0052C24.9993 20.5825 22.91 22.6719 20.3327 22.6719C17.7554 22.6719 15.666 20.5825 15.666 18.0052V14.6719H24.9993V18.0052" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M10.3333 18.0052C10.3333 20.5825 8.244 22.6719 5.66667 22.6719C3.08934 22.6719 1 20.5825 1 18.0052V14.6719H10.3333V18.0052" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Garantie casse 2 ans</p>
                </div>
                <!-- Icon 9 -->
                <div class="flex min-w-[120px]  lg:w-[120px]  flex-col items-center">
                    <div class="bg-gris p-4 rounded-lg mb-4 flex w-20 h-20 justify-center items-center no-lazy-load">
                    <!-- Inline SVG here -->
                    <svg class="no-lazy-load" xmlns="http://www.w3.org/2000/svg" width="26.67" height="26.67" viewbox="0 0 24 27" fill="none">
                    <ellipse cx="12" cy="11.666" rx="4" ry="4" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></ellipse>
                    <path fill-rule="evenodd" clip-rule="evenodd" d="M19.5414 19.2089L13.884 24.8663C12.8429 25.9064 11.1559 25.9064 10.1147 24.8663L4.45603 19.2089C0.290597 15.0433 0.290713 8.28963 4.45629 4.12413C8.62187 -0.0413762 15.3755 -0.0413762 19.5411 4.12413C23.7067 8.28963 23.7068 15.0433 19.5414 19.2089V19.2089Z" stroke="#1F226B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                    </div>
                    <p class="text-center text-bleu-indigo text-sm font-normal font-poppins leading-tight">Plus de 800 magasins</p>
                </div>
            </div>
        </div>
                            
<div data-storelocator="false" class="w-full flex flex-col px-3 justify-between bg-white p-8 space-y-6 py-6 lg:pt-14 md:px-10 lg:px-20 lg:flex-row md:space-y-0 xl:h-[228px] 2xl:gap-[20%]">
    <div class="flex-1">
        <span class="text-bleu-indigo headings_display_1_bold_mobile">Newsletter</span>
        <p class="text-bleu-indigo body_body_regular mt-4">Inscrivez-vous à la newsletter et bénéficiez de toutes nos offres.</p>
    </div>
    <div class="flex-1">
        <label for="email" class="text-bleu-indigo body_body_regular">
            Adresse e-mail        </label>
        <form class="grid gap-y-4 lg:flex pt-2 items-baseline"
            novalidate
 action="/newsletter/subscriber/new/"
            method="post"
            data-mage-init='{"validation": {"errorClass": "mage-error"}}'
            id="newsletter-validate-detail">
            <input type="hidden" name="form_key" value="" />
            <div class="grid gris-cols-1 w-full">
                <input name="email"
                    type="email"
                    id="newsletter"
                    aria-label="Adresse email"
                    class="p-4 rounded-full border-gray-300 text-grisfonce body_body_regular placeholder-[#c8d0d9] h-[46px] lg:flex-grow 2xl:grow-0 2xl:w-[380px]"
                    data-mage-init='{"mage/trim-input":{}}'
                    data-validate="{required:true, 'validate-email':true}" />
                <p id="email-error" class="body_small_regular text-red-500 mt-2 hidden">Veuillez saisir une adresse email valide.</p>
            </div>
            <button type="submit"
                class="body_body_regular px-4 items-center bg-bleu-base text-white rounded-full h-[46px] lg:ml-4 xl:w-[25%] 2xl:mr-[20%] hover:bg-bleu-dragg"
                title="Je&#x20;m&#x2019;abonne&#x20;&#x2192;"
                aria-label="Je m’abonne →"
                >
                <span class="whitespace-nowrap flex items-center justify-center gap-2">Je m’abonne                    <svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewbox="0 0 17 16" fill="none">
                        <path d="M3.83301 8.0013H13.1663" stroke="white" stroke-linecap="round" stroke-linejoin="round" />
                        <path d="M9.16699 12L13.167 8" stroke="white" stroke-linecap="round" stroke-linejoin="round" />
                        <path d="M9.16699 4L13.167 8" stroke="white" stroke-linecap="round" stroke-linejoin="round" />
                    </svg>
                </span>
            </button>
        </form>
        <!-- Message d'erreur caché au début -->
        <p id="email-error" class="body_small_regular text-red-500  mt-2 hidden">Veuillez saisir une adresse email valide.</p>
        <p class="hidden lg:block mt-2 body_small_regular text-grisfonce 2xl:mr-[13%]">
            En vous inscrivant, vous acceptez de vous conformer à la Politique de confidentialité et aux Conditions d&#039;utilisation d&#039;Atol.        </p>
    </div>
</div>

<script type="text/x-magento-init">
    {
        "*": {
            "Magento_Customer/js/block-submit-on-send": {
                "formId": "newsletter-validate-detail"
            }
        }
    }
    
</script>

<script>
    document.getElementById('newsletter-validate-detail').addEventListener('submit', function(event) {
        var emailInput = document.getElementById('newsletter');
        var emailValue = emailInput.value;
        var emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
        var errorMessage = document.getElementById('email-error');

        if (!emailPattern.test(emailValue)) {
            event.preventDefault();
            errorMessage.classList.remove('hidden');
        } else {
            errorMessage.classList.add('hidden');
        }
    });
</script>                                                        <div class="w-full bg-bleu-blackfull">
    <div class="grid grid-cols-1 xl:grid-cols-5 gap-x-2.5 text-white text-sm leading-[140%] font-poppins px-3 pt-10 md:px-6 pb-6 lg:px-20 xl:py-14">
        <div x-data="{ open: false }">
            <ul>
                <li class="mb-4 flex justify-center xl:justify-start">
                    <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/Logo_ATOL/LOGO_ATOL_Blanc+%282%29.png" width="80" height="40" alt="Atol" />
                </li>
            </ul>
            <ul>
                <li class="text-sm not-italic font-semibold leading-[120%] pb-4 flex justify-between items-center cursor-pointer text-white xl:hidden"
                    @click="open = !open">
                    Nous contacter
                    <svg :class="{'rotate-180': open}" class="h-4 w-4 transform transition-transform text-white"
                        xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor">
                        <path fill-rule="evenodd"
                            d="M12 14.293l-7.293-7.293 1.414-1.414L12 11.465l6.293-6.293 1.414 1.414L12 14.293z" />
                    </svg>
                </li>
            </ul>
            <ul :class="{'hidden xl:block': !open, 'block': open}" class="my-2 text-white">
                <li class="text-sm not-italic font-semibold leading-[120%] pb-4 text-white xl:block hidden">Nous contacter</li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2"><a href="https://www.atol.fr/service-client" class="text-white hover:text-gray-300">Service client</a></li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2"><a href="https://rejoindre.atol.fr/offres-emplois" class="text-white hover:text-gray-300">Offres d'emploi</a></li>
                </ul>
        </div>
        <div x-data="{ open: false }">
            <p class="text-sm not-italic font-semibold leading-[120%] pb-4 flex justify-between items-center cursor-pointer text-white xl:hidden"
                @click="open = !open">
                Informations utiles
                <svg :class="{'rotate-180': open}" class="h-4 w-4 transform transition-transform text-white"
                    xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor">
                    <path fill-rule="evenodd"
                        d="M12 14.293l-7.293-7.293 1.414-1.414L12 11.465l6.293-6.293 1.414 1.414L12 14.293z" />
                </svg>
            </p>
            <ul :class="{'hidden xl:block': !open, 'block': open}" class="my-2 text-white">
                <li class="text-sm not-italic font-semibold leading-[120%] pb-4 text-white xl:block hidden">Informations utiles</li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2"><a href="https://magasins.atol.fr/" class="text-white hover:text-gray-300">Trouver mon magasin</a></li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2"><a href="https://www.atol.fr/livraison-et-retours" class="text-white hover:text-gray-300">Livraisons & Retours</a></li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2"><a href="https://www.atol.fr/mentions-legales" class="text-white hover:text-gray-300">Mentions légales</a></li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2"><a href="https://www.atol.fr/faq" class="text-white hover:text-gray-300">FAQ</a></li>
            </ul>
        </div>
        <div x-data="{ open: false }">
            <p class="text-sm not-italic font-semibold leading-[120%] pb-4 flex justify-between items-center cursor-pointer text-white xl:hidden"
                @click="open = !open">
                Nos services 
                <svg :class="{'rotate-180': open}" class="h-4 w-4 transform transition-transform text-white"
                    xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor">
                    <path fill-rule="evenodd"
                        d="M12 14.293l-7.293-7.293 1.414-1.414L12 11.465l6.293-6.293 1.414 1.414L12 14.293z" />
                </svg>
            </p>
            <ul :class="{'hidden xl:block': !open, 'block': open}" class="my-2 text-white">
                <li class="text-sm not-italic font-semibold leading-[120%] pb-4 text-white xl:block hidden">
                    Nos services
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://magasins.atol.fr/" class="text-white hover:text-gray-300">Prise de rendez-vous</a>
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://www.atol.fr/customer/account/carnet/" class="text-white hover:text-gray-300">Diagnostic</a>
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://testauditif.atol.fr/" class="text-white hover:text-gray-300">Pré-dépistage audition</a>
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://www.atol.fr/atol-garantie-plus" class="text-white hover:text-gray-300">Atol Garantie +</a>
                </li>
            </ul>
        </div>

        <div x-data="{ open: false }">
            <p class="text-sm not-italic font-semibold leading-[120%] pb-4 flex justify-between items-center cursor-pointer text-white xl:hidden"
                @click="open = !open">
                La coopérative Atol
                <svg :class="{'rotate-180': open}" class="h-4 w-4 transform transition-transform text-white"
                    xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor">
                    <path fill-rule="evenodd"
                        d="M12 14.293l-7.293-7.293 1.414-1.414L12 11.465l6.293-6.293 1.414 1.414L12 14.293z" />
                </svg>
            </p>

            <ul :class="{'hidden xl:block': !open, 'block': open}" class="my-2 text-white">
                <li class="text-sm not-italic font-semibold leading-[120%] pb-4 text-white xl:block hidden">
                    La coopérative Atol
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://www.atol.fr/qui-sommes-nous" class="text-white hover:text-gray-300">Qui sommes-nous ?</a>
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://www.atol.fr/notre-histoire " class="text-white hover:text-gray-300">Notre histoire</a>
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://www.atol.fr/expert-sante" class="text-white hover:text-gray-300">Des experts santé</a>
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://rejoindre.atol.fr/rejoignez-atol" class="text-white hover:text-gray-300">Rejoindre le réseau Atol</a>
                </li>
                <li class="text-sm not-italic font-normal leading-[120%] pb-2">
                    <a href="https://www.atol.fr/presse" class="text-white hover:text-gray-300">Espace Presse</a>
                </li>
            </ul>
        </div>
        <div class="mt-4 xl:mt-0">
            <ul>
                <li class="flex justify-center xl:justify-start text-sm not-italic font-semibold leading-[120%] pb-4">
                    Suivez-nous
                </li>
                <li>
                    <div class="flex flex-col items-center xl:items-start xl:pb-10">
                        <div class="flex gap-x-6">
                            <!-- Facebook Icon -->
                            <button onclick="window.location.href='https://www.facebook.com/opticiensatol/'" class="text-white hover:text-gray-300">
                                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/Logo_ATOL/fb2.png" width="40" height="40" alt="Facebook" />
                                <span class="sr-only">Facebook</span>
                            </button>
                            <!-- Instagram Icon -->
                            <button onclick="window.location.href='https://www.instagram.com/atol_optique_audition/'" class="text-white hover:text-gray-300">
                                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/Logo_ATOL/insta.png" width="40" height="40" alt="Instagram" />
                                <span class="sr-only">Instagram</span>
                            </button>
                            <!-- TikTok Icon -->
                            <button  onclick="window.location.href='https://www.tiktok.com/@atol_optique_audition'" class="text-white hover:text-gray-300">
                                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/Logo_ATOL/tiktok.png" width="40" height="40" alt="TikTok" />
                                <span class="sr-only">TikTok</span>
                            </button>
                            <!-- LinkedIn Icon -->
                            <button onclick="window.location.href='https://fr.linkedin.com/company/atol-les-opticiens#:~:text=Atol%20les%20Opticiens%20fait%20partie,partenariats%20sur%20le%20long%20terme.'" class="text-white hover:text-gray-300">
                                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/Logo_ATOL/linkedin.png" width="40" height="40" alt="LinkedIn" />
                                <span class="sr-only">LinkedIn</span>
                            </button>
                            <button onclick="window.location.href='https://www.atol.fr/meilleure-chaine-de-magasin'">
                                <img src="https://medias.atol.fr/token_fqusgztob/v7/DIVERS/Logo_ATOL/OPTICIENS.png" width="40" height="40" alt="Meilleure chaine de mag" />
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>                            <p>        </p><div class="w-full flex flex-col text-white justify-center items-star self-stretch px-3 py-6 md:py-10 md:px-10 lg:px-20 bg-bleu-blackfull gap-4">
        <div>
            <h2 class="text-white body_small_bold" id="A propos de nous">A propos de nous</h2>        </div>
        <p class="body_small_regular">
            Atol Optique et Audition, r&eacute;seau d&rsquo;experts &agrave; votre service depuis 1970, vous propose plus de 800 magasins et centres en France m&eacute;tropolitaine et d&rsquo;outre-mer, ainsi qu&rsquo;un site Internet d&eacute;di&eacute; pour faciliter votre parcours.  Sur notre site web, pr&eacute;parez facilement votre visite dans un magasin ou centre Atol le plus proche gr&acirc;ce &agrave; une carte interactive. Explorez notre gamme compl&egrave;te de lunettes, d&rsquo;accessoires pour vos lunettes et d&rsquo;aides auditives, avec les prix affich&eacute;s en toute transparence.  Utilisez notre outil d&rsquo;essayage virtuel pour visualiser les lunettes directement sur votre visage, puis commandez en ligne et r&eacute;cup&eacute;rez votre achat en magasin ou en centre.  Profitez &eacute;galement de conseils personnalis&eacute;s pour bien choisir vos lunettes, entretenir vos lentilles de contact, comprendre les troubles de la vue et conna&icirc;tre les modalit&eacute;s de remboursement par la S&eacute;curit&eacute; sociale.        </p>
    </div>

<div class="w-full self-stretch px-3 py-6 md:px-10 lg:px-20 lg:py-10 bg-bleu-blackfull">
<div class="grid grid-cols-1 md:grid-cols-4 gap-4 text-white">
<div class="flex flex-col">
<ul> 
<li class="!text-[14px] body_small_link_bold pb-4">Recherches fr&eacute;quentes</li>
<li class="body_small_regular pb-2"><a href="/lunettes-de-vue.html">Lunettes de vue</a></li>
<li class="body_small_regular pb-2"><a href="/lunettes-de-soleil.html">Lunettes de soleil</a></li>
<li class="body_small_regular pb-2"><a href="/conseils/thematique/myopie">Myopie</a></li>
<li class="body_small_regular pb-2"><a href="/conseils/thematique/presbytie">Presbytie</a></li>
<li class="body_small_regular pb-2"><a href="/conseils/thematique/hypermetropie">Hyperm&eacute;tropie</a></li>
<li class="body_small_regular pb-2"><a href="/conseils/thematique/astigmatisme">Astygmatie</a></li>
</ul>
</div>
<div class="flex-col justify-center items-start">
<ul>
<li class="!text-[14px] body_small_link_bold pb-4">Les lunettes &amp; lentilles les plus recherch&eacute;es</li>
<li class="body_small_regular pb-2"><a href="/lunettes-de-vue.html?gender=Femme">Lunettes de vue femme</a></li>
<li class="body_small_regular pb-2"><a href="/lunettes-de-vue.html?gender=Homme">Lunettes de vue homme</a></li>
<li class="body_small_regular pb-2"><a href="/lunettes-de-vue.html?frame_shape=Oversize">Lunettes de vue Oversize</a></li>
<li class="body_small_regular pb-2"><a title="Lunettes de vue Ray-ban" href="/lunettes-de-vue.html?brand=Ray-Ban">Lunettes de vue Ray-ban</a></li>
<li class="body_small_regular pb-2"><a title="Lentilles journali&egrave;res" href="/lentilles.html?lens_periodicity=Journali%C3%A8re">Lentilles journalieres</a></li>
<li class="body_small_regular pb-2"><a title="Lentilles mensuelles" href="/lentilles.html?lens_periodicity=Mensuelle">Lentilles mensuelles</a></li>
</ul>
</div>
<div class="flex-col justify-center items-start">
<ul>
<li class="!text-[14px] body_small_link_bold pb-4">Nos conseils pour votre sant&eacute; visuelle &amp; votre style</li>
<li class="body_small_regular pb-2"><a href="/conseils/comprendre-mon-ordonnance">Comprendre mon ordonnance</a></li>
<li class="body_small_regular pb-2"><a href="/conseils/meilleures-astuces-nettoyer-lunettes">Nettoyer des lunettes</a></li>
<li class="body_small_regular pb-2"><a href="/conseils/les-verres-progressifs">Lunettes progressive</a></li>
<li class="body_small_regular pb-2"><a href="/conseils/amincissement-verres-myopie-lunettes">Verres amincis pour forte myopie</a></li>
<li class="body_small_regular pb-2"><a href="/lunettes-de-vue.html?gender=Femme&amp;frame_style=Intemporel">Lunettes de vue tendance femme</a></li>
<li class="body_small_regular pb-2"><a href="/lunettes-de-vue.html?gender=Homme&amp;frame_style=Intemporel">Lunettes de vue tendance homme</a></li>
</ul>
</div>
<div class="flex-col justify-center items-start">
<ul>
<li class="!text-[14px] body_small_link_bold pb-4">Nos conseils pour votre audition</li>
<li class="body_small_regular pb-2"><a title="Malentendant VS sourd : quelles diff&eacute;rences ?" href="/conseils/malentendant-sourd-differences">Malentendant VS sourd : quelles diff&eacute;rences ?</a></li>
<li class="body_small_regular pb-2"><a title="Mon audition Troubles auditifs 7 min de lecture  Perte auditive : dossier complet sur les probl&egrave;mes de baisse d&rsquo;audition" href="/conseils/perte-auditive">Perte auditive</a></li>
<li class="body_small_regular pb-2"><a title="Hyperacousie : Tout savoir" href="/conseils/hyperacousie-tout-savoir">Hyperacousie</a></li>
<li class="body_small_regular pb-2"><a title="Comment bien se nettoyer les oreilles ?" href="/conseils/nettoyer-oreilles">Comment bien se nettoyer les oreilles ?</a></li>
</ul>
</div>
</div>
</div>

                                                </div>
    </div>
</div></div><div class="bg-bleu-blackfull">
    <div class="container py-4 mx-auto flex items-center justify-center flex-col">
        <p class="text-white body_small_regular">
            © Atol 2025 - Tous droits réservés        </p>
    </div>
    <div class="py-4 md:px-10 lg:px-20">
        <div
            class="flex flex-wrap md:flex-row gap-x-7 sm:gap-x-9 gap-y-6 justify-center items-center text-white text-center body_small_link">
            <button onclick="window.location.href='/mentions-legales'" class="hover:underline whitespace-nowrap">
                <span>Informations légales</span>
            </button>
            <button onclick="window.location.href='/cgv'" class="hover:underline whitespace-nowrap">
                <span class="hover:underline whitespace-nowrap">CGV</span>
            </button>
            <button onclick="window.location.href='/politique-des-cookies'" class="hover:underline whitespace-nowrap">
                <span>Gestion des cookies</span>
            </button>
            <button onclick="window.location.href='/donnees-personnelles'" class="hover:underline whitespace-nowrap">
                <span>Politique de confidentialité</span>
            </button>
            <button id="didomi-footer-btn" class="hover:underline whitespace-nowrap text-white cursor-pointer">
                Paramétrer les cookies
            </button>
        </div>
    </div>
</div>
<script type="text/javascript">
    document.getElementById('didomi-footer-btn').addEventListener('click', function() {
        if (window.Didomi && Didomi.preferences) {
            Didomi.preferences.show();
        }
    });
</script></footer><div x-data="initProductImageModal([])" x-init="initModal();        $watch('activeFittingBox', value => {            if (value) {                document.body.classList.add('overflow-hidden');            } else {                document.body.classList.remove('overflow-hidden');            }        })" class="w-full relative md:h-auto">
    <div
        x-show="activeFittingBox"
        style="display: none"
        class="h-full fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50">
        <div x-data="{ isExpanded: false, touchStartY: 0, touchDeltaY: 0, onTouchStart(e) { if (e.touches && e.touches.length) { this.touchStartY = e.touches[0].clientY; this.touchDeltaY = 0; } }, onTouchMove(e) { if (e.touches && e.touches.length) { this.touchDeltaY = e.touches[0].clientY - this.touchStartY; } }, onTouchEnd() { const threshold = 40; if (Math.abs(this.touchDeltaY) > threshold) { if (this.touchDeltaY < 0) { this.isExpanded = true; } else { this.isExpanded = false; } } this.touchStartY = 0; this.touchDeltaY = 0; } }" class="container px-0 h-screen lg:py-6">
            <div class="grid grid-cols-1 lg:flex gap-4 items-center justify-center bg-white h-full">
                <div class="h-full md:flex-1 md:relative">
                    <div class="absolute top-0 left-0 pt-4 pl-4 lg:hidden">
                        <button @click="toggleFittingBox(); document.body.classList.remove('overflow-hidden')"
                            type="button"
                            class="hidden text-gray-500 p-3 hover:text-gray-600 focus:text-gray-600                                    transition ease-in-out duration-150"
                            :class="{ 'hidden': !fittingBoxFullscreen, 'block': fittingBoxFullscreen }"
                            aria-label="Close&#x20;fullscreen">
                            <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 id="fitmix-container" class="w-full h-screen lg:h-full"></div>
                    <div x-show="isCameraActive" class="grid grid-cols-1 gap-4 absolute left-1/2 transform -translate-x-1/2" 
                    :class="isExpanded ? 'bottom-24 lg:bottom-4' : 'bottom-72 lg:bottom-4'">
                    <div class="flex justify-center items-center gap-2 md:gap-3 color-selector"></div>
                    <button
                        @click="captureFitmix"
                        class="flex justify-self-center p-3 bg-white/20 backdrop-blur-[5px] rounded-full text-white shadow-lg max-w-[50px]">
                        <svg xmlns="http://www.w3.org/2000/svg" width="27" height="24" viewbox="0 0 27 24" fill="none">
                            <path d="M4.16667 5.33398H5.5C6.97276 5.33398 8.16667 4.14008 8.16667 2.66732C8.16667 1.93094 8.76362 1.33398 9.5 1.33398H17.5C18.2364 1.33398 18.8333 1.93094 18.8333 2.66732C18.8333 4.14008 20.0272 5.33398 21.5 5.33398H22.8333C24.3061 5.33398 25.5 6.52789 25.5 8.00065V20.0007C25.5 21.4734 24.3061 22.6673 22.8333 22.6673H4.16667C2.69391 22.6673 1.5 21.4734 1.5 20.0007V8.00065C1.5 6.52789 2.69391 5.33398 4.16667 5.33398" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
                            <circle cx="13.5" cy="13.334" r="4" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
                        </svg>
                    </button>
                    </div>
                </div>
                <div class="overflow-hidden bg-white sticky bottom-0 w-full lg:w-[575px] lg:h-full rounded-tl-2xl rounded-tr-2xl"
                    :class="selectedCategory !== '' ? 'h-auto' : 'h-[50px]'">
                    <div class="hidden lg:flex w-full h-[92px] border-b pt-12 pb-8 px-4 justify-center items-center relative">
                        <div class="flex justify-center items-center text-bleu-indigo body_emphasis_bold">Essayage virtuel</div>
                        <button @click="toggleFittingBox(); document.body.classList.remove('overflow-hidden')" class="absolute right-4 top-1/2 transform -translate-y-1/2 w-6 h-6 flex justify-center items-center">
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none">
                                <path d="M18 6L6 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                <path d="M6 6L18 18" stroke="#1F226B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                            </svg>
                        </button>
                    </div>
                    <div  class="bg-white" x-bind:style="isExpanded ? 'height: 90px' : 'height: auto'">
                    <div class="flex flex-col w-full px-2 pt-3 bg-white"> 
                    <div class="flex justify-center py-2 lg:hidden"
                            @touchstart="onTouchStart($event)"
                            @touchmove.prevent="onTouchMove($event)"
                            @touchend="onTouchEnd()">
                        <div class="w-16 h-[3px] bg-gray-200 rounded-lg cursor-pointer transition-all duration-300"
                            @click="isExpanded = !isExpanded"
                        ></div>
                    </div> 
                    <div class="flex flex-col w-full px-2 pt-3 bg-white">                 
                        <div class="self-stretch min-w-[375px] sm:w-full justify-start md:border-b border-gray-200 items-start inline-flex no-scrollbar overflow-y-none overflow-x-auto">
                            <!-- Favoris Tab -->
                            <div @click="selectedCategory = 'Favoris'"
                                :class="selectedCategory === 'Favoris' ? 'border-b-2 border-bleu-indigo text-bleu-indigo' : 'text-grayblue !font-semibold'"
                                class="py-2 px-2.5 pb-2 justify-center items-center gap-3 flex cursor-pointer">
                                <svg viewbox="0 0 24 24"
                                    class="w-5 h-5 transition-all duration-200"
                                    :fill="selectedCategory === 'Favoris' ? '#1F226B' : '#888E9B'"
                                    stroke-width="2">
                                    <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                </svg>
                                <div class="body_body_bold" :class="selectedCategory === 'Favoris' ? 'text-bleu-indigo' : 'text-grayblue'">
                                    Favoris                                </div>
                            </div>
                            <!-- eyeglasses Tab -->
                            <div @click="selectedCategory = 'eyeglasses'"
                                :class="selectedCategory === 'eyeglasses' ? 'border-b-2 border-bleu-indigo text-bleu-indigo' : 'text-grayblue'"
                                class="py-2 pr-2.5 pl-3.5 pb-2  justify-center items-center gap-3 flex cursor-pointer">
                                <svg width="24" height="24" viewbox="0 0 24 18" fill="none" xmlns="http://www.w3.org/2000/svg"
                                    :style="selectedCategory === 'eyeglasses' ? 'stroke: #1F226B;' : 'stroke: #888e9b;'">
                                    <g id="Group">
                                        <path id="Path" d="M6 1H4L1 11" stroke-width="1.5" stroke-linecap="round"
                                            stroke-linejoin="round" />
                                        <path id="Path_2" d="M14 1H16L19 11" stroke-width="1.5" stroke-linecap="round"
                                            stroke-linejoin="round" />
                                        <path id="Path_3" d="M8 13H12" stroke-width="1.5" stroke-linecap="round"
                                            stroke-linejoin="round" />
                                        <path id="Path_4"
                                            d="M19 13.5C19 15.433 17.433 17 15.5 17C13.567 17 12 15.433 12 13.5V11H19V13.5"
                                            stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                        <path id="Path_5" d="M8 13.5C8 15.433 6.433 17 4.5 17C2.567 17 1 15.433 1 13.5V11H8V13.5"
                                            stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    </g>
                                </svg>
                                <div :class="selectedCategory === 'eyeglasses' ? 'text-bleu-indigo' : 'text-grayblue'"
                                    class="body_body_bold whitespace-nowrap">Lunettes&#x20;de&#x20;vue</div>
                            </div>
                            <!-- Lunettes de soleil Tab -->
                            <div @click="selectedCategory = 'sunglasses'"
                                :class="selectedCategory === 'sunglasses' ? 'border-b-2 border-bleu-indigo text-bleu-indigo' : 'text-grayblue '"
                                class="py-2 pr-2.5 pl-3.5 pb-2 justify-center items-center gap-3 flex cursor-pointer">
                                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="18" viewbox="0 0 20 18" fill="none"
                                :fill="selectedCategory === 'sunglasses' ? '#1F226B' : '#888E9B'"
                                >
                                    <path d="M6 1H4L1 11" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <path d="M14 1H16L19 11" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <path d="M8 13H12" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M19 13.5C19 15.433 17.433 17 15.5 17C13.567 17 12 15.433 12 13.5V11H19V13.5Z"/>
                                    <path d="M19 13.5C19 15.433 17.433 17 15.5 17C13.567 17 12 15.433 12 13.5V11H19V13.5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M8 13.5C8 15.433 6.433 17 4.5 17C2.567 17 1 15.433 1 13.5V11H8V13.5Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                </svg>
                                <div :class="selectedCategory === 'sunglasses' ? 'text-bleu-indigo' : 'text-grayblue'"
                                    class="whitespace-nowrap body_body_bold">Lunettes&#x20;de&#x20;soleil                                </div>
                            </div>
                            <!-- Content Blocks -->
                        </div>
                        <div class="max-h-[200px] lg:max-h-full overflow-auto" x-show="selectedCategory === 'Favoris'" id="Favoris">
                            <div class="flex flex-col min-h-[200px] gap-3 lg:mb-4 pb-16">
                                                                            <div class="w-full self-stretch my-4 min-h-[200px] lg:h-[467px] inline-flex flex-col lg:justify-center items-center gap-6">
                                            <div class="relative text-center justify-start text-bleu-indigo body_body_regular"><span>Vous n&#039;avez pas encore de monture favori !</span></div>
                                        </div>
                                                                    </div>
                            </div>
                        </div> 
                        <div class="max-h-[200px] lg:max-h-full overflow-auto flex flex-col gap-4 lg:mb-4 mx-2" x-show="selectedCategory === 'sunglasses'" id="sunglasses">
                                                        <div v-for="product in products"
                                :key="product.sku">
                                <div x-show="String(product.attribute_set_id) === '11'" class="px-2">
                                    <div class="text-bleu-indigo body_body_bold my-4 hidden lg:block">Votre sélection</div>
                                    <div
                                        :class="{                                        'lg:outline outline-1 lg:outline-offset-[-1px] lg:outline-bleu-indigo max-w-full': activeFrame === product.sku,                                        'bg-white': activeFrame !== product.sku}"
                                        class="grow shrink basis-0 lg:px-2 py-2 rounded-lg justify-start items-start gap-3 flex cursor-pointer">
                                        <div class="relative hidden w-[120px] h-[120px] bg-[#f4f4f5] rounded-lg flex-col justify-center items-center lg:inline-flex">
                                            <div class="absolute w-8 h-8 bg-white rounded-full top-2 right-2 items-center gap-2.5 inline-flex">
                                                <span @click.prevent="addToWishlist(product.id)"
                                                    class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-white">
                                                    <svg viewbox="0 0 24 24"
                                                        :class="wishlistskus.includes(product.sku) ? 'stroke-white fill-red-base' : 'stroke-bleu-indigo fill-transparent hover:stroke-white hover:fill-red-base'"
                                                        class="w-5 h-5 md:w-6 md:h-6"
                                                        stroke-width="2">
                                                        <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                                    </svg>
                                                </span>
                                            </div>
                                            <img :src="product.image" alt="Product Image" class="self-stretch" />
                                        </div>
                                        <div class="relative w-[115px] h-[115px] lg:w-[120px] lg:h-[120px] bg-[#f4f4f5] rounded-lg flex-col justify-center items-center inline-flex lg:hidden">
                                            <div class="absolute w-8 h-8 bg-white rounded-full top-2 right-2 items-center gap-2.5 inline-flex">
                                                <span @click.prevent="addToWishlist(product.id)"
                                                    class="inline-flex items-center justify-center w-5 h-5 rounded-full bg-white">
                                                    <svg viewbox="0 0 24 24"
                                                        :class="wishlistskus.includes(product.sku) ? 'stroke-white fill-red-base' : 'stroke-bleu-indigo fill-transparent hover:stroke-white hover:fill-red-base'"
                                                        class="w-5 h-5 md:w-6 md:h-6"
                                                        stroke-width="2">
                                                        <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                                    </svg>
                                                </span>
                                            </div>
                                            <img :src="product.image" alt="Product Image" class="self-stretch" />
                                        </div>
                                        <div class="grow shrink basis-0 self-stretch flex-col justify-center items-start gap-3 inline-flex">
                                            <div class="self-stretch grow shrink basis-0 flex-col justify-between items-start flex">
                                                <div class="self-stretch justify-start items-start gap-2 inline-flex">
                                                    <div class="grow shrink basis-0 flex-col justify-center items-start gap-1 inline-flex">
                                                        <div class="self-stretch text-bleu-indigo body_body_regular max-w-[290px]" x-text="product.name">
                                                        </div>
                                                        <div class="self-stretch text-grisfonce body_body_regular" x-text="product.sku">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex justify-between items-start md:items-center gap-1 md:gap-4 w-56">
                                                    <template x-if="product.is_promo">
                                                        <div class="flex items-center gap-2">
                                                            <span class="promo-price text-red-600 font-bold" x-text="product.default_formated"></span>
                                                            <span class="original-price line-through text-bleu-indigo" x-text="product.default_original_formated"></span>
                                                        </div>
                                                    </template>
                                                    <template x-if="!product.is_promo">
                                                        <span class="original-price text-bleu-indigo body_body_bold" x-text="product.default_formated"></span>
                                                    </template>
                                                    <div class="justify-start items-center gap-2 flex">
                                                        <div :style="`background-color: ${product.stock_color}`"
                                                            class="w-1.5 h-1.5 rounded-full"></div>
                                                        <div :style="`color: ${product.stock_color}`"
                                                            class="body_small_regular"
                                                            x-text="product.stock_label">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div x-show="String(product.attribute_set_id) === '10'">
                                    <div class="w-full self-stretch my-4 min-h-[200px] lg:h-[467px] inline-flex flex-col lg:justify-center items-center gap-6">
                                        <div class="relative flex text-center justify-start text-bleu-indigo body_body_regular"><span>Vous n&#039;avez pas encore de monture lunettes de soleil !</span></div>
                                    </div>
                                </div>
                                
                                <div  x-show="String(product.attribute_set_id) != '10'" class="w-full lg:w-[575px] absolute bottom-0 z-10 h-[60px] lg:h-[85px] px-6 lg:py-4 bg-white flex justify-between items-center">
                                    <div>
                                        <div class="flex items-center gap-1">
                                        <template x-if="!product.is_available">
                                            <div class="flex items-center gap-1 text-grisfonce body_small_regular pr-2">
                                                <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4">
                                                    <g id="Group">
                                                        <ellipse id="Oval" cx="4.00033" cy="12.6666" rx="1.33333" ry="1.33333" stroke="#888E9B"
                                                            stroke-linecap="round" stroke-linejoin="round" />
                                                        <path id="Path"
                                                            d="M11.3333 11.3333C10.597 11.3333 10 11.9302 10 12.6666C10 13.403 10.597 13.9999 11.3333 13.9999C12.0697 13.9999 12.6667 13.403 12.6667 12.6666"
                                                            stroke="white" stroke-linecap="round" stroke-linejoin="round" />
                                                        <path id="Path_2" d="M11.3333 11.3333H4V4" stroke="#888E9B" stroke-linecap="round"
                                                            stroke-linejoin="round" />
                                                        <path id="Shape"
                                                            d="M6.19472 2.98858C5.91928 2.96889 5.68003 3.17622 5.66035 3.45166C5.64066 3.7271 5.848 3.96635 6.12344 3.98603L6.19472 2.98858ZM13.3331 3.99997L13.828 4.07068C13.8477 3.93334 13.8093 3.79403 13.7222 3.68605C13.6351 3.57807 13.5071 3.51113 13.3687 3.50124L13.3331 3.99997ZM12.6664 8.66664V9.16664C12.9152 9.16664 13.1262 8.98367 13.1614 8.73735L12.6664 8.66664ZM11.3331 8.16664C11.0569 8.16664 10.8331 8.3905 10.8331 8.66664C10.8331 8.94278 11.0569 9.16664 11.3331 9.16664V8.16664ZM8.66667 9.16665C8.94281 9.16665 9.16667 8.9428 9.16667 8.66665C9.16667 8.39051 8.94281 8.16665 8.66667 8.16665V9.16665ZM4 8.16665C3.72386 8.16665 3.5 8.39051 3.5 8.66665C3.5 8.9428 3.72386 9.16665 4 9.16665V8.16665ZM6.12344 3.98603L13.2974 4.4987L13.3687 3.50124L6.19472 2.98858L6.12344 3.98603ZM12.8381 3.92926L12.1714 8.59593L13.1614 8.73735L13.828 4.07068L12.8381 3.92926ZM12.6664 8.16664H11.3331V9.16664H12.6664V8.16664ZM8.66667 8.16665H4V9.16665H8.66667V8.16665Z"
                                                            fill="#888E9B" />
                                                        <path id="Path_3" d="M2 2L14 14" stroke="#888E9B" stroke-linecap="round"
                                                            stroke-linejoin="round" />
                                                    </g>
                                                </svg>
                                                <span>Indisponible</span>
                                            </div>
                                        </template>

                                        <template x-if="product.is_available">
                                            <div class="flex items-center gap-1">
                                            <div class="w-4 h-4 flex justify-center items-center">
                                                <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <g id="Group">
                                                        <circle id="Oval" cx="8" cy="8" r="6" fill="#107E5A" stroke="#107E5A"
                                                            stroke-width="1.07143" stroke-linecap="round" stroke-linejoin="round" />
                                                        <path id="Path" d="M6 7.99984L7.33333 9.33317L10 6.6665" stroke="white"
                                                            stroke-width="1.07143" stroke-linecap="round" stroke-linejoin="round" />
                                                    </g>
                                                </svg>
                                            </div>
                                            <p class="text-states-confirmation-500 body_small_regular pr-2">Disponible</p>
                                            </div>
                                        </template>
                                        </div>
                                        <template x-if="product.is_promo">
                                            <div class="flex items-center gap-2">
                                                <span class="promo-price text-red-600 font-bold" x-text="product.default_formated"></span>
                                                <span class="original-price line-through text-bleu-indigo" x-text="product.default_original_formated"></span>
                                            </div>
                                        </template>
                                        <template x-if="!product.is_promo">
                                            <span class="original-price text-bleu-indigo body_body_bold" x-text="product.default_formated"></span>
                                        </template>
                                        <!-- <div class="flex mt-1 text-bleu-indigo body_small_bold text-right" x-text="product.price + '€'"></div> -->
                                    </div>
                                    <div class="px-4">
                                    <template x-if="product.is_available">
                                        <button @click.prevent="addToCart(product.id)"
                                                class="px-6 py-3 bg-bleu-base rounded-[100px] flex justify-center items-center gap-2">
                                            <span class="text-white body_small_regular lg:body_body_regular">
                                            Ajouter au panier
                                            </span>
                                        </button>
                                    </template>
                                    </div>
                                </div>
                            </div>
                            <!-- Similar Products Section -->
                            <div x-show="similarProducts.filter(p => String(p.attribute_set_id) === '11').length > 0">
                                <h3 class="body_body_bold text-bleu-indigo mb-4">Vous aimerez aussi</h3>
                                <div class="flex flex-row lg:flex-col gap-4 max-h-[calc(70vh-200px)] overflow-auto no-scrollbar pb-16">
                                    <template x-for="(similarProduct, index) in similarProducts" :key="similarProduct.sku || index">
                                        <div x-show="String(similarProduct.attribute_set_id) === '11'">
                                            <div @click="changeFrame(similarProduct.sku); getProductDetails(similarProduct.sku);activeFrame = similarProduct.sku"
                                                :class="{                                                    'lg:outline outline-1 lg:outline-offset-[-1px] lg:outline-bleu-indigo max-w-[120px] lg:max-w-full': activeFrame === similarProduct.sku,                                                    'bg-white': activeFrame !== similarProduct.sku                                                }"
                                                class="grow shrink basis-0 lg:px-2 py-2 rounded-lg justify-start items-start gap-3 flex cursor-pointer">
                                                <div class="relative hidden w-[120px] h-[120px] bg-[#f4f4f5] rounded-lg flex-col justify-center items-center lg:inline-flex">
                                                    <div class="absolute w-8 h-8 bg-white rounded-full top-2 right-2 items-center gap-2.5 inline-flex">
                                                        <span @click.prevent="addToWishlist(similarProduct.id)"
                                                            class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-white">
                                                            <svg viewbox="0 0 24 24"
                                                                :class="wishlistskus.includes(similarProduct.sku) ? 'stroke-white fill-red-base' : 'stroke-bleu-indigo fill-transparent hover:stroke-white hover:fill-red-base'"
                                                                class="w-5 h-5 md:w-6 md:h-6"
                                                                stroke-width="2">
                                                                <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                                            </svg>
                                                        </span>
                                                    </div>
                                                    <img :src="similarProduct.image" alt="Product Image" class="self-stretch" />
                                                </div>
                                                <div class="relative w-[115px] h-[115px] lg:w-[120px] lg:h-[120px] bg-[#f4f4f5] rounded-lg flex-col justify-center items-center inline-flex lg:hidden">
                                                    <div class="absolute w-8 h-8 bg-white rounded-full top-2 right-2 items-center gap-2.5 inline-flex">
                                                        <span @click.prevent="addToWishlist(similarProduct.id)"
                                                            class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-white">
                                                            <svg viewbox="0 0 24 24"
                                                                :class="wishlistskus.includes(similarProduct.sku) ? 'stroke-white fill-red-base' : 'stroke-bleu-indigo fill-transparent hover:stroke-white hover:fill-red-base'"
                                                                class="w-5 h-5 md:w-6 md:h-6"
                                                                stroke-width="2">
                                                                <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                                            </svg>
                                                        </span>
                                                    </div>
                                                    <img :src="similarProduct.image" alt="Product Image" class="self-stretch" />
                                                </div>
                                                <div class="hidden grow shrink basis-0 self-stretch flex-col justify-center items-start gap-3 lg:inline-flex">
                                                    <div class="self-stretch grow shrink basis-0 flex-col justify-between items-start flex">
                                                        <div class="self-stretch justify-start items-start gap-2 inline-flex">
                                                            <div class="grow shrink basis-0 flex-col justify-center items-start gap-1 inline-flex">
                                                                <div class="self-stretch text-bleu-indigo body_body_regular max-w-[290px]" x-text="similarProduct.name">
                                                                </div>
                                                                <div class="self-stretch text-grisfonce body_body_regular" x-text="similarProduct.sku">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="flex-col md:flex-row self-stretch justify-start items-start md:items-center gap-1 md:gap-4 inline-flex w-56">
                                                            <div class="w-full flex-row grow shrink basis-0 justify-between items-start flex">
                                                            <template x-if="similarProduct.is_promo">
                                                                <div class="flex items-center gap-2">
                                                                    <span class="promo-price text-red-600 font-bold" x-text="similarProduct.default_formated"></span>
                                                                    <span class="original-price line-through text-bleu-indigo" x-text="similarProduct.default_original_formated"></span>
                                                                </div>
                                                            </template>
                                                            <template x-if="!similarProduct.is_promo">
                                                                <span class="original-price text-bleu-indigo body_body_bold" x-text="similarProduct.default_formated"></span>
                                                            </template>    
                                                            </div>
                                                                <div class="justify-start items-center gap-2 flex">
                                                                    <div class="w-4 h-4 justify-center items-center gap-2.5 flex">
                                                                        <div :style="`background-color: ${similarProduct.stock_color}`"
                                                                            class="w-1.5 h-1.5 rounded-full"></div>
                                                                    </div>
                                                                    <div :style="`color: ${similarProduct.stock_color}`"
                                                                        class="body_small_regular"
                                                                        x-text="similarProduct.stock_label">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </template>
                                </div>
                            </div>
                        </div>
                        <div class="max-h-[200px] lg:max-h-full overflow-auto flex flex-col gap-4 lg:mb-4 mx-2" x-show="selectedCategory === 'eyeglasses'" id="eyeglasses">
                            <div v-for="product in products"
                                :key="product.sku">
                                <div x-show="String(product.attribute_set_id) === '10'" class="px-2">
                                    <div class="text-bleu-indigo body_body_bold my-4 hidden lg:block">Votre sélection</div>
                                    <div :class="{                                            'lg:outline outline-1 lg:outline-offset-[-1px] lg:outline-bleu-indigo max-w-full': activeFrame === product.sku,                                            'bg-white': activeFrame !== product.sku                                        }"
                                        class="grow shrink basis-0 lg:px-2 py-2 rounded-lg justify-start items-start gap-3 flex cursor-pointer">
                                        <div class="relative w-[120px] h-[120px] bg-[#f4f4f5] rounded-lg flex-col justify-center items-center inline-flex">
                                                <div class="absolute w-8 h-8 bg-white rounded-full top-2 right-2 items-center gap-2.5 inline-flex">
                                                    <span @click.prevent="addToWishlist(product.id)"
                                                        class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-white">
                                                        <svg viewbox="0 0 24 24"
                                                            :class="wishlistskus.includes(product.sku) ? 'stroke-white fill-red-base' : 'stroke-bleu-indigo fill-transparent hover:stroke-white hover:fill-red-base'"
                                                            class="w-5 h-5 md:w-6 md:h-6"
                                                            stroke-width="2">
                                                            <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                                        </svg>
                                                    </span>
                                                </div>
                                            <img :src="product.image" alt="Product Image" class="self-stretch" />
                                        </div>
                                        <div class="grow shrink basis-0 self-stretch flex-col justify-center items-start gap-3 inline-flex">
                                            <div class="self-stretch grow shrink basis-0 flex-col justify-between items-start flex">
                                                <div class="self-stretch justify-start items-start gap-2 inline-flex">
                                                    <div class="grow shrink basis-0 flex-col justify-center items-start gap-1 inline-flex">
                                                        <div class="self-stretch text-bleu-indigo body_body_regular max-w-[290px]" x-text="product.name">
                                                        </div>
                                                        <div class="self-stretch text-grisfonce body_body_regular" x-text="product.sku">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex justify-between items-start md:items-center gap-1 md:gap-4 w-56">
                                                    <template x-if="product.is_promo">
                                                        <div class="flex items-center gap-2">
                                                            <span class="promo-price text-red-600 font-bold" x-text="product.default_formated"></span>
                                                            <span class="original-price line-through text-bleu-indigo" x-text="product.default_original_formated"></span>
                                                        </div>
                                                    </template>
                                                    <template x-if="!product.is_promo">
                                                        <span class="original-price text-bleu-indigo body_body_bold" x-text="product.default_formated"></span>
                                                    </template>
                                                    <div class="justify-start items-center gap-2 flex">
                                                        <div :style="`background-color: ${product.stock_color}`"
                                                            class="w-1.5 h-1.5 rounded-full"></div>
                                                        <div :style="`color: ${product.stock_color}`"
                                                            class="body_small_regular"
                                                            x-text="product.stock_label">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div x-show="String(product.attribute_set_id) === '11'">
                                    <div class="w-full self-stretch my-4 min-h-[200px] lg:h-[467px] inline-flex flex-col lg:justify-center items-center gap-6">
                                        <div class="relative flex text-center justify-start text-bleu-indigo body_body_regular"><span>Vous n&#039;avez pas encore de monture lunettes de vue !</span></div>
                                    </div>
                                </div>
                            </div>
                            <!-- Similar Products Section -->
                            <div x-show="similarProducts.filter(p => String(p.attribute_set_id) === '10').length > 0">
                                <h3 class="body_body_bold text-bleu-indigo mb-4">Vous aimerez aussi</h3>
                                <div class="flex flex-row lg:flex-col gap-4 max-h-[calc(70vh-200px)] overflow-auto no-scrollbar">
                                    <template x-for="(similarProduct, index) in similarProducts" :key="similarProduct.sku || index">
                                        <div x-show="String(similarProduct.attribute_set_id) === '10'">
                                            <div @click="changeFrame(similarProduct.sku); getProductDetails(similarProduct.sku);activeFrame = similarProduct.sku"
                                                :class="{                                                    'lg:outline outline-1 lg:outline-offset-[-1px] lg:outline-bleu-indigo max-w-[120px] lg:max-w-full': activeFrame === similarProduct.sku,                                                    'bg-white': activeFrame !== similarProduct.sku                                                }"
                                                class="grow shrink basis-0 lg:px-2 py-2 rounded-lg justify-start items-start gap-3 flex cursor-pointer">
                                                <div class="relative w-[120px] h-[120px] bg-[#f4f4f5] rounded-lg flex-col justify-center items-center inline-flex">
                                                    <div class="absolute w-8 h-8 bg-white rounded-full top-2 right-2 items-center gap-2.5 inline-flex">
                                                        <span @click.prevent="addToWishlist(similarProduct.id)"
                                                            class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-white">
                                                            <svg viewbox="0 0 24 24"
                                                                :class="wishlistskus.includes(similarProduct.sku) ? 'stroke-white fill-red-base' : 'stroke-bleu-indigo fill-transparent hover:stroke-white hover:fill-red-base'"
                                                                class="w-5 h-5 md:w-6 md:h-6"
                                                                stroke-width="2">
                                                                <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
                                                            </svg>
                                                        </span>
                                                    </div>
                                                    <img :src="similarProduct.image" alt="Product Image" class="self-stretch" />
                                                </div>
                                                <div class="hidden grow shrink basis-0 self-stretch flex-col justify-center items-start gap-3 lg:inline-flex">
                                                    <div class="self-stretch grow shrink basis-0 flex-col justify-between items-start flex">
                                                        <div class="self-stretch justify-start items-start gap-2 inline-flex">
                                                            <div class="grow shrink basis-0 flex-col justify-center items-start gap-1 inline-flex">
                                                                <div class="self-stretch text-bleu-indigo body_body_regular max-w-[290px]" x-text="similarProduct.name">
                                                                </div>
                                                                <div class="self-stretch text-grisfonce body_body_regular" x-text="similarProduct.sku">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="flex-col md:flex-row self-stretch justify-start items-start md:items-center gap-1 md:gap-4 inline-flex w-56">
                                                            <div class="w-full flex-row grow shrink basis-0 justify-between items-start flex">
                                                                <template x-if="similarProduct.is_promo">
                                                                    <div class="flex items-center gap-2">
                                                                        <span class="promo-price text-red-600 font-bold" x-text="similarProduct.default_formated"></span>
                                                                        <span class="original-price line-through text-bleu-indigo" x-text="similarProduct.default_original_formated"></span>
                                                                    </div>
                                                                </template>
                                                                <template x-if="!similarProduct.is_promo">
                                                                    <span class="original-price text-bleu-indigo body_body_bold" x-text="similarProduct.default_formated"></span>
                                                                </template>  
                                                                </div>
                                                                <div class="justify-start items-center gap-2 flex">
                                                                    <div class="w-4 h-4 justify-center items-center gap-2.5 flex">
                                                                        <div :style="`background-color: ${similarProduct.stock_color}`"
                                                                            class="w-1.5 h-1.5 rounded-full"></div>
                                                                    </div>
                                                                    <div :style="`color: ${similarProduct.stock_color}`"
                                                                        class="body_small_regular"
                                                                        x-text="similarProduct.stock_label">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </template>
                                </div>
                            </div>
                        </div>
                    </div>
                    </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="//vto-advanced-integration-api.fittingbox.com/index.js" type="text/javascript"></script>
<script type="text/javascript">
    window.FORM_KEY = 'quh0J8BeGfhwngRW';
</script>
<script>
    function initProductImageModal(wishlistskus) {
        return {
            isOpen: false,
            activeFrame: '',
            selectedCategory: 'Favoris',
            frameID: null,
            productName: '',
            productImage: '',
            productSku: '',
            product: {},
            similarProducts: [],
            activeFittingBox: 0,
            fullscreen: true,
            fittingBoxFullscreen: true,
            fitmixInstance: null,
            selectedSku: null,
            showPhotoModal: false,
            photoPreview: null,
            isInFavorite: false,
            captureError: null,
            isCameraActive: false,
            params: {
                apiKey: 'c2lxunMUwmTBp6FOUjw5UsvTzftAGItkS9ELOfsN',
                onSnapshot: (data) => {
                    if (data && data.dataUrl) {
                        const link = document.createElement('a');
                        link.href = data.dataUrl;
                        link.download = 'virtual-tryon.png';
                        document.body.appendChild(link);
                        link.click();
                        document.body.removeChild(link);
                    } else {
                        this.captureError = "Snapshot data is missing or invalid.";
                        this.showPhotoModal = true;
                    }
                },
            },
            wishlistskus: wishlistskus,
           addToCart(productId) {
            this.isAddingToCart = true;
            fetch(BASE_URL + 'checkout/cart/add', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/x-www-form-urlencoded',
                    'X-Requested-With': 'XMLHttpRequest'
                },
                body: `product=${productId}&form_key=${window.FORM_KEY}`
            })
            .then(function () {
                fetch('/gtm/product/view?id=' + encodeURIComponent(productId))
                    .then(function (res) {
                        return res.json();
                    })
                    .then(function (productData) {
                        fetch('/gtm/customer/status')
                            .then(function (res) { return res.json(); })
                            .then(function (userData) {
                                window.dataLayer = window.dataLayer || [];
                                window.dataLayer.push({ ecommerce: null });
                                window.dataLayer.push({
                                    event: 'add_to_cart',
                                    user: userData,
                                    ecommerce: {
                                        currency: 'EUR',
                                        value: productData.price || 0,
                                        items: [productData]
                                    }
                                });

                                window.location.href = window.location.href;
                            })
                            .catch(function () {
                                console.error('Failed to fetch user data for GTM');
                            });
                    })
                    .catch(function () {
                        console.error('Failed to fetch product data for GTM');
                    });
            })
            .catch(function () {
                console.error('Failed to add product to cart');
            });
        },

        sendVirtualTryOnTracking(frameID) {
            // Get user info first
            fetch('/gtm/customer/status')
                .then(response => response.json())
                .then(userData => {
                    const product = this.product;
                    if (product) {
                        window.dataLayer = window.dataLayer || [];
                        window.dataLayer.push({ ecommerce: null });
                        window.dataLayer.push({
                            event: 'essayage_de_lunette',
                            user: userData,
                            ecommerce: {
                                value: parseFloat(product.price) || 0,
                                currency: 'EUR',
                                items: [{
                                    item_id: product.id,
                                    item_name: product.name,
                                    item_category: product.attribute_set_id === '10' ? 'Lunettes de vue' : 'Lunettes de soleil',
                                    quantity: 1,
                                    price: product.price
                                }]
                            }
                        });
                    }
                })
                .catch(error => {
                    // GTM virtual try-on tracking failed
                });
        },
        init() {
            this.params.onAgreePrivacyTerms = () => {
                this.isCameraActive = true;
            };
            this.params.onDisagreePrivacyTerms = () => {
                this.isCameraActive = false;
            };
        },

            initModal() {
                window.addEventListener('openProductImageModal', (e) => {
                    this.productSku = e.detail;
                    this.isInFavorite = wishlistskus.includes(this.productSku);
                    this.getProductDetails(this.productSku);
                    this.getSimilarProducts(this.productSku);
                    this.toggleFittingBox(this.productSku);
                    this.isOpen = true;
                });
            },
            closeModal() {
                this.isOpen = false;
            },
            initializeFitmix(frameID = '8053672909258') {
                this.params.frame = frameID;
                this.activeFrame = frameID;
                
                // Use valid FitMix callbacks
                this.params.onModeLive = () => {
                    // Send GTM tracking for virtual try-on
                    this.sendVirtualTryOnTracking(frameID);
                };
                
                // Also track when rendering happens (glasses are being displayed)
                this.params.onRenderResult = (renderData) => {
                    // Rendering completed
                };
                
                if (!this.fitmixInstance) {
                    this.fitmixInstance = FitMix.createWidget('fitmix-container', this.params, () => {
                        this.fitmixInstance.startVto('live');
                    });
                }
            },
            getProductDetails(frameID) {
                this.selectedFavorite = frameID;
                fetch('/customer/index/getcolor', {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json',
                            'X-Requested-With': 'XMLHttpRequest'
                        },
                        body: JSON.stringify({
                            sku: frameID
                        })
                    })
                    .then(response => response.json())
                    .then(data => {
                        if (data.success) {
                            const container = document.querySelector('.color-selector');
                            container.innerHTML = '';
                            this.product = data.parentProduct;
                            const product = data.parentProduct;
                            const attributeId = String(product.attribute_set_id);
                            this.isInFavorite = wishlistskus.includes(frameID);

                            if (this.isInFavorite) {
                                this.selectedCategory = 'Favoris';
                            } else if (attributeId === '11') {
                                this.selectedCategory = 'sunglasses';
                            } else if (attributeId === '10') {
                                this.selectedCategory = 'eyeglasses';
                            } else {
                                this.selectedCategory = 'Favoris';
                            }
                            Object.entries(data.skuProductMap).forEach(([sku, details], index) => {
                            const div = document.createElement('div');
                            div.className = `w-6 h-6 cursor-pointer rounded-full`;
                            div.innerHTML = `<img src="${details.color}" alt="Color option" class="w-full h-full rounded-full">`;
                            div.addEventListener('click', () => {
                                this.changeFrame(sku);
                                this.getProductDetails(sku);
                                this.activeFrame = sku;
                            });
                            
                            container.appendChild(div);
                        });
                        } else {
                            // Error loading product details
                        }
                    })
                    .catch(error => {
                        // Error fetching color info
                    });
            },
            getSimilarProducts(frameID) {
                fetch('/customer/index/getsimilarproducts', {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json',
                            'X-Requested-With': 'XMLHttpRequest'
                        },
                        body: JSON.stringify({
                            sku: frameID
                        })
                    })
                    .then(response => response.json())
                    .then(data => {
                        if (data.success) {
                            this.similarProducts = data.similar_products
                        } else {
                            // Error loading similar products
                        }
                    })
                    .catch(error => {
                        // Error fetching similar products
                    });
            },
            stopVto() {
                if (this.fitmixInstance) {
                    this.fitmixInstance.stopVto();
                }
            },
            changeFrame(frameID) {
                this.activeFrame = frameID;
                this.getSimilarProducts(frameID);
                
                if (!this.fitmixInstance) {
                    this.initializeFitmix(frameID);
                } else {
                    this.fitmixInstance.setFrame(frameID);
                    this.selectedCategory = '';
                    
                    // Send GTM tracking for frame change
                    this.sendVirtualTryOnTracking(frameID);
                }
            },
            toggleFittingBox(frameID) {
                this.activeFittingBox = !this.activeFittingBox;
                this.activeFrame = '';
                if (this.activeFittingBox) {
                    this.initializeFitmix(frameID);
                } else {
                    this.fitmixInstance && this.fitmixInstance.remove(function() {});
                    this.fitmixInstance = null;
                }
            },
            captureFitmix() {
                if (this.fitmixInstance && typeof this.fitmixInstance.getSnapshot === 'function') {
                    this.fitmixInstance.getSnapshot();
                } else {
                    this.captureError = "La fonction de capture n'est pas disponible.";
                    this.showPhotoModal = true;
                }
            },
        }
    }
</script>

<script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3&ns=3&cb=1473031944" async></script></body>
</html>