/* Homepage layout overrides. Declaration order is intentional to preserve the current design. */

    .home-page .home-order-grid { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important; }
    .home-page .home-order-grid .menu-card { min-width:0!important;width:100%!important;margin:0!important;box-sizing:border-box!important; }
    .home-page .home-floating-calc {position:fixed!important;z-index:100!important;right:16px!important;bottom:20px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:108px!important;height:74px!important;background:#fff!important;color:#222!important;border:1px solid #bbb!important;border-radius:18px!important;text-decoration:none!important;box-sizing:border-box!important;box-shadow:0 3px 14px rgba(0,0,0,.1)!important;}

    /* Compact app-like header and accessible dropdown menu */
    .home-page .home-header{position:relative;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;}
    .home-page .home-header-brand{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:nowrap;}
    .home-page .home-header-brand .header-logo{white-space:nowrap;}
    .home-page .home-header-brand .home-header-shop{font-size:12px!important;color:#666!important;white-space:nowrap;margin:0!important;}
    .home-page .home-menu-toggle{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;padding:0;background:transparent;border:0;border-radius:9px;color:#222;cursor:pointer;}
    .home-page .home-menu-toggle:focus-visible,.home-page .home-site-menu a:focus-visible{outline:2px solid #333;outline-offset:2px;}
    .home-page .home-site-menu[hidden]{display:none!important;}
    .home-page .home-site-menu{z-index:200;display:flex;flex-direction:column;background:#fff;border:1px solid #e2e2e2;}
    .home-page .home-site-menu a{display:block;padding:12px 13px;border-radius:7px;text-decoration:none;color:#222;font-size:14px;line-height:1.4;}
    @media(max-width:360px){.home-page .home-header-brand{gap:6px}.home-page .home-header-brand .header-logo{font-size:17px!important}.home-page .home-header-brand .home-header-shop{font-size:11px!important}}

    /* Hierarchical spacious navigation: primary tools and quieter salon links */
    .home-page .home-site-menu{position:absolute;top:calc(100% + 5px);right:12px;width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - 85px);overflow-y:auto;padding:18px 22px 20px;border-radius:14px;box-sizing:border-box;box-shadow:0 14px 36px rgba(0,0,0,.16);}
    .home-page .home-site-menu .home-menu-primary{display:block;padding:13px 5px;line-height:1.5;color:#222;text-decoration:none;}
    .home-page .home-site-menu .home-menu-group{margin:8px 0 10px;padding:12px 0 13px;border-top:1px solid #dedede;border-bottom:1px solid #dedede;}
    .home-page .home-site-menu .home-menu-group-title{display:block;padding:2px 5px 9px;font-size:16px;font-weight:700;color:#222;}
    .home-page .home-site-menu .home-menu-sub{display:block;margin-left:14px;padding:10px 8px;font-size:15px;font-weight:400;color:#333;text-decoration:none;}
    .home-page .home-site-menu .home-menu-disabled{color:#555;cursor:default;}
    .home-page .home-site-menu .home-menu-disabled small{margin-left:8px;font-size:10px;font-weight:500;color:#888;}
    .home-page .home-site-menu .home-menu-secondary{margin-top:17px;padding-top:13px;border-top:1px solid #e5e5e5;}
    .home-page .home-site-menu .home-menu-secondary a{display:block;padding:10px 5px;font-size:13px;font-weight:400;color:#666;text-decoration:none;}
    .home-page .home-site-menu a:hover{background:#f7f7f7;}
    @media(max-width:420px){.home-page .home-site-menu{right:0;width:min(100vw,380px);border-radius:0 0 14px 14px;padding:20px 25px 24px;}}
    /* Align top-level menu items with the order heading; regular weight like sublinks */
    .home-page .home-site-menu .home-menu-primary{font-size:16px;font-weight:400;}
  
    /* portal-shortcut-1: calm homepage exterior, RPG doorway accent */
    .home-page .home-floating-calc{width:202px!important;height:60px!important;right:15px!important;bottom:20px!important;padding:0 12px 0 15px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border-radius:12px!important;border:1px solid #d7dce4!important;background:#fbfcfe!important;color:#222b39!important;box-shadow:0 5px 18px #172c4430!important;text-decoration:none!important;overflow:visible!important;transition:transform .2s,box-shadow .2s!important}
    .home-page .home-floating-calc:hover,.home-page .home-floating-calc:focus-visible{transform:translateY(-3px)!important;box-shadow:0 8px 23px #172c4440!important;outline-offset:3px}
    @media(max-width:380px){.home-page .home-floating-calc{width:190px!important;height:57px!important;right:10px!important;bottom:14px!important;padding-left:11px!important}}
    @media(prefers-reduced-motion:reduce){.home-page .home-floating-calc{transition:none!important}}

    /* robot-sign-1: independent friendly robot holding the shortcut placard */
    .home-page .home-floating-calc.home-floating-robot{width:245px!important;height:135px!important;right:9px!important;bottom:10px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:block!important;overflow:visible!important;transition:transform .2s ease!important}
    .home-page .home-floating-robot .home-robot-art{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 4px 5px rgba(30,40,55,.17))}
    .home-page .home-floating-robot:hover,.home-page .home-floating-robot:focus-visible{transform:translateY(-4px)!important;box-shadow:none!important;outline:2px solid #73869a;outline-offset:2px}
    @media(max-width:600px){.home-page .home-floating-calc.home-floating-robot{width:192px!important;height:106px!important;right:4px!important;bottom:8px!important}}
    @media(max-width:360px){.home-page .home-floating-calc.home-floating-robot{width:174px!important;height:96px!important;right:3px!important;bottom:6px!important}}
    @media(prefers-reduced-motion:reduce){.home-page .home-floating-calc.home-floating-robot{transition:none!important}}

    /* robot-sign-2: suppress persistent focus rectangle after returning via browser history */
    .home-page .home-floating-calc.home-floating-robot:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
    .home-page .home-floating-calc.home-floating-robot:focus-visible{outline:none!important;box-shadow:none!important;filter:drop-shadow(0 0 4px #7997b3)}

    /* robot-sign-4: the placard stays still while the head peeks out */
    .home-page .home-floating-robot .home-robot-art{animation:none!important;transform:none!important}
    .home-page .home-floating-robot:hover .home-robot-peek{animation-play-state:paused}

    /* robot-sign-5: single tiny peek, no hands; head only moves */
    .home-page .home-floating-robot .home-robot-peek{animation:home-robot-peek-small 6s ease-in-out infinite!important;transform:translateY(10px)}
    @keyframes home-robot-peek-small{0%,17%,38%,100%{transform:translateY(10px)}25%,30%{transform:translateY(5px)}}
    @media(prefers-reduced-motion:reduce){.home-page .home-floating-robot .home-robot-peek{animation:none!important;transform:translateY(8px)}}

    /* Keep browser-restored focus from drawing a rectangular frame around SVG artwork. */
    .home-page .home-floating-calc.home-floating-robot:focus,
    .home-page .home-floating-calc.home-floating-robot:focus-visible{outline:none!important;outline-offset:0!important;box-shadow:none!important}
    .home-page .home-floating-calc.home-floating-robot:focus-visible .home-robot-art{filter:drop-shadow(0 0 5px rgba(65,106,145,.65))}


/* Keep the salon homepage header visible while scrolling. */
.home-page .home-header{position:sticky!important;top:0!important;z-index:500!important}
