/* global.css - HGFAST SPA Global Engine Ultimate Final */

/* =========================================================
   1. Reset
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #000;
    color: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
    overflow-x: hidden !important;
    overflow-y: overlay;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
/* Webkit 滚动条美化 */
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #000;
    color: #f5f5f7;
    font-family: inherit;
    overflow-x: hidden !important;
    overflow-y: auto;
    position: relative;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

button, input, textarea, select {
    font: inherit;
}

@supports not (overflow: clip) {
    body {
        overflow-x: hidden !important;
    }
}

/* =========================================================
   2. Theme
   ========================================================= */
:root {
    --sidebar-w: 260px;
    --sidebar-mobile-w: min(84vw, 320px);
    --mobile-header-h: 64px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);

    --bg: #000;
    --card-bg: rgba(18, 18, 20, 0.72);
    --card-strong: rgba(22, 22, 24, 0.92);
    --text: #f5f5f7;
    --sub: #86868b;
    --blue: #6D4AFF;
    --green: #32D74B;
    --purple: #BF5AF2;
    --orange: #FF9F0A;
    --red: #FF453A;
    --gold: #d4af37;
    --border: rgba(255,255,255,0.08);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.5);
}

/* =========================================================
   2b. Boot: 首屏加载遮罩（防止侧边栏/内容闪烁）
   ========================================================= */
body.hg-boot #app-root,
body.hg-boot #hg-sidebar,
body.hg-boot .hg-mobile-header {
    opacity: 0 !important;
}
body.hg-boot #app-root {
    margin-left: 0 !important;
    max-width: 100% !important;
}
/* 揭幕过渡 */
body.hg-ready #app-root,
body.hg-ready #hg-sidebar,
body.hg-ready .hg-mobile-header {
    transition: opacity .35s ease !important;
}

/* =========================================================
   3. Global background
   ========================================================= */
/* 背景装饰：静态渐变，无blur无动画，零GPU开销 */
.bg-grid { display: none; }
.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    max-width: 100%;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(109,74,255,0.08), transparent 50%),
        radial-gradient(ellipse at 90% 100%, rgba(50,215,75,0.05), transparent 50%);
}

/* =========================================================
   3b. Icon enhancements
   ========================================================= */
[class*="ph-duotone"] {
    font-size: 1.15em;
    vertical-align: -0.1em;
}

.hg-nav-item [class*="ph-"].nav-icon {
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.hg-nav-item:hover [class*="ph-"].nav-icon {
    transform: scale(1.05);
}

.hg-nav-item.active [class*="ph-"].nav-icon {
    filter: drop-shadow(0 0 4px rgba(109,74,255,0.3));
}

/* =========================================================
   4. App Root
   ========================================================= */
#app-root {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: var(--sidebar-w);
    width: auto;
    max-width: calc(100% - var(--sidebar-w));
    overflow-x: clip;
    transition:
        margin-left 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 无侧边栏页面：登录 / 注册 / 忘记密码 */
body.no-sidebar-layout #app-root {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
}

/* =========================================================
   5. Container
   ========================================================= */
#app-root .container,
#app-root .store-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 40px 100px;
}

@media (min-width: 1920px) {
    #app-root .container,
    #app-root .store-container {
        max-width: 1600px;
        margin: 0 auto;
    }
}

@media (max-width: 850px) {
    #app-root {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-top: calc(60px + var(--safe-top));
    }

    body.no-sidebar-layout #app-root {
        padding-top: 0 !important;
    }

    #app-root .container,
    #app-root .store-container {
        padding: 24px 20px calc(100px + var(--safe-bottom));
    }
}

/* =========================================================
   6. Toast
   ========================================================= */
#toast-container {
    position: fixed;
    top: calc(18px + var(--safe-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    width: min(92vw, 520px);
}

/* =========================================================
   7. Modal Engine
   ========================================================= */
.modal-overlay,
.sys-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    background: rgba(0,0,0,0.82) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 2147483600 !important;
}

.modal-overlay.show,
.sys-modal-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.modal-box,
.checkout-box,
.confirm-box,
.st-modal-box,
.sys-confirm-box {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 24px;
    border: 1px solid rgba(109,74,255,0.22);
    background: linear-gradient(180deg, rgba(26,22,48,0.96) 0%, rgba(18,15,36,0.96) 100%);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 60px rgba(109,74,255,0.15);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transform: scale(.94) translateY(16px);
    transition: transform .42s cubic-bezier(0.16,1,0.3,1), opacity .3s ease;
    position: relative;
    color: #fff;
}

.modal-box.wide,
.checkout-box.wide,
.st-modal-box.wide {
    max-width: 860px;
}

