@charset "utf-8";
/* ============================================================================
   68ecshopcom_360buy · 首页视觉重构
   ----------------------------------------------------------------------------
   设计语言：品牌蓝 #4A90E2 / 简约白底 / 卡片化 / 1200px 栅格
   作用域：  所有规则均以 .cnt-home 限定，只作用于首页，不污染其它页面
   方式：    只覆盖表现层（CSS），不改动 ECShop 变量 / library / 循环 / JS
   说明：    本文件取代旧的 visual-tuning.css，并把其中所有功能性修复整合进来
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. 设计令牌（Design Tokens）—— 换肤总开关
   覆盖 Bootstrap 的 --bs-primary 与 moban 的 --primary-color 两套主色变量
   --------------------------------------------------------------------------- */
.cnt-home {
    --ec-blue:        #4A90E2;   /* 品牌蓝 */
    --ec-blue-hover:  #3B7BC8;
    --ec-blue-dark:   #2F69B0;
    --ec-blue-soft:   #EDF5FD;   /* 极浅蓝底 */
    --ec-blue-line:   #D8E8F8;   /* 浅蓝描边 */

    --ec-ink:         #243043;   /* 主文字 */
    --ec-ink-2:       #5A6B82;   /* 次文字 */
    --ec-muted:       #97A4B6;   /* 弱化文字 */
    --ec-line:        #E9EDF3;   /* 通用分隔线 */
    --ec-bg:          #F5F7FA;   /* 页面浅灰底 */
    --ec-card:        #FFFFFF;   /* 卡片底 */

    --ec-radius:      4px;       /* 克制的小圆角 */
    --ec-shadow:      0 2px 12px rgba(36, 48, 67, .05);
    --ec-shadow-hover:0 8px 24px rgba(74, 144, 226, .14);

    /* 供 Bootstrap / moban 组件继承，实现整站换肤 */
    --bs-primary:      #4A90E2;
    --bs-primary-rgb:  74, 144, 226;
    --primary-color:   #4A90E2;

    color: var(--ec-ink);
    background-color: var(--ec-card);
}

/* ---------------------------------------------------------------------------
   2. 基线：重置被旧公共样式污染的字号 / 行高 / 颜色
   --------------------------------------------------------------------------- */
.cnt-home body,
body.cnt-home {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ec-ink);
    background-color: var(--ec-bg);
    -webkit-font-smoothing: antialiased;
}
.cnt-home a { color: inherit; text-decoration: none; transition: color .18s ease; }
.cnt-home a:hover { color: var(--ec-blue); }

/* 1200px 容器 —— 覆盖 Bootstrap 各断点的 1140/1320 */
@media (min-width: 1200px) {
    .cnt-home .container { max-width: 1200px; }
}

/* ---------------------------------------------------------------------------
   3. 顶部信息条
   --------------------------------------------------------------------------- */
