@charset "utf-8";
/* ============================================================================
   68ecshopcom_360buy · 内页视觉重构（商品分类页 / 商品详情页）
   ----------------------------------------------------------------------------
   设计语言：品牌蓝 #4A90E2 / 简约白底 / 卡片化，与首页 blue-minimal.css 统一
   作用域：  body.cnt-category / body.cnt-goods，只作用于内页，不污染其它页面
   方式：    只覆盖表现层（CSS），不改动 ECShop 变量 / library / 循环 / JS
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. 设计令牌（与首页一致）
   --------------------------------------------------------------------------- */
body.cnt-category,
body.cnt-inner,
body.cnt-goods {
    --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);

    --bs-primary:      #4A90E2;
    --bs-primary-rgb:  74, 144, 226;
    --primary-color:   #4A90E2;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ec-ink);
    background-color: var(--ec-bg);
}
body.cnt-category a:focus-visible,
body.cnt-inner a:focus-visible,
body.cnt-goods a:focus-visible,
body.cnt-inner a:focus-visible,
body.cnt-category button:focus-visible,
body.cnt-inner button:focus-visible,
body.cnt-goods button:focus-visible,
body.cnt-inner button:focus-visible,
body.cnt-category input:focus-visible,
body.cnt-inner input:focus-visible,
body.cnt-goods input:focus-visible {
    outline: 2px solid var(--ec-blue);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   2. 顶部公共：导航 / 分类按钮 / 搜索 / 面包屑
   --------------------------------------------------------------------------- */
/* 分类按钮：橙 → 品牌蓝 */
body.cnt-category .btn-categories-toggle,
body.cnt-inner .btn-categories-toggle,
body.cnt-goods .btn-categories-toggle {
    background-color: var(--ec-blue) !important;
    border-color: var(--ec-blue) !important;
}
body.cnt-category .btn-categories-toggle:hover,
body.cnt-inner .btn-categories-toggle:hover,
body.cnt-goods .btn-categories-toggle:hover {
    background-color: var(--ec-blue-hover) !important;
    border-color: var(--ec-blue-hover) !important;
}
/* 主导航激活态蓝 */
body.cnt-category .main-nav .nav-link:hover,
body.cnt-inner .main-nav .nav-link:hover,
body.cnt-category .main-nav .nav-link.active,
body.cnt-inner .main-nav .nav-link.active,
body.cnt-goods .main-nav .nav-link:hover,
body.cnt-inner .main-nav .nav-link:hover,
body.cnt-goods .main-nav .nav-link.active { color: var(--ec-blue); }
body.cnt-category nav .bi-tags,
body.cnt-inner nav .bi-tags,
body.cnt-goods nav .bi-tags { color: var(--ec-blue) !important; }
/* 搜索按钮 */
body.cnt-category .btn-primary,
body.cnt-inner .btn-primary,
body.cnt-goods .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);
}
body.cnt-category .text-primary,
body.cnt-inner .text-primary,
body.cnt-goods .text-primary { color: var(--ec-blue) !important; }

/* 面包屑：橙箭头/当前项 → 品牌蓝，弱化分隔符 */
body.cnt-category .breadcrumb,
body.cnt-inner .breadcrumb,
body.cnt-goods .breadcrumb { color: var(--ec-ink-2); font-size: 13px; }
body.cnt-category .breadcrumb a,
body.cnt-inner .breadcrumb a,
body.cnt-goods .breadcrumb a { color: var(--ec-ink-2); }
body.cnt-category .breadcrumb a:hover,
body.cnt-inner .breadcrumb a:hover,
body.cnt-goods .breadcrumb a:hover { color: var(--ec-blue); }
body.cnt-category .breadcrumb .crumbs-arrow,
body.cnt-inner .breadcrumb .crumbs-arrow,
body.cnt-goods .breadcrumb .crumbs-arrow { color: var(--ec-muted); margin: 0 .3rem; }
body.cnt-category .breadcrumb .last,
body.cnt-inner .breadcrumb .last,
body.cnt-goods .breadcrumb .last { color: var(--ec-blue); }

/* ---------------------------------------------------------------------------
   3. 分类 mega 下拉（与首页第 5 节一致）
   --------------------------------------------------------------------------- */
