.home-body :is(.home-drawer-head, .home-drawer-account, .home-drawer-links) { display: none; }
.home-body .main-nav > a > .store-icon { display: none; }
.home-nav-backdrop[hidden] { display: none !important; }
@media (max-width: 1050px) {
    .home-body.home-nav-open { overflow: hidden; }
    .home-body .site-header.is-drawer-open { z-index: 1050; }
    /* Blur only the glass artwork so the fixed drawer follows the viewport. */
    .home-body .nav-wrap { isolation: isolate; border-color: transparent; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .home-body .nav-wrap::before { position: absolute; z-index: -1; inset: -1px; border: 1px solid rgba(255,255,255,.85); border-radius: inherit; background: linear-gradient(120deg, rgba(255,255,255,.7), rgba(250,241,255,.42) 55%, rgba(255,255,255,.58)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 22px rgba(70,36,87,.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); content: ""; pointer-events: none; }
    .home-body #main-menu { position: fixed; z-index: 1062; inset: 0 0 0 auto; display: flex; width: min(88vw,360px); height: 100dvh; max-height: none; margin: 0; padding: calc(20px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; border: 0; border-left: 1px solid #e8dfee; border-radius: 0; background: #fcf9ff; box-shadow: -20px 0 60px rgba(38,16,54,.2); -webkit-backdrop-filter: none; backdrop-filter: none; visibility: hidden; pointer-events: none; clip-path: inset(0 0 0 100%); transition: clip-path .24s ease, visibility .24s; }
    .home-body #main-menu.is-open { visibility: visible; pointer-events: auto; clip-path: inset(0); }
    .home-body .home-drawer-head { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid #eee7f1; color: #2e2038; font-size: 1.2rem; }
    .home-body .home-drawer-head button { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; padding: 0; border: 1px solid #e8dfee; border-radius: 50%; background: #fff; color: #432c4e; font-size: 1.4rem; line-height: 1; cursor: pointer; }
    .home-body .home-drawer-account { display: flex; flex-shrink: 0; align-items: center; gap: 12px; padding: 16px; margin-bottom: 12px; border: 1px solid #e8daf6; border-radius: 18px; background: linear-gradient(120deg,#eee1fb,#f8f1ff); }
    .home-body .home-drawer-account :is(img, .home-drawer-avatar) { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; object-fit: cover; background: #efe2fb; color: #602480; font-size: .85rem; font-weight: 600; }
    .home-body .home-drawer-account strong { min-width: 0; font-size: .9rem; overflow-wrap: anywhere; color: #493056; }
    .home-body .home-drawer-links { display: grid; gap: 8px; }
    .home-body .home-drawer-account-links { display: grid; gap: 8px; margin-top: 12px; padding-top: 20px; border-top: 1px solid #e8daf6; }
    .home-body .home-drawer-account-links form { margin: 12px 0 0; }
    .home-body #main-menu :is(a, .home-drawer-logout) { display: flex; flex-shrink: 0; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid transparent; border-radius: 14px; background: transparent; box-shadow: none; color: #493056; font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; text-align: left; white-space: normal; cursor: pointer; transform: none; }
    .home-body #main-menu a::after { display: none; }
    .home-body #main-menu :is(a, .home-drawer-logout):hover { background: #eee3fa; color: #602480; }
    .home-body #main-menu .home-drawer-logout { background: #fff0f3; color: #ac3d55; }
    .home-body #main-menu .store-icon { display: block; width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; color: #783bab; }
    .home-body #main-menu .home-drawer-logout .store-icon { color: inherit; }
    .home-body #main-menu .nav-actions { flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 16px; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid #e8daf6; }
    .home-body #main-menu .website-language { align-self: flex-start; }
    .home-body #main-menu .nav-cta { justify-content: center; background: #602480; color: #fff; }
    .home-body #main-menu:has(.home-drawer-account) .nav-cta { display: none; }
    .home-body .home-nav-backdrop { position: fixed; z-index: 1061; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(27,15,37,.48); cursor: pointer; }
    .home-body #main-menu :is(a, button):focus-visible { outline: 3px solid #ab78d1; outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) { .home-body #main-menu { transition: none; } }