.cnt-home .top-header {
    background-color: #FFF;
    color: var(--ec-ink-2);
    border-bottom: 1px solid var(--ec-line);
    font-size: 12px;
}
.cnt-home .top-header a { color: var(--ec-ink-2); }
.cnt-home .top-header a:hover { color: var(--ec-blue); }
.cnt-home .top-header .separator {
    display: inline-block; width: 1px; height: 12px;
    background: var(--ec-line); vertical-align: middle;
}
/* 过长客服电话截断，避免挤压会员信息 */
.cnt-home .top-header .col-lg-7 > div > ul:first-child > li:first-child {
    max-width: 24rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cnt-home .top-header .xx-small { font-size: 12px; }

/* ---------------------------------------------------------------------------
   4. Logo + 搜索 + 快捷入口
   --------------------------------------------------------------------------- */
.cnt-home .logo img {
    max-height: 52px; width: auto; object-fit: contain;
}
/* 搜索框：整框聚焦，聚焦时蓝色描边 + 柔和光晕 */
.cnt-home .group-circle {
    border: 1px solid var(--ec-blue-line) !important;
    border-radius: var(--ec-radius) !important;
    overflow: hidden;
    background: #FFF;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.cnt-home .group-circle:focus-within {
    border-color: var(--ec-blue) !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, .12);
}
.cnt-home .group-circle .form-control { box-shadow: none !important; }
.cnt-home .group-circle .form-control::placeholder { color: var(--ec-muted); }
/* 搜索按钮：品牌蓝 */
.cnt-home .group-circle .btn {
    background-color: var(--ec-blue);
    color: #FFF;
    border: 0;
    border-radius: 0;
}
.cnt-home .group-circle .btn:hover { background-color: var(--ec-blue-hover); color: #FFF; }
/* 快捷入口图标 */
.cnt-home .badge-circle { background-color: var(--ec-blue); }
.cnt-home .badge-circle:empty { display: none; }
.cnt-home .bi-heart,
.cnt-home .bi-bag { color: var(--ec-blue); }

/* ---------------------------------------------------------------------------
   5. 主导航 + 分类下拉
   --------------------------------------------------------------------------- */
.cnt-home nav {
    background-color: #FFF;
    border-top: 1px solid var(--ec-line);
    box-shadow: 0 1px 0 rgba(36, 48, 67, .04);
}
.cnt-home .btn-categories-toggle {
    background-color: var(--ec-blue) !important;
    border-color: var(--ec-blue) !important;
    color: #FFF !important;
    border-radius: var(--ec-radius) var(--ec-radius) 0 0 !important;
    font-weight: 600;
    letter-spacing: .5px;
}
.cnt-home .btn-categories-toggle:hover {
    background-color: var(--ec-blue-hover) !important;
    border-color: var(--ec-blue-hover) !important;
}
.cnt-home .main-nav .nav-link {
    color: var(--ec-ink);
    font-weight: 500 !important;
    border-bottom: 2px solid transparent;
}
.cnt-home .main-nav .nav-link:hover,
.cnt-home .main-nav .nav-link.active {
    color: var(--ec-blue);
    border-bottom-color: var(--ec-blue);
}
.cnt-home nav .col-lg-2 .nav-link { color: var(--ec-ink-2); white-space: nowrap; font-size: 13px; }
.cnt-home nav .bi-tags { color: var(--ec-blue) !important; }

/* 分类 mega 菜单：层级提上来，避免被轮播/楼层盖住 */
.cnt-home .categories-dropdown {
    z-index: 1030;
    border-color: var(--ec-line) !important;
    box-shadow: 0 12px 28px rgba(36, 48, 67, .10);
}
.cnt-home .mega-menu { z-index: 1031; }

/* 一级分类：hover/展开时左侧蓝条 + 浅蓝底 */
.cnt-home .categories-dropdown .submenu > a {
    color: var(--ec-ink);
    padding-left: 1rem !important;
    position: relative;
    transition: color .18s ease, background-color .18s ease;
}
.cnt-home .categories-dropdown .submenu > a::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--ec-blue); opacity: 0;
    transition: opacity .18s ease;
}
.cnt-home .categories-dropdown .submenu:hover > a,
.cnt-home .categories-dropdown .submenu > a:hover {
    color: var(--ec-blue);
    background: #F5F9FF;
}
.cnt-home .categories-dropdown .submenu:hover > a::before { opacity: 1; }
.cnt-home .categories-dropdown .submenu:hover > a::after { color: var(--ec-blue); }

/* 二级展开框：收窄并紧贴分类，蓝线呼应，消除大片空白 */
.cnt-home .submenu .mega-menu {
    min-width: 600px;
    left: calc(100% + 4px);
    padding: 1.5rem 1.75rem !important;
    border: 1px solid var(--ec-line) !important;
    border-left: 3px solid var(--ec-blue) !important;
    border-radius: 0 var(--ec-radius) var(--ec-radius) 0 !important;
    box-shadow: 0 14px 34px rgba(36, 48, 67, .14);
}
.cnt-home .submenu:hover .mega-menu { left: calc(100% + 12px); }
/* 二级块占满整框（覆盖 col-lg-3 的 25% 宽） */
.cnt-home .mega-menu .child-meaga { flex: 0 0 100% !important; max-width: 100% !important; }

/* 二级标题：左蓝竖条 + 底部分隔线 */
.cnt-home .mega-title {
    position: relative;
    color: var(--ec-ink) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 0 .7rem 12px !important;
    margin-bottom: 1rem !important;
    border-bottom: 1px solid var(--ec-line);
}
.cnt-home .mega-title::before {
    content: ""; position: absolute; left: 0; top: 1px; bottom: .7rem;
    width: 3px; background: var(--ec-blue); border-radius: 2px;
}

