<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ site.business_name }} - Preview by HostWizard</title>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        .hw-banner {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            background: linear-gradient(135deg, #0D9488, #14B8A6);
            color: white;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: 14px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }
        .hw-banner-left { display: flex; align-items: center; gap: 12px; }
        .hw-banner-logo { font-weight: 700; font-size: 16px; }
        .hw-banner-text { opacity: 0.9; }
        .hw-banner-right { display: flex; align-items: center; gap: 12px; }
        .hw-banner-link {
            color: white;
            text-decoration: none;
            padding: 6px 16px;
            border: 1px solid rgba(255,255,255,0.4);
            border-radius: 6px;
            font-size: 13px;
            transition: background 0.2s;
        }
        .hw-banner-link:hover { background: rgba(255,255,255,0.15); }
        .hw-iframe-container {
            position: fixed;
            top: 48px;
            left: 0;
            right: 0;
            bottom: 0;
        }
        .hw-iframe-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
    </style>
</head>
<body>
    <div class="hw-banner">
        <div class="hw-banner-left">
            <span class="hw-banner-logo">HostWizard</span>
            <span class="hw-banner-text">Preview for {{ site.business_name }}</span>
        </div>
        <div class="hw-banner-right">
            <a href="https://hostwizard.lu" class="hw-banner-link" target="_blank">hostwizard.lu</a>
        </div>
    </div>
    <div class="hw-iframe-container">
        <iframe src="{{ store_url }}" title="Site preview"></iframe>
    </div>
</body>
</html>