body.cnt-category .submenu .mega-menu,
body.cnt-inner .submenu .mega-menu,
body.cnt-goods .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);
}
body.cnt-category .submenu:hover .mega-menu,
body.cnt-inner .submenu:hover .mega-menu,
body.cnt-goods .submenu:hover .mega-menu { left: calc(100% + 12px); }
body.cnt-category .mega-menu .child-meaga,
body.cnt-inner .mega-menu .child-meaga,
body.cnt-goods .mega-menu .child-meaga { flex: 0 0 100% !important; max-width: 100% !important; }
body.cnt-category .mega-title,
body.cnt-inner .mega-title,
body.cnt-goods .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);
}
body.cnt-category .mega-title::before,
body.cnt-inner .mega-title::before,
body.cnt-goods .mega-title::before {
    content: ""; position: absolute; left: 0; top: 1px; bottom: .7rem;
    width: 3px; background: var(--ec-blue); border-radius: 2px;
}
body.cnt-category .mega-menu .child-meaga > ul,
body.cnt-inner .mega-menu .child-meaga > ul,
body.cnt-goods .mega-menu .child-meaga > ul {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 1rem;
}
body.cnt-category .mega-link,
body.cnt-inner .mega-link,
body.cnt-goods .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, background-color .18s, padding-left .18s;
}
body.cnt-category .mega-link:hover,
body.cnt-inner .mega-link:hover,
body.cnt-goods .mega-link:hover { color: var(--ec-blue) !important; background: #F0F6FF; padding-left: 1rem !important; }

/* ---------------------------------------------------------------------------
   4. 右侧悬浮工具栏（与首页第 14 节一致：雪碧图 → 蓝白字体图标）
   --------------------------------------------------------------------------- */
body.cnt-category .right-sidebar-main,
body.cnt-inner .right-sidebar-main,
body.cnt-goods .right-sidebar-main {
    background-color: #FFF;
    box-shadow: -2px 0 12px rgba(36, 48, 67, .10);
    border-left: 1px solid var(--ec-line);
}
body.cnt-category .right-sidebar-panel,
body.cnt-inner .right-sidebar-panel,
body.cnt-category .quick-links,
body.cnt-inner .quick-links,
body.cnt-category .quick-toggle,
body.cnt-inner .quick-toggle,
body.cnt-goods .right-sidebar-panel,
body.cnt-inner .right-sidebar-panel,
body.cnt-goods .quick-links,
body.cnt-inner .quick-links,
body.cnt-goods .quick-toggle { background: transparent !important; }
body.cnt-category .right-sidebar-panel .quick-links-a,
body.cnt-inner .right-sidebar-panel .quick-links-a,
body.cnt-goods .right-sidebar-panel .quick-links-a {
    background-color: #FFF !important; color: var(--ec-ink-2);
    border-bottom: 1px solid var(--ec-line);
}
body.cnt-category .quick-links li:hover .quick-links-a,
body.cnt-inner .quick-links li:hover .quick-links-a,
body.cnt-category .quick-links li.current .quick-links-a,
body.cnt-inner .quick-links li.current .quick-links-a,
body.cnt-category .quick-toggle li:hover .quick-links-a,
body.cnt-inner .quick-toggle li:hover .quick-links-a,
body.cnt-category .quick-toggle li.current .quick-links-a,
body.cnt-inner .quick-toggle li.current .quick-links-a,
body.cnt-goods .quick-links li:hover .quick-links-a,
body.cnt-inner .quick-links li:hover .quick-links-a,
body.cnt-goods .quick-links li.current .quick-links-a,
body.cnt-inner .quick-links li.current .quick-links-a,
body.cnt-goods .quick-toggle li:hover .quick-links-a,
body.cnt-inner .quick-toggle li:hover .quick-links-a,
body.cnt-goods .quick-toggle li.current .quick-links-a { background-color: var(--ec-blue) !important; }
body.cnt-category .right-sidebar-panel .quick-links-a > i,
body.cnt-inner .right-sidebar-panel .quick-links-a > i,
body.cnt-category .right-sidebar-panel .cart-list > i,
body.cnt-inner .right-sidebar-panel .cart-list > i,
body.cnt-goods .right-sidebar-panel .quick-links-a > i,
body.cnt-inner .right-sidebar-panel .quick-links-a > i,
body.cnt-goods .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;
}
body.cnt-category .right-sidebar-panel .quick-links-a > i::before,
body.cnt-inner .right-sidebar-panel .quick-links-a > i::before,
body.cnt-category .right-sidebar-panel .cart-list > i::before,
body.cnt-inner .right-sidebar-panel .cart-list > i::before,
body.cnt-goods .right-sidebar-panel .quick-links-a > i::before,
body.cnt-inner .right-sidebar-panel .quick-links-a > i::before,
body.cnt-goods .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;
}
body.cnt-category .quick-links li:hover .quick-links-a > i::before,
body.cnt-inner .quick-links li:hover .quick-links-a > i::before,
body.cnt-category .quick-links li.current .quick-links-a > i::before,
body.cnt-inner .quick-links li.current .quick-links-a > i::before,
body.cnt-category .quick-toggle li:hover .quick-links-a > i::before,
body.cnt-inner .quick-toggle li:hover .quick-links-a > i::before,
body.cnt-category .quick-toggle li.current .quick-links-a > i::before,
body.cnt-inner .quick-toggle li.current .quick-links-a > i::before,
body.cnt-goods .quick-links li:hover .quick-links-a > i::before,
body.cnt-inner .quick-links li:hover .quick-links-a > i::before,
body.cnt-goods .quick-links li.current .quick-links-a > i::before,
body.cnt-inner .quick-links li.current .quick-links-a > i::before,
body.cnt-goods .quick-toggle li:hover .quick-links-a > i::before,
body.cnt-inner .quick-toggle li:hover .quick-links-a > i::before,
body.cnt-goods .quick-toggle li.current .quick-links-a > i::before { color: #FFF !important; }
body.cnt-category .quick-links i.setting::before, body.cnt-goods .quick-links i.setting::before { content: "\f4e1"; }
body.cnt-category .quick-links i.bonus::before, body.cnt-goods .quick-links i.bonus::before { content: "\f3ec"; }
body.cnt-category .quick-links i.cart::before, body.cnt-goods .quick-links i.cart::before { content: "\f244"; }
body.cnt-category .quick-links i.stores::before, body.cnt-goods .quick-links i.stores::before { content: "\f543"; }
body.cnt-category .quick-links i.collect::before, body.cnt-goods .quick-links i.collect::before { content: "\f417"; }
body.cnt-category .quick-links i.history::before, body.cnt-goods .quick-links i.history::before { content: "\f292"; }
body.cnt-category .quick-toggle i.customer-service::before, body.cnt-goods .quick-toggle i.customer-service::before { content: "\f414"; }
body.cnt-category .quick-toggle i.qr-code::before, body.cnt-goods .quick-toggle i.qr-code::before { content: "\f6ae"; }
body.cnt-category .quick-toggle i.top::before, body.cnt-goods .quick-toggle i.top::before { content: "\f148"; }
body.cnt-category .quick-links .cart-list,
body.cnt-inner .quick-links .cart-list,
body.cnt-goods .quick-links .cart-list { height: 62px; line-height: normal; margin: 0; background: #FFF; padding-top: 4px; position: relative; }
body.cnt-category .quick-links .cart-list,
body.cnt-inner .quick-links .cart-list,
body.cnt-category .quick-links .cart-list *,
body.cnt-inner .quick-links .cart-list *,
body.cnt-goods .quick-links .cart-list,
body.cnt-inner .quick-links .cart-list,
body.cnt-goods .quick-links .cart-list * { line-height: normal !important; }
body.cnt-category .quick-links .cart-list > i.cart,
body.cnt-inner .quick-links .cart-list > i.cart,
body.cnt-goods .quick-links .cart-list > i.cart {
    position: relative !important; top: 0 !important; left: 0 !important; width: 36px !important; height: 32px !important;
}
body.cnt-category .quick-links .cart-list .span,
body.cnt-inner .quick-links .cart-list .span,
body.cnt-goods .quick-links .cart-list .span { display: none !important; }
body.cnt-category .quick-links .cart-list .cart_num,
body.cnt-inner .quick-links .cart-list .cart_num,
body.cnt-goods .quick-links .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;
}
body.cnt-category .right-sidebar-panel .popup,
body.cnt-inner .right-sidebar-panel .popup,
body.cnt-goods .right-sidebar-panel .popup { background: var(--ec-ink); color: #FFF; border-radius: 3px 0 0 3px; }
body.cnt-category .quick-toggle .popup i.arrow-right,
body.cnt-inner .quick-toggle .popup i.arrow-right,
body.cnt-category .quick-links .popup i.arrow-right,
body.cnt-inner .quick-links .popup i.arrow-right,
body.cnt-goods .quick-toggle .popup i.arrow-right,
body.cnt-inner .quick-toggle .popup i.arrow-right,
body.cnt-goods .quick-links .popup i.arrow-right { display: none; }

/* ---------------------------------------------------------------------------
   5. 页脚（与首页第 10 节一致）
   --------------------------------------------------------------------------- */
body.cnt-category footer > div.bg-light,
body.cnt-inner footer > div.bg-light,
body.cnt-goods footer > div.bg-light {
    background-color: #F5F8FC !important; border-top: 3px solid var(--ec-blue);
    padding-top: 3.2rem !important; padding-bottom: 3rem !important;
}
body.cnt-category footer .bg-light .row > div:first-child,
body.cnt-inner footer .bg-light .row > div:first-child,
body.cnt-goods footer .bg-light .row > div:first-child { flex: 0 0 50%; max-width: 50%; }
body.cnt-category footer .bg-light .row > div:last-child,
body.cnt-inner footer .bg-light .row > div:last-child,
body.cnt-goods footer .bg-light .row > div:last-child { margin-left: auto; }
body.cnt-category .footer-widget h5, body.cnt-goods .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;
}
body.cnt-category .footer-widget ul, body.cnt-goods .footer-widget ul { margin: 0; padding: 0; list-style: none; }
body.cnt-category .footer-widget li, body.cnt-goods .footer-widget li {
    display: flex; align-items: center; color: var(--ec-ink-2); word-break: break-word;
    font-size: 13px; margin-bottom: .95rem !important;
}
body.cnt-category .footer-widget li:last-child, body.cnt-goods .footer-widget li:last-child { margin-bottom: 0 !important; }
body.cnt-category .footer-widget li i, body.cnt-goods .footer-widget li i { font-size: 15px; }
body.cnt-category .footer-widget i.text-primary, body.cnt-goods .footer-widget i.text-primary { color: var(--ec-blue) !important; }
body.cnt-category .footer-list, body.cnt-goods .footer-list { position: relative; padding-top: 34px !important; }
body.cnt-category .footer-list::before, body.cnt-goods .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);
}
body.cnt-category .footer-list li, body.cnt-goods .footer-list li { margin-bottom: .8rem !important; }
body.cnt-category .footer-list li:last-child, body.cnt-goods .footer-list li:last-child { margin-bottom: 0 !important; }
body.cnt-category .footer-list a, body.cnt-goods .footer-list a {
    display: inline-block; color: var(--ec-ink-2); font-size: 13px; transition: color .18s, padding-left .18s;
}
body.cnt-category .footer-list a:hover, body.cnt-goods .footer-list a:hover { color: var(--ec-blue); padding-left: 4px; text-decoration: none; }
body.cnt-category footer > div.py-4, body.cnt-goods footer > div.py-4 {
    border-top: 1px solid var(--ec-line); padding-top: 1.4rem !important; padding-bottom: 1.4rem !important;
}
body.cnt-category footer > div.py-4 .d-flex, body.cnt-goods footer > div.py-4 .d-flex { justify-content: center !important; }
body.cnt-category .text-gray, body.cnt-goods .text-gray { color: var(--ec-muted) !important; font-size: 12.5px; margin: 0; text-align: center; }
body.cnt-category .text-gray a, body.cnt-goods .text-gray a { color: var(--ec-blue); }