/* 二级链接：网格多列铺满，hover 浅蓝底 + 缩进 */
.cnt-home .mega-menu .child-meaga > ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .25rem 1rem;
}
.cnt-home .mega-link {
    display: block !important;
    padding: .5rem .7rem !important;
    border-radius: 4px;
    color: var(--ec-ink-2) !important;
    font-size: 13px !important;
    transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
}
.cnt-home .mega-link:hover {
    color: var(--ec-blue) !important;
    background: #F0F6FF;
    padding-left: 1rem !important;
}

/* ---------------------------------------------------------------------------
   6. 首页轮播
   --------------------------------------------------------------------------- */
.cnt-home #home-slider-01 { background: #FFF; }
.cnt-home #home-slider-01 .slide-min-500 { position: relative; min-height: 460px; }
.cnt-home #home-slider-01 .slide-caption { position: relative; z-index: 2; pointer-events: none; }
.cnt-home #home-slider-01 h1 { color: var(--ec-ink); letter-spacing: -.5px; }
.cnt-home #home-slider-01 h1 .text-primary,
.cnt-home #home-slider-01 .text-primary { color: var(--ec-blue) !important; }
/* 整张图可点击（后台主广告链接） */
.cnt-home #home-slider-01 .slider-link {
    position: absolute; inset: 0; z-index: 1; display: block;
}
.cnt-home #home-slider-01 .slick-arrow { z-index: 3; }
/* 文案入场动画 */
.cnt-home #home-slider-01 .slick-active [data-animation] {
    animation: ecFadeUp .9s both;
}
@keyframes ecFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   7. 楼层标题（重构：居中横线 → 左色条杂志式标题）
   --------------------------------------------------------------------------- */
.cnt-home h4.divider {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 1.5rem !important;
}
/* 去掉 moban 居中横线 */
.cnt-home h4.divider::before { display: none !important; }
.cnt-home h4.divider > span {
    display: flex;
    align-items: center;
    background: transparent !important;
    padding: 0 !important;
    z-index: 1;
}
/* 左侧品牌蓝竖条 */
.cnt-home h4.divider > span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--ec-blue);
    border-radius: 2px;
    margin-right: 10px;
}
/* 标题右侧延伸细线 */
.cnt-home h4.divider > span::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 1px;
    background: var(--ec-blue-line);
    margin-left: 14px;
}
.cnt-home h4.divider a[style*="color"] {
    color: var(--ec-ink) !important;
    font-size: 20px !important;
}
.cnt-home h4.divider a:hover { color: var(--ec-blue) !important; }

/* ---------------------------------------------------------------------------
   8. 商品卡片（重构：固定 1:1 图片框 + 信息层次 + 精致悬停）
   --------------------------------------------------------------------------- */
