<!--
    Website Designed by CounterMind on Marketing-Rhino.com
    https://www.marketing-rhino.com/
    It is forbidden to re-sell this landing page without Author Permission.
-->
<!DOCTYPE html>
<html lang="en" 
      data-bs-theme="dark"
      data-accent-color="a-c-c2">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>CozyCoupons | Next Level Discounts</title>
    <meta name="description" content="Find the latest coupons, discount codes, and special offers. Save money on your next purchase with verified promo codes.">
    <meta name="base-url" content="https://cozycoupons.site">
    <meta name="appearance-settings" content="{&quot;available_coupons_min&quot;:120,&quot;available_coupons_max&quot;:550}">
    <!-- Favicon -->
            <link rel="icon" type="image/x-icon" href="https://cozycoupons.site/public/assets/uploads/favicons/favicon_67c7ad3645359.png">
        <script>
        if (localStorage.getItem('user_color_mode')) {
            document.documentElement.setAttribute('data-bs-theme', 
                localStorage.getItem('user_color_mode')
            );
        }
    </script>
    <!-- Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap" rel="stylesheet">
    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <script>
        function getCouponFromUrl() {
            const urlParams = new URLSearchParams(window.location.search);
            return urlParams.get('coupon');
        }
        // Define global revealFullCode function
        window.revealFullCode = function() {
            const modalStore = Alpine.store('couponModal');
            if (modalStore) {
                // Call a new method that handles all state updates
                modalStore.completeUnlock();
            }
        };
        // Utility function for safe URL decoding
        function safeDecodeUrl(url) {
            if (!url) return '';
            try {
                return decodeURIComponent(url);
            } catch (e) {
                console.error('Error decoding URL:', e);
                return url;
            }
        }
        document.addEventListener('alpine:init', () => {

            const setModalHeight = () => {
                if (window.innerWidth < 768) {
                    const vh = window.innerHeight * 0.01;
                    document.documentElement.style.setProperty('--vh', `${vh}px`);
                }
            };

            // Set initial height
            setModalHeight();

            // Update on resize and orientation change
            window.addEventListener('resize', setModalHeight);
            window.addEventListener('orientationchange', () => {
                setTimeout(setModalHeight, 100);
            });

            Alpine.store('couponModal', {
                isOpen: false,
                coupon: null,
                baseUrl: 'https://cozycoupons.site',
                usesToday: 0,
                currentStep: 1,
                processingProgress: 0,
                currentMessage: '',
                showCheckmark: false,
                codeRevealed: false,
                isLoading: false,
                isRevealed: false,
                settings: {
                    totalDuration: 5000,
                    processSteps: [
                        { 
                            message: "Checking amount of coupons left...", 
                            showAtPercent: 1                        },
                        { 
                            message: "Checking coupon code validity...", 
                            showAtPercent: 35                        },
                        { 
                            message: "Coupon is valid!", 
                            showAtPercent: 85                        }
                    ],
                    locker: {
                        enable_locker: true,
                        locrul_occ: "",
                        locrul_ocsc: "",
                        unlock_method: "timer",
                        unlock_delay: 3600                    },
                    appearance: {
                        show_ratings: true,
                        show_random_uses: true,
                        show_available_coupons: true                    }
                },
                translations: {
                    expiresIn: "Expires in"                },
                
                init() {
                    // Listen for count updates
                    window.addEventListener('couponCountUpdated', (event) => {
                        if (this.coupon && this.coupon.id === event.detail.couponId) {
                            // Force Alpine to re-render the count
                            Alpine.nextTick(() => {
                                this.coupon = { ...this.coupon };
                            });
                        }
                    });

                    window.addEventListener('orientationchange', () => {
                        if (this.isOpen) {
                            setTimeout(setViewportHeight, 100);
                        }
                    });
                },

                async open(couponId) {
                    try {
                        // Show overlay immediately with loading state
                        this.isOpen = true;
                        
                        // Get scroll position before doing anything
                        const scrollPos = window.pageYOffset || document.documentElement.scrollTop;
                        
                        // Lock the body scroll at current position
                        document.body.classList.add('modal-open');
                        document.body.style.top = `-${scrollPos}px`;
                        document.body.style.width = '100%';
                        
                        // Fetch data
                        const url = `${this.baseUrl}/api/coupons/${couponId}`;
                        const response = await fetch(url);
                        if (!response.ok) throw new Error('Failed to fetch coupon data');
                        
                        // Set coupon data which will trigger the modal slide in
                        this.coupon = await response.json();
                        
                        window.dispatchEvent(new CustomEvent('coupon-changed', {
                            detail: { couponId: this.coupon.id }
                        }));
                        
                        const usesData = JSON.parse(localStorage.getItem('coupon_uses_today') || '{}');
                        this.usesToday = usesData.uses?.[couponId] || Math.floor(Math.random() * 50) + 20;
                        
                        // Store scroll position explicitly
                        this.scrollPosition = scrollPos;
                        
                        // Remove any lingering closing attribute
                        const modalOverlay = document.querySelector('.modal-overlay');
                        if (modalOverlay) {
                            modalOverlay.removeAttribute('closing');
                        }
                        
                        return false;
                    } catch (error) {
                        console.error('Error in open():', error);
                        // Handle error state
                        this.isOpen = false;
                        document.body.classList.remove('modal-open');
                        document.body.style.position = '';
                        document.body.style.width = '';
                        document.body.style.top = '';
                    }
                },

                close() {
                    const modalOverlay = document.querySelector('.modal-overlay');
                    const isMobile = window.innerWidth <= 768;
                    
                    if (isMobile) {
                        // Mobile: Add closing class and wait for animation
                        modalOverlay.setAttribute('closing', '');
                        setTimeout(() => {
                            this.closeModal(modalOverlay);
                        }, 240); // Match animation duration
                    } else {
                        // Desktop: Close immediately
                        this.closeModal(modalOverlay);
                    }
                },

                closeModal(modalOverlay) {
                    // Remove the closing attribute if it exists
                    modalOverlay?.removeAttribute('closing');
                    
                    // Get the scroll position from the body's top value
                    const scrollPos = Math.abs(parseInt(document.body.style.top || '0'));
                    
                    // Remove modal-open class and reset body styles
                    document.body.classList.remove('modal-open');
                    document.body.style.position = '';
                    document.body.style.width = '';
                    document.body.style.top = '';
                    
                    // Set the scroll position without using scrollTo
                    document.documentElement.style.scrollBehavior = 'auto';
                    document.documentElement.scrollTop = scrollPos;
                    document.body.scrollTop = scrollPos; // For Safari
                    document.documentElement.style.scrollBehavior = '';
                    
                    this.isOpen = false;
                    this.copyStatus = 'ready';
                    
                    // Reset all modal state including coupon data
                    this.currentStep = 1;
                    this.processingProgress = 0;
                    this.currentMessage = '';
                    this.showCheckmark = false;
                    this.codeRevealed = false;
                    this.isLoading = false;
                    this.isRevealed = false;
                    this.coupon = null;  // Add this line to reset coupon data
                },

                hideCode(code) {
                    if (!code) return '';
                    return code.substring(0, 3) + '***';
                },

                formatExpiry(validityDate) {
                    return validityDate || "No expiration";
                },

                formatDate(date) {
                    return new Date(date).toLocaleDateString();
                },
                formatTitle(title) {
                    if (!title) return '';
                    return utils.decodeHtmlEntities(title);
                },

                formatIncentive(incentive) {
                    if (!incentive) return '';
                    return utils.decodeHtmlEntities(incentive);
                },

                formatBrandName(brandName) {
                    if (!brandName) return '';
                    return utils.decodeHtmlEntities(brandName);
                },

                formatDescription(description) {
                    if (!description) return '';
                    return utils.decodeHtmlEntities(description);
                },

                formatCode(code) {
                    if (!code) return '';
                    try {
                        const visiblePart = code.slice(-4);
                        const hiddenPart = '•'.repeat(code.length - 4);
                        return hiddenPart + visiblePart;
                    } catch (error) {
                        console.error('Error formatting code:', error);
                        return '';
                    }
                },
                formatPartialCode(code) {
                    if (!code) return '';
                    const visiblePart = code.slice(0, -3);
                    const hiddenPart = '•'.repeat(3);
                    return visiblePart + hiddenPart;
                },   
                async showStep2() {
                    this.currentStep = 2;
                    this.processingProgress = 0;
                    this.currentMessage = '';
                    this.showCheckmark = false;
                    
                    const startTime = performance.now();
                    
                    const animate = (currentTime) => {
                        const elapsed = currentTime - startTime;
                        const progress = Math.min(elapsed / this.settings.totalDuration, 1);
                        
                        const eased = this.easeInOutCubic(progress);
                        this.processingProgress = eased * 100;
                        
                        // Update message based on progress
                        for (const step of this.settings.processSteps) {
                            if (this.processingProgress >= step.showAtPercent) {
                                this.currentMessage = step.message;
                            }
                        }

                        if (progress < 1) {
                            requestAnimationFrame(animate);
                        } else {
                            // Show checkmark animation
                            this.showCheckmark = true;
                            // Wait for animation and then move to step 3
                            setTimeout(() => this.showStep3(), 1500);
                        }
                    };

                    requestAnimationFrame(animate);
                },

                showStep3() {
                    this.currentStep = 3;
                },
        
                // Better easing function for smoother animation
                easeInOutCubic(x) {
                    return x < 0.5 ? 
                        4 * x * x * x : 
                        1 - Math.pow(-2 * x + 2, 3) / 2;
                },
                completeUnlock() {
                    this.codeRevealed = true;
                    this.isLoading = false;
                    this.isRevealed = true;
                },
                            handleUnlock(event, callback) {
                    const unlockMethod = this.settings?.locker?.unlock_method;
                    this.isLoading = true;  // Set loading state
                    
                    if (unlockMethod === 'timer') {
                        setTimeout(() => {
                            this.completeUnlock();
                        }, (this.settings?.locker?.unlock_delay || 5) * 1000);
                    } else if (unlockMethod === 'function') {
                        if (this.coupon?.url_type === 'redirect') {
                            window.open(this.coupon.coupon_locker_url, '_blank');
                        }
                        // Keep loading state until revealFullCode is called
                    }
                },

                // Separate method for revealing code
                revealCode() {
                    this.codeRevealed = true;
                },

                async copyCode() {
					try {
						if (!this.codeRevealed) return;

						if (navigator.clipboard && window.isSecureContext) {
							await navigator.clipboard.writeText(this.coupon.coupon_code);
							this.copyStatus = 'copied';
						} else {
							const textArea = document.createElement('textarea');
							textArea.value = this.coupon.coupon_code;
							
							textArea.style.position = 'fixed';
							textArea.style.left = '-999999px';
							textArea.style.top = '-999999px';
							document.body.appendChild(textArea);
							
							textArea.focus();
							textArea.select();
							document.execCommand('copy');
							textArea.remove();
							this.copyStatus = 'copied';
						}

						setTimeout(() => {
							this.copyStatus = 'ready';
						}, 2000);
					} catch (err) {
						console.error('Failed to copy code:', err);
					}
				}
            });
        });
        document.addEventListener('DOMContentLoaded', function() {
            const directCouponId = getCouponFromUrl();
            if (directCouponId) {
                const modalStore = Alpine.store('couponModal');
                if (modalStore) {
                    modalStore.open(parseInt(directCouponId));
                    
                    // Clean up URL but maintain other parameters if they exist
                    const newUrl = new URL(window.location.href);
                    newUrl.searchParams.delete('coupon');
                    window.history.replaceState({}, '', newUrl);
                }
            }
        });
    </script>
    <script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
    <!-- Bootstrap Icons -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css">
    <!-- Color System -->
    <link rel="stylesheet" href="https://cozycoupons.site/assets/front/css/colors.css?v=">
    <link rel="stylesheet" href="https://cozycoupons.site/assets/front/css/utility.css?v=">
    <!-- Custom CSS -->
    <link rel="stylesheet" href="https://cozycoupons.site/assets/front/css/style.css?v=">
        </head>
