.heading-banner {
    background: rgba(0, 0, 0, 0) url(/portal/ojs/bilpub/images/prodet.jpg) no-repeat fixed 0 0;
    position: relative;
    min-height: 196px;
    padding: 5px 0;
}

.heading-banner::before{
    background: black none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0;
    width: 100%;
}

.breadcrumb {
    background: transparent none repeat scroll 0 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    padding: 110px 0;
    text-align: center;
    text-transform: uppercase;
    display: block;
}

.shop-area {
    background: #f7f7f7 none repeat scroll 0 0;
    padding: 80px 0;
}

.topbar-category {
    border: 1px solid #e5e5e5;
    clear: both;
    margin-bottom: 40px;
    padding: 15px 15px 10px;
    position: relative;
}

.topbar-category .active a {
    background-color: #ff6464!important;
}

.single-product {
    /* background-color: #f5f5f5; */
    padding: 0 10px 20px;
    position: relative;
    text-align: left;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.single-product:hover {
    transform: translateY(-5px); /* 使用 transform 性能更好，也可以用 top: -5px */
}

.single-product-img {
    background-color: #ffffff;
    margin: auto -10px 20px;
    position: relative;
    overflow: hidden;
    height: 250px;
}

.single-product-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 黑色带0.3的不透明度，即灰色遮罩 */
    opacity: 0; /* 默认完全透明（隐藏） */
    transition: opacity 0.3s ease; /* 遮罩层渐变过渡 */
    pointer-events: none; /* 防止遮罩层干扰图片的点击事件 */
}

.single-product:hover .single-product-img::after {
    opacity: 1; /* 变为可见 */
}

.single-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-object-position: center;
}

.product-title a {
    transition: color 0.2s ease;
}
.product-title h5 {
    /* 1. 触发多行文本截断（超过2行显示...） */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 限制显示2行 */
    overflow: hidden;
    text-overflow: ellipsis;

    /* 2. 核心：强制撑开2行高度（无论1行还是空文字） */
    line-height: 1.4em;       /* 设置每行文字的行高（可根据字体大小自行调整） */
    height: 2.8em;            /* 高度严格等于：行高(1.4) × 行数(2) = 2.8em */
    
    /* 3. 清除浏览器默认的外边距干扰 */
    margin: 0; 
    padding: 0;
    font-weight: bold;
}

.product-title:hover a,
.product-title:hover h5 {
    text-decoration: none;
    color: #ff4d4d; /* 这里的红色你可以根据喜好调整（比如纯红 #ff0000） */
}

.product-action {
    display: inline-block;
    margin: 15px 0 0;
}

.product-action button {
    background: #7d7d7d none repeat scroll 0 0;
    border: 1px solid #7d7d7d;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    color: white;
    height: 34px;
    margin: 0 5px 0 0;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    font-size: 13px;
    padding: 7px 18px;
    width: 120px;
}

.product-action:hover button {
    background: #ff4d4d; /* 这里的红色你可以根据喜好调整（比如纯红 #ff0000） */
    border: 1px solid #ff4d4d;
    color: white;
}
.pages .pagination .active span{
    background-color: #ff6464;
    border-color: #ff6464;
    color: white;
}

.product-title h3 {
    margin-bottom: 10px;
}

.sbq {
    font-size: 16px;
    margin-bottom: 15px;
}

.content-box {
    padding: 15px 0;
}

.content-box h2 {
    border-bottom: 2px solid #cccccc;
    color: #363636;
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.content-box ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.content-box ul li {
    margin-bottom: 5px;
}

.content-box span {
    float: left;
    position: relative;
    top: 2px;
}

.content-box input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    height: 15px;
    width: 15px;
}

.check-label {
    font-weight: normal;
    margin-left: 8px;
}

.check-label a {
    color: #444;
    font-size: 14px;
    line-height: 24px;
    text-transform: capitalize;
    text-decoration: none;
}
