/* Shared demo navigation: independent of the storefront theme. */
.hs-demo-bar{box-sizing:border-box;padding:16px clamp(20px,4vw,64px);background:#342044;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;font:500 14px/1.5 system-ui,sans-serif}
.hs-demo-bar .hs-demo-back{color:#fff;text-decoration:none;text-underline-offset:4px}
.hs-demo-bar .hs-demo-back:hover{text-decoration:underline}
.hs-demo-launch-form{margin:0}
.hs-demo-launch-form .hs-demo-launch-button{box-sizing:border-box;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:10px;background:#ffca9b;color:#342044;font:650 14px/1.5 system-ui,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;box-shadow:0 2px 4px #00000012;cursor:pointer;transition:background-color .15s,box-shadow .15s}
.hs-demo-launch-form .hs-demo-launch-button:hover{background:#ffdab9;box-shadow:0 4px 12px #00000024}
.hs-demo-launch-form .hs-demo-launch-button:active{background:#f4ba86;box-shadow:none}
.hs-demo-launch-form .hs-demo-launch-button:focus-visible,.hs-demo-bar .hs-demo-back:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:600px){.hs-demo-bar{align-items:flex-start;gap:12px}.hs-demo-bar>span{flex-basis:100%;order:1}.hs-demo-bar .hs-demo-launch-form{flex-basis:100%;order:2}.hs-demo-bar .hs-demo-launch-button{width:100%}}
@media(prefers-reduced-motion:reduce){.hs-demo-launch-form .hs-demo-launch-button{transition:none}}

.hs-demo-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0}.hs-demo-example{padding:28px;border:1px solid #e4dce9;border-radius:16px;background:#fcfaf8;color:#342044}.hs-demo-example h3{margin:0 0 20px;font-size:24px}.hs-demo-example p{font-size:16px;line-height:1.65}.hs-demo-example a{display:inline-block;margin-top:12px;color:#6c3da3;font-weight:650;text-underline-offset:4px}@media(max-width:600px){.hs-demo-example-grid{grid-template-columns:1fr}.hs-demo-example{padding:22px}}
/* Persistent demo actions; sticky reserves its own height on every breakpoint. */
.hs-demo-bar{position:sticky;top:0;z-index:999;box-shadow:0 4px 18px #39234520;padding:12px clamp(16px,3vw,48px);flex-wrap:nowrap}
.admin-bar .hs-demo-bar{top:32px}.hs-demo-bar-context{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;min-width:0}.hs-demo-bar-context strong{font-size:14px}.hs-demo-bar-context small{font-size:12px;color:#e4d8ee}.hs-demo-bar-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.hs-demo-bar .hs-demo-bar-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:10px 16px;border-radius:10px;font:650 14px/1.4 system-ui,sans-serif;text-decoration:none;white-space:nowrap;gap:8px}
.hs-demo-bar .hs-demo-launch-form .hs-demo-launch-button,.hs-demo-bar .hs-demo-admin-link{background:#6c3da3!important;color:#fff!important;border:1px solid #a98bc7;box-shadow:none}
.hs-demo-bar .hs-demo-download{background:#f0e9fa;color:#392345;border:1px solid #f0e9fa}.hs-demo-bar .hs-demo-buy{background:#ffcb9e;color:#392345;border:1px solid #ffcb9e}.hs-demo-bar-actions a:hover{filter:brightness(1.07)}.hs-demo-bar-actions a:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:1000px){.hs-demo-bar{flex-wrap:wrap;gap:10px}.hs-demo-bar-context small{display:none}}
@media(max-width:782px){.admin-bar .hs-demo-bar{top:46px}}
@media(max-width:600px){.admin-bar .hs-demo-bar{top:0}.hs-demo-bar-context{width:100%;justify-content:space-between}.hs-demo-bar-context strong{font-size:12px}.hs-demo-bar-actions{width:100%;display:flex;flex-wrap:wrap;gap:8px}.hs-demo-bar .hs-demo-launch-form{flex:1;order:0}.hs-demo-bar-actions>a{flex:1}.hs-demo-bar .hs-demo-bar-actions :is(a,button){padding:10px;font-size:12px}.hs-demo-bar .hs-demo-launch-button{width:100%}}