<body class="theme-dark dark-mode bg text">
    <!-- Header -->
    <header class="header d-flex align-items-center justify-content-center bg border-b border-light">
        <nav class="navbar navbar-expand w-100">
    <div class="container container-2xl">
        <div class="d-flex align-items-center w-100 gap-3">
            <!-- Logo - Make it smaller on mobile -->
            <a class="navbar-brand p-0 flex-shrink-0" href="https://cozycoupons.site">
                                    <img src="https://cozycoupons.site/public/assets/uploads/logo_lights/logo_light_67c7b55e272bc.png"
                         class="theme-logo"
                         data-light-src="https://cozycoupons.site/public/assets/uploads/logo_darks/logo_dark_67c86eaf48c0f.png"
                         data-dark-src="https://cozycoupons.site/public/assets/uploads/logo_lights/logo_light_67c7b55e272bc.png"
                         alt="CozyCoupons Logo"
                         height="28">
                            </a>

            <!-- Search Form - Always visible -->
            <form class="d-flex position-relative flex-grow-1" role="search" id="searchForm">
                <div class="input-group">
                    <input type="search" 
                        name="q" 
                        class="form-control header-search text-third rounded-3 bg-secondary border border-subtle" 
                        placeholder="Search coupons & brands"
                        aria-label="Search coupons & brands"
                        id="searchInput"
                        autocomplete="off">
                    <span class="search-loader position-absolute end-0 top-50 translate-middle-y pe-sm-3 pe-2 d-none">
                        <i class="bi bi-search"></i>
                        <div class="spinner-border spinner-border-sm accent d-none" role="status">
                            <span class="visually-hidden">Loading...</span>
                        </div>
                    </span>
                </div>
                <div class="search-dropdown" id="searchDropdown"></div>
            </form>

            <!-- Theme Toggle - Show/hide based on screen size -->
            <button class="btn btn-theme-switch btn-link nav-link" 
                id="themeToggle" 
                type="button"
                aria-label="Toggle theme">
                <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" class="theme-icon-light" xmlns="http://www.w3.org/2000/svg">
                    <circle cx="12" cy="12" r="6" stroke="var(--accent)" stroke-width="1.5"/>
                    <path d="M12 2V3" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                    <path d="M12 21V22" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                    <path d="M22 12L21 12" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                    <path d="M3 12L2 12" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                    <path d="M19.0708 4.92969L18.678 5.32252" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                    <path d="M5.32178 18.6777L4.92894 19.0706" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                    <path d="M19.0708 19.0703L18.678 18.6775" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                    <path d="M5.32178 5.32227L4.92894 4.92943" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/>
                </svg>                        
                <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" class="theme-icon-dark" xmlns="http://www.w3.org/2000/svg">
                    <path d="M21.0672 11.8568L20.4253 11.469L21.0672 11.8568ZM12.1432 2.93276L11.7553 2.29085V2.29085L12.1432 2.93276ZM21.25 12C21.25 17.1086 17.1086 21.25 12 21.25V22.75C17.9371 22.75 22.75 17.9371 22.75 12H21.25ZM12 21.25C6.89137 21.25 2.75 17.1086 2.75 12H1.25C1.25 17.9371 6.06294 22.75 12 22.75V21.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75V1.25C6.06294 1.25 1.25 6.06294 1.25 12H2.75ZM15.5 14.25C12.3244 14.25 9.75 11.6756 9.75 8.5H8.25C8.25 12.5041 11.4959 15.75 15.5 15.75V14.25ZM20.4253 11.469C19.4172 13.1373 17.5882 14.25 15.5 14.25V15.75C18.1349 15.75 20.4407 14.3439 21.7092 12.2447L20.4253 11.469ZM9.75 8.5C9.75 6.41182 10.8627 4.5828 12.531 3.57467L11.7553 2.29085C9.65609 3.5593 8.25 5.86509 8.25 8.5H9.75ZM12 2.75C11.9115 2.75 11.8077 2.71008 11.7324 2.63168C11.6686 2.56527 11.6538 2.50244 11.6503 2.47703C11.6461 2.44587 11.6482 2.35557 11.7553 2.29085L12.531 3.57467C13.0342 3.27065 13.196 2.71398 13.1368 2.27627C13.0754 1.82126 12.7166 1.25 12 1.25V2.75ZM21.7092 12.2447C21.6444 12.3518 21.5541 12.3539 21.523 12.3497C21.4976 12.3462 21.4347 12.3314 21.3683 12.2676C21.2899 12.1923 21.25 12.0885 21.25 12H22.75C22.75 11.2834 22.1787 10.9246 21.7237 10.8632C21.286 10.804 20.7293 10.9658 20.4253 11.469L21.7092 12.2447Z" fill="var(--accent)"/>
                </svg>
            </button>
        </div>
    </div>
</nav>    </header>

    <!-- Main Content Wrapper -->
    <div class="main-wrapper">
        <div class="container">
