/* Luma does not opt into Hyvä's cross-document transitions. Theme switches
   therefore use regular navigation in both demo storefronts. */
@view-transition { navigation: none; }
.ss-demo { --ss-ink: #141a20; --ss-paper: #fff; --ss-muted: #69727d; --ss-line: #e2e6eb; --ss-accent: #d96000; font: 14px/1.5 Arial, sans-serif; color: var(--ss-ink); }
.ss-demo .ss-demo__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 12px 28px; background: var(--ss-ink); color: var(--ss-paper); position: relative; z-index: 50; }
.ss-demo a { text-decoration: none; }
.ss-demo .ss-demo__brand { display: block; width: 180px; flex-shrink: 0; }
.ss-demo__brand img { display: block; width: 100%; height: auto; }
.ss-demo__description { flex: 1; }
.ss-demo .ss-demo__description a { margin-left: 12px; color: var(--ss-paper); text-decoration: underline; text-underline-offset: 3px; }
.ss-demo__expiry { font-size: 12px; color: #c4ccd5; }
.ss-demo__expiry span { display: block; }
.ss-demo__themes { display: flex; gap: 4px; padding: 4px; border: 1px solid #4e5864; border-radius: 6px; }
.ss-demo .ss-demo__themes a { display: block; color: var(--ss-paper); padding: 5px 16px; border-radius: 3px; font-weight: 700; }
.ss-demo .ss-demo__themes a[aria-current] { background: var(--ss-paper); color: var(--ss-ink); }
.ss-demo button { font: inherit; cursor: pointer; border: 0; box-shadow: none; }
.ss-demo .ss-demo__toggle { position: fixed; right: 0; top: 180px; z-index: 90; display: flex; gap: 14px; align-items: center; padding: 12px 16px; background: var(--ss-ink); color: var(--ss-paper); border-radius: 5px 0 0 5px; }
.ss-demo .ss-demo__panel { position: fixed; top: 0; bottom: 0; right: 0; z-index: 100; width: 330px; max-width: calc(100vw - 24px); padding: 24px; background: var(--ss-paper); border-left: 1px solid var(--ss-line); box-shadow: -8px 0 32px #141a201c; overflow-y: auto; box-sizing: border-box; }
.ss-demo .ss-demo__panel [hidden], .ss-demo__panel[hidden] { display: none; }
.ss-demo__panel-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--ss-line); }
.ss-demo .ss-demo__panel-heading button { background: transparent; color: var(--ss-muted); font-size: 28px; padding: 0 6px; min-width: 44px; min-height: 44px; }
.ss-demo .ss-demo__panel h2 { margin: 22px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.ss-demo__panel p { color: var(--ss-muted); margin: 0 0 24px; }
.ss-demo__panel section { padding: 20px 0; border-top: 1px solid var(--ss-line); }
.ss-demo .ss-demo__panel h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.ss-demo .ss-demo__panel section a, .ss-demo .ss-demo__panel section button { display: block; margin: 8px 0; color: var(--ss-accent); background: transparent; padding: 0; }
.ss-demo .ss-demo__buy { display: block; padding: 12px; text-align: center; background: var(--ss-accent); color: var(--ss-paper); font-weight: 700; border-radius: 5px; }
.ss-demo a:focus-visible, .ss-demo button:focus-visible { outline: 2px solid var(--ss-accent); outline-offset: 4px; }
@media (min-width: 1024px) {
    body.ss-demo-guide-open { padding-right: 330px; }
}
@media (max-width: 767px) {
    .ss-demo .ss-demo__bar { padding: 12px 16px; gap: 10px 16px; }
    .ss-demo .ss-demo__brand { width: 150px; }
    .ss-demo__description { flex-basis: 100%; order: 3; font-size: 12px; }
    .ss-demo__themes { margin-left: auto; }
    .ss-demo__expiry { order: 4; }
    .ss-demo .ss-demo__themes a { padding: 4px 10px; }
    .ss-demo .ss-demo__toggle { top: auto; bottom: 24px; }
}
