.slideshow {
    height: 400px;
    object-fit: cover;
}

/* =========================================================
   产品列表页：左侧分类卡片
   PC：左侧窄栏 + 产品一行4个
   移动端：分类折叠菜单 + 产品一行2个
   ========================================================= */
.product-sidebar {
    background: #fff;
    border: 1px solid var(--corp-line, #e6ecf4);
    border-radius: var(--corp-radius, 10px);
    box-shadow: 0 10px 30px rgba(8, 27, 51, .08);
    overflow: hidden;
}

.product-sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    background: var(--corp-grad, linear-gradient(120deg, #0a4fd4 0%, #0062ff 48%, #00b6ff 100%));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-sidebar-head::before {
    content: "";
    flex: 0 0 4px;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: #fff;
}

.product-sort-caret {
    display: none;
    margin-left: auto;
    font-size: 16px;
    transition: transform .25s;
}

.product-sidebar .product-sort-text {
    padding: 6px 0;
}

.product-sidebar .product-sort-link {
    position: relative;
    display: block;
    padding: 12px 12px 12px 30px;
    color: var(--corp-navy, #081b33);
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px dashed var(--corp-line, #e6ecf4);
    transition: color .2s, background .2s, padding-left .2s;
}

.product-sidebar .product-sort-link:last-child {
    border-bottom: none;
}

.product-sidebar .product-sort-link::before {
    content: "\f105";
    font-family: "FontAwesome";
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--corp-blue, #0a4fd4);
    opacity: .55;
    transition: opacity .2s, transform .2s;
}

.product-sidebar .product-sort-link:hover {
    color: var(--corp-blue, #0a4fd4);
    background: var(--corp-bg-soft, #f4f7fc);
    padding-left: 34px;
}

.product-sidebar .product-sort-link:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

.product-sidebar .product-sort-link.active {
    color: var(--corp-blue, #0a4fd4);
    background: var(--corp-bg-soft, #f4f7fc);
    box-shadow: inset 3px 0 0 var(--corp-blue, #0a4fd4);
}

/* 列表页产品图高度：PC 一排4个 */
.pages .product-list-grid .product-hero-card .ph-thumb {
    height: 200px;
}

/* ---------- 移动端（<992px）：分类改为可点击拉起的折叠菜单 ---------- */
@media (max-width: 991.98px) {
    .product-sidebar-head {
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
    }

    .product-sort-caret {
        display: inline-block;
    }

    .product-sidebar .product-sort-text {
        display: none;
        padding: 0;
    }

    .product-sidebar.open .product-sort-text {
        display: flex;
        flex-wrap: wrap;
    }

    .product-sidebar.open .product-sort-caret {
        transform: rotate(180deg);
    }

    .product-sidebar .product-sort-link {
        flex: 1 1 50%;
        padding: 12px 10px 12px 26px;
        border-bottom: 1px solid var(--corp-line, #e6ecf4);
    }

    .product-sidebar .product-sort-link::before {
        left: 11px;
    }

    .product-sidebar .product-sort-link:hover {
        padding-left: 26px;
    }

    .product-sidebar .product-sort-link.active {
        box-shadow: inset 0 -3px 0 var(--corp-blue, #0a4fd4);
    }
}

/* 移动端一排2个：缩小图片高度 */
@media (max-width: 575.98px) {
    .pages .product-list-grid .product-hero-card .ph-thumb {
        height: 140px;
    }
}

/* =========================================================
   产品列表页：顶部工具栏（面包屑居左 + 搜索居右）
   ========================================================= */
.product-toolbar .position {
    text-align: left !important;
    margin-bottom: 0 !important;
    display: block !important;
    font-size: 14px;
}

.product-toolbar .product-search .form-control {
    min-width: 200px;
}

@media (max-width: 575.98px) {
    .product-toolbar .product-search {
        display: flex;
        width: 100%;
    }

    .product-toolbar .product-search .form-group {
        flex: 1 1 auto;
        margin-right: 8px !important;
    }

    .product-toolbar .product-search .form-control {
        width: 100%;
        min-width: 0;
    }
}

/* 右侧悬浮客服面板中的客服动图 */
.online .kefu-gif-wrap {
    margin: 8px 0;
}

.online .kefu-gif {
    display: block;
    width: 100%;
    max-width: 110px;
    height: auto;
    border-radius: 8px;
}

/* =========================================================
   内容页顶部 banner（jumbotron）标题改为白色
   ========================================================= */
.jumbotron h1 {
    color: #fff !important;
}