/* ===========================================================================
   分类列表页（body.cnt-category）
   =========================================================================== */
/* 主体容器留白 */
body.cnt-category .w1210 { width: 1200px !important; max-width: 100%; }

/* 筛选区：橙价 → 蓝，属性框卡片化 */
body.cnt-category .box-attr-ecshop68 {
    background: #FFF; border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius); padding: 1rem 1.25rem; margin-bottom: 1rem;
}
body.cnt-category .box-attr-ecshop68 dl,
body.cnt-inner .box-attr-ecshop68 dl,
body.cnt-category .box-attr-ecshop68 dt { color: var(--ec-ink-2); }
body.cnt-category .box-attr-ecshop68 dd a { color: var(--ec-ink-2) !important; border-radius: 3px; }
body.cnt-category .box-attr-ecshop68 dd a:hover,
body.cnt-inner .box-attr-ecshop68 dd a:hover,
body.cnt-category .box-attr-ecshop68 dd a.selected { color: var(--ec-blue) !important; }
body.cnt-category .box-attr-ecshop68 input { border-color: var(--ec-line) !important; border-radius: 3px; }
body.cnt-category .box-attr-ecshop68 a.btn-primary,
body.cnt-inner .box-attr-ecshop68 a.btn-primary,
body.cnt-category .determine,
body.cnt-inner .determine,
body.cnt-category .attr-group-more { background: var(--ec-blue) !important; border-color: var(--ec-blue) !important; color: #FFF !important; }
/* 价格区间输入框 */
body.cnt-category #price_min,
body.cnt-inner #price_min,
body.cnt-category #price_max,
body.cnt-inner #price_max,
body.cnt-category input[name="price_min"], body.cnt-category input[name="price_max"] {
    border: 1px solid var(--ec-line) !important; border-radius: 3px; padding: 4px 6px;
}

/* 排序条：卡片化，激活排序蓝色 */
body.cnt-category .fore2,
body.cnt-inner .fore2,
body.cnt-category .fore3 { background: #FFF !important; border: 1px solid var(--ec-line) !important; border-radius: var(--ec-radius); }
body.cnt-category .filter-btn,
body.cnt-inner .filter-btn,
body.cnt-category .sort-bar,
body.cnt-inner .sort-bar,
body.cnt-category .orderby { background: #FFF; }
body.cnt-category .filter-tag,
body.cnt-inner .filter-tag,
body.cnt-category .filter-tag a { color: var(--ec-ink-2) !important; }
body.cnt-category .filter-tag a:hover,
body.cnt-inner .filter-tag a:hover,
body.cnt-category .filter-tag.selected,
body.cnt-inner .filter-tag.selected,
body.cnt-category .filter-tag.selected a,
body.cnt-inner .filter-tag.selected a,
body.cnt-category [class*="sort"] a:hover,
body.cnt-inner [class*="sort"] a:hover,
body.cnt-category .current { color: var(--ec-blue) !important; }
body.cnt-category .total { color: var(--ec-muted); font-size: 13px; }
body.cnt-category .total .main-color { color: var(--ec-blue) !important; font-weight: 700; }

/* 商品网格：卡片化 + 留白 */
body.cnt-category .item {
    background: #FFF !important;
    border: 1px solid var(--ec-line) !important;
    border-radius: var(--ec-radius) !important;
    overflow: hidden;
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
body.cnt-category .item:hover {
    border-color: var(--ec-blue-line) !important;
    box-shadow: var(--ec-shadow-hover);
    transform: translateY(-3px);
}
body.cnt-category .item-con { background: #FFF !important; border: 0 !important; padding: 10px; }
body.cnt-category .item-pic { padding: 6px; background: #FFF; }
body.cnt-category .item-pic img { background: #FFF; transition: opacity .2s; }
body.cnt-category .item-pic a:hover img { opacity: .88; }
body.cnt-category .item-name { min-height: 2.6em; line-height: 1.3; }
body.cnt-category .item-name a { color: var(--ec-ink-2) !important; font-size: 13px; }
body.cnt-category .item:hover .item-name a { color: var(--ec-blue) !important; }
/* 价格橙 → 品牌蓝 */
body.cnt-category .sale-price,
body.cnt-inner .sale-price,
body.cnt-category .item-price .main-color,
body.cnt-inner .item-price .main-color,
body.cnt-category .p-price,
body.cnt-inner .p-price,
body.cnt-category .best_goods_price { color: var(--ec-blue) !important; }
body.cnt-category .item-price .sale-price { font-size: 18px; font-weight: 700; }
body.cnt-category .sale-count,
body.cnt-inner .sale-count,
body.cnt-category .p-comm-num { color: var(--ec-muted) !important; font-size: 12px; }
body.cnt-category .item-price,
body.cnt-inner .item-price,
body.cnt-category .item-operate { height: auto !important; min-height: 40px; }
/* 标签：爆款/精品 橙 → 蓝 */
body.cnt-category .item-tag span { letter-spacing: 1px; }
/* 操作按钮：对比/收藏/评论 去橙，购物车图标蓝 */
body.cnt-category .operate-btn,
body.cnt-inner .operate-btn,
body.cnt-category .operate-btn a,
body.cnt-inner .operate-btn a,
body.cnt-category .item-operate a { color: var(--ec-ink-2) !important; }
body.cnt-category .operate-btn:hover { color: var(--ec-blue) !important; }
body.cnt-category .add-cart {
    background-color: var(--ec-blue) !important;
    border-radius: 4px !important;
    transition: background-color .18s;
}
body.cnt-category .add-cart:hover { background-color: var(--ec-blue-dark) !important; }

/* 左侧「新品推荐」边栏：标题栏去灰，卡片化 */
body.cnt-category .sidebar-panel-header,
body.cnt-inner .sidebar-panel-header,
body.cnt-category .fore1 .title,
body.cnt-inner .fore1 .title,
body.cnt-category .aside-tit {
    background: var(--ec-blue) !important; color: #FFF !important;
    border: 0 !important; padding: .6rem 1rem; font-weight: 600;
}
body.cnt-category .fore1 { background: #FFF !important; border: 1px solid var(--ec-line) !important; border-radius: var(--ec-radius); }
body.cnt-category .fore1 .item { border: 0 !important; border-bottom: 1px solid var(--ec-line) !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important; }
body.cnt-category .fore1 .item:last-child { border-bottom: 0 !important; }
body.cnt-category .fore1 .p-name a { color: var(--ec-ink-2) !important; }
body.cnt-category .fore1 .p-name a:hover { color: var(--ec-blue) !important; }
body.cnt-category .fore1 .p-price { color: var(--ec-blue) !important; font-weight: 700; }

/* ===========================================================================
   商品详情页（body.cnt-goods）
   =========================================================================== */
body.cnt-goods .margin-w1210,
body.cnt-inner .margin-w1210,
body.cnt-goods .w1210 { width: 1200px !important; max-width: 100%; margin-left: auto; margin-right: auto; }

/* 商品主图区：白底卡片 + 圆角 */
body.cnt-goods #preview,
body.cnt-inner #preview,
body.cnt-goods .goods-img {
    background: #FFF !important;
    border: 1px solid var(--ec-line) !important;
    border-radius: var(--ec-radius);
}
body.cnt-goods .goods-img { padding: 12px; }
body.cnt-goods .goodsimg { background: #FFF; }
/* 相册缩略图选中态蓝 */
body.cnt-goods .goods-gallery li,
body.cnt-inner .goods-gallery li,
body.cnt-goods .gallery-list li { border-color: var(--ec-line) !important; border-radius: 3px; }
body.cnt-goods .goods-gallery li:hover,
body.cnt-inner .goods-gallery li:hover,
body.cnt-goods .goods-gallery li.cur,
body.cnt-inner .goods-gallery li.cur,
body.cnt-goods .gallery-list li.cur { border-color: var(--ec-blue) !important; }
/* 货号 / 对比 / 收藏工具栏 */
body.cnt-goods .goods-sn-color,
body.cnt-inner .goods-sn-color,
body.cnt-goods .goods-sn,
body.cnt-inner .goods-sn,
body.cnt-goods .goods-compare,
body.cnt-inner .goods-compare,
body.cnt-goods .goods-col { color: var(--ec-ink-2) !important; }
body.cnt-goods .goods-compare:hover,
body.cnt-inner .goods-compare:hover,
body.cnt-goods .goods-col:hover { color: var(--ec-blue) !important; }

/* 商品名 */
body.cnt-goods .goods-name h1 { color: var(--ec-ink) !important; font-size: 20px; font-weight: 600; line-height: 1.4; }

/* 价格区：玫红 #f52648 → 品牌蓝 */
body.cnt-goods #goods-price { background: #F5F8FC !important; border: 1px solid var(--ec-blue-line) !important; border-radius: var(--ec-radius); padding: 1rem 1.25rem !important; }
body.cnt-goods .p-price,
body.cnt-inner .p-price,
body.cnt-goods #ECS_GOODS_AMOUNT,
body.cnt-inner #ECS_GOODS_AMOUNT,
body.cnt-goods .goods-price,
body.cnt-inner .goods-price,
body.cnt-goods .price { color: var(--ec-blue) !important; }
body.cnt-goods #ECS_GOODS_AMOUNT { font-size: 30px; font-weight: 700; }
body.cnt-goods .market-price { color: var(--ec-muted) !important; }
body.cnt-goods .depreciate a { color: var(--ec-ink-2) !important; }
body.cnt-goods .depreciate a:hover { color: var(--ec-blue) !important; }
body.cnt-goods .rmbPrice { color: var(--ec-ink-2) !important; }
body.cnt-goods .price-text-notice { color: #E4393C; }
/* 累积评价/销量/积分条 */
body.cnt-goods #summary-qita,
body.cnt-inner #summary-qita,
body.cnt-goods .qita { border: 0 !important; }
body.cnt-goods .qita li { border-color: var(--ec-line) !important; }
body.cnt-goods .qita p { color: var(--ec-ink-2); }
body.cnt-goods .qita p span { color: var(--ec-blue); }

/* 属性选择区 */
body.cnt-goods #choose,
body.cnt-inner #choose,
body.cnt-goods .choose_bor { border-color: var(--ec-line) !important; }
body.cnt-goods #choose .dt { color: var(--ec-ink-2); }
body.cnt-goods .wrap-input input,
body.cnt-inner .wrap-input input,
body.cnt-goods .inputBg { border: 1px solid var(--ec-line) !important; border-radius: 3px; }
body.cnt-goods .btn-reduce,
body.cnt-inner .btn-reduce,
body.cnt-goods .btn-add { border-color: var(--ec-line) !important; color: var(--ec-ink-2) !important; }
body.cnt-goods .btn-add:hover,
body.cnt-inner .btn-add:hover,
body.cnt-goods .btn-reduce:hover { color: var(--ec-blue) !important; border-color: var(--ec-blue) !important; }

/* 购买按钮：橙 → 品牌蓝 */
body.cnt-goods .u-buy1,
body.cnt-inner .u-buy1,
body.cnt-goods .u-buy2,
body.cnt-inner .u-buy2,
body.cnt-goods .right-add {
    background-color: var(--ec-blue) !important;
    border-color: var(--ec-blue) !important;
    color: #FFF !important;
    border-radius: var(--ec-radius) !important;
    transition: background-color .18s, transform .18s;
}
body.cnt-goods .u-buy1 { background: var(--ec-blue-soft) !important; color: var(--ec-blue) !important; }
body.cnt-goods .u-buy1:hover,
body.cnt-inner .u-buy1:hover,
body.cnt-goods .u-buy2:hover,
body.cnt-inner .u-buy2:hover,
body.cnt-goods .right-add:hover { background-color: var(--ec-blue-dark) !important; border-color: var(--ec-blue-dark) !important; color: #FFF !important; }
body.cnt-goods .u-buy1:hover { background: var(--ec-blue) !important; color: #FFF !important; }
body.cnt-goods .tell-me { color: var(--ec-ink-2) !important; }
body.cnt-goods .tell-me:hover { color: var(--ec-blue) !important; }

/* 店铺信息卡（卖家模块）：橙色标题/粉红按钮 → 蓝 */
body.cnt-goods .shop-title,
body.cnt-inner .shop-title,
body.cnt-goods .shop-name,
body.cnt-inner .shop-name,
body.cnt-goods .shop-info .title,
body.cnt-inner .shop-info .title,
body.cnt-goods [class*="shop"] .title { color: var(--ec-blue) !important; }
body.cnt-goods .shop-add,
body.cnt-inner .shop-add,
body.cnt-goods .goto-shop {
    background: var(--ec-blue) !important;
    border-color: var(--ec-blue) !important;
    color: #FFF !important;
    border-radius: var(--ec-radius) !important;
}
body.cnt-goods .shop-add:hover,
body.cnt-inner .shop-add:hover,
body.cnt-goods .goto-shop:hover { background: var(--ec-blue-dark) !important; }
body.cnt-goods .rate,
body.cnt-inner .rate,
body.cnt-goods .scores { color: var(--ec-blue) !important; }

/* 推荐商品 / 相关商品：卡片化，价格橙 → 蓝 */
body.cnt-goods .rain-product-info,
body.cnt-inner .rain-product-info,
body.cnt-goods .best_goods,
body.cnt-inner .best_goods,
body.cnt-goods .goods_item,
body.cnt-inner .goods_item,
body.cnt-goods .related-goods li { border-color: var(--ec-line) !important; }
body.cnt-goods .p-img { background: #FFF; padding: 6px; }
body.cnt-goods .p-name a { color: var(--ec-ink-2) !important; }
body.cnt-goods .p-name a:hover { color: var(--ec-blue) !important; }
body.cnt-goods .p-price,
body.cnt-inner .p-price,
body.cnt-goods .best_goods_price { color: var(--ec-blue) !important; font-weight: 700; }

/* 规格参数 / 详情标签页：橙激活 → 蓝 */
body.cnt-goods .tab-title,
body.cnt-inner .tab-title,
body.cnt-goods .tabs li,
body.cnt-inner .tabs li,
body.cnt-goods .goods-tab li,
body.cnt-inner .goods-tab li,
body.cnt-goods .nav-tabs > li > a { border-color: var(--ec-line) !important; color: var(--ec-ink-2) !important; }
body.cnt-goods .tab-title .active,
body.cnt-inner .tab-title .active,
body.cnt-goods .tabs li.active,
body.cnt-inner .tabs li.active,
body.cnt-goods .goods-tab li.active,
body.cnt-inner .goods-tab li.active,
body.cnt-goods .nav-tabs > li.active > a {
    background: var(--ec-blue) !important; color: #FFF !important; border-color: var(--ec-blue) !important;
}
body.cnt-goods .aside-tit { background: #F5F8FC !important; color: var(--ec-ink) !important; border: 1px solid var(--ec-line) !important; font-weight: 600; }
body.cnt-goods .boldtit-list li,
body.cnt-inner .boldtit-list li,
body.cnt-goods .related-cat li a { color: var(--ec-ink-2) !important; }
body.cnt-goods .boldtit-list li a:hover,
body.cnt-inner .boldtit-list li a:hover,
body.cnt-goods .related-cat li a:hover { color: var(--ec-blue) !important; }

/* 规格参数表 */
body.cnt-goods table { border-color: var(--ec-line) !important; }
body.cnt-goods table td,
body.cnt-inner table td,
body.cnt-goods table th { border-color: var(--ec-line) !important; color: var(--ec-ink-2); }

/* ---------------------------------------------------------------------------
   6. 内页橙色残留精准清除（探测真实计算样式后补充）
   --------------------------------------------------------------------------- */
/* 通用主色类：橙 → 蓝（详情页影响面：降价通知、链接等） */
body.cnt-goods .main-color { color: var(--ec-blue) !important; }
/* 店铺卡标题栏：橙底 → 蓝底 */
body.cnt-goods .shop-title {
    background: var(--ec-blue) !important;
    color: #FFF !important;
    padding: .6rem 1rem;
    border-radius: var(--ec-radius) var(--ec-radius) 0 0;
}
/* 降价通知标签：粉底 → 浅蓝底蓝字 */
body.cnt-goods .depreciate,
body.cnt-inner .depreciate,
body.cnt-goods .depreciate a {
    background: var(--ec-blue-soft) !important;
    color: var(--ec-blue) !important;
    border-radius: 3px;
}
/* 标签页选中态（规格参数等）：橙底 → 蓝底 */
body.cnt-goods .cur,
body.cnt-inner .cur,
body.cnt-goods .boldtit-list.h-list,
body.cnt-inner .boldtit-list.h-list,
body.cnt-goods .tab-title .cur {
    background: var(--ec-blue) !important;
    color: #FFF !important;
    border-color: var(--ec-blue) !important;
}
/* 好评度徽标 / 圆点：玫红 → 蓝 */
body.cnt-goods .badge-circle,
body.cnt-inner .badge-circle,
body.cnt-goods .badge-circle.text-white { background: var(--ec-blue) !important; }
/* 到货通知 / 弹层确认按钮：橙 → 蓝 */
body.cnt-goods .tell-me,
body.cnt-inner .tell-me,
body.cnt-goods .sure-btn,
body.cnt-inner .sure-btn,
body.cnt-goods .pop-sure,
body.cnt-inner .pop-sure,
body.cnt-goods .pop-sure.main-bg-color,
body.cnt-inner .pop-sure.main-bg-color,
body.cnt-goods .btn-img {
    background: var(--ec-blue) !important;
    border-color: var(--ec-blue) !important;
    color: #FFF !important;
}
body.cnt-goods .tell-me { background: transparent !important; color: var(--ec-blue) !important; }
body.cnt-goods .tell-me:hover { background: var(--ec-blue) !important; color: #FFF !important; }
/* 评论文字图标橙 → 蓝 */
body.cnt-goods .my-comment-pre .text,
body.cnt-inner .my-comment-pre .text,
body.cnt-goods .my-comment-pre .icon,
body.cnt-inner .my-comment-pre .icon,
body.cnt-goods .text,
body.cnt-inner .text,
body.cnt-goods .icon { color: var(--ec-ink-2) !important; }
/* 提示/错误文案（保留语义红，但改柔和，不用刺眼橙） */
body.cnt-goods .notice-icon,
body.cnt-inner .notice-icon,
body.cnt-goods .tell-me-notice,
body.cnt-inner .tell-me-notice,
body.cnt-goods .msg-icon,
body.cnt-inner .msg-icon,
body.cnt-goods .msg-error-text,
body.cnt-inner .msg-error-text,
body.cnt-goods .no-comment { color: #E4393C !important; }

/* ---------------------------------------------------------------------------
   7. 详情页顽固残留（雪碧图 / 组合样式）
   --------------------------------------------------------------------------- */
/* 推荐精品标题：橙字 + 橙顶边 → 品牌蓝 */
body.cnt-goods .goods-best .mt { border-color: var(--ec-line) !important; }
body.cnt-goods .goods-best .mt h2 {
    color: var(--ec-blue) !important;
    border-top-color: var(--ec-blue) !important;
    border-left: 1px solid var(--ec-line) !important;
    border-right: 1px solid var(--ec-line) !important;
    font-weight: 600;
}
/* 好评率进度条：雪碧图红 → 品牌蓝纯色 */
body.cnt-goods .rate-detail .hot-grey,
body.cnt-inner .rate-detail .hot-grey,
body.cnt-goods .shop-score .hot-grey {
    background: var(--ec-line) !important;
    border-radius: 5px;
}
body.cnt-goods .rate-detail .hot-red,
body.cnt-inner .rate-detail .hot-red,
body.cnt-goods .shop-score .hot-red {
    background: var(--ec-blue) !important;
    border-radius: 5px;
}
/* 评价明细条（ goods-content / score-detail ）红 → 蓝 */
body.cnt-goods .goods-content dl dd > div,
body.cnt-inner .goods-content dl dd > div,
body.cnt-goods .score-detail li > div,
body.cnt-inner .score-detail li > div,
body.cnt-goods .my-comment-pre ul li.pre dl dd div { background: var(--ec-blue) !important; }
body.cnt-goods .hpd .main-color { color: var(--ec-blue) !important; }
/* 店铺评分小图标红心 → 蓝（3.0/5.0/5.0 旁） */
body.cnt-goods .shop-score i,
body.cnt-inner .shop-score i,
body.cnt-goods .score-detail i { filter: grayscale(1) sepia(1) saturate(4) hue-rotate(190deg); }

/* 店铺评分小图标（描述/服务/发货 雪碧图红心）：隐藏装饰图，保留蓝色分数文字 */
body.cnt-goods .score-detail .score-tit,
body.cnt-inner .score-detail .score-tit,
body.cnt-goods .score-detail li a > span[class*="score-tit"] {
    background: none !important;
    color: var(--ec-ink-2) !important;
    font-size: 12px;
}
body.cnt-goods .score-detail .scores { color: var(--ec-blue) !important; }
body.cnt-goods .badge-circle { background: var(--ec-blue) !important; }

/* ---------------------------------------------------------------------------
   8. 分类页通用橙色 class 清除（与详情页同款）
   --------------------------------------------------------------------------- */
body.cnt-category .main-color { color: var(--ec-blue) !important; }
body.cnt-category .num.curr,
body.cnt-inner .num.curr,
body.cnt-category .pages .curr,
body.cnt-inner .pages .curr,
body.cnt-category .pagin .cur,
body.cnt-inner .pagin .cur,
body.cnt-category .page-item.active .page-link {
    background: var(--ec-blue) !important; color: #FFF !important; border-color: var(--ec-blue) !important;
}
body.cnt-category .icon-order-ASCending,
body.cnt-inner .icon-order-ASCending,
body.cnt-category .icon-order-DESCending,
body.cnt-inner .icon-order-DESCending,
body.cnt-category [class*="icon-order"] { color: var(--ec-blue) !important; }
body.cnt-category .browse-history-line.main-bg-color { background: var(--ec-blue) !important; }
body.cnt-category .quick-login-a.main-color,
body.cnt-inner .quick-login-a.main-color,
body.cnt-category .right_register.main-color { color: var(--ec-blue) !important; }
body.cnt-category .pop-sure,
body.cnt-inner .pop-sure,
body.cnt-category .pop-sure.main-bg-color,
body.cnt-inner .pop-sure.main-bg-color,
body.cnt-category .sure-btn,
body.cnt-inner .sure-btn,
body.cnt-category .btn-img {
    background: var(--ec-blue) !important; border-color: var(--ec-blue) !important; color: #FFF !important;
}
body.cnt-category .badge-circle,
body.cnt-inner .badge-circle,
body.cnt-category .badge-circle.text-white { background: var(--ec-blue) !important; }
body.cnt-category .text,
body.cnt-inner .text,
body.cnt-category .icon { color: var(--ec-ink-2) !important; }
body.cnt-category .pop-text { color: var(--ec-muted) !important; }
/* 弹层提示文字（到货通知）：浅橙 → 中性灰 */
body.cnt-goods .pop-text { color: var(--ec-muted) !important; }

/* ---------------------------------------------------------------------------
   9. 搜索页：关键词命中高亮（内联 #cc0000 深红 → 品牌蓝）
   --------------------------------------------------------------------------- */
body.cnt-search .item-name strong[style*="color"],
body.cnt-search .p-name strong[style*="color"],
body.cnt-search strong[style*="color:#cc0000"],
body.cnt-search strong[style*="color: #cc0000"] { color: var(--ec-blue) !important; }


/* 购物车小图标：放弃雪碧图 hue-rotate（黄绿色转不纯），改用 bootstrap-icons 蓝色图标 */
body.cnt-inner a.j_AddCart { background: none !important; }
body.cnt-inner a.j_AddCart::before {
    content: "\f23d"; /* bi-cart-fill */
    font-family: "bootstrap-icons";
    font-size: 22px;
    color: var(--ec-blue);
    display: block;
    text-align: center;
    line-height: 32px;
}
/* 旧绿色步骤条雪碧图已由 blue-flow.css 平色方案替代，hue-rotate 会把品牌蓝转成粉色，故删除 */

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

/* ============================================================================
   头部统一：内页头部外观与首页 blue-minimal.css 完全一致
   （顶栏白底 / 搜索框方角描边+蓝色按钮 / 导航白底 / 分类按钮圆角）
   ============================================================================ */
body.cnt-category .top-header,
body.cnt-goods .top-header,
body.cnt-inner .top-header {
    background-color: #FFF !important;
    color: var(--ec-ink-2) !important;
    border-bottom: 1px solid var(--ec-line) !important;
}
body.cnt-category .top-header a,
body.cnt-goods .top-header a,
body.cnt-inner .top-header a { color: var(--ec-ink-2) !important; }
body.cnt-category .top-header a:hover,
body.cnt-goods .top-header a:hover,
body.cnt-inner .top-header a:hover { color: var(--ec-blue) !important; }
body.cnt-category .top-header .separator,
body.cnt-goods .top-header .separator,
body.cnt-inner .top-header .separator {
    display: inline-block; width: 1px; height: 12px;
    background: var(--ec-line); vertical-align: middle;
}
/* Logo 尺寸与首页一致 */
body.cnt-category .logo img,
body.cnt-goods .logo img,
body.cnt-inner .logo img { max-height: 52px !important; width: auto !important; object-fit: contain; }

/* 搜索框：整框方角描边、聚焦蓝晕（与首页一致） */
body.cnt-category .group-circle,
body.cnt-goods .group-circle,
body.cnt-inner .group-circle {
    border: 1px solid var(--ec-blue-line) !important;
    border-radius: var(--ec-radius) !important;
    overflow: hidden !important;
    background: #FFF !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body.cnt-category .group-circle:focus-within,
body.cnt-goods .group-circle:focus-within,
body.cnt-inner .group-circle:focus-within {
    border-color: var(--ec-blue) !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, .12);
}
body.cnt-category .group-circle .form-control,
body.cnt-goods .group-circle .form-control,
body.cnt-inner .group-circle .form-control { box-shadow: none !important; }
body.cnt-category .group-circle .form-control::placeholder,
body.cnt-goods .group-circle .form-control::placeholder,
body.cnt-inner .group-circle .form-control::placeholder { color: var(--ec-muted); }
/* 搜索按钮：品牌蓝方块 */
body.cnt-category .group-circle .btn,
body.cnt-goods .group-circle .btn,
body.cnt-inner .group-circle .btn {
    background-color: var(--ec-blue) !important;
    color: #FFF !important;
    border: 0 !important;
    border-radius: 0 !important;
    --bs-btn-bg: var(--ec-blue);
    --bs-btn-border-color: var(--ec-blue);
}
body.cnt-category .group-circle .btn:hover,
body.cnt-goods .group-circle .btn:hover,
body.cnt-inner .group-circle .btn:hover { background-color: var(--ec-blue-hover) !important; color: #FFF !important; }
/* 快捷入口图标 */
body.cnt-category .badge-circle,
body.cnt-goods .badge-circle,
body.cnt-inner .badge-circle { background-color: var(--ec-blue) !important; }
body.cnt-category .badge-circle:empty,
body.cnt-goods .badge-circle:empty,
body.cnt-inner .badge-circle:empty { display: none; }
body.cnt-category .bi-heart, body.cnt-category .bi-bag,
body.cnt-goods .bi-heart, body.cnt-goods .bi-bag,
body.cnt-inner .bi-heart, body.cnt-inner .bi-bag { color: var(--ec-blue) !important; }

/* 主导航 + 分类按钮：白底 + 蓝按钮 + 圆角（与首页一致） */
body.cnt-category nav,
body.cnt-goods nav,
body.cnt-inner nav {
    background-color: #FFF !important;
    border-top: 1px solid var(--ec-line) !important;
    box-shadow: 0 1px 0 rgba(36, 48, 67, .04) !important;
}
body.cnt-category .btn-categories-toggle,
body.cnt-goods .btn-categories-toggle,
body.cnt-inner .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;
}
body.cnt-category .btn-categories-toggle:hover,
body.cnt-goods .btn-categories-toggle:hover,
body.cnt-inner .btn-categories-toggle:hover {
    background-color: var(--ec-blue-hover) !important;
    border-color: var(--ec-blue-hover) !important;
}
body.cnt-category .main-nav .nav-link,
body.cnt-goods .main-nav .nav-link,
body.cnt-inner .main-nav .nav-link {
    color: var(--ec-ink) !important;
    font-weight: 500 !important;
    border-bottom: 2px solid transparent !important;
}
body.cnt-category .main-nav .nav-link:hover,
body.cnt-category .main-nav .nav-link.active,
body.cnt-goods .main-nav .nav-link:hover,
body.cnt-goods .main-nav .nav-link.active,
body.cnt-inner .main-nav .nav-link:hover,
body.cnt-inner .main-nav .nav-link.active {
    color: var(--ec-blue) !important;
    border-bottom-color: var(--ec-blue) !important;
}
body.cnt-category nav .col-lg-2 .nav-link,
body.cnt-goods nav .col-lg-2 .nav-link,
body.cnt-inner nav .col-lg-2 .nav-link { color: var(--ec-ink-2) !important; white-space: nowrap; font-size: 13px !important; }
body.cnt-category nav .bi-tags,
body.cnt-goods nav .bi-tags,
body.cnt-inner nav .bi-tags { color: var(--ec-blue) !important; }

/* ============================================================================
   排序箭头：老雪碧图（红色）→ bootstrap-icons 蓝色 caret
   ============================================================================ */
body.cnt-category .order b[class*="icon-order"],
body.cnt-goods .order b[class*="icon-order"],
body.cnt-inner .order b[class*="icon-order"] {
    background-image: none !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    display: inline-block !important;
    margin-left: 3px !important;
    vertical-align: 1px !important;
    font-family: "bootstrap-icons" !important;
    font-size: 10px !important;
    color: var(--ec-muted) !important;
    line-height: 1 !important;
}
/* 默认降序箭头 */
body.cnt-category .order b.icon-order-DESCending::before,
body.cnt-goods .order b.icon-order-DESCending::before,
body.cnt-inner .order b.icon-order-DESCending::before { content: "\f229"; }
/* 当前项/悬停升序箭头 → 品牌蓝 */
body.cnt-category .order .curr b[class*="icon-order"]::before,
body.cnt-category .order a:hover b[class*="icon-order"]::before,
body.cnt-goods .order .curr b[class*="icon-order"]::before,
body.cnt-goods .order a:hover b[class*="icon-order"]::before,
body.cnt-inner .order .curr b[class*="icon-order"]::before,
body.cnt-inner .order a:hover b[class*="icon-order"]::before { content: "\f235"; }
body.cnt-category .order .curr b[class*="icon-order"],
body.cnt-category .order a:hover b[class*="icon-order"],
body.cnt-goods .order .curr b[class*="icon-order"],
body.cnt-goods .order a:hover b[class*="icon-order"],
body.cnt-inner .order .curr b[class*="icon-order"],
body.cnt-inner .order a:hover b[class*="icon-order"] { color: var(--ec-blue) !important; }

/* ============================================================================
   价格筛选区：胶囊标签 + 品牌蓝确定按钮（与首页筛选器风格统一）
   ============================================================================ */
body.cnt-category .box-attr-ecshop68,
body.cnt-goods .box-attr-ecshop68,
body.cnt-inner .box-attr-ecshop68 {
    background: #FFF !important;
    border: 1px solid var(--ec-line) !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    box-shadow: 0 2px 12px rgba(36, 48, 67, .04) !important;
}
body.cnt-category .box-attr-ecshop68 dl,
body.cnt-goods .box-attr-ecshop68 dl,
body.cnt-inner .box-attr-ecshop68 dl { display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 !important; }
body.cnt-category .box-attr-ecshop68 dt,
body.cnt-goods .box-attr-ecshop68 dt,
body.cnt-inner .box-attr-ecshop68 dt {
    color: var(--ec-ink) !important; font-weight: 700 !important; font-size: 14px !important;
    padding: 0 14px 0 0 !important; white-space: nowrap;
}
body.cnt-category .box-attr-ecshop68 dd,
body.cnt-goods .box-attr-ecshop68 dd,
body.cnt-inner .box-attr-ecshop68 dd { margin: 0 !important; float: none !important; }
body.cnt-category .box-attr-ecshop68 dd ul,
body.cnt-goods .box-attr-ecshop68 dd ul,
body.cnt-inner .box-attr-ecshop68 dd ul { display: flex !important; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; }
body.cnt-category .box-attr-ecshop68 dd ul li,
body.cnt-goods .box-attr-ecshop68 dd ul li,
body.cnt-inner .box-attr-ecshop68 dd ul li { float: none !important; margin: 0 !important; padding: 0 !important; }
body.cnt-category .box-attr-ecshop68 dd ul li a,
body.cnt-goods .box-attr-ecshop68 dd ul li a,
body.cnt-inner .box-attr-ecshop68 dd ul li a {
    display: inline-block !important;
    padding: 6px 14px !important;
    border: 1px solid var(--ec-line) !important;
    border-radius: 6px !important;
    background: #FFF !important;
    color: var(--ec-ink-2) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: all .18s ease;
}
body.cnt-category .box-attr-ecshop68 dd ul li a:hover,
body.cnt-goods .box-attr-ecshop68 dd ul li a:hover,
body.cnt-inner .box-attr-ecshop68 dd ul li a:hover {
    color: var(--ec-blue) !important;
    border-color: var(--ec-blue) !important;
    background: var(--ec-blue-soft) !important;
}
body.cnt-category .box-attr-ecshop68 .price-68ecshop,
body.cnt-goods .box-attr-ecshop68 .price-68ecshop,
body.cnt-inner .box-attr-ecshop68 .price-68ecshop {
    width: 62px !important; height: 32px !important;
    border: 1px solid var(--ec-blue-line) !important;
    border-radius: 6px !important;
    text-align: center !important;
    color: var(--ec-ink) !important;
    font-size: 13px !important;
    padding: 0 6px !important;
}
body.cnt-category .box-attr-ecshop68 li i,
body.cnt-goods .box-attr-ecshop68 li i,
body.cnt-inner .box-attr-ecshop68 li i { background: var(--ec-muted) !important; width: 10px !important; height: 1px !important; }
body.cnt-category .box-attr-ecshop68 .select-button,
body.cnt-goods .box-attr-ecshop68 .select-button,
body.cnt-inner .box-attr-ecshop68 .select-button {
    display: inline-block !important;
    height: 32px !important; line-height: 32px !important;
    padding: 0 18px !important;
    border: none !important;
    border-radius: 6px !important;
    background: var(--ec-blue) !important;
    color: #FFF !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-left: 6px !important;
}
body.cnt-category .box-attr-ecshop68 .select-button:hover,
body.cnt-goods .box-attr-ecshop68 .select-button:hover,
body.cnt-inner .box-attr-ecshop68 .select-button:hover { background: var(--ec-blue-hover) !important; color: #FFF !important; }

/* ============================================================================
   详情页店铺卡片 + 推荐商品卡片：修复老 CSS 布局残留（追加于 2026-11-20）
   ============================================================================ */
/* ---- 店铺卡片：进入商店 / 关注本店 按钮文字完整显示 ---- */
body.cnt-goods #enter-shop .enter-shop-item { display: flex !important; gap: 8px !important; width: auto !important; }
body.cnt-goods #enter-shop .enter-shop-item .btn-flat1 {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    min-width: 88px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 10px 0 8px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
}
body.cnt-goods #enter-shop .enter-shop-item .shop-add { margin-left: 0 !important; }
body.cnt-goods #enter-shop .enter-shop-item .btn-flat1 i {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 14px !important;
    height: 14px !important;
    flex: none !important;
}

/* ---- 推荐商品：卡片化，价格默认可见、不再被裁 ---- */
body.cnt-goods .goods-best .colList ul li {
    height: 214px !important;                 /* 原160，留出价格区高度 */
    overflow: hidden !important;
    background: #FFF !important;
    border: 1px solid var(--ec-line) !important;
    border-radius: 10px !important;
}
/* 取消之前给 p-img 的 padding，避免图片撑破 li */
body.cnt-goods .goods-best .p-img { padding: 0 !important; background: #FFF !important; }
body.cnt-goods .goods-best .p-img img { width: 100% !important; height: 160px !important; object-fit: cover !important; display: block !important; }
/* 价格层：默认就显示在底部，不再 hover 才出现 */
body.cnt-goods .goods-best .rain-product-info,
body.cnt-goods .goods-best .colList ul li .rain-product-info {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    background: #FFF !important;
    padding: 6px 0 !important;
    border-top: 1px solid var(--ec-line) !important;
}
body.cnt-goods .goods-best .colList ul li:hover .rain-product-info { bottom: 0 !important; }
body.cnt-goods .goods-best .colList ul li .rain-product-info .p-price {
    padding-left: 10px !important;
    font-size: 15px !important;
    color: var(--ec-blue) !important;
    font-weight: 700 !important;
}
body.cnt-goods .goods-best .colList ul li .rain-product-info .rate {
    height: auto !important;
    line-height: 1.5 !important;
    padding: 0 10px !important;
    color: var(--ec-ink-2) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 推荐商品：放开外层容器高度，避免裁掉卡片底部的价格区 */
body.cnt-goods .goods-best .colList,
body.cnt-goods .goods-best .colList .colFrame,
body.cnt-goods .goods-best .colList ul {
    height: 228px !important;
    overflow: hidden !important;
}
body.cnt-goods .goods-best .colList .colFrame { padding: 6px 0 8px !important; }
/* 推荐精品模块整体高度自适应，避免下方页签区上压遮住商品名称 */
body.cnt-goods .goods-best { height: auto !important; overflow: visible !important; }

/* ============================================================================
   商品详情页：标题多行完整显示 + 隐藏失效的评分方块（追加 2026-11-20）
   ============================================================================ */
/* ---- 标题：老 CSS 固定 height:40px + overflow:hidden 裁掉第二行，放开高度 ---- */
body.cnt-goods .goods-name h1 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
}
/* 价格框保持正常文档流，不再用负 margin 上移压标题 */
body.cnt-goods .goods-detail-info #goods-price {
    margin-top: 12px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ---- 店铺评分三方块：标签雪碧图已失效，只剩孤立 5.0，直接隐藏 ---- */
body.cnt-goods #shop-info .score-detail { display: none !important; }
