header:has(.site-bar) { display: block; padding: 0; background: #10101f; border-bottom: 1px solid #31283f; }
header .top.site-bar {
    box-sizing: border-box; max-width: 1480px; margin: auto; min-height: 64px; padding: 8px 2%;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center;
}
.site-bar > :last-child { justify-self: end; }
header .site-bar nav { display: flex; gap: 4px; align-items: center; }
header .site-bar nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 24px; font: 600 14px/1.4 "Segoe UI", sans-serif; white-space: nowrap; }
header .site-bar nav a[aria-current] { background: #322749; }
.site-bar nav a:first-child::before { content: ""; width: 16px; height: 16px; background: currentColor; mask: url('/assets/house.svg') center/contain no-repeat; }
@media (max-width: 1100px) {
    header .top.site-bar { grid-template-columns: 1fr auto; }
    header .site-bar nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; justify-content: center; }
    .site-bar > :last-child { grid-row: 1; grid-column: 2; }
    header .top.site-bar nav:has(a[href="#privacy"]) a:not([href="#privacy"]) { display: inline-flex; }
}
@media (max-width: 520px) {
    header .site-bar nav a { padding: 5px 7px; }
}

.site-bar .home-shop {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 7px 17px; flex: none; border-radius: 10px;
    font-weight: 750; font-size: 16px; line-height: 1.25; color: #fff9ff;
    background: linear-gradient(175deg,#754191 0%,#44245e 43%,#281535 100%);
    border: 2px solid #ffe6a6;
    box-shadow: inset 0 1px 4px #ffdbac88, 0 0 3px #ffedbf;
}
.home-shop::before, .home-shop::after, .shop-spark { content: ""; position: absolute; pointer-events: none; }
.home-shop::before {
    inset: -2px; border-radius: inherit; border: 1px solid #fff7cf;
    box-shadow: 0 0 5px 2px #ffc15f, 0 0 14px 4px #ff951ba8, inset 0 0 5px #ffcd78;
    opacity: .75;
}
.home-shop::after {
    top: -5px; right: -5px; width: 10px; height: 10px; border: 1.5px solid #fff5db;
    border-radius: 50%; background: #ec383d;
}
.shop-spark {
    left: -13px; top: 38%; width: 14px; height: 14px;
    background: #fff4c4; clip-path: polygon(50% 0,59% 38%,100% 50%,59% 58%,50% 100%,41% 59%,0 50%,41% 41%);
}
@media (prefers-reduced-motion:no-preference) {
    .home-shop::before { animation: shop-glow 2.8s ease-in-out infinite alternate; }
    .shop-spark { animation: shop-twinkle 2.8s ease-in-out infinite alternate; }
    @keyframes shop-glow { from { opacity: .28; } to { opacity: 1; } }
    @keyframes shop-twinkle { from { opacity: .2; transform: scale(.58); } to { opacity: 1; transform: scale(1); } }
}
@media (max-width:520px) {
    .site-bar .home-shop { gap: 4px; padding: 5px 8px; font-size: 13px; }
    .home-shop svg { width: 17px; height: 17px; }
}
@media (max-width:440px) {
    html[data-page="home"] header .top.site-bar {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 3.5% 8px;
    }
    html[data-page="home"] .site-bar .usernav {
        grid-row: 2;
        grid-column: 1;
        justify-self: stretch;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        padding: 4px 0 2px;
    }
    html[data-page="home"] .site-bar .usernav .home-shop {
        margin-right: auto;
        height: 34px;
        padding: 0 11px;
        border-radius: 9px;
    }
    html[data-page="home"] .site-bar .usernav .language-picker {
        height: 34px;
        max-width: 104px;
        padding: 0 6px;
        border-radius: 9px;
        font-size: 13px;
    }
    html[data-page="home"] .site-bar .usernav button[data-open="search"],
    html[data-page="home"] .site-bar .usernav .profile {
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 9px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: none;
    }
    html[data-page="home"] .site-bar .usernav button[data-open="search"] {
        background: #211d33;
        border: 1px solid #524568;
    }
    html[data-page="home"] .site-bar nav {
        grid-row: 3;
        gap: 2px;
        padding-top: 2px;
        border-top: 1px solid #2b233d;
    }
}