.cnt-home .product-card {
    background-color: var(--ec-card);
    border: 1px solid var(--ec-line) !important;
    border-radius: var(--ec-radius) !important;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.cnt-home .product-card:hover {
    border-color: var(--ec-blue-line) !important;
    box-shadow: var(--ec-shadow-hover);
    transform: translateY(-5px);
}
/* 图片区：固定正方形画框，浅灰底，圆角 */
.cnt-home .product-card .card-header {
    background: #F7F9FC;
    padding: .9rem !important;
    overflow: hidden;
}
.cnt-home .product-card .card-header > a[class^="thumb-"] {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 100%;            /* 1:1 画框，彻底解决图片高矮不一 */
    background: #FFF;
    border-radius: 4px;
    overflow: hidden;
}
.cnt-home .product-card .defualt-image,
.cnt-home .product-card .hover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background-color: #FFF;
}
.cnt-home .product-card img { background-color: #FFF; }
/* 立即购买按钮：悬停从画框底部滑入（保留 moban 的 translate(-50%) 水平居中） */
.cnt-home .product-card .bottom-center-10 {
    opacity: 0;
    bottom: 14px;
    left: 50%;
    width: auto !important;              /* 覆盖模板 w-75，按内容宽度 */
    min-width: 108px;
    white-space: nowrap;
    z-index: 3;
    color: #FFF !important;
    background-color: var(--ec-blue) !important;
    border: 0 !important;
    border-radius: 20px !important;
    padding: .42rem .9rem !important;
    font-size: 13px;
    letter-spacing: .5px;
    box-shadow: 0 4px 14px rgba(74, 144, 226, .35);
    transform: translate(-50%, 8px);     /* 关键：-50% 维持居中，8px 为入场位移 */
    transition: opacity .25s ease, transform .25s ease, background-color .18s ease;
}
.cnt-home .product-card:hover .bottom-center-10 {
    opacity: 1;
    transform: translate(-50%, 0);
}
.cnt-home .product-card .bottom-center-10:hover {
    background-color: var(--ec-blue-dark) !important;
    box-shadow: 0 6px 18px rgba(74, 144, 226, .45);
}
/* 信息区：标题 + 价格分层 */
.cnt-home .product-card .card-body {
    padding: .85rem 1rem 1rem !important;
    background: #FFF;
}
.cnt-home .product-card .title-max-45 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: 2.9em;
    line-height: 1.45;
    font-size: 13px;
    font-weight: 400 !important;
    margin-bottom: .7rem !important;
}
.cnt-home .product-card .title-max-45 a { color: var(--ec-ink-2); }
.cnt-home .product-card:hover .title-max-45 a { color: var(--ec-blue); }
/* 价格行：独立成带，¥ 缩小、数字放大加粗 */
.cnt-home .product-card .price-18px {
    display: inline-flex;
    align-items: baseline;
    color: var(--ec-blue) !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.cnt-home .product-card .card-body del {
    margin-left: .4rem; color: var(--ec-muted); font-size: 12px; white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   9. 店铺街
   --------------------------------------------------------------------------- */
.cnt-home .category-lg img { background-color: #FAFBFD; }
.cnt-home .category-lg img:hover { opacity: .88; }
.cnt-home .bg-light h6.fw-bold { color: var(--ec-ink); }

/* ---------------------------------------------------------------------------
   10. 页脚
   --------------------------------------------------------------------------- */
.cnt-home footer { background-color: #FFF; }

/* 上半段：浅灰蓝底 + 顶部品牌线，与主体白色分区 */
.cnt-home footer > div.bg-light {
    background-color: #F5F8FC !important;
    border-top: 3px solid var(--ec-blue);
    padding-top: 3.2rem !important;
    padding-bottom: 3rem !important;
}
/* 两栏分列两端：公司信息靠左，链接区推到右侧，消除大片空档 */
.cnt-home footer .bg-light .row > div:first-child { flex: 0 0 50%; max-width: 50%; }
.cnt-home footer .bg-light .row > div:last-child { margin-left: auto; }

/* 公司名：左蓝竖条（与楼层标题呼应） */
.cnt-home .footer-widget h5 {
    font-size: 18px; font-weight: 700; color: var(--ec-ink);
    padding-left: 12px; border-left: 3px solid var(--ec-blue);
    margin-bottom: 1.5rem !important;
}
/* 联系方式 */
.cnt-home .footer-widget ul { margin: 0; padding: 0; list-style: none; }
.cnt-home .footer-widget li {
    display: flex; align-items: center;
    color: var(--ec-ink-2); word-break: break-word;
    font-size: 13px; margin-bottom: .95rem !important;
}
.cnt-home .footer-widget li:last-child { margin-bottom: 0 !important; }
.cnt-home .footer-widget li i { font-size: 15px; }
.cnt-home .footer-widget i.text-primary { color: var(--ec-blue) !important; }

/* 链接区：补一个标题，竖排链接更舒展 */
.cnt-home .footer-list { position: relative; padding-top: 34px !important; }
.cnt-home .footer-list::before {
    content: "快速导航";
    position: absolute; top: 0; left: 0;
    font-size: 16px; font-weight: 700; color: var(--ec-ink);
    padding-left: 12px; border-left: 3px solid var(--ec-blue);
}
.cnt-home .footer-list li { margin-bottom: .8rem !important; }
.cnt-home .footer-list li:last-child { margin-bottom: 0 !important; }
.cnt-home .footer-list a {
    display: inline-block; color: var(--ec-ink-2); font-size: 13px;
    transition: color .18s ease, padding-left .18s ease;
}
.cnt-home .footer-list a:hover { color: var(--ec-blue); padding-left: 4px; text-decoration: none; }

/* 下半段版权：细线分隔 + 居中 */
.cnt-home footer > div.py-4 {
    border-top: 1px solid var(--ec-line);
    padding-top: 1.4rem !important;
    padding-bottom: 1.4rem !important;
}
.cnt-home footer > div.py-4 .d-flex { justify-content: center !important; }
.cnt-home .text-gray {
    color: var(--ec-muted) !important; font-size: 12.5px;
    margin: 0; text-align: center;
}
.cnt-home .text-gray a { color: var(--ec-blue); }
.cnt-home .text-gray a:hover { color: var(--ec-blue-dark); text-decoration: underline; }

/* ---------------------------------------------------------------------------
   11. 右侧栏 / 楼层电梯
   --------------------------------------------------------------------------- */
.cnt-home .elevator .smooth:hover b,
.cnt-home .elevator .smooth.active b { color: var(--ec-blue); }
.cnt-home .quick-sidebar .sidebar-tabs a:hover { color: var(--ec-blue); }

/* ---------------------------------------------------------------------------
   12. 通用蓝色组件（按钮 / 文本主色）—— 保证换肤彻底
   --------------------------------------------------------------------------- */
.cnt-home .btn-primary {
    --bs-btn-bg: var(--ec-blue);
    --bs-btn-border-color: var(--ec-blue);
    --bs-btn-hover-bg: var(--ec-blue-hover);
    --bs-btn-hover-border-color: var(--ec-blue-hover);
    --bs-btn-active-bg: var(--ec-blue-dark);
    --bs-btn-active-border-color: var(--ec-blue-dark);
}
.cnt-home .text-primary { color: var(--ec-blue) !important; }
.cnt-home .border-primary { border-color: var(--ec-blue) !important; }
.cnt-home .bg-primary { background-color: var(--ec-blue) !important; }

/* 键盘焦点可见（旧 reset 清掉了 outline） */
.cnt-home a:focus-visible,
.cnt-home button:focus-visible,
.cnt-home input:focus-visible {
    outline: 2px solid var(--ec-blue);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   13. 触屏 / 移动端适配（整合原 visual-tuning 功能修复）
   --------------------------------------------------------------------------- */
/* 触屏没有 hover：购买按钮常显 */
@media (hover: none) {
    .cnt-home .product-card .bottom-center-10 { opacity: 1; bottom: 10px; transform: translate(-50%, 0); }
}
/* 小屏：补回被 d-none d-md-block 隐藏的搜索框，收紧轮播字号 */
@media (max-width: 767.98px) {
    .cnt-home div.d-none.d-md-block:has(#searchForm) {
        display: block !important;
        flex: 0 0 100%;
        max-width: 100%;
        order: 3;
        margin-top: .75rem;
    }
    .cnt-home .group-circle { width: 100%; }
    .cnt-home #home-slider-01 .slide-min-500 {
        min-height: 300px;
        background-position: 62% center;
    }
    .cnt-home #home-slider-01 .container { padding-left: 1rem; padding-right: 1rem; }
    .cnt-home #home-slider-01 .display-2 { font-size: 1.5rem; line-height: 1.35; white-space: normal; }
    .cnt-home #home-slider-01 h1 span { white-space: nowrap; margin-left: .25em; }
    .cnt-home #home-slider-01 [data-animation] { text-shadow: 0 1px 6px rgba(255,255,255,.65); }
}

/* ===========================================================================
   14. 右侧悬浮工具栏（老 ECSHOP 雪碧图 → 简约蓝白字体图标）
   只覆盖表现层；保留 .right-sidebar-* / .quick-* / .ECS_CARTINFO 等全部结构
   与类名，确保 right_sidebar.lbi 内的交互 JS 继续正常工作。
   =========================================================================== */
/* 竖条容器：黑 → 白，加细描边与阴影 */
.cnt-home .right-sidebar-main {
    background-color: #FFF;
    box-shadow: -2px 0 12px rgba(36, 48, 67, .10);
    border-left: 1px solid var(--ec-line);
}
.cnt-home .right-sidebar-panel,
.cnt-home .quick-links,
.cnt-home .quick-toggle { background: transparent !important; }
/* 每个按钮块：黑底 → 白底，柔性居中（含红包 mpbtn_bonus，统一默认态） */
.cnt-home .right-sidebar-panel .quick-links-a {
    background-color: #FFF !important;
    color: var(--ec-ink-2);
    border-bottom: 1px solid var(--ec-line);
}
/* hover / 选中：品牌蓝 */
.cnt-home .quick-links li:hover .quick-links-a,
.cnt-home .quick-links li.current .quick-links-a,
.cnt-home .quick-toggle li:hover .quick-links-a,
.cnt-home .quick-toggle li.current .quick-links-a {
    background-color: var(--ec-blue) !important;
}
/* --- 图标：去掉雪碧图，改用 Bootstrap Icons 字体（只选中按钮内的直系图标，避免误伤弹层） --- */
.cnt-home .right-sidebar-panel .quick-links-a > i,
.cnt-home .right-sidebar-panel .cart-list > i {
    background: none !important;
    background-image: none !important;
    width: 36px !important;
    height: 38px !important;
    left: 0 !important;
    top: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.cnt-home .right-sidebar-panel .quick-links-a > i::before,
.cnt-home .right-sidebar-panel .cart-list > i::before {
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 1;
    color: var(--ec-blue) !important;
    -webkit-font-smoothing: antialiased;
}
/* 悬停时图标转白 */
.cnt-home .quick-links li:hover .quick-links-a > i::before,
.cnt-home .quick-links li.current .quick-links-a > i::before,
.cnt-home .quick-toggle li:hover .quick-links-a > i::before,
.cnt-home .quick-toggle li.current .quick-links-a > i::before { color: #FFF !important; }

/* 各图标映射（码位来自本项目 bootstrap-icons.min.css） */
.cnt-home .quick-links i.setting::before   { content: "\f4e1"; } /* person 用户 */
.cnt-home .quick-links i.bonus::before     { content: "\f3ec"; } /* gift 红包 */
.cnt-home .quick-links i.cart::before      { content: "\f244"; } /* cart3 购物车 */
.cnt-home .quick-links i.stores::before    { content: "\f543"; } /* shop 店铺 */
.cnt-home .quick-links i.collect::before   { content: "\f417"; } /* heart 收藏 */
.cnt-home .quick-links i.history::before   { content: "\f292"; } /* clock-history 足迹 */
.cnt-home .quick-toggle i.customer-service::before { content: "\f414"; } /* headset 客服 */
.cnt-home .quick-toggle i.qr-code::before  { content: "\f6ae"; } /* qr-code 二维码 */
.cnt-home .quick-toggle i.top::before      { content: "\f148"; } /* arrow-up 顶部 */

/* 购物车按钮：原 130px 图片块 → 紧凑的「图标 + 横排文字 + 角标」 */
.cnt-home .quick-links .cart-list {
    height: 62px;
    line-height: normal;
    margin: 0;
    background: #FFF;
    padding-top: 4px;
    position: relative;
}
/* 一刀切：购物车块内所有元素恢复正常行高，避免继承 .quick-links-a 的 line-height:200px 造成溢出 */
.cnt-home .quick-links .cart-list,
.cnt-home .quick-links .cart-list * { line-height: normal !important; }
.cnt-home .quick-links .cart-list > i.cart {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 36px !important;
    height: 32px !important;
}
/* 隐藏原竖排"购物车"文字：简约风下图标+角标已足够表意，避免窄条内文字溢出 */
.cnt-home .quick-links .cart-list .span { display: none !important; }
/* 购物车角标：红 → 品牌蓝，定位到图标右上角 */
.cnt-home .quick-links .cart-list .cart_num,
.cnt-home .quick-links li.current .cart-list .cart_num,
.cnt-home .quick-links li:hover .cart-list .cart_num {
    position: absolute !important;
    top: 2px !important;
    right: 3px !important;
    margin: 0 !important;
    background: var(--ec-blue) !important;
    color: #FFF !important;
    width: 17px; height: 17px; line-height: 17px;
    font-size: 10px;
}
/* 悬停文字提示 popup：黑 → 深灰白字 */
.cnt-home .right-sidebar-panel .popup {
    background: var(--ec-ink);
    color: #FFF;
    border-radius: 3px 0 0 3px;
}
/* 返回顶部箭头图标（雪碧图小箭头）隐藏，用主图标即可 */
.cnt-home .quick-toggle .popup i.arrow-right,
.cnt-home .quick-links .popup i.arrow-right { display: none; }

/* ---------------------------------------------------------------------------
   16. 全站字号优化（整体偏小修复：body 14px→15px，顶栏/小字→13px，导航 15px）
   --------------------------------------------------------------------------- */
.cnt-home { font-size: 15px; }
.cnt-home .xx-small { font-size: 13px !important; line-height: 1.7; }
.cnt-home .top-header li,
.cnt-home .top-header a,
.cnt-home .top-header p { font-size: 13px; }
.cnt-home .small { font-size: 13px !important; }
.cnt-home .main-nav .nav-link { font-size: 15px !important; letter-spacing: .5px; }
.cnt-home .btn-categories-toggle { font-weight: 600; }