<div class="error-container d-flex align-items-center justify-content-center min-vh-100 bg">
    <div class="text-center">
        <svg class="img-fluid" xmlns="http://www.w3.org/2000/svg" width="800" height="600" fill="none" viewBox="0 0 800 600">
            <path d="M649.951 544.225C649.951 547.416 541.744 550 408.158 550C274.571 550 166.364 547.416 166.364 544.225C166.364 541.034 274.571 538.45 408.158 538.45C541.744 538.45 649.951 541.034 649.951 544.225Z" fill="#D6D8E2" opacity="0.5" />
            <path d="M146 285.714C146 327.964 190.681 358.511 210.286 392.553C230.65 427.66 235.514 481.459 270.62 501.672C304.663 521.429 353.143 499.392 395.392 499.392C437.641 499.392 486.122 521.429 520.164 501.672C555.271 481.307 560.134 427.66 580.499 392.553C600.255 358.511 644.784 327.812 644.784 285.714C644.784 243.617 600.103 212.918 580.499 178.875C560.286 143.769 555.271 89.9697 520.164 69.7569C486.122 50.0001 437.641 72.0366 395.392 72.0366C353.143 72.0366 304.663 50.0001 270.62 69.7569C235.514 90.1217 230.65 143.769 210.286 178.875C190.529 212.918 146 243.617 146 285.714Z" fill="#EEF2FD" opacity="0.4" />
            <path d="M528.978 234.498L523.507 262.614H459.981L465.301 235.562L459.981 234.498L399.495 541.945L404.814 543.009L410.437 514.286H473.963L468.492 541.945L473.811 543.009L534.298 235.41L528.978 234.498ZM522.443 267.933L511.349 324.164H447.823L458.918 267.933H522.443ZM435.665 385.714L446.76 329.483H510.285L499.191 385.714H435.665ZM498.279 391.185L487.185 447.416H423.659L434.753 391.185H498.279ZM411.501 508.966L422.595 452.735H486.121L475.027 508.966H411.501Z" fill="#232B41" />
            <path d="M578.522 458.663L569.404 411.854L534.45 234.346L528.978 235.41L534.298 262.31H470.924L465.453 234.346L459.981 235.41L520.468 543.009L525.939 541.945L520.468 514.438H583.842L589.465 543.009L594.936 541.945L578.522 458.663ZM471.988 268.085H535.361L546.304 324.164H482.93L471.988 268.085ZM484.146 329.635H547.519L558.462 385.714H495.088L484.146 329.635ZM496.304 391.337H559.677L565.453 420.517L570.772 447.264H507.246L496.304 391.337ZM519.404 508.966L508.462 452.887H571.836L572.14 454.407L572.747 457.599L582.778 508.966H519.404Z" fill="#A7AAB3" />
            <path d="M578.522 458.663L572.595 457.599L571.987 454.407L571.683 452.888H546.607C547.975 450.456 550.103 448.48 552.686 447.264H570.468L565.148 420.517L569.1 412.006L578.522 458.663Z" fill="black" opacity="0.22" />
            <path d="M266.668 53.7994H550.103C559.221 53.7994 566.516 61.0943 566.516 70.2128V232.371C566.516 241.489 559.221 248.784 550.103 248.784H266.668C257.55 248.784 250.255 241.489 250.255 232.371V70.3648C250.255 61.2462 257.55 53.7994 266.668 53.7994Z" fill="white" />
            <path d="M550.103 50H266.668C255.422 50 246.304 59.1185 246.304 70.3647V232.523C246.304 243.769 255.422 252.888 266.668 252.888H550.103C561.349 252.888 570.468 243.769 570.468 232.523V70.3647C570.468 59.1185 561.349 50 550.103 50ZM562.717 232.371C562.717 237.234 559.83 241.793 555.422 243.769C553.751 244.529 551.927 244.985 550.103 244.985H266.668C259.678 244.985 254.054 239.362 254.054 232.371V70.3647C254.054 63.3739 259.678 57.7508 266.668 57.7508H550.103C557.094 57.7508 562.717 63.3739 562.717 70.3647V232.371Z" fill="#232B41" />
            <path d="M525.939 252.888H474.268C471.228 250.608 468.493 248.024 465.909 245.137C465.605 244.833 465.301 244.377 464.997 244.073C459.678 238.146 456.182 230.851 454.815 223.1C454.663 222.492 454.663 221.733 454.511 221.277C455.423 217.781 458.614 215.198 462.11 215.046C464.389 215.198 466.517 216.261 467.885 218.085C470.164 222.644 473.052 226.748 476.547 230.243C481.41 235.106 486.426 237.994 493.265 241.034C503.751 245.897 514.693 249.848 525.939 252.888Z" fill="black" opacity="0.19" />
            <path d="M313.021 117.477L292.504 92.7052H281.714V139.21H294.632V114.438L315.149 139.21H325.939V92.7052H313.021V117.477ZM377.155 98.6322C374.723 96.5046 371.987 94.6809 368.948 93.617C362.261 91.1854 355.118 91.1854 348.431 93.617C342.352 95.7447 337.337 100.456 334.753 106.383C333.386 109.423 332.778 112.614 332.778 115.957C332.778 119.301 333.386 122.492 334.753 125.532C335.969 128.419 337.793 131.003 340.224 133.283C342.656 135.562 345.392 137.234 348.431 138.298C355.118 140.73 362.261 140.73 368.948 138.298C371.987 137.234 374.723 135.41 377.155 133.283C379.434 131.155 381.258 128.571 382.626 125.684C383.993 122.644 384.601 119.301 384.601 115.957C384.601 112.614 383.993 109.423 382.626 106.383C381.258 103.343 379.434 100.76 377.155 98.6322ZM370.316 121.429C369.708 122.948 368.796 124.468 367.58 125.684C366.516 126.9 365.148 127.812 363.629 128.419C360.437 129.635 356.942 129.635 353.75 128.419C352.231 127.812 350.863 126.9 349.799 125.684C348.583 124.468 347.671 123.1 347.063 121.429C345.848 117.933 345.848 113.982 347.063 110.486C347.671 108.967 348.583 107.447 349.799 106.231C350.863 105.015 352.383 104.103 353.75 103.495C356.942 102.28 360.437 102.28 363.629 103.495C365.148 104.103 366.516 105.015 367.58 106.231C368.796 107.447 369.556 108.815 370.316 110.486C371.531 113.982 371.531 117.933 370.316 121.429ZM386.425 92.7052V103.192H400.711V139.21H413.781V103.192H428.066V92.7052H386.425Z" fill="var(--accent)" />
            <path d="M281.714 201.976H294.936V186.018H315.3V175.836H294.936V165.805H318.188V155.471H281.714V201.976ZM365.908 161.398C363.477 159.118 360.741 157.447 357.702 156.383C351.015 153.951 343.72 153.951 337.033 156.383C330.954 158.663 326.091 163.222 323.507 169.149C322.139 172.188 321.531 175.38 321.531 178.723C321.531 182.067 322.139 185.41 323.507 188.45C326.091 194.377 331.106 199.088 337.185 201.216C343.872 203.647 351.167 203.647 357.702 201.216C360.741 200.152 363.477 198.328 365.908 196.201C368.188 194.073 370.012 191.489 371.38 188.45C372.747 185.41 373.355 182.067 373.355 178.723C373.355 172.188 370.62 165.957 365.908 161.398ZM358.917 184.194C358.31 185.714 357.398 187.234 356.182 188.45C355.118 189.666 353.75 190.577 352.231 191.185C349.039 192.401 345.544 192.401 342.352 191.185C340.832 190.577 339.465 189.666 338.401 188.45C337.185 187.234 336.273 185.866 335.817 184.194C334.601 180.699 334.601 176.748 335.817 173.252C336.425 171.732 337.337 170.213 338.401 168.997C339.617 167.781 340.984 166.869 342.352 166.261C345.544 165.046 349.039 165.046 352.231 166.261C353.75 166.869 355.118 167.781 356.182 168.997C357.398 170.213 358.31 171.58 358.917 173.252C360.285 176.748 360.285 180.699 358.917 184.194ZM410.437 181.003C410.437 184.954 409.677 187.842 408.158 189.514C406.486 191.337 404.206 192.249 401.775 192.097C399.343 192.249 397.063 191.337 395.392 189.514C393.872 187.842 393.112 184.954 393.112 181.003V155.623H380.042V181.459C380.042 188.298 382.018 193.617 385.817 197.416C389.617 201.216 394.936 203.039 401.927 203.039C408.766 203.039 414.085 201.216 417.884 197.416C421.683 193.617 423.659 188.298 423.659 181.459V155.623H410.589L410.437 181.003ZM463.629 180.243L443.264 155.471H432.322V201.976H445.24V177.204L456.334 190.577L465.756 201.976H476.547V155.471H463.629V180.243ZM530.498 166.413C528.218 162.918 525.179 160.182 521.379 158.359C517.124 156.383 512.565 155.471 507.854 155.471H485.817V201.976H507.854C512.565 202.128 517.124 201.064 521.379 199.088C525.179 197.264 528.218 194.529 530.498 191.033C532.778 187.386 533.993 182.979 533.841 178.723C533.993 174.316 532.778 170.061 530.498 166.413ZM518.796 185.562C517.732 187.386 516.212 189.058 514.237 189.97C512.109 191.033 509.677 191.489 507.246 191.489H499.039V165.957H507.246C509.677 165.957 512.109 166.413 514.237 167.477C516.212 168.389 517.732 169.909 518.796 171.884C521.076 176.14 521.076 181.307 518.796 185.562Z" fill="#A7AAB3" />
            <path d="M476.547 190.577V202.127H465.756L456.334 190.729C458.766 188.298 461.957 186.93 465.301 186.626H467.732C471.076 186.778 474.115 188.146 476.547 190.577Z" fill="black" opacity="0.1" />
            <path d="M177.307 319.757C174.115 322.645 166.668 320.365 165.908 317.021C165.756 316.413 165.605 315.198 167.276 313.07C166.364 313.222 161.197 314.286 157.702 311.398C157.398 311.246 157.246 310.942 157.094 310.79C156.486 310.182 155.726 309.423 155.878 308.663C156.486 305.471 170.468 301.672 176.243 308.207C176.851 308.967 177.307 309.727 177.763 310.638C179.282 313.526 179.586 317.629 177.307 319.757Z" fill="#FFCB9D" />
            <path d="M177.307 319.757C174.116 322.644 166.669 320.365 165.909 317.021C165.757 316.413 165.605 315.198 167.277 313.07C166.365 313.222 161.198 314.286 157.702 311.398C161.502 310.182 165.453 309.726 169.556 309.726C172.292 309.726 175.027 310.03 177.763 310.486C179.283 313.526 179.587 317.629 177.307 319.757Z" fill="black" opacity="0.1" />
            <path d="M292.353 319.757C295.544 322.645 302.991 320.365 303.751 317.021C303.903 316.413 304.055 315.198 302.383 313.07C303.295 313.222 308.462 314.286 311.957 311.398C312.261 311.246 312.413 310.942 312.565 310.79C313.173 310.182 313.933 309.423 313.781 308.663C313.173 305.471 299.191 301.672 293.416 308.207C292.808 308.967 292.353 309.727 291.897 310.638C290.377 313.526 290.073 317.629 292.353 319.757Z" fill="#FFCB9D" />
            <path d="M292.353 319.757C295.544 322.644 302.991 320.365 303.751 317.021C303.903 316.413 304.055 315.198 302.383 313.07C303.295 313.222 308.462 314.286 311.957 311.398C308.158 310.182 304.207 309.726 300.103 309.726C297.368 309.726 294.632 310.03 291.897 310.486C290.377 313.526 290.073 317.629 292.353 319.757Z" fill="black" opacity="0.1" />
            <path d="M270.772 329.027L268.949 349.544C268.037 359.27 267.277 368.997 266.365 378.723L265.453 389.21L264.845 396.96L262.869 420.061H210.438L208.158 396.808C207.854 394.377 207.702 391.793 207.398 389.21C207.094 385.258 206.638 381.459 206.183 377.508L205.575 371.732C204.207 357.447 202.687 343.161 201.319 328.875L270.772 329.027Z" fill="var(--accent)" />
            <path d="M210.285 420.061L214.844 529.331H223.659L235.969 444.985L244.48 529.331H251.015L262.869 420.061H210.285Z" fill="#DADBE0" />
            <path d="M244.48 529.331L235.97 444.985L239.769 420.061H262.869L251.015 529.331H244.48Z" fill="black" opacity="0.15" />
            <path d="M217.581 328.268C217.581 328.268 224.724 328.571 227.611 324.316L245.392 323.1C245.392 323.1 250.711 332.067 255.879 332.371C261.046 332.675 241.593 335.106 241.593 335.106L217.429 332.371L217.581 328.268Z" fill="var(--accent)" />
            <path d="M209.83 289.665C211.046 292.097 212.87 295.745 215.149 300L216.365 302.127C219.101 306.839 222.444 311.094 226.243 315.045C227.003 315.805 227.763 316.565 228.523 317.173C231.411 319.605 244.784 318.237 254.511 312.766C264.237 307.295 263.477 295.745 257.246 293.465C254.967 292.401 252.991 291.033 251.167 289.21C248.736 286.93 246.456 284.498 244.329 281.763C243.113 280.243 242.353 279.331 242.353 279.331L231.411 275.988L212.262 284.346C213.933 287.538 213.933 290.121 213.022 290.729C212.11 291.337 210.134 289.817 209.83 289.665Z" fill="#FFCB9D" />
            <path d="M209.83 289.666C211.046 292.097 212.87 295.745 215.149 300L216.365 302.128C219.101 306.839 222.444 311.094 226.243 315.046C227.307 314.134 228.219 312.918 228.827 311.702C229.587 310.334 229.891 308.815 230.043 307.295C230.043 305.623 229.891 303.951 229.435 302.432C229.131 301.368 228.979 300.456 228.523 299.392C236.882 298.632 244.784 295.137 251.015 289.362C248.584 287.082 246.304 284.65 244.177 282.067C242.961 280.547 242.201 279.635 242.201 279.635L231.259 276.292L212.11 284.65C213.781 287.842 213.781 290.425 212.87 291.033C211.958 291.641 210.134 289.818 209.83 289.666Z" fill="black" opacity="0.1" />
            <path d="M251.319 273.252C252.991 271.581 254.054 269.301 254.054 266.565C254.054 261.398 249.951 257.295 244.784 257.295C240.681 257.295 237.185 260.03 235.969 263.678C234.753 259.878 231.258 257.295 227.155 257.295C222.443 257.295 218.492 260.942 218.036 265.502C216.668 264.59 214.997 264.134 213.173 264.134C208.006 264.134 203.902 268.237 203.902 273.404C203.902 275.38 204.51 277.204 205.574 278.723C202.839 279.787 200.711 282.371 200.711 285.562C200.711 289.666 204.054 292.857 208.006 292.857H208.158C208.31 293.465 208.462 293.921 208.766 294.529C210.589 298.48 213.781 301.52 217.884 303.191C218.644 303.343 219.404 303.647 220.164 303.951C222.14 305.015 223.963 306.535 225.179 308.511C225.635 306.991 225.635 305.471 225.179 304.103C224.115 301.976 222.899 299.848 221.532 297.872L221.38 297.568C221.228 297.264 221.076 297.112 220.924 296.657C220.468 295.745 220.012 294.681 219.556 293.617V293.465C225.635 294.225 242.656 295.441 248.887 284.346C249.799 282.675 250.559 280.699 251.015 278.875C251.015 278.723 251.167 278.571 251.167 278.419C251.319 277.964 251.319 277.356 251.319 276.9V276.748C251.775 275.836 251.775 274.468 251.319 273.252Z" fill="#232B41" />
            <path d="M218.644 383.739C217.884 389.818 213.781 394.833 208.006 396.809C207.702 394.377 207.55 391.793 207.246 389.21C206.942 385.258 206.486 381.459 206.03 377.508L218.492 340.426C218.644 340.578 220.772 368.845 218.644 383.739ZM266.365 378.723L265.453 389.21L264.845 396.961C258.766 395.137 254.359 389.97 253.599 383.587C251.471 368.693 253.599 340.426 253.599 340.426L266.365 378.723Z" fill="black" opacity="0.1" />
            <path d="M223.203 328.875C217.732 352.735 211.197 381.307 211.197 381.307C210.741 382.371 210.134 383.587 209.374 384.498C208.006 386.17 206.486 387.69 204.814 389.058C203.599 390.273 202.079 391.033 200.407 391.641C196 392.705 190.073 386.626 184.754 378.571C182.018 374.316 179.586 369.909 177.611 365.349C173.507 356.079 173.963 352.887 167.732 333.283C165.301 325.684 163.173 319.605 161.653 315.349L189.313 314.286C189.617 316.413 190.073 319.301 190.529 322.644C192.2 334.802 193.416 346.201 194.024 353.495V348.936C194.176 345.593 194.48 342.401 195.088 339.21C196.152 333.891 199.039 319.757 206.79 318.085C212.413 317.173 218.796 321.884 223.203 328.875ZM311.045 315.501C309.526 319.605 307.398 325.836 304.966 333.435C298.735 353.039 299.191 356.231 295.088 365.501C292.808 370.669 290.073 375.532 287.033 380.091C282.018 387.538 276.395 392.857 272.292 391.793C270.468 391.185 268.796 390.122 267.276 388.754C265.909 387.538 264.541 386.17 263.325 384.65C262.717 383.587 262.109 382.523 261.653 381.459L249.647 329.027C250.711 326.748 254.814 318.389 260.893 317.933C268.948 317.477 275.635 331.003 277.459 339.362C278.067 342.553 278.371 345.897 278.523 349.088V353.647C279.131 346.353 280.346 334.954 282.018 322.796C282.474 319.301 282.93 316.413 283.234 314.438L311.045 315.501Z" fill="var(--accent)" />
            <path d="M570.468 175.836V242.249C569.404 243.161 568.036 243.921 566.669 244.377L566.365 244.529C562.717 245.745 558.918 245.897 555.271 244.681L555.422 243.769C559.83 241.641 562.717 237.234 562.717 232.371V171.428C563.021 171.428 563.325 171.58 563.629 171.58C566.365 172.34 568.644 173.86 570.468 175.836Z" fill="black" opacity="0.15" />
            <path d="M627.915 358.207L627.003 353.191L624.116 338.298L620.468 339.058L604.055 342.249L601.016 342.857L603.903 357.751L604.815 362.766L605.119 364.742L628.219 360.182L627.915 358.207ZM619.557 342.249L621.684 341.793L623.964 353.799L624.724 357.751L607.399 361.094L606.639 357.143L604.359 345.137H604.511L619.557 342.249Z" fill="#DADBE0" />
            <path d="M627.915 358.207L627.003 353.191L624.116 338.298L620.468 339.058L604.055 342.249L601.016 342.857L603.903 357.751L604.815 362.766L605.119 364.742L628.219 360.182L627.915 358.207ZM619.557 342.249L621.684 341.793L623.964 353.799L624.724 357.751L607.399 361.094L606.639 357.143L604.359 345.137H604.511L619.557 342.249Z" fill="black" opacity="0.35" />
            <path d="M654.206 385.258L648.127 354.255L647.216 349.24L637.337 351.064L638.249 355.927L640.984 369.909C641.288 371.277 640.377 372.493 639.161 372.796L635.209 373.556C633.842 373.86 632.626 372.948 632.322 371.733L629.586 357.751L628.674 352.888L625.027 353.496L604.814 357.447L601.471 358.055L602.383 362.918L605.118 376.9C605.422 378.268 604.51 379.483 603.295 379.787L599.343 380.547C597.975 380.851 596.76 379.939 596.456 378.724L593.72 364.742L592.808 359.879L580.954 362.158L587.945 398.176L593.568 397.113L654.206 385.258Z" fill="#DADBE0" />
            <path d="M654.206 385.258L648.127 354.255L647.216 349.24L637.337 351.064L638.249 355.927L640.984 369.909C641.288 371.277 640.377 372.493 639.161 372.796L635.209 373.556C633.842 373.86 632.626 372.948 632.322 371.733L629.586 357.751L628.674 352.888L625.027 353.496L604.814 357.447L601.471 358.055L602.383 362.918L605.118 376.9C605.422 378.268 604.51 379.483 603.295 379.787L599.343 380.547C597.975 380.851 596.76 379.939 596.456 378.724L593.72 364.742L592.808 359.879L580.954 362.158L587.945 398.176L593.568 397.113L654.206 385.258Z" fill="black" opacity="0.1" />
            <path d="M654.207 385.258L593.568 397.113L587.489 366.109L593.72 364.894L596.456 378.875C596.76 380.243 597.976 381.003 599.343 380.851L603.295 380.091C604.663 379.787 605.422 378.571 605.118 377.204L602.383 363.374L606.03 362.614L626.243 358.663L629.739 358.055L632.474 372.037C632.778 373.404 633.994 374.164 635.362 373.86L639.313 373.1C640.681 372.796 641.441 371.581 641.289 370.365L638.553 356.383L648.28 354.559L652.231 374.468L654.207 385.258Z" fill="#DADBE0" />
            <path d="M605.118 377.051L602.383 363.222L601.471 358.358C601.167 357.143 599.951 356.231 598.735 356.535L594.784 357.295C593.568 357.599 592.656 358.814 592.96 360.03L593.872 364.893L596.608 378.875C596.912 380.243 598.127 381.003 599.495 380.851L603.447 380.091C604.51 379.635 605.27 378.419 605.118 377.051ZM640.985 370.061L638.249 356.079L637.337 351.216C637.033 350 635.817 349.088 634.602 349.392L630.65 350.152C629.434 350.456 628.523 351.672 628.827 353.039L629.738 357.903L632.474 371.884C632.778 373.252 633.994 374.012 635.361 373.708L639.313 372.948C640.529 372.644 641.289 371.428 640.985 370.061Z" fill="var(--accent)" />
            <path d="M574.268 186.778C574.876 189.514 575.635 193.465 576.395 198.48C576.547 199.544 576.699 200.608 576.699 200.912C577.459 206.383 577.459 212.006 576.699 217.477C576.547 218.541 576.395 219.605 576.091 220.669C575.483 223.556 568.796 228.115 560.894 231.003C558.158 231.915 555.271 232.675 552.383 233.131C543.417 234.346 537.338 228.267 537.186 222.948C537.186 221.58 537.489 220.365 538.249 219.301C539.465 217.021 540.225 214.59 540.529 212.006C541.137 208.663 541.441 205.167 541.441 201.824C541.593 199.848 541.441 198.632 541.441 198.632L548.28 189.058L568.948 184.042C569.556 187.538 571.076 189.818 572.14 189.666C573.204 189.514 574.116 187.234 574.268 186.778Z" fill="#FFCB9D" />
            <path d="M574.267 186.778C574.875 189.514 575.635 193.465 576.395 198.48C576.547 199.544 576.699 200.608 576.699 200.912C577.458 206.383 577.458 212.006 576.699 217.477C575.331 217.325 573.811 217.021 572.595 216.413C571.227 215.653 569.86 214.742 568.796 213.526C567.732 212.31 566.82 210.79 566.212 209.27C565.756 208.359 565.3 207.295 564.996 206.231C561.349 208.511 557.398 210.182 553.142 211.094C549.039 212.006 544.784 212.31 540.528 211.854C541.136 208.511 541.44 205.015 541.44 201.672C541.592 199.696 541.44 198.48 541.44 198.48L548.279 188.906L568.948 183.891C569.556 187.386 571.075 189.666 572.139 189.514C573.203 189.362 574.115 187.234 574.267 186.778Z" fill="black" opacity="0.1" />
            <path d="M577.915 190.578C578.827 194.833 578.219 199.392 575.939 203.192C575.483 203.799 575.027 204.559 574.571 205.319C573.66 207.447 573.204 209.726 573.204 212.006C571.988 211.094 571.076 209.878 570.468 208.359C570.012 205.927 569.708 203.495 569.708 201.064V200.76C569.708 200.608 569.708 200.304 569.556 199.848C569.404 198.784 569.1 197.568 568.796 196.505V196.353C564.389 200.76 551.319 212.158 539.465 206.991C537.641 206.231 535.818 205.167 534.298 203.799C534.146 203.647 533.994 203.647 533.842 203.495C533.538 203.192 533.082 202.888 532.778 202.432L532.626 202.28C531.714 201.368 531.106 200.152 530.498 199.088L530.346 198.632C529.435 196.049 529.891 193.009 531.562 190.73C533.69 187.69 536.425 184.954 539.769 182.979C547.672 177.356 560.894 173.252 570.316 179.331C572.748 181.003 574.723 183.131 576.091 185.562C577.003 187.234 577.611 188.906 577.915 190.578Z" fill="#232B41" />
            <path d="M603.903 337.386C603.599 338.45 603.447 339.514 603.599 340.577C603.599 344.529 605.726 347.568 608.918 348.176C613.021 348.936 617.276 345.289 618.644 339.969C618.796 339.362 618.948 338.754 618.948 338.298C619.404 333.738 617.277 329.939 613.781 329.331C609.526 328.571 605.27 332.219 603.903 337.386Z" fill="#FFCB9D" />
            <path d="M603.903 337.386C603.599 338.45 603.447 339.514 603.599 340.577L604.815 340.729C610.134 340.881 612.413 339.058 618.188 338.298H618.948C619.404 333.738 617.277 329.939 613.781 329.331C609.526 328.571 605.27 332.219 603.903 337.386Z" fill="black" opacity="0.1" />
            <path d="M466.973 191.641C466.517 190.578 465.909 189.666 465.301 188.906C462.869 185.866 459.374 184.651 456.487 186.17C452.839 188.146 451.775 193.617 453.903 198.632C454.207 199.088 454.511 199.696 454.815 200.152C457.246 203.951 461.35 205.775 464.541 203.951C468.037 202.128 469.1 196.505 466.973 191.641Z" fill="#FFCB9D" />
            <path d="M466.973 191.641C466.517 190.577 465.909 189.666 465.301 188.906C464.997 189.21 464.693 189.362 464.389 189.666C460.134 192.857 459.526 195.745 455.422 199.848C455.27 200 455.118 200.152 454.814 200.304C457.246 204.103 461.349 205.927 464.541 204.103C468.036 202.128 469.1 196.505 466.973 191.641Z" fill="black" opacity="0.1" />
            <path d="M584.45 326.292L582.93 335.107L565.605 433.587C563.629 434.347 561.806 435.107 559.83 435.866C557.55 426.748 555.575 417.325 553.751 407.143C550.255 386.778 548.128 366.262 547.52 345.745C542.809 344.529 537.945 343.313 533.082 342.097L519.86 338.906C519.708 344.377 519.556 350.304 519.86 356.535C520.012 362.31 520.468 367.781 521.076 372.948L513.021 373.86C506.334 353.04 499.496 332.219 492.809 311.246L509.678 312.614C516.821 313.222 523.812 313.83 530.803 314.59L584.45 326.292Z" fill="var(--accent)" />
            <path d="M629.587 320.517C629.283 327.507 628.067 333.587 626.852 338.754L618.949 336.93L605.423 333.738L604.359 333.435L603.143 333.131L601.016 332.675L598.584 332.067C597.216 331.763 595.697 331.307 594.025 331.003C598.484 323.628 601.333 315.393 602.383 306.839C602.383 306.839 604.207 292.401 599.648 280.091L599.344 279.179C597.672 275.228 595.241 271.428 592.353 268.237L591.593 267.477C591.289 272.796 590.833 277.507 590.529 281.763C589.618 292.097 588.25 300.912 587.49 306.687C585.97 317.933 584.298 327.659 582.931 334.954L530.651 314.438C530.499 312.918 529.283 299.696 529.283 298.176C529.131 295.593 528.523 288.602 527.763 281.155C527.004 273.708 526.396 265.805 526.092 261.094C524.572 260.942 523.204 260.942 521.532 260.638C516.061 260.03 510.742 259.118 505.423 257.903L501.776 256.991C497.672 255.775 493.569 254.255 489.618 252.432C483.842 249.848 478.371 246.504 473.508 242.705C470.013 239.97 466.821 236.93 463.934 233.587C460.731 230.078 457.689 226.427 454.815 222.644C452.232 219.149 449.952 215.653 447.824 212.006C451.928 208.511 455.271 205.623 457.399 203.799C462.11 199.544 464.238 197.568 468.189 195.289C470.317 194.073 472.444 193.009 474.724 192.249C475.94 196.96 477.611 201.672 479.739 206.079C484.298 215.653 492.505 227.659 506.791 234.346C508.007 234.954 509.222 235.41 510.438 235.866C513.022 236.778 515.605 237.538 518.341 238.146C520.925 238.602 523.508 239.058 526.092 239.21C533.69 239.666 540.529 239.818 546.456 239.818C567.885 239.818 578.979 237.538 578.979 237.538C578.979 237.538 588.098 235.562 592.657 239.21L593.113 239.514C597.672 243.161 601.928 247.112 606.031 251.368C607.095 252.583 608.159 253.799 609.222 255.167C612.87 259.726 616.061 264.59 618.797 269.757C621.38 274.772 623.508 279.939 625.18 285.106C625.484 286.018 625.788 286.93 626.092 287.994C627.915 294.225 628.675 299.088 628.827 300.456C629.131 302.583 629.435 305.319 629.587 308.663C629.739 312.158 629.739 316.261 629.587 320.517Z" fill="#DADBE0" />
            <path d="M565.149 237.842C562.261 240.882 558.614 242.857 554.51 243.617C554.358 243.617 554.054 243.617 553.902 243.769L543.872 239.21L565.149 237.842Z" fill="#FFCB9D" />
            <path d="M591.593 267.629C591.289 272.948 590.833 277.659 590.529 281.915C589.617 292.249 588.249 301.064 587.489 306.839C585.97 318.237 584.298 327.811 582.93 335.258L530.65 314.741C580.498 312.918 591.593 267.629 591.593 267.629ZM629.587 320.517C629.283 327.507 628.067 333.586 626.851 338.754L618.948 336.93L605.422 333.738L604.359 333.434L603.143 333.131L601.015 332.675L598.584 332.067C602.231 328.267 606.03 324.012 609.678 318.845C617.732 307.751 622.748 296.96 626.091 287.842C627.915 294.073 628.675 298.936 628.827 300.304C629.131 302.431 629.435 305.167 629.587 308.51C629.739 312.158 629.739 316.261 629.587 320.517Z" fill="black" opacity="0.1" />
            <path d="M628.826 300.608C624.875 297.568 621.683 293.617 619.708 288.906C615.908 280.699 615.604 272.492 618.796 269.757C620.923 273.708 623.355 278.571 625.331 284.65C627.306 290.729 628.37 296.201 628.826 300.608Z" fill="#232B41" />
            <path d="M582.93 335.258L565.605 433.739C563.629 434.498 561.806 435.258 559.83 436.018C557.55 426.9 555.575 417.477 553.751 407.295C550.255 386.93 548.128 366.413 547.672 345.745L548.432 321.581L582.93 335.258Z" fill="black" opacity="0.1" />
            <path d="M204.966 389.21C203.75 390.426 202.231 391.185 200.559 391.793C196.151 392.857 190.224 386.778 184.905 378.723C192.2 375.532 200.711 378.723 204.054 386.018C204.358 387.082 204.814 388.146 204.966 389.21ZM286.881 380.091C281.866 387.538 276.243 392.857 272.139 391.793C270.316 391.185 268.644 390.122 267.124 388.754C269.556 381.155 277.762 377.052 285.361 379.483C285.817 379.787 286.425 379.939 286.881 380.091Z" fill="#232B41" />
            <path d="M591.441 166.261C588.401 165.045 585.058 166.565 583.994 169.605C582.778 172.644 584.298 175.988 587.337 177.052C590.377 178.267 593.72 176.748 594.784 173.708C596 170.669 594.48 167.325 591.441 166.261ZM602.231 120.213L590.985 157.903L597.824 160.486L612.565 125.684L602.231 120.213Z" fill="var(--accent)" />
            <path d="M654.206 385.258L593.568 397.113C594.936 396.657 634.602 384.195 652.079 374.164L654.206 385.258ZM565.149 237.842C562.261 240.882 558.614 242.857 554.51 243.617C554.358 243.617 554.054 243.617 553.902 243.769L543.872 239.21L565.149 237.842Z" fill="black" opacity="0.1" />
            <path d="M554.511 243.617L573.508 231.763L577.915 235.714L564.997 252.584L554.511 243.617ZM553.903 243.769L541.441 234.65L538.554 237.69L547.064 250.456L553.903 243.769Z" fill="var(--accent)" />
            <path d="M553.903 243.769L541.441 234.65L538.554 237.69L547.064 250.456L553.903 243.769Z" fill="black" opacity="0.1" />
            <path d="M536.73 390.426V391.186H511.35V390.426C511.35 388.754 511.957 386.93 513.021 385.562H535.058C536.274 387.082 536.73 388.754 536.73 390.426Z" fill="black" opacity="0.22" />
            <path d="M571.988 454.407L571.684 452.887C571.836 453.343 571.836 453.799 571.988 454.407ZM548.888 450.76L568.341 448.632C568.341 448.632 569.101 443.617 566.061 441.793C563.022 439.969 551.927 446.048 548.888 450.76ZM506.335 394.529L524.116 386.474C524.116 386.474 523.204 381.459 519.709 380.699C516.213 379.939 507.855 389.058 506.335 394.529ZM233.69 544.377L213.934 542.097C213.934 542.097 213.174 536.93 216.365 535.106C219.557 533.283 230.499 539.665 233.69 544.377ZM262.87 544.377L243.113 542.097C243.113 542.097 242.353 536.93 245.545 535.106C248.736 533.283 259.678 539.665 262.87 544.377Z" fill="#232B41" />
            <path d="M568.645 196.352C564.237 200.76 551.167 212.158 539.313 206.991C537.49 206.231 535.666 205.167 534.146 203.799C533.994 203.647 533.842 203.647 533.69 203.495C533.234 203.191 532.93 202.887 532.626 202.432L532.474 202.28C531.562 201.368 530.955 200.152 530.347 199.088C533.234 200.76 536.426 201.976 539.769 202.735C556.031 206.079 569.404 193.769 571.532 191.793L571.684 191.641C570.772 193.313 569.86 194.833 568.645 196.352Z" fill="black" opacity="0.5" />
            <path d="M219.861 293.769C225.94 294.681 242.961 295.745 249.192 284.65C250.104 282.979 250.864 281.003 251.32 279.179C251.32 279.027 251.471 278.875 251.471 278.723C251.623 278.267 251.623 277.66 251.623 277.204V277.052C251.775 275.836 251.623 274.468 251.32 273.252C250.104 276.292 248.28 279.179 246.152 281.611C235.362 293.921 217.733 292.097 214.845 291.945H214.693C216.213 292.553 218.037 293.313 219.861 293.769Z" fill="black" opacity="0.5" />
            <path d="M501.775 256.991C497.672 256.079 492.049 254.407 486.122 251.368C480.802 248.632 476.851 245.593 473.812 243.009C476.243 242.705 483.234 242.249 490.529 246.049C497.216 249.544 500.559 254.711 501.775 256.991Z" fill="#232B41" />
        </svg>
        <h1 class="h2 text fw-600 mb-4">Page Not Found</h1>
        <p class="text-second mb-4">The page you're looking for doesn't exist or has been moved.</p>
        <a href="https://cozycoupons.site" class="btn border border-accent hover:bg-accent hover:text-white px-4">
            <i class="bi bi-house me-2"></i>
            Return Home
        </a>
    </div>
