<div id="cookieBox" class="g-7af15464 g-4586568d" data-test-track="8ab3172a70b" data-mui-locator="00ec6340420a" data-module-position="center">
    <div class="g-b24e2866" id="elem-6c722688faf7d100">
        <div class="g-88524575" data-element-priority="low" data-mui-target="2be787" data-bs-fixture="2bfd34">
            <div class="g-fcb53566" id="elem-10fa4dec02cf1295">
                <h3 class="g-135beaf5 g-0d2c29a0" data-block-priority="high" data-analytics-automation="8b91b4f22" data-module-mode="disabled" data-section-category="commerce">We use cookies</h3>
                <p class="g-e2ca816d g-aea53723 g-0d2c29a0" id="elem-c36aad760f6a4c57">
                    We use cookies to ensure the proper functioning of the website, analyze traffic, and improve your experience. You can accept all cookies or reject them — the site will continue to operate. For more details, read our <a href="/cookie-policy/" target="_blank">Cookie Policy.</a>
                </p>
            </div>
            <div class="g-c6cdec19" data-analytics-value="3ebd209521" data-analytics-disabled="258878b7" data-module-state="success" data-analytics-dismiss="8db955b37">
                <button id="cookieAccept" class="g-e5f3f08c g-0d83f3f0 g-38bebee3" id="elem-fa33e161c43cde9f"><span>Accept</span></button>
                <button id="cookieReject" class="g-e5f3f08c g-0d83f3f0 g-b3825e80 g-38bebee3" data-block-role="footer" data-mui-value="f3dae59c0" data-widget-theme="auto" data-test-automation="441541904"><span>Reject</span></button>
            </div>
        </div>
    </div>
</div>
<script>
    function setCookie(name, value, days) {
        const d = new Date();
        d.setTime(d.getTime() + (days*24*60*60*1000));
        document.cookie = name + "=" + value + ";expires=" + d.toUTCString() + ";path=/";
    }
    
    function getCookie(name) {
        const cookies = document.cookie.split(';');
        for (let c of cookies) {
            let [k,v] = c.trim().split('=');
            if (k === name) return v;
        }
        return null;
    }

    document.addEventListener('DOMContentLoaded', function(){
        const box = document.getElementById('cookieBox');
        const accept = document.getElementById('cookieAccept');
        const reject = document.getElementById('cookieReject');
        
        if (!box || !accept || !reject) return;

        if (!getCookie('cookie')) {
            box.classList.add('g-35f46b56');
        }

        accept.onclick = function(){
            setCookie('cookie','accepted',365);
            box.remove();
        };

        reject.onclick = function(){
            setCookie('cookie','rejected',365);
            box.remove();
        };
    });
</script>