.commodity-code-line{
    margin-top: 4px;
    font-size: 13px;
    color: #666;          /* “商品ID：”文字颜色 */
    line-height: 1.8;
}

.commodity-code-value{
    color: #a1602f;       /* 商品ID动态值颜色 */
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.2px;
}

.copy-id-btn{
    display: inline-block;
    margin-left: 6px;
    color: #4c6fff;       /* 复制按钮颜色 */
    cursor: pointer;
    font-size: 12px;
}

.copy-id-btn:hover{
    color: #2563eb;
}

.after-sale-inline{
    position: relative;
    display: inline-block;
    margin-left: 6px;
    color: #888;
    font-size: 12px;
}

.after-sale-hover-area{
    cursor: help;
}

.after-sale-hours{
    color: #ff5aa5;
    font-weight: 600;
}

.after-sale-tooltip{
    position: absolute;
    left: 50%;
    bottom: calc(100% + 16px);
    min-width: 220px;
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(35,35,40,.96);
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-18%) translateY(6px);
    transition: all .18s ease;
    z-index: 30;
    white-space: normal;
}

.after-sale-hover-area:hover .after-sale-tooltip{
    opacity: 1;
    visibility: visible;
    transform: translateX(-18%) translateY(0);
}

.after-sale-tooltip-hours{
    color: #ff8fb8;
    font-weight: 600;
}

.after-sale-tooltip-danger{
    color: #ff5a5f !important;
    font-weight: 700;
}

.layui-layer-tips .layui-layer-TipsG,
.layui-layer-tips .layui-layer-tipG{
    display: none !important;
}

.open-commodity .general{
    color: #666;
    line-height: 1.9;
}

.open-commodity .commodity_id{
    color: #a1602f;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2px;
}

.open-commodity .after_sale_row{
    color: #666;
    margin-top: 2px;
}

.open-commodity .after_sale_time_value{
    color: #ff5aa5;
    font-weight: 600;
}

/* 弹窗内：商品ID与售后时效颜色 */
.open-commodity .general{
    color: #666;
}

.open-commodity .commodity_id{
    color: #a1602f;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.2px;
}

.open-commodity .after_sale_row{
    position: relative;
    display: none;
    color: #666;
    cursor: help;
}

.open-commodity .after_sale_time_value{
    color: #ff5aa5;
    font-weight: 600;
}

/* 黑色悬浮提示框 */
.open-commodity .after_sale_popup_tip{
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    min-width: 220px;
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(35,35,40,.96);
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .18s ease;
    z-index: 50;
    white-space: normal;
    pointer-events: none;
}