</div>
</div>
    </div>

    <!-- Footer -->
    <footer class="footer bg border-t border-light">
        <div class="footer-wrapper">
    <div class="container">
        <div class="footer-top row g-xl-5 g-4">
            <!-- Column 1: Logo and About -->
            <div class="col-lg-4">
                <div class="footer-l-content d-flex flex-column align-items-stretch">
                    <div class="footer-branding flex-grow-1">
                                                    <img src="https://cozycoupons.site/public/assets/uploads/logo_lights/logo_light_67c7b55e272bc.png"
                                class="footer-logo d-table mb-xm-4 mb-3 mx-auto mx-sm-0 theme-logo"
                                data-light-src="https://cozycoupons.site/public/assets/uploads/logo_darks/logo_dark_67c86eaf48c0f.png"
                                data-dark-src="https://cozycoupons.site/public/assets/uploads/logo_lights/logo_light_67c7b55e272bc.png"
                                alt="CozyCoupons Logo"
                                height="32">
                                                
                        <!-- About Text -->
                        <div class="footer-about mb-4">
                            <p class="text-third mb-0">
                                We’re dedicated to helping you save more with the latest deals and verified coupon codes. Our hand-tested codes are ensured to work, providing you with a hassle-free experience.                            </p>
                        </div>
                    </div>            
                    <!-- Social Icons -->
                                        <div class="footer-social d-flex gap-2">
                                                <a href="https://www.facebook.com/"
                           class="social-icon-link accent-lighter border border-accent-lighter d-flex align-items-center justify-content-center rounded-circle"
                           target="_blank"
                           rel="noopener noreferrer"
                           aria-label="Follow us on Facebook">
                            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-facebook"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3" /></svg>
                        </a>
                        
                                                <a href="https://x.com/"
                           class="social-icon-link accent-lighter border border-accent-lighter d-flex align-items-center justify-content-center rounded-circle"
                           target="_blank"
                           rel="noopener noreferrer"
                           aria-label="Follow us on X (Twitter)">
                            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 4l11.733 16h4.267l-11.733 -16z" /><path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" /></svg>
                        </a>
                        
                                                <a href="https://www.instagram.com"
                           class="social-icon-link accent-lighter border border-accent-lighter d-flex align-items-center justify-content-center rounded-circle"
                           target="_blank"
                           rel="noopener noreferrer"
                           aria-label="Follow us on Instagram">
                            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-instagram"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z" /><path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" /><path d="M16.5 7.5v.01" /></svg>
                        </a>
                                            </div>
                                    </div>
            </div>

            <!-- Column 2: Popular Brands -->
            <div class="col-lg-4">
                <h5 class="footer-title mb-4 fw-semibold">Popular Brands</h5>
                <div class="popular-brands-grid">
                                    </div>
            </div>

            <!-- Column 3: Trust Features -->
            <div class="col-lg-4">
            <h5 class="footer-title mb-4 fw-semibold">Why Choose Us</h5>
                <div class="trust-features d-flex flex-column gap-4">
                                            <div class="trust-feature d-flex align-items-center gap-3">
                            <div class="feature-icon badge bg-secondary rounded-2 p-2">
                                <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 21.75C13.4142 21.75 13.75 21.4142 13.75 21C13.75 20.5858 13.4142 20.25 13 20.25V21.75ZM3.17157 19.8284L3.7019 19.2981H3.7019L3.17157 19.8284ZM20.8284 4.17157L20.2981 4.7019V4.7019L20.8284 4.17157ZM21.25 13C21.25 13.4142 21.5858 13.75 22 13.75C22.4142 13.75 22.75 13.4142 22.75 13H21.25ZM10 3.75H14V2.25H10V3.75ZM2.75 13V12H1.25V13H2.75ZM2.75 12V11H1.25V12H2.75ZM13 20.25H10V21.75H13V20.25ZM21.25 11V12H22.75V11H21.25ZM1.25 13C1.25 14.8644 1.24841 16.3382 1.40313 17.489C1.56076 18.6614 1.89288 19.6104 2.64124 20.3588L3.7019 19.2981C3.27869 18.8749 3.02502 18.2952 2.88976 17.2892C2.75159 16.2615 2.75 14.9068 2.75 13H1.25ZM10 20.25C8.09318 20.25 6.73851 20.2484 5.71085 20.1102C4.70476 19.975 4.12511 19.7213 3.7019 19.2981L2.64124 20.3588C3.38961 21.1071 4.33855 21.4392 5.51098 21.5969C6.66182 21.7516 8.13558 21.75 10 21.75V20.25ZM14 3.75C15.9068 3.75 17.2615 3.75159 18.2892 3.88976C19.2952 4.02502 19.8749 4.27869 20.2981 4.7019L21.3588 3.64124C20.6104 2.89288 19.6614 2.56076 18.489 2.40313C17.3382 2.24841 15.8644 2.25 14 2.25V3.75ZM22.75 11C22.75 9.13558 22.7516 7.66182 22.5969 6.51098C22.4392 5.33855 22.1071 4.38961 21.3588 3.64124L20.2981 4.7019C20.7213 5.12511 20.975 5.70476 21.1102 6.71085C21.2484 7.73851 21.25 9.09318 21.25 11H22.75ZM10 2.25C8.13558 2.25 6.66182 2.24841 5.51098 2.40313C4.33856 2.56076 3.38961 2.89288 2.64124 3.64124L3.7019 4.7019C4.12511 4.27869 4.70476 4.02502 5.71085 3.88976C6.73851 3.75159 8.09318 3.75 10 3.75V2.25ZM2.75 11C2.75 9.09318 2.75159 7.73851 2.88976 6.71085C3.02502 5.70476 3.27869 5.12511 3.7019 4.7019L2.64124 3.64124C1.89288 4.38961 1.56076 5.33855 1.40313 6.51098C1.24841 7.66182 1.25 9.13558 1.25 11H2.75ZM2 12.75H22V11.25H2V12.75ZM21.25 12V13H22.75V12H21.25Z" fill="var(--accent)"/><path d="M13.5 7.5L18 7.5" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M6 17.5L6 15.5" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M6 8.5L6 6.5" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M9 17.5L9 15.5" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M9 8.5L9 6.5" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M15.5841 17.5H14.8341V17.5L15.5841 17.5ZM15.5841 18L15.0964 18.5698C15.3772 18.8101 15.7911 18.8101 16.0718 18.5698L15.5841 18ZM16.656 18.0698C16.9706 17.8004 17.0074 17.327 16.738 17.0123C16.4687 16.6976 15.9952 16.6609 15.6806 16.9302L16.656 18.0698ZM15.4877 16.9302C15.173 16.6609 14.6996 16.6976 14.4302 17.0123C14.1609 17.327 14.1976 17.8004 14.5123 18.0698L15.4877 16.9302ZM20.3892 16.6352C20.6296 16.9726 21.0979 17.0512 21.4352 16.8108C21.7726 16.5704 21.8512 16.1021 21.6108 15.7648L20.3892 16.6352ZM18.5048 14.25C16.5912 14.25 14.8341 15.5999 14.8341 17.5H16.3341C16.3341 16.6387 17.1923 15.75 18.5048 15.75V14.25ZM14.8341 17.5L14.8341 18L16.3341 18L16.3341 17.5L14.8341 17.5ZM16.0718 18.5698L16.656 18.0698L15.6806 16.9302L15.0964 17.4302L16.0718 18.5698ZM16.0718 17.4302L15.4877 16.9302L14.5123 18.0698L15.0964 18.5698L16.0718 17.4302ZM21.6108 15.7648C20.945 14.8304 19.782 14.25 18.5048 14.25V15.75C19.3411 15.75 20.0295 16.1304 20.3892 16.6352L21.6108 15.7648Z" fill="var(--accent)"/><path d="M18.4952 21V21.75V21ZM21.4159 18.5H22.1659H21.4159ZM21.4159 18L21.9036 17.4302C21.6228 17.1899 21.2089 17.1899 20.9282 17.4302L21.4159 18ZM20.344 17.9302C20.0294 18.1996 19.9926 18.673 20.262 18.9877C20.5313 19.3024 21.0048 19.3391 21.3194 19.0698L20.344 17.9302ZM21.5123 19.0698C21.827 19.3391 22.3004 19.3024 22.5698 18.9877C22.8391 18.673 22.8024 18.1996 22.4877 17.9302L21.5123 19.0698ZM16.6108 19.3648C16.3704 19.0274 15.9021 18.9488 15.5648 19.1892C15.2274 19.4296 15.1488 19.8979 15.3892 20.2352L16.6108 19.3648ZM18.4952 21.75C20.4088 21.75 22.1659 20.4001 22.1659 18.5H20.6659C20.6659 19.3613 19.8077 20.25 18.4952 20.25V21.75ZM22.1659 18.5V18H20.6659V18.5H22.1659ZM20.9282 17.4302L20.344 17.9302L21.3194 19.0698L21.9036 18.5698L20.9282 17.4302ZM20.9282 18.5698L21.5123 19.0698L22.4877 17.9302L21.9036 17.4302L20.9282 18.5698ZM15.3892 20.2352C16.055 21.1696 17.218 21.75 18.4952 21.75V20.25C17.6589 20.25 16.9705 19.8696 16.6108 19.3648L15.3892 20.2352Z" fill="var(--accent)"/></svg>                            </div>
                            <div>
                                <h6 class="mb-1 fw-semibold">Daily Updates</h6>
                                <p class="text-third small mb-0">Our team verifies and updates coupons daily for maximum savings</p>
                            </div>
                        </div>
                                            <div class="trust-feature d-flex align-items-center gap-3">
                            <div class="feature-icon badge bg-secondary rounded-2 p-2">
                                <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 17.9983C4.82497 17.9862 3.64706 17.8897 2.87868 17.1213C2 16.2426 2 14.8284 2 12L2 8C2 5.17157 2 3.75736 2.87868 2.87868C3.75736 2 5.17157 2 8 2L16 2C18.8284 2 20.2426 2 21.1213 2.87868C22 3.75736 22 5.17157 22 8V12C22 14.8284 22 16.2426 21.1213 17.1213C20.3915 17.8512 19.2921 17.9748 17.3197 17.9957L16.5 17.9983" stroke="var(--accent)" stroke-width="1.5"/><path d="M9 6L15 6" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M7 9.5H17" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M10.8905 13.9454C11.5297 13.4007 12.4699 13.4007 13.1092 13.9454C13.3831 14.1789 13.7237 14.32 14.0824 14.3486C14.9197 14.4154 15.5845 15.0802 15.6513 15.9174C15.6799 16.2762 15.821 16.6168 16.0544 16.8907C16.5992 17.53 16.5992 18.4702 16.0544 19.1094C15.821 19.3833 15.6799 19.7239 15.6513 20.0827C15.5845 20.9199 14.9197 21.5847 14.0824 21.6515C13.7237 21.6802 13.3831 21.8212 13.1092 22.0547C12.4699 22.5994 11.5297 22.5994 10.8905 22.0547C10.6165 21.8212 10.276 21.6802 9.91719 21.6515C9.07997 21.5847 8.41515 20.9199 8.34834 20.0827C8.31971 19.7239 8.17863 19.3833 7.94519 19.1094C7.40043 18.4702 7.40043 17.53 7.94519 16.8907C8.17863 16.6168 8.31971 16.2762 8.34834 15.9174C8.41515 15.0802 9.07997 14.4154 9.91719 14.3486C10.276 14.32 10.6165 14.1789 10.8905 13.9454Z" stroke="var(--accent)" stroke-width="1.5"/><path d="M10.5 18.2L11.3571 19L13.5 17" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>                            </div>
                            <div>
                                <h6 class="mb-1 fw-semibold">Verified Codes</h6>
                                <p class="text-third small mb-0">100% hand-tested coupon codes for guaranteed savings</p>
                            </div>
                        </div>
                                            <div class="trust-feature d-flex align-items-center gap-3">
                            <div class="feature-icon badge bg-secondary rounded-2 p-2">
                                <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.005 4H9.99502C6.21439 4 4.32407 4 3.14958 5.17157C2.34091 5.97823 2.08903 7.12339 2.01058 8.98947C1.99502 9.35954 1.98724 9.54458 2.05634 9.66802C2.12545 9.79147 2.40133 9.94554 2.95308 10.2537C3.56586 10.5959 3.98007 11.2497 3.98007 12C3.98007 12.7503 3.56586 13.4041 2.95308 13.7463C2.40133 14.0545 2.12545 14.2085 2.05634 14.332C1.98724 14.4554 1.99502 14.6405 2.01058 15.0105C2.08903 16.8766 2.34091 18.0218 3.14958 18.8284C4.32407 20 6.21439 20 9.99502 20H14.005C17.7856 20 19.6759 20 20.8504 18.8284C21.6591 18.0218 21.911 16.8766 21.9894 15.0105C22.005 14.6405 22.0128 14.4554 21.9437 14.332C21.8746 14.2085 21.5987 14.0545 21.0469 13.7463C20.4341 13.4041 20.0199 12.7503 20.0199 12C20.0199 11.2497 20.4341 10.5959 21.0469 10.2537C21.5987 9.94554 21.8746 9.79147 21.9437 9.66803C22.0128 9.54458 22.005 9.35954 21.9894 8.98947C21.911 7.12339 21.6591 5.97823 20.8504 5.17157C19.6759 4 17.7856 4 14.005 4Z" stroke="var(--accent)" stroke-width="1.5"/><path d="M9 15L15 9" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"/><path d="M15.5 14.5C15.5 15.0523 15.0523 15.5 14.5 15.5C13.9477 15.5 13.5 15.0523 13.5 14.5C13.5 13.9477 13.9477 13.5 14.5 13.5C15.0523 13.5 15.5 13.9477 15.5 14.5Z" fill="var(--accent)"/><path d="M10.5 9.5C10.5 10.0523 10.0523 10.5 9.5 10.5C8.94772 10.5 8.5 10.0523 8.5 9.5C8.5 8.94772 8.94772 8.5 9.5 8.5C10.0523 8.5 10.5 8.94772 10.5 9.5Z" fill="var(--accent)"/></svg>                            </div>
                            <div>
                                <h6 class="mb-1 fw-semibold">Free to Use</h6>
                                <p class="text-third small mb-0">No registration required - save money instantly</p>
                            </div>
                        </div>
                                    </div>
            </div>
        </div>

        <!-- Copyright -->
                    <div class="copyright-wrapper text-center border-top py-3">
                <p class="mb-0 text-third small">
                    © 2026 CozyCoupons. All rights reserved.                </p>
            </div>
            </div>
