/* Smith Digital V4 — slide-in mobile sidebar. Desktop menu and all configured links unchanged. */
.sdv4-backdrop,.sdv4-drawer{display:none}
@media(max-width:950px){
  body.sdv4-lock-scroll{overflow:hidden!important;touch-action:pan-x}
  .sdv2-home.sdv4-sidebar-ready .sdv2-header .sdv2-nav-configured{display:none!important}
  .sdv4-backdrop{display:block;position:fixed;inset:0;z-index:21000;background:rgba(0,10,31,.64);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,backdrop-filter .3s ease,visibility 0s linear .3s}
  .sdv4-backdrop.is-visible{opacity:1;visibility:visible;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transition:opacity .3s ease,backdrop-filter .3s ease,visibility 0s}
  .sdv4-drawer{display:flex;position:fixed;top:0;right:0;bottom:0;width:min(85vw,340px);max-width:calc(100vw - 40px);height:100vh;height:100dvh;z-index:21001;overflow:hidden;flex-direction:column;box-sizing:border-box;color:#f5f9ff;background:linear-gradient(165deg,#0d2343,#0b1e3d 88%);border-left:1px solid #37649a;box-shadow:-22px 0 50px #02091370;transform:translate3d(105%,0,0);visibility:hidden;pointer-events:none;transition:transform .36s cubic-bezier(.2,.85,.25,1),visibility 0s linear .38s;isolation:isolate;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
  .sdv4-drawer.is-open{transform:translate3d(0,0,0);visibility:visible;pointer-events:auto;transition:transform .36s cubic-bezier(.2,.85,.25,1),visibility 0s}
  .sdv4-drawer *{box-sizing:border-box}
  .sdv4-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 18px 17px;border-bottom:1px solid #29476e;flex:none}
  .sdv4-drawer-head>div{min-width:0;position:relative}
  .sdv4-small-logo{width:31px;height:31px;object-fit:contain;margin-bottom:9px;border-radius:8px}
  .sdv4-drawer-title{color:#fff;font-size:18px;line-height:1.25;font-weight:850;letter-spacing:-.3px}
  .sdv4-drawer-head p{color:#a3c2e4;font-size:11px;line-height:1.45;margin:4px 0 0}
  .sdv4-close{flex:0 0 36px;width:36px;height:36px;display:grid!important;place-items:center;padding:0!important;border:1px solid #39639b;border-radius:10px;background:#14355f;color:#e7f8ff;cursor:pointer}
  .sdv4-close svg{width:19px;height:19px}
  .sdv4-drawer-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3f6189 transparent;padding:18px 15px 22px}
  .sdv4-auth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:20px}
  .sdv4-auth[hidden]{display:none!important}
  .sdv4-drawer .sdv4-auth>.nav-editor-item{min-height:42px!important;width:100%!important;padding:11px 8px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:11px!important;border:1px solid #3b6baa!important;background:#0b69e6!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff2a!important;font-weight:750!important;font-size:12px!important;white-space:nowrap!important;text-decoration:none!important}
  .sdv4-drawer .sdv4-auth>.nav-editor-item:nth-child(2){background:#19375e!important;border-color:#365986!important}
  .sdv4-drawer .sdv4-auth>.nav-editor-item:only-child{grid-column:1/-1}
  .sdv4-drawer .sdv4-menu-label{display:block;color:#a1bfdf;font-size:10px;font-weight:850;letter-spacing:1.15px;margin:0 4px 12px}
  .sdv4-drawer .sdv2-nav.sdv2-nav-configured{position:static!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;max-height:none!important;min-width:0!important;overflow:visible!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;flex:0 0 auto!important;white-space:normal!important;transform:none!important}
  .sdv4-drawer .sdv2-nav-configured .nav-editor-item:not(form),.sdv4-drawer .sdv2-nav-configured .nav-logout button{position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;min-height:49px!important;padding:12px 13px!important;margin:0!important;border:1px solid #315e92!important;border-radius:11px!important;background:#15325a!important;box-shadow:none!important;color:#f4f9ff!important;text-align:left!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important;line-height:1.35!important;gap:12px!important;white-space:normal!important;cursor:pointer}
  .sdv4-drawer .sdv2-nav-configured .nav-editor-item:not(form):hover,.sdv4-drawer .sdv2-nav-configured .nav-logout button:hover{background:#1c4778!important;border-color:#4aa6e9!important}
  .sdv4-drawer .sdv2-nav-configured .nav-editor-item:not(form):focus-visible,.sdv4-drawer :is(button,a):focus-visible{outline:2px solid #25c8ff!important;outline-offset:2px!important}
  .sdv4-drawer .sdv2-nav-configured .nav-editor-item.nav-mobile-off{display:none!important}
  .sdv4-drawer .sdv2-nav-configured .nav-editor-item.nav-desktop-off{display:flex!important}
  .sdv4-drawer .sdv2-nav-configured form.nav-logout.nav-editor-item{display:block!important;padding:0!important;margin:0!important;width:100%!important;height:auto!important;min-height:0!important;border:0!important;background:none!important}
  .sdv4-drawer .sdv2-nav-configured .nav-item-label{display:inline-block!important;flex:1 1 auto!important;overflow-wrap:anywhere;color:inherit!important;font-size:inherit!important;line-height:1.25!important}
  .sdv4-drawer .sdv2-nav-configured .nav-item-icon.sdv2-modern-icon{flex:0 0 20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;min-width:20px!important;height:20px!important;color:#4dccff!important;margin:0!important}
  .sdv4-drawer .sdv2-nav-configured .sdv2-nav-lucide{width:19px!important;height:19px!important;flex:0 0 19px!important}
  .sdv4-drawer .sdv2-nav-configured .cart-count{display:inline-grid!important;place-items:center!important;flex:0 0 auto;min-width:18px;height:18px;padding:1px 5px;border-radius:12px;background:#237ddf!important;color:#fff!important;font-size:10px!important;font-weight:800!important;margin-left:auto}
  .sdv4-drawer .sdv2-nav-configured .sd-lang-switch{display:flex!important;width:100%;margin:7px 0!important;align-items:center;justify-content:center}
  .sdv4-drawer .sdv4-support{margin-top:21px;padding-top:18px;border-top:1px solid #294c78}
  .sdv4-drawer .sdv4-support-link{display:flex;align-items:center;gap:11px;padding:12px 10px;border:1px solid #326092;border-radius:11px;background:#14325b;color:#f4f9ff;text-decoration:none;min-height:60px}
  .sdv4-drawer .sdv4-support-link>span{flex:1;display:flex;flex-direction:column;min-width:0}
  .sdv4-drawer .sdv4-support-link strong{font-size:12px;color:inherit;line-height:1.4}
  .sdv4-drawer .sdv4-support-link small{font-size:10px;color:#a1bfdf;margin-top:3px}
  .sdv4-drawer .sdv4-support-link svg{flex:0 0 17px;width:17px;height:17px;color:#45cbff}
  .sdv4-drawer .sdv4-support-link .sdv4-help-icon{flex:0 0 22px;width:22px;height:22px}
  .sdv4-drawer-bottom{padding:14px 10px max(12px,env(safe-area-inset-bottom));border-top:1px solid #28486e;text-align:center;color:#93b3d5;font-size:10px;flex:none}
  .sdv2-home .sdv2-mobile-toggle.is-open{border-color:#29c6ff!important;color:#5bd6ff!important;box-shadow:0 0 0 2px #11beff33!important}
}
html[data-theme="light"] .sdv4-drawer{background:linear-gradient(145deg,#f8fbff,#ebf3ff);border-left-color:#bdd4f0;color:#163251;box-shadow:-18px 0 48px #143b6e31}
html[data-theme="light"] .sdv4-drawer-head{border-color:#d6e3f3}
html[data-theme="light"] .sdv4-drawer-title{color:#142e4d}
html[data-theme="light"] .sdv4-drawer-head p,html[data-theme="light"] .sdv4-drawer .sdv4-menu-label{color:#526d91}
html[data-theme="light"] .sdv4-drawer .sdv4-close{background:#e6f1ff;color:#1b5689;border-color:#b6cee8}
html[data-theme="light"] .sdv4-drawer .sdv4-auth>.nav-editor-item:nth-child(2){background:#e7f1ff!important;color:#16508e!important;border-color:#bdd6ed!important}
html[data-theme="light"] .sdv4-drawer .sdv2-nav-configured .nav-editor-item:not(form),html[data-theme="light"] .sdv4-drawer .sdv2-nav-configured .nav-logout button{background:#fff!important;color:#173452!important;border-color:#c4d9ef!important;box-shadow:0 2px 7px #1039690d!important}
html[data-theme="light"] .sdv4-drawer .sdv2-nav-configured .nav-editor-item:not(form):hover,html[data-theme="light"] .sdv4-drawer .sdv2-nav-configured .nav-logout button:hover{background:#edf6ff!important;border-color:#75b9ed!important}
html[data-theme="light"] .sdv4-drawer .sdv2-nav-configured .nav-item-icon.sdv2-modern-icon{color:#0868b9!important}
html[data-theme="light"] .sdv4-drawer .sdv2-nav-configured .cart-count{background:#0873cf!important;color:#fff!important}
html[data-theme="light"] .sdv4-drawer .sdv4-support{border-color:#d6e4f2}
html[data-theme="light"] .sdv4-drawer .sdv4-support-link{background:#fff;color:#183b60;border-color:#bdd4ec}
html[data-theme="light"] .sdv4-drawer .sdv4-support-link small{color:#617d9c}
html[data-theme="light"] .sdv4-drawer .sdv4-drawer-bottom{color:#55718e;border-color:#d8e4f3}
@media(prefers-reduced-motion:reduce){.sdv4-backdrop,.sdv4-drawer{transition:none!important;animation:none!important}}

@media(max-width:950px){
  .sdv4-drawer .sdv4-auth .nav-item-icon.sdv2-modern-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;color:inherit!important;margin:0!important}
  .sdv4-drawer .sdv4-auth .sdv2-nav-lucide{display:block!important;width:17px!important;height:17px!important;flex:0 0 17px!important}
  .sdv4-drawer .sdv2-nav-configured form.nav-logout.nav-mobile-off,
  .sdv4-drawer .sdv2-nav-configured .sd-lang-switch.nav-mobile-off{display:none!important}
}
