/* Frontend shell only. Backoffice retains its AdminLTE sidebar. */
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .wrapper>div:has(>.content-page) {padding-top:0!important}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body {--shop-desktop-page-scale:1;--cg-page-inset:max(clamp(28px,5vw,96px),calc((100vw - 1680px)/2))}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .wrapper {background:transparent;min-width:0}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .content-page {margin-left:0!important;margin-top:0!important;padding:calc(var(--cg-nav-height,76px) + 30px) var(--cg-page-inset) 24px!important;background:transparent;min-width:0}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .content-page>.container-fluid {padding-left:0;padding-right:0;max-width:none}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar {left:var(--cg-page-inset)!important;right:var(--cg-page-inset)!important;top:14px;width:auto!important;min-height:0;padding:0 18px!important;border:1px solid var(--cg-glass-line);border-radius:var(--cg-radius);background:var(--cg-glass)!important;box-shadow:0 3px 16px rgba(48,70,115,.045);backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar .navbar {min-height:70px;gap:16px}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-brand {display:inline-flex;flex:0 0 auto;align-items:center;width:156px;min-width:0}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-brand img {width:100%;max-height:48px;object-fit:contain}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-desktop-menu {display:flex;gap:5px;align-items:center;flex:1;min-width:0}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group {position:relative;flex:0 0 auto}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-direct {display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;padding:10px 9px;border-radius:11px;color:var(--cg-text);font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;white-space:nowrap}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-direct i {display:inline-block;flex:0 0 16px;width:16px;margin:0;font-size:15px;line-height:1;text-align:center;color:var(--cg-blue)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-direct:hover,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-direct[aria-current] {background:var(--cg-blue-soft);color:var(--cg-blue)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-direct:focus-visible,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group summary:focus-visible {outline:2px solid var(--cg-blue);outline-offset:2px}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group summary {list-style:none;display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:11px;color:var(--cg-text);font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group summary::-webkit-details-marker {display:none}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group summary i {font-size:10px}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group[open] summary,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group summary:hover {background:var(--cg-blue-soft);color:var(--cg-blue)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-dropdown {position:absolute;top:calc(100% + 10px);left:0;min-width:205px;max-width:280px;max-height:70vh;overflow:auto;padding:7px;border-radius:18px;background:var(--cg-surface);border:1px solid var(--cg-line);box-shadow:0 16px 44px rgba(21,36,64,.14)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-dropdown a {display:flex;gap:10px;align-items:center;color:var(--cg-text);padding:11px 12px;border-radius:11px;font-size:13px;line-height:1.4;text-decoration:none}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-dropdown a i {font-size:15px;width:18px;margin:0;flex:0 0 18px;color:var(--cg-muted)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-dropdown a:hover,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-dropdown a[aria-current] {color:var(--cg-blue);background:var(--cg-blue-soft)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-actions {gap:8px;flex:0 1 auto;margin-left:auto}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-control,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .site-language-switcher .gt_float_switcher {background:var(--cg-surface);color:var(--cg-text);border:1px solid var(--cg-line);box-shadow:none;border-radius:12px}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-control {height:38px;min-height:38px;font-size:12px}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-theme {transform:scale(.9);transform-origin:center}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-user .user-name {color:var(--cg-text);font-size:13px;max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-user .dropdown-menu {background:var(--cg-surface);color:var(--cg-text);border:1px solid var(--cg-line);border-radius:20px;box-shadow:0 16px 44px rgba(21,36,64,.14)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-user .dropdown-item,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-user .dropdown-item a {color:var(--cg-text)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-footer {margin-left:0!important;width:100%!important;left:0!important;border-top:1px solid var(--cg-line);background:transparent!important;color:var(--cg-muted);padding:18px var(--cg-page-inset);font-size:12px}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar {background:var(--cg-surface)!important;color:var(--cg-text);box-shadow:var(--cg-shadow)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar .iq-sidebar-logo {border-bottom:1px solid var(--cg-line);background:var(--cg-soft)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar-menu .side-menu li a {color:var(--cg-text)!important;font-size:14px;min-height:44px;border-radius:12px;margin:2px 10px;padding:10px 14px}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar-menu .side-menu li a:hover,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar-menu .side-menu li.active>a {color:var(--cg-blue)!important;background:var(--cg-blue-soft)!important}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar-menu .side-menu .ceo-menu-icon {width:20px;font-size:16px;color:inherit}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar .side-menu>li>span {color:var(--cg-muted)}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar .side-menu .small span[style] {color:var(--cg-blue)!important}
html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar .text-light {color:var(--cg-text)!important}
@media(min-width:992px) {
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar {display:none!important}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-leading {display:none!important}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body {zoom:1}
}
@media(min-width:992px) and (max-width:1199px) {
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-brand {width:128px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar .navbar {gap:9px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group summary {padding:10px 8px;font-size:12px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-direct {padding:10px 6px;font-size:12px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-control-label,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-user .user-name {display:none}
}
@media(max-width:991.98px) {
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-desktop-menu {display:none}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-brand {width:125px;order:1}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-leading {order:0}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-actions {order:2}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar .navbar {gap:10px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-sidebar {z-index:1200}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar .wrapper-menu {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;border:1px solid var(--cg-line);background:var(--cg-surface);color:var(--cg-text)!important;border-radius:12px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar .wrapper-menu i {margin:0!important;font-size:18px;line-height:1}
}
@media(max-width:640px) {
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar {top:10px;left:12px!important;right:12px!important;padding:0 10px!important}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar .navbar {min-height:62px;gap:5px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .content-page {padding:calc(var(--cg-nav-height,64px) + 26px) 12px 20px!important}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .content-page>.container-fluid>.row {margin-left:-10px;margin-right:-10px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .content-page>.container-fluid>.row>[class*="col-"] {padding-left:10px;padding-right:10px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-brand {width:94px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-actions {gap:4px}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-user .user-name,html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-control-label {display:none}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-footer {padding:16px 12px}
}
@media(max-width:440px) {
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-brand {display:none}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-control {width:36px;padding:0}
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .top-nav-avatar-wrap img {width:32px;height:32px}
}
@supports not (backdrop-filter:blur(1px)) {html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar {background:var(--cg-surface)!important}}
@media(prefers-reduced-transparency:reduce) {html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .iq-top-navbar {backdrop-filter:none;-webkit-backdrop-filter:none}}

html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body .cg-nav-group summary .cg-more-icon {font-size:14px;width:16px;text-align:center;color:var(--cg-blue)}

/* 桌面左右留白与参考站一致。以后只需修改下面的 24px，数值越大留白越宽。 */
@media(min-width:1200px) {
 html.ceo-glass[data-cg-surface="client"]:not([data-cg-navigation="sidebar"]) body {
  --cg-desktop-gutter:24px;
  --cg-page-inset:calc(5vw + var(--cg-desktop-gutter));
 }
}

/* Top navigation theme */
html.ceo-glass[data-cg-navigation="top"] body:has(.cg-topbar-ready) {
    --cg-page-inset: max(clamp(16px, 7.25vw, 132px), calc((100vw - 1440px) / 2));
    background-color: var(--cg-bg);
    background-image: none;
}

html.ceo-glass[data-cg-navigation="top"] body .iq-top-navbar.cg-topbar-ready {
    inset: 0 0 auto !important;
    padding: 0 var(--cg-page-inset) !important;
    border: 0;
    border-bottom: 1px solid var(--cg-line);
    border-radius: 0;
    background: var(--cg-surface) !important;
    box-shadow: var(--cg-shadow);
    backdrop-filter: none;
}

html.ceo-glass[data-cg-navigation="top"] body .content-page {
    padding-top: calc(var(--cg-nav-height, 96px) + 19px) !important;
}

.cg-topbar-ready .cg-utility-bar {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 30px;
    gap: 10px;
    color: #ecf5ff;
    font-size: 12px;
}

.cg-topbar-ready .cg-utility-bar::before {
    position: absolute;
    inset: 0 calc(0px - var(--cg-page-inset));
    z-index: -1;
    background: #163f6c;
    content: "";
}

html.cg-dark .cg-topbar-ready .cg-utility-bar::before,
body.dark .cg-topbar-ready .cg-utility-bar::before {
    background: #1b3350;
}

.cg-topbar-ready .cg-utility-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    margin-left: auto;
}

.cg-topbar-ready .cg-utility-bar a.cg-utility-support,
.cg-topbar-ready .cg-utility-actions > a {
    color: inherit;
    white-space: nowrap;
}

.cg-topbar-ready .cg-utility-support i {
    margin-right: 6px;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-utility-actions .cg-more-menu summary {
    padding: 3px 2px;
    color: inherit;
    font-size: inherit;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-utility-actions .cg-more-menu summary:hover {
    background: rgba(255, 255, 255, .12);
}

.cg-topbar-ready .cg-more-menu .cg-nav-dropdown {
    left: auto;
    right: 0;
    top: calc(100% + 5px);
}

.cg-topbar-ready .cg-utility-actions .site-language-switcher {
    min-height: 0;
}

.cg-topbar-ready .cg-utility-actions .gt_float_switcher {
    height: 24px !important;
    border: 1px solid rgba(255, 255, 255, .24) !important;
    border-radius: 5px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cg-topbar-ready .cg-utility-actions .gt_float_switcher .gt-selected .gt-current-lang {
    min-width: 0;
    padding: 1px 6px !important;
    color: #f4f8ff !important;
    background: transparent !important;
}

.cg-topbar-ready .cg-utility-actions .gt_float_switcher img {
    width: 16px !important;
}

.cg-topbar-ready .cg-utility-actions .gt_float_switcher .gt_options {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    right: 0 !important;
    left: auto !important;
    background: var(--cg-surface) !important;
    border-color: var(--cg-line);
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .navbar {
    position: relative;
    gap: 12px;
    min-height: 64px;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .cg-brand {
    width: clamp(102px, 10vw, 156px);
}

.cg-topbar-ready .cg-main-nav {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    padding: 3px 5px;
    border: 1px solid var(--cg-line);
    border-radius: 12px;
    background: var(--cg-soft);
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .cg-desktop-menu {
    flex: 0 1 auto;
    gap: 2px;
}

.cg-topbar-ready .cg-desktop-menu > a {
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--cg-text);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.cg-topbar-ready .cg-desktop-menu > a[aria-current],
.cg-topbar-ready .cg-desktop-menu > a:hover,
.cg-topbar-ready .cg-desktop-menu summary.is-current {
    color: var(--cg-blue);
    background: var(--cg-blue-soft);
    text-decoration: none;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .cg-category-menu {
    position: static;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .cg-category-menu .cg-nav-dropdown {
    z-index: 2;
    top: calc(100% + 7px);
    inset-inline: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    align-items: start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: min(67vh, 575px);
    padding: 14px;
    border-radius: 12px;
}

.cg-topbar-ready .cg-platform-group {
    min-width: 0;
    align-self: stretch;
    padding: 8px;
    border: 1px solid var(--cg-line);
    border-radius: 9px;
}

.cg-topbar-ready .cg-platform-group h2 {
    margin: 2px 0 5px;
    padding: 3px 7px;
    color: var(--cg-blue);
    font-size: 14px;
    font-weight: 750;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .cg-platform-group a {
    gap: 7px;
    min-height: 34px;
    padding: 6px 7px;
    overflow-wrap: anywhere;
}

.cg-topbar-ready .cg-platform-group img {
    flex: none;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cg-topbar-ready .cg-catalog-search {
    display: flex;
    flex: 1 1 160px;
    align-items: center;
    min-width: 112px;
    min-height: 36px;
    margin: 0;
    padding: 0 2px 0 11px;
    border: 1px solid var(--cg-line);
    border-radius: 7px;
    background: var(--cg-surface);
}

.cg-topbar-ready .cg-catalog-search:focus-within {
    border-color: var(--cg-blue);
    box-shadow: 0 0 0 2px var(--cg-field-ring);
}

.cg-topbar-ready .cg-catalog-search input {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    color: var(--cg-text);
    font-size: 14px;
}

.cg-topbar-ready .cg-catalog-search input::placeholder {
    color: var(--cg-muted);
    opacity: 1;
}

.cg-topbar-ready .cg-catalog-search button,
.cg-topbar-ready .cg-mobile-search-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--cg-blue);
    cursor: pointer;
}

.cg-topbar-ready .cg-catalog-search button:hover,
.cg-topbar-ready .cg-mobile-search-toggle:hover {
    background: var(--cg-blue-soft);
}

.cg-topbar-ready .cg-mobile-search-toggle,
.cg-mobile-rail {
    display: none;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .top-nav-user > a {
    display: inline-flex;
    align-items: center;
}

.cg-topbar-ready .cg-account-label {
    display: grid;
    align-items: center;
    gap: 1px;
    padding: 1px 3px 1px 8px;
    line-height: 1.1;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-account-label .user-name {
    margin-left: 0 !important;
}

.cg-topbar-ready .cg-account-balance {
    color: var(--cg-positive);
    font-size: 11px;
    white-space: nowrap;
}

html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .top-nav-cart-label {
    display: none;
}

@media (min-width: 992px) {
    html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready #fastRechargeBtn {
        display: none;
    }
}

@media (max-width: 991.98px) {
    html.ceo-glass[data-cg-navigation="top"] body:has(.cg-topbar-ready) {
        --cg-page-inset: 14px;
    }

    html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .navbar {
        min-height: 57px;
        gap: 7px;
    }

    html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .cg-brand {
        display: inline-flex;
        order: 1;
        width: clamp(62px,20vw,125px);
    }

    html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .cg-desktop-menu {
        display: none;
    }

    .cg-topbar-ready .cg-main-nav {
        position: static;
        justify-content: flex-end;
        order: 2;
        gap: 5px;
        padding: 3px 0;
        border: 0;
        background: transparent;
    }

    .cg-topbar-ready .cg-catalog-search {
        position: absolute;
        inset: calc(100% + 5px) 0 auto;
        z-index: 2;
        display: none;
        min-height: 42px;
        box-shadow: var(--cg-shadow);
    }

    .cg-topbar-ready .cg-search-open .cg-catalog-search,
    .cg-topbar-ready .cg-mobile-search-toggle {
        display: flex;
    }

    .cg-topbar-ready .cg-mobile-search-toggle {
        align-items: center;
        justify-content: center;
        background: var(--cg-soft);
    }

    html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready .top-nav-actions {
        flex: 0 0 auto;
        gap: 5px;
        margin-left: 0;
    }

    .cg-topbar-ready .cg-utility-bar a.cg-utility-support {
        font-size: 11px;
    }

    .cg-topbar-ready .cg-utility-actions {
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    html.ceo-glass[data-cg-navigation="top"] body .cg-topbar-ready #fastRechargeBtn {
        display: none;
    }

    html.ceo-glass[data-cg-navigation="top"] body:has(.cg-mobile-rail) {
        --cg-rail-height: calc(54px + env(safe-area-inset-bottom, 0px));
        padding-bottom: var(--cg-rail-height);
    }

    html.ceo-glass[data-cg-navigation="top"] body .cg-mobile-rail {
        position: fixed;
        inset: auto 0 0;
        z-index: 970;
        display: flex;
        justify-content: space-around;
        gap: 2px;
        min-height: var(--cg-rail-height);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        border-top: 1px solid var(--cg-line);
        background: var(--cg-surface);
        box-shadow: 0 -4px 16px rgba(20,43,71,.08);
    }

    .cg-mobile-rail a {
        display: grid;
        flex: 1;
        align-content: center;
        justify-items: center;
        gap: 3px;
        min-width: 0;
        color: var(--cg-muted);
        font-size: 11px;
        line-height: 1.1;
    }

    .cg-mobile-rail a[aria-current],
    .cg-mobile-rail a:hover {
        color: var(--cg-blue);
        text-decoration: none;
    }

    .cg-mobile-rail a i {
        font-size: 16px;
    }

    html.ceo-glass[data-cg-navigation="top"] body:has(.cg-mobile-rail) .main-floating-actions {
        margin-bottom: var(--cg-rail-height);
    }
}

@media (max-width: 640px) {
    .cg-topbar-ready .cg-account-label {
        padding-inline: 4px 0;
    }

    .cg-topbar-ready .cg-account-balance {
        font-size: 10px;
    }

    html.ceo-glass[data-cg-navigation="top"] body .content-page {
        padding: calc(var(--cg-nav-height, 90px) + 13px) var(--cg-page-inset) 20px !important;
    }

    .cg-topbar-ready .cg-utility-bar {
        gap: 5px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .cg-topbar-ready .cg-account-label {
        display: none;
    }
}

/* Compact storefront homepage, shown only with the updated top shell. */
html.ceo-glass[data-cg-navigation="top"] body:has(.cg-topbar-ready)
.cg-storefront-home .col-lg-12.mt-3:has(#pills-tab-1) {
    margin-top: 0 !important;
}

html.ceo-glass[data-cg-navigation="top"] body:has(.cg-topbar-ready) .cg-home-legacy-search {
    display: none;
}

.cg-storefront-home .cg-compact-announcement {
    padding: 0 !important;
    margin-bottom: 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--cg-surface) !important;
    box-shadow: var(--cg-shadow) !important;
}

.cg-storefront-home .cg-home-announcement {
    padding: clamp(13px, 1.55vw, 22px);
    border: 1px solid var(--cg-line);
    border-inline-start: 3px solid var(--cg-primary-fill);
    border-radius: 12px;
    color: var(--cg-text);
    text-align: start;
}

.cg-home-announcement .cg-announcement-label {
    display: inline-block;
    margin-bottom: 7px;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--cg-blue-soft);
    color: var(--cg-blue);
    font-size: 12px;
    font-weight: 700;
}

.cg-home-announcement h3 {
    margin: 0 0 4px;
    color: var(--cg-text);
    font-size: clamp(17px, 1.4vw, 24px);
    line-height: 1.35;
    text-align: start;
}

.cg-home-announcement h3 :is(strong,span) {
    font-size: inherit !important;
    line-height: inherit !important;
}

.cg-announcement-description {
    color: var(--cg-muted);
    font-size: 13px;
}

.cg-home-announcement .cg-announcement-notes {
    display: grid;
    gap: 3px;
    margin: 10px 0;
    padding: 9px 11px 9px 29px;
    border-radius: 8px;
    background: var(--cg-soft);
    color: var(--cg-text);
    font-size: 13px;
    line-height: 1.55;
}

.cg-announcement-notes li::marker {
    color: var(--cg-blue);
}

.cg-home-announcement .cg-announcement-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 7px;
}

.cg-announcement-links a {
    display: grid;
    min-height: 34px;
    place-items: center;
    padding: 4px 8px;
    border: 1px solid var(--cg-line);
    border-radius: 7px;
    color: var(--cg-blue);
    font-size: 13px;
    font-weight: 700;
}

.cg-announcement-links a:hover {
    background: var(--cg-blue-soft);
    text-decoration: none;
}

html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home :is(#showProduct,#pills-tab-1) {
    scroll-margin-top: calc(var(--cg-nav-height, 96px) + 10px);
}

html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs {
    justify-content: flex-start;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--cg-line);
    border-radius: 12px;
    background: var(--cg-surface);
}

html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs .nav-item {
    flex: 0 1 auto;
}

html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs .nav-link {
    gap: 6px;
    min-height: 35px;
    padding: 5px 9px !important;
    border: 1px solid var(--cg-line);
    border-radius: 7px;
    background: var(--cg-soft);
    color: var(--cg-text);
    font-size: 13px;
}

html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs .nav-link.active {
    border-color: var(--cg-blue);
    background: var(--cg-blue-soft);
    color: var(--cg-blue);
}

html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs .nav-link img {
    width: 19px;
    height: 19px;
}

.cg-storefront-home #showProduct .cg-catalog-group {
    overflow: hidden;
    margin-top: 11px !important;
    border: 1px solid var(--cg-line);
    border-radius: 12px;
    background: var(--cg-surface);
    box-shadow: var(--cg-shadow);
}

.cg-storefront-home .cg-catalog-title {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 9px 12px;
    border-bottom: 1px solid var(--cg-line);
    background: var(--cg-blue-soft);
    color: var(--cg-text);
    font-size: 15px;
    font-weight: 750;
}

.cg-catalog-title img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.cg-storefront-home .cg-catalog-group .table-responsive {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cg-storefront-home .cg-catalog-group .table-color-heading {
    background: var(--cg-soft) !important;
}

.cg-storefront-home .cg-catalog-group .table-color-heading th {
    padding: 7px 12px !important;
    background: var(--cg-soft) !important;
    color: var(--cg-muted) !important;
    font-size: 12px;
    font-weight: 600;
}

.cg-storefront-home .cg-catalog-group .cg-catalog-extra {
    display: none !important;
}

.cg-storefront-home .cg-catalog-more {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-top: 1px solid var(--cg-line);
    background: var(--cg-surface);
    color: var(--cg-blue);
    font-weight: 650;
}

.cg-storefront-home .cg-catalog-more:hover {
    background: var(--cg-blue-soft);
}

@media (max-width: 640px) {
    .cg-home-announcement .cg-announcement-notes {
        gap: 2px;
        margin-block: 7px;
        padding-block: 7px;
        font-size: 12px;
        line-height: 1.43;
    }

    .cg-home-announcement .cg-announcement-description {
        font-size: 12px;
    }

    .cg-home-announcement .cg-announcement-links {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs {
        gap: 5px;
        padding: 8px;
    }

    html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs .nav-item {
        flex: 1 1 auto;
    }

    html.ceo-glass[data-cg-navigation="top"] .cg-storefront-home #pills-tab-1.shop-account-category-tabs .nav-link {
        min-height: 40px;
        font-size: 12px;
    }
}