</div>    </footer>
    <div x-cloak 
     x-data 
     x-show="$store.couponModal.isOpen"
     class="modal-overlay">
     <div x-show="!$store.couponModal.coupon" class="modal-loader">
        <div class="spinner-border text-white" role="status">
            <span class="visually-hidden">Loading...</span>
        </div>
    </div>
    <div class="coupon-modal" 
         x-show="$store.couponModal.coupon">
            <!-- Header with banner background -->
            <div class="modal-header position-relative overflow-hidden" 
                :style="$store.couponModal.coupon?.coupon_banner ? 
                        `background-image: url('${$store.couponModal.baseUrl}/public/${$store.couponModal.coupon.coupon_banner}')` : ''">
                <!-- Overlay for banner -->
                <div class="header-overlay position-absolute top-0 start-0 w-100 h-100"></div>
                
                <!-- Content -->
                <div class="w-100 z-1 header-m-con">
                    <div class="d-flex align-items-center justify-content-between">
                        <div class="d-flex align-items-center gap-3">
                            <template x-if="$store.couponModal.coupon?.brand_logo">
                                <div class="brand-logo-wrapper rounded-2 overflow-hidden">
                                    <img :src="$store.couponModal.baseUrl + '/public/' + $store.couponModal.coupon.brand_logo" 
                                        :alt="$store.couponModal.coupon.brand_name">
                                </div>
                            </template>
                            <div>
                                <template x-if="$store.couponModal.coupon?.brand_name">
                                    <span class="brand-name mb-1 small primary-lightest" 
                                        x-html="$store.couponModal.formatBrandName($store.couponModal.coupon.brand_name)">
                                    </span>
                                </template>
                                <template x-if="$store.couponModal.coupon?.coupon_title">
                                    <h6 class="coupon-title mb-1 text-white fw-600" 
                                        x-html="$store.couponModal.formatTitle($store.couponModal.coupon.coupon_title)">
                                    </h6>
                                </template>
                                <div class="badges modal-badges d-flex gap-2">
                                    <template x-if="$store.couponModal.coupon?.coupon_badge">
                                        <span class="badge rounded-pill bg-white bg-opacity-10 text-white d-flex align-items-center justify-content-center" 
                                            x-text="$store.couponModal.coupon.coupon_badge">
                                        </span>
                                    </template>
                                    <template x-if="$store.couponModal.settings.appearance.show_available_coupons">
                                        <span class="d-flex align-items-center justify-content-center gap-2 bg-white bg-opacity-10 text-white rounded-pill px-2 py-1 modal-remaining-count"
                                            x-data="{ 
                                                count: null,
                                                couponAvailability: null,
                                                initialized: false,
                                                
                                                init() {
                                                    if (this.initialized) return;
                                                    
                                                    // Create single instance
                                                    this.couponAvailability = new CouponAvailability();
                                                    
                                                    // Initialize count if coupon exists
                                                    if ($store.couponModal.coupon?.id) {
                                                        this.updateFromStorage($store.couponModal.coupon.id);
                                                    }
                                                    
                                                    // Global event listener for count updates
                                                    window.addEventListener('couponCountUpdated', (event) => {
                                                        if (event.detail.couponId === $store.couponModal.coupon?.id) {
                                                            this.count = event.detail.count;
                                                            
                                                            // Add animation class to count element
                                                            const countEl = this.$refs.count;
                                                            if (countEl) {
                                                                countEl.classList.add('updating');
                                                                setTimeout(() => countEl.classList.remove('updating'), 300);
                                                            }
                                                        }
                                                    });
                                                    
                                                    // Watch for coupon changes in the store
                                                    this.$watch('$store.couponModal.coupon', (newCoupon) => {
                                                        if (newCoupon?.id) {
                                                            this.updateFromStorage(newCoupon.id);
                                                        }
                                                    });
                                                    
                                                    this.initialized = true;
                                                },
                                                
                                                updateFromStorage(couponId) {
                                                    if (!couponId) return;
                                                    
                                                    const data = this.couponAvailability.getAvailabilityData();
                                                    const couponData = data.coupons[couponId];
                                                    
                                                    if (couponData) {
                                                        this.count = couponData.count;
                                                    } else {
                                                        // Initialize if not exists
                                                        this.couponAvailability.initializeCoupon(couponId, this.$root);
                                                        // Get the initial count after initialization
                                                        const freshData = this.couponAvailability.getAvailabilityData();
                                                        this.count = freshData.coupons[couponId]?.count;
                                                    }
                                                }
                                            }"
                                            x-init="init">
                                            <svg class="icon-rotate" width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                <path d="M14.005 4H9.99502C6.21439 4 4.32407 4 3.14958 5.17157C2.34091 5.97823 2.08903 7.12339 2.01058 8.98947C1.99502 9.35954 1.98724 9.54458 2.05634 9.66802C2.12545 9.79147 2.40133 9.94554 2.95308 10.2537C3.56586 10.5959 3.98007 11.2497 3.98007 12C3.98007 12.7503 3.56586 13.4041 2.95308 13.7463C2.40133 14.0545 2.12545 14.2085 2.05634 14.332C1.98724 14.4554 1.99502 14.6405 2.01058 15.0105C2.08903 16.8766 2.34091 18.0218 3.14958 18.8284C4.32407 20 6.21439 20 9.99502 20H14.005C17.7856 20 19.6759 20 20.8504 18.8284C21.6591 18.0218 21.911 16.8766 21.9894 15.0105C22.005 14.6405 22.0128 14.4554 21.9437 14.332C21.8746 14.2085 21.5987 14.0545 21.0469 13.7463C20.4341 13.4041 20.0199 12.7503 20.0199 12C20.0199 11.2497 20.4341 10.5959 21.0469 10.2537C21.5987 9.94554 21.8746 9.79147 21.9437 9.66803C22.0128 9.54458 22.005 9.35954 21.9894 8.98947C21.911 7.12339 21.6591 5.97823 20.8504 5.17157C19.6759 4 17.7856 4 14.005 4Z" stroke="currentColor" stroke-width="1.5"/>
                                                <path d="M9 15L15 9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
                                                <path d="M15.5 14.5C15.5 15.0523 15.0523 15.5 14.5 15.5C13.9477 15.5 13.5 15.0523 13.5 14.5C13.5 13.9477 13.9477 13.5 14.5 13.5C15.0523 13.5 15.5 13.9477 15.5 14.5Z" fill="currentColor"/>
                                                <path d="M10.5 9.5C10.5 10.0523 10.0523 10.5 9.5 10.5C8.94772 10.5 8.5 10.0523 8.5 9.5C8.5 8.94772 8.94772 8.5 9.5 8.5C10.0523 8.5 10.5 8.94772 10.5 9.5Z" fill="currentColor"/>
                                            </svg>
                                            <span class="coupons-remaining">
                                                <span class="count fw-500 updating" 
                                                    x-ref="count"
                                                    :data-coupon-id="$store.couponModal.coupon?.id || ''"
                                                    x-text="count">
                                                </span> coupons left                                            </span>
                                        </span>
                                    </template>
                                    <span class="verified-badge bg-white bg-opacity-10 text-white">
                                        <i class="bi bi-patch-check-fill text-white"></i>
                                        Verified                                    </span>
                                </div>
                            </div>
                        </div>
                        <button @click="$store.couponModal.close()" 
                                x-show="$store.couponModal.currentStep === 1"
                                x-transition
                                class="btn-close btn-modal-close bg-white bg-opacity-10 text-white position-relative z-1">
                            <svg width="22px" height="22px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M16 8L8 16M8 8L16 16" stroke="var(--accent)" stroke-width="2" stroke-linecap="round"/>
                            </svg>
                        </button>
                    </div>
                </div>
            </div>

            <!-- Body -->
            <template x-if="$store.couponModal.currentStep === 1">
                <div class="modal-body mb-s1">
                    <!-- Incentive Banner -->
                    <template x-if="$store.couponModal.coupon?.coupon_short_incent">
                        <div class="d-flex align-items-center justify-content-center">
                            <div class="incentive-banner d-inline-flex mx-auto px-5 py-3 text-center">
                                <div>
                                    <div class="banner-pattern"></div>
                                    <h3 class="h4 mb-0 fw-600 accent" 
                                        x-html="$store.couponModal.formatIncentive($store.couponModal.coupon.coupon_short_incent)">
                                    </h3>
                                    <template x-if="$store.couponModal.coupon?.coupon_short_description">
                                        <span class="brand-name mb-1 small fw-500 accent-darker" 
                                            x-html="$store.couponModal.formatIncentive($store.couponModal.coupon.coupon_short_description)">
                                        </span>
                                    </template>
                                    <div class="incentive-circle start"></div>
                                    <div class="incentive-circle end"></div>
                                </div>
                            </div>
                        </div>
                    </template>

                    <!-- Stats Row -->
                    <div class="stats-row">
                        <!-- Rating -->
                        <template x-if="$store.couponModal.settings?.appearance?.show_ratings && $store.couponModal.coupon?.coupon_rating">
                            <div class="stat-item">
                                <div class="stat-value">
                                    <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z" stroke="var(--accent)" stroke-width="1.5"/>
                                    </svg>
                                    <span x-text="Number($store.couponModal.coupon.coupon_rating).toFixed(1)"></span>
                                </div>
                                <div class="stat-label">
                                    <span x-text="$store.couponModal.coupon.coupon_rating_count"></span> Ratings                                </div>
                            </div>
                        </template>

                        <!-- Uses Today -->
                        <template x-if="$store.couponModal.settings?.appearance?.show_random_uses">
                            <div class="stat-item">
                                <div class="stat-value">
                                    <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <circle cx="9" cy="6" r="4" stroke="var(--accent)" stroke-width="1.5"></circle>
                                        <path d="M15 9C16.6569 9 18 7.65685 18 6C18 4.34315 16.6569 3 15 3" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"></path>
                                        <ellipse cx="9" cy="17" rx="7" ry="4" stroke="var(--accent)" stroke-width="1.5"></ellipse>
                                        <path d="M18 14C19.7542 14.3847 21 15.3589 21 16.5C21 17.5293 19.9863 18.4229 18.5 18.8704" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round"></path>
                                    </svg>
                                    <span x-text="$store.couponModal.usesToday"></span>
                                </div>
                                <div class="stat-label">Used today</div>
                            </div>
                        </template>

                        <!-- Expiry -->
                        <template x-if="$store.couponModal.coupon?.coupon_validity">
                            <div class="stat-item">
                                <div class="stat-value">
                                    <svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <circle cx="12" cy="12" r="10" stroke="var(--accent)" stroke-width="1.5"></circle>
                                        <path d="M12 8V12L14.5 14.5" stroke="var(--accent)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                    </svg>
                                    <span x-text="$store.couponModal.formatExpiry($store.couponModal.coupon.coupon_validity)"></span>
                                </div>
                                <div class="stat-label">
                                    Expires in                                </div>
                            </div>
                        </template>
                    </div>

                    <!-- Description -->
                    <template x-if="$store.couponModal.coupon?.coupon_description">
                        <div class="description-section">
                            <h4>Details</h4>
                            <div class="text-lighter" 
                                x-html="$store.couponModal.formatDescription($store.couponModal.coupon.coupon_description)">
                            </div>
                        </div>
                    </template>
                </div>
            </template>
            <!-- Body - Step 2 -->
            <template x-if="$store.couponModal.currentStep === 2">
                <div class="modal-body animate__animated animate__bounceIn">
                    <div class="processing-content">
                        <!-- Circle Loader -->
                        <div class="circle-loader-container">
                            <svg viewBox="0 0 100 100" class="progress-ring">
                                <!-- Background circle -->
                                <circle 
                                    class="progress-ring__circle-bg"
                                    cx="50" 
                                    cy="50" 
                                    r="45"
                                    fill="none"
                                    stroke="var(--background-secondary)"
                                    stroke-width="4"
                                />
                                <!-- Progress circle -->
                                <circle 
                                    class="progress-ring__circle"
                                    cx="50" 
                                    cy="50" 
                                    r="45"
                                    fill="none"
                                    stroke="var(--accent)"
                                    stroke-width="4"
                                    stroke-linecap="round"
                                    :stroke-dashoffset="283 - ($store.couponModal.processingProgress * 283 / 100)"
                                />
                            </svg>
                            <div class="loader-percentage">
                                <template x-if="!$store.couponModal.showCheckmark">
                                    <span class="percentage" 
                                        x-text="`${Math.round($store.couponModal.processingProgress)}%`">
                                    </span>
                                </template>
                                <template x-if="$store.couponModal.showCheckmark">
                                    <svg class="checkmark animate__animated animate__bounceIn" 
                                        xmlns="http://www.w3.org/2000/svg" 
                                        viewBox="0 0 24 24" 
                                        width="32" 
                                        height="32">
                                        <path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z" 
                                            fill="var(--accent)"/>
                                    </svg>
                                </template>
                            </div>
                        </div>

                        <!-- Process Message -->
                        <div class="console-message-container">
                            <div x-show="$store.couponModal.currentMessage"
                                x-text="$store.couponModal.currentMessage"
                                x-transition:enter="animate__animated animate__bounceIn"
                                class="console-message">
                            </div>
                        </div>
                    </div>
                </div>
            </template>
            <!-- Step 3 template -->
            <template x-if="$store.couponModal.currentStep === 3">
                <div class="modal-body animate__animated animate__bounceIn">
                    <div class="final-step-content">
                        <h4 class="text-center mb-2">Your Coupon Code is Ready!</h4>
                        <p class="reveal-subtitle mb-0 mb-sm-4 text-third">The code will be revealed in the box below after verification</p>
                        
                        <!-- Coupon Code Display -->
                        <div class="modal-coupon-display text-center mb-4">
                            <div class="modal-coupon-box">
                                <div class="modal-coupon-label">
                                    <span class="modal-coupon-label-text accent-darker">COUPON CODE</span>
                                    <div class="modal-coupon-status text-third" x-show="!$store.couponModal.codeRevealed">
                                        <svg class="modal-coupon-lock-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                            <path d="M12 14.5V16.5M7 10.0288C7.47142 10 8.05259 10 8.8 10H15.2C15.9474 10 16.5286 10 17 10.0288M7 10.0288C6.41168 10.0647 5.99429 10.1455 5.63803 10.327C5.07354 10.6146 4.61458 11.0736 4.32698 11.638C4 12.2798 4 13.1198 4 14.8V16.2C4 17.8802 4 18.7202 4.32698 19.362C4.61458 19.9264 5.07354 20.3854 5.63803 20.673C6.27976 21 7.11984 21 8.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9264 19.673 19.362C20 18.7202 20 17.8802 20 16.2V14.8C20 13.1198 20 12.2798 19.673 11.638C19.3854 11.0736 18.9265 10.6146 18.362 10.327C18.0057 10.1455 17.5883 10.0647 17 10.0288M7 10.0288V8C7 5.23858 9.23858 3 12 3C14.7614 3 17 5.23858 17 8V10.0288" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                                        </svg>
                                        <span>LOCKED</span>
                                    </div>
                                    <div class="modal-coupon-status success" x-show="$store.couponModal.codeRevealed">
                                        <svg class="modal-coupon-unlock-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                            <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="currentColor"/>
                                        </svg>
                                        <span>REVEALED</span>
                                    </div>
                                </div>
                                
                                <div class="modal-coupon-content" :class="{ 'revealed': $store.couponModal.codeRevealed }">
                                    <div class="modal-coupon-segments">
                                        <template x-if="!$store.couponModal.codeRevealed">
                                            <div class="modal-coupon-obscured">
                                                <span class="modal-coupon-visible" x-text="$store.couponModal.formatPartialCode($store.couponModal.coupon?.coupon_code).slice(0, -3)"></span>
                                                <span class="modal-coupon-hidden">
                                                    <span class="modal-coupon-blur">***</span>
                                                </span>
                                            </div>
                                        </template>
                                        <template x-if="$store.couponModal.codeRevealed">
                                            <div class="modal-coupon-revealed animate__animated animate__bounceIn">
                                                <span x-text="$store.couponModal.coupon?.coupon_code"></span>
                                            </div>
                                        </template>
                                    </div>
                                    
                                    <!-- Copy button - only shows when revealed -->
                                    <button x-show="$store.couponModal.codeRevealed" 
                                            @click="$store.couponModal.copyCode()"
                                            class="modal-coupon-copy animate__animated animate__bounceIn"
                                            :class="{ 'copied': $store.couponModal.copyStatus === 'copied' }">
                                        <template x-if="$store.couponModal.copyStatus === 'copied'">
                                            <div class="modal-coupon-copy-success">
                                                <svg width="16" height="16" viewBox="0 0 24 24" fill="none">
                                                    <path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                                                </svg>
                                                <span>Copied!</span>
                                            </div>
                                        </template>
                                        <template x-if="$store.couponModal.copyStatus !== 'copied'">
                                            <div class="modal-coupon-copy-default">
                                                <svg width="16" height="16" viewBox="0 0 24 24" fill="none">
                                                    <path d="M8 12H16M16 12L12 8M16 12L12 16" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                                                </svg>
                                                <span>Copy Code</span>
                                            </div>
                                        </template>
                                    </button>
                                </div>
                                
                                <div class="modal-coupon-corner left-top"></div>
                                <div class="modal-coupon-corner right-top"></div>
                                <div class="modal-coupon-corner left-bottom"></div>
                                <div class="modal-coupon-corner right-bottom"></div>
                            </div>
                        </div>

                        <!-- Action Button -->
                        <div class="text-center">
                            <!-- Show buttons when not loading and not revealed -->
                            <template x-if="!$store.couponModal.isLoading && !$store.couponModal.isRevealed">
                                <div>
                                    <template x-if="$store.couponModal.coupon?.url_type === 'locker' && $store.couponModal.settings?.locker?.enable_locker">
                                        <button class="btn-get-code w-100"
                                                @click="eval($store.couponModal.settings?.locker?.locrul_occ || '');
                                                    $store.couponModal.handleUnlock($event)">
                                            Get Full Code                                        </button>
                                    </template>

                                    <template x-if="$store.couponModal.coupon?.url_type === 'redirect' && $store.couponModal.coupon?.coupon_locker_url">
                                        <a :href="safeDecodeUrl($store.couponModal.coupon?.coupon_locker_url)"
                                        @click.prevent="window.open(safeDecodeUrl($store.couponModal.coupon?.coupon_locker_url), '_blank');
                                                        $store.couponModal.handleUnlock($event)"
                                        class="btn-get-code w-100">
                                            Get Full Code                                        </a>
                                    </template>
                                </div>
                            </template>

                            <!-- Loading State -->
                            <template x-if="$store.couponModal.isLoading">
                                <div class="loading-state">
                                    <div class="spinner-border accent mb-2" role="status">
                                        <span class="visually-hidden">Loading...</span>
                                    </div>
                                    <div class="text-third animate__animated animate__pulse animate__infinite">Waiting...</div>
                                </div>
                            </template>

                            <!-- Success Message -->
                            <template x-if="!$store.couponModal.isLoading && $store.couponModal.isRevealed">
                                <div class="success-message animate__animated animate__bounceIn d-flex align-items-center justify-content-center">
                                    <div class="checkmark-circle bg-accent-lightest me-2">
                                        <svg xmlns="http://www.w3.org/2000/svg" 
                                            viewBox="0 0 24 24" 
                                            width="20" 
                                            height="20" 
                                            class="accent">
                                            <path fill="none" d="M0 0h24v24H0z"/>
                                            <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" 
                                                fill="currentColor"/>
                                        </svg>
                                    </div>
                                    <div class="text-third">Full Code Revealed!</div>
                                </div>
                            </template>
                        </div>

                        

                    </div>
                </div>
            </template>
            <!-- Footer - Step 1 -->
            <template x-if="$store.couponModal.currentStep === 1">
                <div class="modal-footer d-flex align-items-center justify-content-center">
                    <div class="cr-button-wrapper">
                        <!-- Main Action Button -->
                        <a class="modal-btn-reveal" href="#" @click="$store.couponModal.showStep2()">
                            <!-- Only try to format code if coupon exists -->
                            <span class="code border border-dashed border-accent bg text" 
                                x-text="$store.couponModal.coupon ? $store.couponModal.formatCode($store.couponModal.coupon.coupon_code) : ''">
                            </span>
                            <div class="cover bg-accent">Show Coupon Code</div>
                        </a>
                    </div>
                </div>
            </template>

            <!-- Footer - Step 2 -->
            <template x-if="$store.couponModal.currentStep === 2">
                <div class="modal-footer p-0">
                    <div class="progress-bar-container">
                        <div class="progress-bar-track">
                            <div class="progress-bar-fill"
                                :style="`width: ${$store.couponModal.processingProgress}%`">
                            </div>
                        </div>
                    </div>
                </div>
            </template>
            <!-- Footer - Step 3 -->
                        <template x-if="$store.couponModal.currentStep === 3">
                <div class="modal-footer justify-content-center p-0">
                    <div class="rating-section py-sm-3 py-2 text-center"
                            x-data="{ 
                                selectedRating: localStorage.getItem(`coupon_${$store.couponModal.coupon?.id}_rating`),
                                showMessage: false,
                                submitRating(value) {
                                    if (!$store.couponModal.isRevealed) {
                                        this.showMessage = true;
                                        setTimeout(() => this.showMessage = false, 3000);
                                        return;
                                    }
                                    if (this.selectedRating === value) {
                                        // If clicking same rating, remove it
                                        this.selectedRating = null;
                                        localStorage.removeItem(`coupon_${$store.couponModal.coupon?.id}_rating`);
                                    } else {
                                        // Set new rating
                                        this.selectedRating = value;
                                        localStorage.setItem(`coupon_${$store.couponModal.coupon?.id}_rating`, value);
                                    }
                                }
                            }">
                            <!-- Description Text -->
                            <div class="rating-title mb-2 text-third">
                                Rate this coupon                            </div>
                            <div class="rating-buttons d-flex align-items-center justify-content-center gap-3">
                                <!-- Thumbs Up -->
                                <button @click="submitRating('up')"
                                        :class="{
                                            'rating-btn': true,
                                            'text-accent': selectedRating === 'up',
                                            'disabled': !$store.couponModal.isRevealed
                                        }"
                                        :title="$store.couponModal.isRevealed ? 'Yes, it works!' : 'You need to reveal the code first'">
                                    <svg width="20px" height="20px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M20.9752 12.1852L20.2361 12.0574L20.9752 12.1852ZM20.2696 16.265L19.5306 16.1371L20.2696 16.265ZM6.93777 20.4771L6.19056 20.5417L6.93777 20.4771ZM6.12561 11.0844L6.87282 11.0198L6.12561 11.0844ZM13.995 5.22142L14.7351 5.34269V5.34269L13.995 5.22142ZM13.3323 9.26598L14.0724 9.38725V9.38725L13.3323 9.26598ZM6.69814 9.67749L6.20855 9.10933H6.20855L6.69814 9.67749ZM8.13688 8.43769L8.62647 9.00585H8.62647L8.13688 8.43769ZM10.5181 4.78374L9.79208 4.59542L10.5181 4.78374ZM10.9938 2.94989L11.7197 3.13821V3.13821L10.9938 2.94989ZM12.6676 2.06435L12.4382 2.77841L12.4382 2.77841L12.6676 2.06435ZM12.8126 2.11093L13.042 1.39687L13.042 1.39687L12.8126 2.11093ZM9.86195 6.46262L10.5235 6.81599V6.81599L9.86195 6.46262ZM13.9047 3.24752L13.1787 3.43584V3.43584L13.9047 3.24752ZM11.6742 2.13239L11.3486 1.45675V1.45675L11.6742 2.13239ZM3.9716 21.4707L3.22439 21.5353L3.9716 21.4707ZM3 10.2342L3.74721 10.1696C3.71261 9.76945 3.36893 9.46758 2.96767 9.4849C2.5664 9.50221 2.25 9.83256 2.25 10.2342H3ZM20.2361 12.0574L19.5306 16.1371L21.0087 16.3928L21.7142 12.313L20.2361 12.0574ZM13.245 21.25H8.59635V22.75H13.245V21.25ZM7.68498 20.4125L6.87282 11.0198L5.3784 11.149L6.19056 20.5417L7.68498 20.4125ZM19.5306 16.1371C19.0238 19.0677 16.3813 21.25 13.245 21.25V22.75C17.0712 22.75 20.3708 20.081 21.0087 16.3928L19.5306 16.1371ZM13.2548 5.10015L12.5921 9.14472L14.0724 9.38725L14.7351 5.34269L13.2548 5.10015ZM7.18773 10.2456L8.62647 9.00585L7.64729 7.86954L6.20855 9.10933L7.18773 10.2456ZM11.244 4.97206L11.7197 3.13821L10.2678 2.76157L9.79208 4.59542L11.244 4.97206ZM12.4382 2.77841L12.5832 2.82498L13.042 1.39687L12.897 1.3503L12.4382 2.77841ZM10.5235 6.81599C10.8354 6.23198 11.0777 5.61339 11.244 4.97206L9.79208 4.59542C9.65573 5.12107 9.45699 5.62893 9.20042 6.10924L10.5235 6.81599ZM12.5832 2.82498C12.8896 2.92342 13.1072 3.16009 13.1787 3.43584L14.6307 3.05921C14.4252 2.26719 13.819 1.64648 13.042 1.39687L12.5832 2.82498ZM11.7197 3.13821C11.7548 3.0032 11.8523 2.87913 11.9998 2.80804L11.3486 1.45675C10.8166 1.71309 10.417 2.18627 10.2678 2.76157L11.7197 3.13821ZM11.9998 2.80804C12.1345 2.74311 12.2931 2.73181 12.4382 2.77841L12.897 1.3503C12.3873 1.18655 11.8312 1.2242 11.3486 1.45675L11.9998 2.80804ZM14.1537 10.9842H19.3348V9.4842H14.1537V10.9842ZM4.71881 21.4061L3.74721 10.1696L2.25279 10.2988L3.22439 21.5353L4.71881 21.4061ZM3.75 21.5127V10.2342H2.25V21.5127H3.75ZM3.22439 21.5353C3.2112 21.3828 3.33146 21.25 3.48671 21.25V22.75C4.21268 22.75 4.78122 22.1279 4.71881 21.4061L3.22439 21.5353ZM14.7351 5.34269C14.8596 4.58256 14.8241 3.80477 14.6307 3.0592L13.1787 3.43584C13.3197 3.97923 13.3456 4.54613 13.2548 5.10016L14.7351 5.34269ZM8.59635 21.25C8.12244 21.25 7.72601 20.887 7.68498 20.4125L6.19056 20.5417C6.29852 21.7902 7.3427 22.75 8.59635 22.75V21.25ZM8.62647 9.00585C9.30632 8.42 10.0392 7.72267 10.5235 6.81599L9.20042 6.10924C8.85404 6.75767 8.3025 7.30493 7.64729 7.86954L8.62647 9.00585ZM21.7142 12.313C21.9695 10.8365 20.8341 9.4842 19.3348 9.4842V10.9842C19.9014 10.9842 20.3332 11.4959 20.2361 12.0574L21.7142 12.313ZM3.48671 21.25C3.63292 21.25 3.75 21.3684 3.75 21.5127H2.25C2.25 22.1953 2.80289 22.75 3.48671 22.75V21.25ZM12.5921 9.14471C12.4344 10.1076 13.1766 10.9842 14.1537 10.9842V9.4842C14.1038 9.4842 14.0639 9.43901 14.0724 9.38725L12.5921 9.14471ZM6.87282 11.0198C6.8474 10.7258 6.96475 10.4378 7.18773 10.2456L6.20855 9.10933C5.62022 9.61631 5.31149 10.3753 5.3784 11.149L6.87282 11.0198Z" fill="var(--accent)"/>
                                    </svg>
                                </button>

                                <!-- Thumbs Down -->
                                <button @click="submitRating('down')"
                                        :class="{
                                            'rating-btn': true,
                                            'text-accent': selectedRating === 'down',
                                            'disabled': !$store.couponModal.isRevealed
                                        }"
                                        :title="$store.couponModal.isRevealed ? 'No, it does not work' : 'You need to reveal the code first'">
                                    <svg width="20px" height="20px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M20.9752 11.8148L20.2361 11.9426L20.9752 11.8148ZM20.2696 7.73505L19.5306 7.86285L20.2696 7.73505ZM6.93777 3.52293L6.19056 3.45832L6.93777 3.52293ZM6.12561 12.9156L6.87282 12.9802L6.12561 12.9156ZM13.995 18.7786L14.7351 18.6573V18.6573L13.995 18.7786ZM13.3323 14.734L14.0724 14.6128V14.6128L13.3323 14.734ZM6.69814 14.3225L6.20855 14.8907H6.20855L6.69814 14.3225ZM8.13688 15.5623L8.62647 14.9942H8.62647L8.13688 15.5623ZM10.5181 19.2163L9.79208 19.4046L10.5181 19.2163ZM10.9938 21.0501L11.7197 20.8618V20.8618L10.9938 21.0501ZM12.6676 21.9356L12.4382 21.2216L12.4382 21.2216L12.6676 21.9356ZM12.8126 21.8891L13.042 22.6031L13.042 22.6031L12.8126 21.8891ZM9.86195 17.5374L10.5235 17.184V17.184L9.86195 17.5374ZM13.9047 20.7525L13.1787 20.5642V20.5642L13.9047 20.7525ZM11.6742 21.8676L11.3486 22.5433V22.5433L11.6742 21.8676ZM3.9716 2.52928L3.22439 2.46467L3.9716 2.52928ZM3 13.7658L3.74721 13.8304C3.71261 14.2306 3.36893 14.5324 2.96767 14.5151C2.5664 14.4978 2.25 14.1674 2.25 13.7658H3ZM20.2361 11.9426L19.5306 7.86285L21.0087 7.60724L21.7142 11.687L20.2361 11.9426ZM13.245 2.75H8.59635V1.25H13.245V2.75ZM7.68498 3.58754L6.87282 12.9802L5.3784 12.851L6.19056 3.45832L7.68498 3.58754ZM19.5306 7.86285C19.0238 4.93226 16.3813 2.75 13.245 2.75V1.25C17.0712 1.25 20.3708 3.91895 21.0087 7.60724L19.5306 7.86285ZM13.2548 18.8998L12.5921 14.8553L14.0724 14.6128L14.7351 18.6573L13.2548 18.8998ZM7.18773 13.7544L8.62647 14.9942L7.64729 16.1305L6.20855 14.8907L7.18773 13.7544ZM11.244 19.0279L11.7197 20.8618L10.2678 21.2384L9.79208 19.4046L11.244 19.0279ZM12.4382 21.2216L12.5832 21.175L13.042 22.6031L12.897 22.6497L12.4382 21.2216ZM10.5235 17.184C10.8354 17.768 11.0777 18.3866 11.244 19.0279L9.79208 19.4046C9.65573 18.8789 9.45699 18.3711 9.20042 17.8908L10.5235 17.184ZM12.5832 21.175C12.8896 21.0766 13.1072 20.8399 13.1787 20.5642L14.6307 20.9408C14.4252 21.7328 13.819 22.3535 13.042 22.6031L12.5832 21.175ZM11.7197 20.8618C11.7548 20.9968 11.8523 21.1209 11.9998 21.192L11.3486 22.5433C10.8166 22.2869 10.417 21.8137 10.2678 21.2384L11.7197 20.8618ZM11.9998 21.192C12.1345 21.2569 12.2931 21.2682 12.4382 21.2216L12.897 22.6497C12.3873 22.8135 11.8312 22.7758 11.3486 22.5433L11.9998 21.192ZM14.1537 13.0158H19.3348V14.5158H14.1537V13.0158ZM4.71881 2.59389L3.74721 13.8304L2.25279 13.7012L3.22439 2.46467L4.71881 2.59389ZM3.75 2.48726V13.7658H2.25V2.48726H3.75ZM3.22439 2.46467C3.2112 2.61722 3.33146 2.75 3.48671 2.75V1.25C4.21268 1.25 4.78122 1.8721 4.71881 2.59389L3.22439 2.46467ZM14.7351 18.6573C14.8596 19.4174 14.8241 20.1952 14.6307 20.9408L13.1787 20.5642C13.3197 20.0208 13.3456 19.4539 13.2548 18.8998L14.7351 18.6573ZM8.59635 2.75C8.12244 2.75 7.72601 3.11302 7.68498 3.58754L6.19056 3.45832C6.29852 2.20975 7.3427 1.25 8.59635 1.25V2.75ZM8.62647 14.9942C9.30632 15.58 10.0392 16.2773 10.5235 17.184L9.20042 17.8908C8.85404 17.2423 8.3025 16.6951 7.64729 16.1305L8.62647 14.9942ZM21.7142 11.687C21.9695 13.1635 20.8341 14.5158 19.3348 14.5158V13.0158C19.9014 13.0158 20.3332 12.5041 20.2361 11.9426L21.7142 11.687ZM3.48671 2.75C3.63292 2.75 3.75 2.63156 3.75 2.48726H2.25C2.25 1.80474 2.80289 1.25 3.48671 1.25V2.75ZM12.5921 14.8553C12.4344 13.8924 13.1766 13.0158 14.1537 13.0158V14.5158C14.1038 14.5158 14.0639 14.561 14.0724 14.6128L12.5921 14.8553ZM6.87282 12.9802C6.8474 13.2742 6.96475 13.5622 7.18773 13.7544L6.20855 14.8907C5.62022 14.3837 5.31149 13.6247 5.3784 12.851L6.87282 12.9802Z" fill="var(--accent)"/>
                                    </svg>
                                </button>
                            </div>

                            <!-- Info Message -->
                            <template x-if="showMessage">
                                <div class="rating-info mt-2 small text-third fst-italic animate__animated animate__fadeIn">
                                    You need to reveal the code first                                </div>
                            </template>
                        </div>
                </div>
            </template>
              
        </div>
    </div>
    <!-- Bootstrap Bundle with Popper -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
    <!-- Custom Scripts -->
    <script>
    window.searchTranslations = {
        noResultsTitle: "No Results Found",
        noResultsDesc: "Try adjusting your search terms"    };
    </script>
    <script>
        document.getElementById('themeToggle')?.addEventListener('click', function() {
            const html = document.documentElement;
            const currentTheme = html.getAttribute('data-bs-theme');
            const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
            
            html.setAttribute('data-bs-theme', newTheme);
            localStorage.setItem('user_color_mode', newTheme);
            document.cookie = `user_color_mode=${newTheme}; path=/; max-age=31536000`;
            
            // Update logo
            const logos = document.querySelectorAll('.theme-logo');
            logos.forEach(logo => {
                if (logo) {
                    logo.src = newTheme === 'dark' ? logo.dataset.darkSrc : logo.dataset.lightSrc;
                }
            });
        });
    </script>
    <script src="https://cozycoupons.site/assets/front/js/main.js?v="></script>
            <script>
    document.addEventListener('DOMContentLoaded', function() {
        // Get URL parameters
        const urlParams = new URLSearchParams(window.location.search);
        const couponId = urlParams.get('coupon');
        
        // If coupon ID exists and is numeric, open the modal
        if (couponId && /^\d+$/.test(couponId)) {
            const modalStore = Alpine.store('couponModal');
            if (modalStore) {
                modalStore.open(parseInt(couponId));
                
                // Update URL without the coupon parameter (to prevent modal reopening on refresh)
                // but maintain other parameters if they exist
                const newUrl = new URL(window.location.href);
                newUrl.searchParams.delete('coupon');
                window.history.replaceState({}, '', newUrl);
            }
        }
    });
    </script>
    </body>
</html>