/* hover 显示 */
.open-commodity .after_sale_row:hover .after_sale_popup_tip{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.open-commodity .after_sale_popup_tip_hours{
    color: #ff8fb8;
    font-weight: 600;
}

.open-commodity .after_sale_popup_tip_danger{
    color: #ff5a5f;
    font-weight: 700;
}
/*搜索商品CSS*/
.search-card{
    border-radius: 14px;
    overflow: hidden;
}

.search-card .card-block{
    padding: 16px 20px;
}

.search-inline-wrap{
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 46px;
}

.search-inline-title{
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #666;
    font-size: 15px;
    line-height: 1;
    margin: 0;
    min-width: 95px;
}

.search-inline-title i{
    color: #888;
    font-size: 14px;
}

.search-inline-group{
    flex: 1;
    margin-bottom: 0;
}

.search-inline-group .form-control{
    height: 42px;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    box-shadow: none;
}

.search-inline-group .input-group-append .btn{
    height: 42px;
    padding: 0 18px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-inline-group .form-control:focus{
    box-shadow: none;
    border-color: #28a745;
}

@media (max-width: 768px){
    .search-inline-wrap{
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-inline-title{
        min-width: auto;
    }

    .search-card .card-block{
        padding: 14px 15px;
    }
}
/*结束*/


.toka-navbar-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
}

.toka-brand{
    margin-right: 20px;
}

.toka-brand-link{
    display:flex;
    align-items:center;
    text-decoration:none !important;
}

.toka-brand-name{
    position: relative;
    top: 1px;
    left: 8px;
    font-weight: bold;
    color: #1396558a;
    font-size: 16px;
    line-height: 1;
}

.toka-nav-right{
    display:flex;
    align-items:center;
    gap: 6px;
    flex-wrap:wrap;
}

.toka-nav-right .nav-link{
    font-weight:bolder;
    color:#6c757d !important;
    display:flex;
    align-items:center;
    padding: 8px 10px;
}

.toka-nav-right .nav-link i{
    margin-right: 5px;
}

.toka-user-link{
    display:flex !important;
    align-items:center;
    gap:8px;
    padding-left: 12px;
    padding-right: 12px;
}

.toka-user-avatar{
    width:28px;
    height:28px;
    border-radius:50%;
    object-fit:cover;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.toka-user-name{
    color:#63c7a2;
    font-weight:700;
    line-height:1;
}

.toka-user-balance{
    color:#7be7bf;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
}

@media (max-width: 768px){
    .toka-navbar-wrap{
        flex-direction:column;
        align-items:flex-start;
    }

    .toka-brand{
        margin-right:0;
        margin-bottom:8px;
    }

    .toka-nav-right{
        width:100%;
        gap:2px;
    }

    .toka-nav-right .nav-link{
        padding:6px 8px;
        font-size:14px;
    }

    .toka-user-link{
        padding-left:8px;
        padding-right:8px;
    }
}

/* 先把公告内容可能存在的分栏关掉 */
.notice-content-html{
    line-height: 1.9;
    word-break: break-word;
    columns: initial !important;
    column-count: auto !important;
    column-gap: 0 !important;
}

.notice-content-html p{
    margin-top: 0;
    margin-bottom: 6px;
}

.notice-content-html a{
    text-decoration: none;
}

/* 按钮区域 */
.notice-link-grid{
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    columns: initial !important;
    column-count: auto !important;
    column-gap: 0 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 4px !important;
    align-items: stretch !important;
}

/* 防止后台自动插入 br 占位 */
.notice-link-grid br{
    display: none !important;
}

.notice-link-grid > a{
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
    page-break-inside: avoid !important;
}

.notice-link-btn{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    box-sizing: border-box;
    transition: all .2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    white-space: nowrap;
}

.notice-link-btn i{
    margin-right: 6px;
    font-size: 14px;
}

.notice-link-btn:hover{
    transform: translateY(-1px);
    opacity: .94;
    color: #fff !important;
}

.c-blue{ background: linear-gradient(90deg,#2f8fe7,#2f7fda); }
.c-purple{ background: linear-gradient(90deg,#6673d0,#5865c8); }
.c-green{ background: linear-gradient(90deg,#10c94f,#08c347); }
.c-cyan{ background: linear-gradient(90deg,#1bb8cf,#0fa8c3); }
.c-orange{ background: linear-gradient(90deg,#ff9d00,#fb8c00); }
.c-orange-red{ background: linear-gradient(90deg,#ff6420,#ff5617); }
.c-pink{ background: linear-gradient(90deg,#eb1869,#d91562); }
.c-sky{ background: linear-gradient(90deg,#35c6df,#29b7d2); }
.c-violet{ background: linear-gradient(90deg,#8a64d6,#7a56cb); }
.c-yellow{ background: linear-gradient(90deg,#f8c232,#f2b826); }
.c-teal{ background: linear-gradient(90deg,#0f9c92,#0b8f86); }
.c-dark{ background: linear-gradient(90deg,#33425d,#0f1933); }

@media (max-width: 768px){
    .notice-link-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 4px !important;
    }
}

@media (max-width: 576px){
    .notice-link-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 4px !important;
    }

    .notice-link-btn{
        min-height: 36px;
        padding: 9px 10px;
        font-size: 14px;
    }

    .notice-link-btn i{
        margin-right: 5px;
        font-size: 13px;
    }
}

.notice-content-html{
    line-height: 1.9;
    word-break: break-word;
}

.notice-content-html p{
    margin-bottom: 10px;
}

.notice-content-html a{
    text-decoration: none;
}
/*公告CSS结束*/
/* ===== 首页回归 Toka 骨架 ===== */
#type,
.category-items{
    display: block !important;
}

#type > *,
.category-items > *{
    width: 100% !important;
    margin: 0 !important;
}

#product,
.shop-list,
.hc-product-list{
    display: block !important;
    width: 100% !important;
}

.shop-content{
    position: relative;
}

.category-list{
    padding: 0 !important;
}

.category-list .layui-table{
    margin: 0 !important;
    background: transparent !important;
}

#hc-product-guide{
    display: none !important;
}

/* ===== 全屏购买层 ===== */

.hc-buy-full-layer{
    border-radius: 0 !important;
    box-shadow: none !important;
    background: rgba(255,248,252,.96) !important;
}

.hc-buy-full-layer .layui-layer-content{
    width: 100% !important;
    height: 100% !important;
    overflow-y: auto !important;
    background: rgba(255,248,252,.94) !important;
}

.hc-buy-full-layer .layui-layer-setwin{
    top: 16px !important;
    right: 18px !important;
}

.hc-buy-full-layer .layui-layer-close1{
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background-color: rgba(255,255,255,.96) !important;
    background-position: center center !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.hc-buy-layer-content{
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 14px 24px;
    background: transparent !important;
}

.hc-buy-layer-inner{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.hc-buy-layer-content .card{
    border: 1px solid rgba(255,184,222,.20);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 42px rgba(41,41,72,.08);
    overflow:hidden;
}

.hc-buy-layer-content .card-header{
    background: linear-gradient(180deg,#ffffff 0%,#fff8fc 100%);
    border-bottom: 1px solid rgba(255,170,220,.18);
    padding: 16px 20px 14px;
}

.hc-buy-layer-content .card-title{
    margin:0;
    font-size:16px;
    font-weight:800;
    color:#5a5563;
}

.hc-buy-layer-content .card-block,
.hc-buy-layer-content .commodity .card-block{
    padding: 22px !important;
}

body.hc-buy-layer-open{
    overflow:hidden;
}

@media (max-width:768px){
    .hc-buy-layer-content{
        padding: 10px 8px 16px;
    }

    .hc-buy-layer-content .card-block,
    .hc-buy-layer-content .commodity .card-block{
        padding: 16px !important;
    }
}

/* ================= Toka 头部导航迁移到 Haocang ================= */
.navbar { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.toka-navbar-wrap { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.toka-brand, .toka-brand-link { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.toka-brand-link { text-decoration:none !important; }
.toka-brand-name { position:relative; top:1px; font-weight:bold; color:#1396558a; }
.toka-nav-right { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.navbar-nav-pills { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.nav-pill, .nav-dropdown {
    display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px;
    border-radius:999px; text-decoration:none !important; font-size:15px; font-weight:700 !important;
    line-height:1; transition:all .22s ease; cursor:pointer; user-select:none; white-space:nowrap;
}
.nav-pill-glass, .nav-dropdown.nav-pill-glass {
    color:#5c6473 !important;
    background:linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,249,251,.72));
    border:1px solid rgba(255,255,255,.72);
    box-shadow:0 10px 24px rgba(31,41,55,.08), inset 0 1px 0 rgba(255,255,255,.95);
}
.nav-pill-glass:hover, .nav-pill-glass:focus, .nav-dropdown.nav-pill-glass:hover, .nav-dropdown.nav-pill-glass:focus {
    color:#4d5563 !important; text-decoration:none !important; transform:translateY(-1px);
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(250,250,252,.86));
    box-shadow:0 14px 28px rgba(31,41,55,.10), inset 0 1px 0 rgba(255,255,255,.98);
}
.nav-pill-accent {
    color:#fff !important; background:linear-gradient(180deg, #ff8f57 0%, #ff6428 100%);
    border:1px solid rgba(255,111,49,.24);
    box-shadow:0 12px 28px rgba(255,102,51,.22), inset 0 1px 0 rgba(255,255,255,.25);
}
.nav-pill-accent:hover, .nav-pill-accent:focus {
    color:#fff !important; text-decoration:none !important; transform:translateY(-1px);
    background:linear-gradient(180deg, #ff9a67 0%, #ff6428 100%);
    box-shadow:0 16px 30px rgba(255,102,51,.28), inset 0 1px 0 rgba(255,255,255,.30);
}
.nav-pill i:first-child, .nav-dropdown i:first-child { margin-right:7px; font-size:15px; }
.nav-pill-glass i:first-child, .nav-dropdown.nav-pill-glass i:first-child { color:#7f8aa3; }
.nav-pill-accent i:first-child { color:#fff; }
.nav-dropdown .fa-caret-down { margin-left:7px; margin-right:0; font-size:12px; }
.nav-pill-glass .fa-caret-down, .nav-dropdown.nav-pill-glass .fa-caret-down { color:#9aa4bb; }
.nav-dropdown { position:relative; }
.nav-dropdown-menu {
    display:none; position:absolute; top:calc(100% + 10px); left:0; min-width:220px; padding:8px 0;
    background:rgba(255,255,255,.96); border:1px solid rgba(255,255,255,.88); border-radius:16px;
    box-shadow:0 16px 34px rgba(31,41,55,.14), inset 0 1px 0 rgba(255,255,255,.98);
    z-index:9999; overflow:hidden; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
.nav-dropdown-menu a {
    display:block; padding:10px 16px; font-size:14px; color:#4f5766; text-decoration:none !important;
    white-space:nowrap; transition:all .16s ease;
}
.nav-dropdown-menu a i { width:18px; margin-right:7px; text-align:center; }
.nav-dropdown-menu a:hover { background:rgba(255,244,238,.92); color:#ff6e33; }
.nav-dropdown-menu .divider { height:1px; margin:6px 0; background:rgba(0,0,0,.06); }
.toka-user-link {
    display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border-radius:999px;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,250,251,.84));
    border:1px solid rgba(255,255,255,.74);
    box-shadow:0 10px 24px rgba(31,41,55,.08), inset 0 1px 0 rgba(255,255,255,.96);
    text-decoration:none !important;
}
.toka-user-avatar { width:28px; height:28px; border-radius:999px; object-fit:cover; }
.toka-user-name { color:#556070; font-weight:700; }
.toka-user-balance { color:#7be7bfd9; font-weight:700; }
.notice-fold-wrap { margin-bottom:12px; }
.notice-fold-body { display:block; }
.notice-card { margin-bottom:0 !important; }
.notice-expand-bar { display:none; justify-content:center; margin-top:10px; margin-bottom:12px; }
.notice-fold-wrap.is-collapsed .notice-expand-bar { display:flex; }
.notice-fold-toggle {
    display:inline-flex; align-items:center; justify-content:center; gap:6px; border:1px solid rgba(0,0,0,.06);
    background:rgba(255,255,255,.88); color:#1d1d1f; border-radius:14px; padding:10px 16px; font-size:14px;
    font-weight:600; cursor:pointer; outline:none; box-shadow:0 6px 18px rgba(0,0,0,.04);
    backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); transition:all .2s ease; min-width:180px;
}
.notice-fold-toggle:hover { transform:translateY(-1px); box-shadow:0 8px 20px rgba(0,0,0,.06); }
.notice-fold-toggle i { font-size:14px; }
@media (max-width: 992px) {
    .toka-navbar-wrap { align-items:flex-start; }
    .navbar-nav-pills, .toka-nav-right { width:100%; }
}
@media (max-width: 768px) {
    .navbar-nav-pills { gap:8px; }
    .nav-pill, .nav-dropdown, .toka-user-link { min-height:40px; padding:0 15px; font-size:14px; }
    .nav-dropdown-menu { min-width:190px; }
    .notice-expand-bar { margin-top:8px; }
    .notice-fold-toggle { width:100%; min-width:0; border-radius:14px; padding:10px 14px; font-size:14px; }
}
/* ===== 顶部导航：更紧凑，适配 100% / 80% 缩放 ===== */
#topbar .container,
.toka-navbar-wrap{
    width: 94vw !important;
    max-width: 1820px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

/* 左侧品牌区缩紧 */
.toka-brand,
.navbar-brand{
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-right: 6px !important;
}

.toka-brand-link,
.navbar-brand a{
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.toka-brand-name{
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px !important;
}

/* 右侧导航整体 */
.toka-nav-right{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

/* 按钮组进一步缩小 */
.navbar-nav-pills{
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
}

/* 所有胶囊按钮统一缩小 */
.nav-pill,
.nav-pill-glass,
.nav-pill-accent,
.toka-user-link{
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* 图标和箭头更紧凑 */
.nav-pill i,
.nav-pill-glass i,
.nav-pill-accent i,
.toka-user-link i{
    margin-right: 4px !important;
    font-size: 12px !important;
}

/* 下拉箭头别太占宽 */
.nav-dropdown .fa-caret-down{
    margin-left: 4px !important;
    margin-right: 0 !important;
    font-size: 11px !important;
}

/* 用户按钮进一步收口 */
.toka-user-link{
    padding-left: 8px !important;
    padding-right: 10px !important;
    gap: 4px !important;
}

.toka-user-avatar{
    width: 20px !important;
    height: 20px !important;
    margin-right: 4px !important;
}

.toka-user-name{
    margin-right: 2px !important;
    font-size: 13px !important;
}

.toka-user-balance{
    margin-left: 2px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

/* 语言按钮也缩一点 */
.language-change-box,
.language-box,
.language-switch{
    font-size: 13px !important;
}

/* 超宽屏还能再舒服点 */
@media (min-width: 1600px){
    #topbar .container,
    .toka-navbar-wrap{
        width: 95vw !important;
    }
}

/* 平板以下恢复允许自然换行 */
@media (max-width: 991px){
    #topbar .container,
    .toka-navbar-wrap{
        width: 100% !important;
        max-width: none !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }

    .toka-brand-name{
        max-width: 140px;
        font-size: 15px !important;
    }

    .toka-nav-right{
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .navbar-nav-pills{
        width: 100% !important;
        gap: 8px !important;
    }

    .nav-pill,
    .nav-pill-glass,
    .nav-pill-accent,
    .toka-user-link{
        height: 36px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }
}

/* ===== 顶部导航最终版：用户名余额合并左上角，右侧单行优先 ===== */
#topbar .container,
.toka-navbar-wrap{
    width: 95vw !important;
    max-width: 1860px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}
.toka-brand,
.navbar-brand{
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-right: 8px !important;
}
.toka-brand-link,
.navbar-brand a{
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
.toka-brand-name{
    max-width: 92px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1 !important;
    color:#63c7a2 !important;
    font-weight:700 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
}
.toka-brand-balance{
    color: #7be7bf !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    margin-left: 4px !important;
    line-height:1 !important;
}
.toka-nav-right{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    scrollbar-width: none;
}
.toka-nav-right::-webkit-scrollbar{ display:none; }
.navbar-nav-pills{
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
    min-width: max-content !important;
}
.nav-pill,
.nav-pill-glass,
.nav-pill-accent,
.nav-dropdown{
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}
.nav-pill i,
.nav-pill-glass i,
.nav-pill-accent i,
.nav-dropdown i{
    margin-right: 4px !important;
    font-size: 11px !important;
}
.nav-dropdown .fa-caret-down{
    margin-left: 3px !important;
    margin-right: 0 !important;
    font-size: 10px !important;
}
.nav-dropdown-menu{ min-width: 190px !important; }
@media (max-width: 991px){
    #topbar .container,
    .toka-navbar-wrap{
        width: 100% !important;
        max-width: none !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .toka-brand-name{ max-width: 120px !important; }
}


/* ===== Haocang 首页头部最终版：桌面端单行但更大气 ===== */
@media (min-width: 992px){
    #topbar{
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    #topbar .container,
    #topbar .container.toka-navbar-wrap,
    .toka-navbar-wrap{
        width: calc(100vw - 40px) !important;
        max-width: 1540px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .toka-brand,
    .navbar-brand{
        flex: 0 0 auto !important;
        min-width: 0 !important;
        margin-right: 8px !important;
    }

    .toka-brand-link,
    .navbar-brand a{
        gap: 7px !important;
    }

    .toka-brand-link img,
    .navbar-brand img{
        width: 30px !important;
        height: 30px !important;
    }

    .toka-brand-name{
        max-width: 110px !important;
        font-size: 15px !important;
        line-height: 1 !important;
    }

    .toka-brand-balance{
        margin-left: 4px !important;
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .toka-nav-right{
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        justify-content: flex-start !important;
    }

    .navbar-nav-pills{
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .nav-pill,
    .nav-pill-glass,
    .nav-pill-accent,
    .nav-dropdown{
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 14px !important;
        border-radius: 999px !important;
        font-size: 14px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
    }

    .nav-pill i,
    .nav-pill-glass i,
    .nav-pill-accent i,
    .nav-dropdown i{
        margin-right: 5px !important;
        font-size: 12px !important;
    }

    .nav-dropdown .fa-caret-down{
        margin-left: 4px !important;
        font-size: 10px !important;
    }

    .nav-pill-entry{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .nav-dropdown-menu{
        min-width: 210px !important;
    }

    .language-change-box,
    .language-box,
    .language-switch,
    .goog-te-gadget,
    .goog-te-combo{
        font-size: 13px !important;
    }
}

/* ===== 只保留教程栏里的公告开关，旧版顶部按钮全部隐藏 ===== */
#storeNoticeExpandBar,
.notice-expand-bar{
    display: none !important;
}


/* ===== Haocang 左侧商品分类：极简高级玻璃感（2026-04-07） ===== */
.hc-category-card{
    border: 1px solid rgba(255,255,255,.42) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.20) 100%) !important;
    box-shadow:
        0 18px 48px rgba(30, 55, 90, .10),
        inset 0 1px 0 rgba(255,255,255,.55) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.hc-category-card .card-header{
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,.26) !important;
    padding: 16px 18px 12px !important;
}

.hc-category-card .card-title{
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #566273 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
}

.hc-category-card .card-title i{
    color: #8ea0b8 !important;
    font-size: 13px !important;
}

.hc-category-card .category-list{
    padding: 12px !important;
    background: transparent !important;
}

.hc-category-card .layui-table{
    background: transparent !important;
}

.hc-category-card .category-items{
    display: block !important;
    max-height: 760px;
    overflow-y: auto;
    padding-right: 4px;
}

.hc-category-card .category-items::-webkit-scrollbar{
    width: 5px;
}

.hc-category-card .category-items::-webkit-scrollbar-thumb{
    border-radius: 999px;
    background: rgba(152,166,188,.28);
}

.hc-category-card .category-items .item,
.hc-category-card .category-items .item td{
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

.hc-category-card .category-items .item + .item{
    margin-top: 8px;
}

.hc-category-card td.category{
    cursor: pointer;
}

.hc-category-card .cat-pill{
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.50);
    background: linear-gradient(180deg, rgba(255,255,255,.56) 0%, rgba(255,255,255,.32) 100%);
    box-shadow:
        0 10px 24px rgba(35, 52, 80, .07),
        inset 0 1px 0 rgba(255,255,255,.60);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.hc-category-card .cat-pill:hover{
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.68);
    background: linear-gradient(180deg, rgba(255,255,255,.70) 0%, rgba(255,255,255,.40) 100%);
    box-shadow:
        0 14px 28px rgba(35, 52, 80, .11),
        inset 0 1px 0 rgba(255,255,255,.75);
}

.hc-category-card .cat-toggle-wrap{
    width: 14px;
    min-width: 14px;
    text-align: center;
    color: #8d99ad;
    font-size: 12px;
    font-weight: 700;
    opacity: .95;
}

.hc-category-card .cat-icon-wrap{
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: 1px solid rgba(255,255,255,.56);
    background: linear-gradient(180deg, rgba(255,255,255,.74) 0%, rgba(244,248,255,.55) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
    overflow: hidden;
}

.hc-category-card .cat-icon-wrap img{
    width: 19px;
    height: 19px;
    border-radius: 6px;
    object-fit: cover;
}

.hc-category-card .cat-icon-fallback{
    color: #8f9cb2;
    font-size: 13px;
}

.hc-category-card .cat-name{
    min-width: 0;
    flex: 1;
    color: #566273;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hc-category-card td.category.checked .cat-pill{
    border-color: rgba(255,255,255,.82);
    background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(241,248,255,.58));
    box-shadow:
        0 16px 30px rgba(33, 56, 90, .12),
        inset 0 1px 0 rgba(255,255,255,.90);
}

.hc-category-card td.category.checked .cat-pill::before{
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #73d0c5, #7da3ff);
}

.hc-category-card td.category.checked .cat-name{
    color: #3f4b5f;
}

.hc-category-card td.category.checked .cat-toggle-wrap,
.hc-category-card td.category.checked .cat-icon-fallback{
    color: #6e80a0;
}

@media (max-width: 991px){
    .hc-category-card .category-items{
        max-height: none;
    }
}

@media (max-width: 768px){
    .hc-category-card{
        border-radius: 20px !important;
    }

    .hc-category-card .card-header{
        padding: 14px 16px 10px !important;
    }

    .hc-category-card .category-list{
        padding: 10px !important;
    }

    .hc-category-card .cat-pill{
        min-height: 48px;
        border-radius: 14px;
        padding: 9px 11px;
    }

    .hc-category-card .cat-name{
        font-size: 13px;
    }
}

/* ===== Haocang 首页布局最终稳定版（2026-04-08 full-rebuild） ===== */
.hc-home-container{
    width: 85vw !important;
    max-width: 1680px !important;
}

.hc-home-cate-col{
    flex: 0 0 25.5% !important;
    max-width: 25.5% !important;
}

.hc-home-shop-col{
    flex: 0 0 74.5% !important;
    max-width: 74.5% !important;
}

.hc-category-card .category-list{
    padding: 12px 8px 12px 10px !important;
}

.hc-category-card .category-items{
    max-height: 860px;
    padding-right: 2px;
}

.hc-category-card .category-items::-webkit-scrollbar{
    width: 3px;
}

.hc-category-card .cat-pill{
    width: 100%;
    gap: 10px;
    padding: 10px 11px;
}

.hc-category-card .cat-toggle-wrap{
    width: 9px;
    min-width: 9px;
}

.hc-category-card .cat-icon-wrap{
    width: 30px;
    height: 30px;
    min-width: 30px;
}

.hc-category-card .cat-icon-wrap img{
    width: 18px;
    height: 18px;
}

.hc-category-card .cat-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.36;
    font-size: 13.5px;
}

.hc-category-card tr.cat-row[data-depth="2"] .cat-pill,
.hc-category-card .cat-pill.depth-2{
    min-height: 44px;
    padding: 8px 9px;
    border-radius: 14px;
    gap: 8px;
}

.hc-category-card tr.cat-row[data-depth="2"] .cat-icon-wrap,
.hc-category-card .cat-pill.depth-2 .cat-icon-wrap{
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 10px;
}

.hc-category-card tr.cat-row[data-depth="2"] .cat-icon-wrap img,
.hc-category-card .cat-pill.depth-2 .cat-icon-wrap img{
    width: 17px;
    height: 17px;
}

.hc-category-card tr.cat-row[data-depth="2"] .cat-name,
.hc-category-card .cat-pill.depth-2 .cat-name{
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.32;
    font-size: 13px;
    font-weight: 700;
}

.hc-category-card tr.cat-row[data-depth="3"] .cat-pill,
.hc-category-card .cat-pill.depth-3{
    min-height: 42px;
    padding: 7px 8px;
    border-radius: 13px;
    gap: 7px;
}

.hc-category-card tr.cat-row[data-depth="3"] .cat-icon-wrap,
.hc-category-card .cat-pill.depth-3 .cat-icon-wrap{
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 8px;
}

.hc-category-card tr.cat-row[data-depth="3"] .cat-icon-wrap img,
.hc-category-card .cat-pill.depth-3 .cat-icon-wrap img{
    width: 15px;
    height: 15px;
}

.hc-category-card tr.cat-row[data-depth="3"] .cat-name,
.hc-category-card .cat-pill.depth-3 .cat-name{
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.28;
    font-size: 12.5px;
    font-weight: 700;
}

.hc-product-name,
.hc-shop-grid .col-name,
.hc-shop-grid .col-stock,
.hc-shop-grid .col-price,
.hc-shop-grid .col-buy{
    font-size: 15px;
}

@media (min-width: 1400px){
    .hc-home-container{
        width: 86vw !important;
        max-width: 1680px !important;
    }

    .hc-home-cate-col{
        flex: 0 0 24.8% !important;
        max-width: 24.8% !important;
    }

    .hc-home-shop-col{
        flex: 0 0 75.2% !important;
        max-width: 75.2% !important;
    }

    .hc-category-card .cat-pill{
        min-height: 52px;
        padding: 11px 13px;
    }

    .hc-category-card .cat-name{
        font-size: 14px;
    }
}

@media (max-width: 1199px){
    .hc-home-container{
        width: 92vw !important;
        max-width: 92vw !important;
    }

    .hc-home-cate-col{
        flex: 0 0 29% !important;
        max-width: 29% !important;
    }

    .hc-home-shop-col{
        flex: 0 0 71% !important;
        max-width: 71% !important;
    }
}

@media (max-width: 991px){
    .hc-home-container{
        width: 94vw !important;
        max-width: 94vw !important;
    }

    /* 关键：兼容当前老栅格，手机端必须同时清掉 float/width/flex */
    .hc-home-cate-col,
    .hc-home-shop-col{
        float: none !important;
        display: block !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hc-home-cate-col{
        margin-bottom: 14px !important;
    }

    .hc-category-card,
    .hc-home-shop-col > .card{
        width: 100% !important;
    }

    .hc-category-card .category-list{
        padding: 10px !important;
    }

    .hc-category-card .category-items{
        display: block !important;
        width: 100% !important;
        max-height: 320px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-right: 0 !important;
    }

    .hc-category-card table,
    .hc-category-card tbody,
    .hc-category-card tr,
    .hc-category-card td{
        width: 100% !important;
    }

    .hc-category-card .cat-pill{
        width: 100% !important;
        min-height: 46px !important;
        padding: 9px 12px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .hc-category-card .cat-name{
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        line-height: 1.4 !important;
        font-size: 13px !important;
        display: block !important;
    }

    .shop-content{
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .hc-shop-grid,
    .shop-list{
        overflow-x: hidden !important;
    }
}

@media (max-width: 768px){
    .hc-home-container{
        width: 95vw !important;
        max-width: 95vw !important;
    }

    .hc-category-card{
        border-radius: 20px !important;
    }

    .hc-category-card .card-header{
        padding: 14px 16px 10px !important;
    }

    .hc-category-card .category-items{
        max-height: 280px !important;
    }

    .hc-category-card .cat-pill{
        padding: 8px 10px !important;
    }

    .hc-category-card .cat-name{
        font-size: 12.5px !important;
    }
}