.modal-overlay.show .modal-box,
.modal-overlay.show .checkout-box,
.modal-overlay.show .confirm-box,
.modal-overlay.show .st-modal-box,
.sys-modal-overlay.show .sys-confirm-box {
    transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
    .modal-overlay,
    .sys-modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .modal-box,
    .checkout-box,
    .confirm-box,
    .st-modal-box,
    .sys-confirm-box {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 28px 28px 0 0 !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        transform: translateY(100%);
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* =========================================================
   8. Auth Wrapper
   ========================================================= */
#login-container-wrapper,
#register-container-wrapper,
#forgot-container-wrapper {
    position: fixed !important;
    inset: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    padding: 20px !important;
    background: transparent !important;
    z-index: 990 !important;
}

.login-mesh-bg,
.register-mesh-bg,
.forgot-mesh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.5) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.4) 0, transparent 50%);
    filter: blur(60px);
    opacity: 0.8;
    animation: pulseMesh 15s ease-in-out infinite alternate;
}

@keyframes pulseMesh {
    0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    100% { transform: scale(1.1) rotate(2deg); opacity: 1; }
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    border-radius: 32px;
    background: rgba(20,20,22,0.65);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255,255,255,0.10);
    border-top: 1px solid rgba(255,255,255,0.18);
    border-left: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.auth-card.success-warp {
    transform: scale(1.04);
    opacity: 0;
    filter: blur(10px);
    transition: all .5s ease;
}

.brand {
    text-align: center;
    margin-bottom: 36px;
}

.brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d1d1f, #2c2c2e);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,.3);
}

.brand h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
    color: #fff;
}

.brand p {
    font-size: 14px;
    color: var(--sub);
    font-weight: 500;
    margin: 0;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sub);
    font-size: 22px;
    z-index: 2;
    transition: .25s;
}

.input-group input {
    width: 100%;
    padding: 18px 18px 18px 52px;
    background: rgba(255,255,255,0.06);
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    outline: none;
    transition: .25s;
}

.input-group input::placeholder {
    color: rgba(255,255,255,0.3);
}

.input-group input:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.26);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-submit {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #e5e5ea;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.15);
}

.btn-submit:disabled {
    background: #3a3a3c;
    color: #86868b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    gap: 12px;
    flex-wrap: wrap;
}

.links a {
    color: var(--sub);
    text-decoration: none;
    transition: .2s;
    cursor: pointer;
}

.links a:hover {
    color: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #1c1c1e inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
    border-radius: 16px !important;
}

/* =========================================================
   9. (Boot Screen removed)
   ========================================================= */

/* =========================================================
   10. Crisp 防竖条 / 防横向溢出补丁
   ========================================================= */
/* =========================================================
   11. Crisp 全局防冲突补丁
   ========================================================= */
body,
#app-root,
.bg-grid,
.bg-glow,
#login-container-wrapper,
#register-container-wrapper,
#forgot-container-wrapper {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

#crisp-chatbox,
.crisp-client,
.crisp-client > div,
.crisp-client iframe {
    max-width: 100vw !important;
}

#crisp-chatbox,
#crisp-chatbox *,
.crisp-client,
.crisp-client * {
    box-sizing: border-box !important;
    max-width: 100vw !important;
}

.crisp-client {
    position: fixed !important;
    left: auto !important;
    right: 16px !important;
    bottom: calc(16px + var(--safe-bottom)) !important;
    top: auto !important;
    transform: none !important;
    z-index: 2147482500 !important;
    max-width: calc(100vw - 32px) !important;
}

.crisp-client iframe,
#crisp-chatbox iframe {
    left: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    max-width: calc(100vw - 32px) !important;
}

@media (min-width: 851px) {
    .crisp-client {
        right: 16px !important;
        left: auto !important;
        bottom: calc(16px + var(--safe-bottom)) !important;
    }
}

/* =========================================================
   12. Mobile
   ========================================================= */
@media (max-width: 850px) {
    .crisp-client,
    .crisp-client iframe,
    #crisp-chatbox,
    #crisp-chatbox iframe {
        max-width: 100vw !important;
    }

    /* 静态侧栏：移动端展开 #hg-sidebar.open 时，隐藏 Crisp 浮窗避免遮挡。
       老选择器 body.gs-sidebar-open 已废弃（动态侧栏时代的产物）。
       :has() 在 Chrome 105+/Safari 15.4+/Firefox 121+ 支持，老浏览器降级为不隐藏也不影响功能。 */
    body:has(#hg-sidebar.open) .crisp-client,
    body:has(#hg-sidebar.open) #crisp-chatbox {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

}

@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: 28px;
    }

    .brand {
        margin-bottom: 28px;
    }

    .brand-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .brand h1 {
        font-size: 22px;
    }

    .input-group input {
        padding: 16px 16px 16px 48px;
        font-size: 14px;
    }

    .input-group i {
        left: 16px;
        font-size: 20px;
    }

    .btn-submit {
        padding: 16px;
        font-size: 15px;
    }

    .links {
        font-size: 13px;
        margin-top: 20px;
    }


    #toast-container {
        top: calc(12px + var(--safe-top));
        width: min(94vw, 520px);
    }
}

/* =========================================================
   STATIC SIDEBAR (admin-style)
   ========================================================= */
body { display: flex; min-height: 100vh; min-height: 100dvh; }
body.no-sidebar-layout { display: block; }
body.no-sidebar-layout .hg-sidebar,
body.no-sidebar-layout .hg-mobile-header,
body.no-sidebar-layout .hg-sidebar-overlay { display: none !important; }

