/* Header theme switch: dimensions and icon positions follow the reference. */
.lss-theme-switch {
 position: relative;
 isolation: isolate;
 display: inline-flex;
 align-items: center;
 justify-content: space-between;
 flex: 0 0 56px;
 width: 56px;
 min-width: 56px;
 height: 28px;
 min-height: 28px;
 box-sizing: border-box;
 padding: 0 8px;
 margin: 0;
 border: 1px solid #3b506b;
 border-radius: 999px;
 background: #1d3557;
 color: #71839e;
 cursor: pointer;
 appearance: none;
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
}
.lss-theme-switch__thumb {
 position: absolute;
 z-index: -1;
 left: 3px;
 top: 2px;
 width: 22px;
 height: 22px;
 border-radius: 50%;
 background: #355274;
 box-shadow: 0 1px 2px #0000001a;
 transform: translateX(0);
 transition: transform 220ms cubic-bezier(.4, 0, .2, 1), background-color 220ms ease;
 pointer-events: none;
}
.lss-theme-switch__sun,
.lss-theme-switch__moon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 12px;
 height: 14px;
 pointer-events: none;
 transition: color 180ms ease;
}
.lss-theme-switch__sun { color: #fbbf24; }
.lss-theme-switch__moon { color: #71839e; }
.lss-theme-switch__sun svg { display: block; width: 12px; height: 12px; }
.lss-theme-switch__moon svg { display: block; width: 14px; height: 14px; flex-shrink: 0; }
.lss-dark .lss-theme-switch { background: #192d45; }
.lss-dark .lss-theme-switch__thumb { transform: translateX(26px); background: #3b82f6; }
.lss-dark .lss-theme-switch__sun { color: #71839e; }
.lss-dark .lss-theme-switch__moon { color: #bfdbfe; }
.lss-theme-switch:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
 .lss-theme-switch__thumb,
 .lss-theme-switch__sun,
 .lss-theme-switch__moon { transition: none; }
}

.lss-checkout-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (max-width: 639px) {
 .lss-checkout-header-actions { gap: 8px; }
 .lss-checkout-header .lss-secure-title-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