.hg-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #13131a 0%, #0a0a11 100%);
  border-right: 1px solid rgba(109,74,255,.08);
  box-shadow: 4px 0 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
  position: fixed;
  left: 0; top: 0; bottom: 0;
}

body:not(.no-sidebar-layout) #app-root {
  margin-left: 260px;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 260px);
  overflow-y: auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.hg-sidebar-brand {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(109,74,255,.08);
  background: linear-gradient(180deg, rgba(109,74,255,0.05), transparent);
  flex-shrink: 0;
}

.hg-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 10px;
  scrollbar-width: none;
}
.hg-sidebar-scroll::-webkit-scrollbar { display: none; }

.hg-sidebar-footer {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Nav Section */
.hg-nav-section {
  margin-bottom: 6px;
}

/* Nav Item */
.hg-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
  margin-bottom: 2px;
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
}
.hg-nav-item i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 17px;
  flex-shrink: 0;
  background: color-mix(in srgb, currentColor 10%, rgba(255,255,255,.02));
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  box-shadow: 0 2px 8px color-mix(in srgb, currentColor 6%, transparent);
  transition: all .25s ease;
}
.hg-nav-item span { flex: 1; min-width: 0; }
.hg-nav-item:hover {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
}
.hg-nav-item:hover i {
  background: color-mix(in srgb, currentColor 16%, rgba(255,255,255,.04));
  border-color: color-mix(in srgb, currentColor 16%, transparent);
  transform: scale(1.06);
}
.hg-nav-item.active {
  background: linear-gradient(135deg, rgba(109,74,255,.14), rgba(109,74,255,.05));
  border-color: rgba(109,74,255,.25);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(109,74,255,.15);
}
.hg-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 20px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #8a6dff, #6D4AFF);
  box-shadow: 0 0 12px rgba(109,74,255,.6);
}
.hg-nav-item.active i {
  color: #8a6dff !important;
  background: rgba(109,74,255,.18);
  border-color: rgba(109,74,255,.3);
  box-shadow: 0 2px 16px rgba(109,74,255,.25);
}

/* Collapsible Group */
.hg-nav-group {
  margin-bottom: 6px;
  background: linear-gradient(160deg, rgba(109,74,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
  overflow: hidden;
}
.hg-nav-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  font-weight: 600;
  transition: .2s;
  user-select: none;
}
.hg-nav-group-header:hover { color: rgba(255,255,255,.75); }
.hg-nav-group-header i:first-child {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  flex-shrink: 0;
  background: color-mix(in srgb, currentColor 10%, rgba(255,255,255,.02));
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.hg-nav-group-header span { flex: 1; }
.hg-chevron {
  font-size: 13px;
  color: rgba(255,255,255,.2);
  transition: transform .3s ease;
}
.hg-nav-group.open .hg-chevron {
  transform: rotate(180deg);
  color: #8a6dff;
}
.hg-nav-group-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.22,1,.36,1);
}
.hg-nav-group.open .hg-nav-group-body {
  max-height: 1200px;
}
.hg-nav-group-body .hg-nav-item {
  padding-left: 16px;
}
.hg-nav-group-body .hg-nav-item i {
  width: 28px; height: 28px;
  font-size: 15px;
}

/* Badges */
.hg-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  font-style: normal;
  letter-spacing: .3px;
  flex-shrink: 0;
}
.hg-badge-hot { background: linear-gradient(135deg, #FF453A, #FF9F0A); color: #fff; }
.hg-badge-new { background: rgba(109,74,255,.14); color: #8a6dff; border: 1px solid rgba(109,74,255,.25); }
.hg-badge-pro { background: rgba(50,215,75,.12); color: #32D74B; border: 1px solid rgba(50,215,75,.2); }
.hg-badge-free { background: rgba(212,175,55,.12); color: #F3D27E; border: 1px solid rgba(212,175,55,.2); }
.hg-badge-vip { background: rgba(191,90,242,.12); color: #BF5AF2; border: 1px solid rgba(191,90,242,.2); }

/* Logout */
.hg-logout-btn { color: rgba(255,69,58,.6) !important; }
.hg-logout-btn:hover { background: rgba(255,69,58,.06) !important; color: #FF453A !important; }

/* Mobile */
.hg-mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: calc(56px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  background: rgba(12,12,15,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 200;
  align-items: center;
  justify-content: space-between;
}
.hg-hamburger {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.hg-sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99;
  backdrop-filter: blur(4px);
}
.hg-sidebar-overlay.active { display: block; }

@media (max-width: 768px) {
  .hg-mobile-header { display: flex; }
  body:not(.no-sidebar-layout) { padding-top: calc(56px + env(safe-area-inset-top)); }
  body:not(.no-sidebar-layout) #app-root {
    margin-left: 0;
    max-width: 100%;
    padding-top: 0;
  }
  .hg-sidebar {
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    width: min(82vw, 300px);
    z-index: 300;
    box-shadow: none;
  }
  .hg-sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 30px rgba(0,0,0,.6);
  }
}
