* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Source Han Sans CN;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body,
html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-overflow-scrolling: touch;
    /* overflow-scrolling: touch; */
    min-height: 100vh;
}

body {
    color: #222a32;
    position: relative;
    /* background: url(../imgs/background.png) no-repeat;
    background-attachment: fixed; */
    overflow: hidden;
    user-select: none;
}

ol,
ul {
    list-style: none;
}

/* 去除a标签的下划线和默认颜色 */
a {
    text-decoration: none;
    /* 去掉下划线 */
    color: inherit;
    /* 继承父元素的颜色，或者设置为其他你需要的颜色 */
}
/*div>a{*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/* 覆盖a标签的各种状态样式 */
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    /* 在所有状态下都去掉下划线 */
    color: inherit;
    /* 或者设置为你需要的颜色 */
}
a:has(>img) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
/* 关键帧动画 */
@keyframes slideInLeft {
    0% {
        left: 10%;
        opacity: 0;
    }

    100% {
        left: 0;
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        left: -10%;
        opacity: 0;
    }

    100% {
        left: 0;
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(10%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-10%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-100px);
    }
}

@keyframes slideUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-80px);
    }
}

@keyframes slideUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-80px);
        /* 调整这个值控制滑动幅度 */
    }
}

/* 页面顶部有线条滑动的那一部分 */
.product_category_banner_background {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.product_category_banner_text {
    position: absolute;
    top: 50%;
    left: 10%;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: all 1s;
}

.product_category_banner_line {
    width: 2px;
    height: 15%;
    background-color: #fff;
    top: 60%;
    left: 10%;
    animation: slideUpDown 3s ease-in-out infinite;
    /* 2秒完成一次循环 */
    position: absolute;
    /* 或absolute/fixed根据需求 */
}

/* 面包屑导航 */
.breadcrumb_navigation_bar{
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #fff;
}
.breadcrumb_navigation_bar_icon::before{
    display: inline-block;
    width: 15px;height: 15px;
    content: "";
    background: url(../imgs/shouye_w.png) no-repeat;
    background-size: contain;
    background-position: center;
}
.breadcrumb_navigation_bar_icon{
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}
.breadcrumb_navigation::before{
    content: "|";
    margin: 0 0.5rem;
}

/* 分页 */
.page_box {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.page_button {
    margin: 0 0.3rem;
    border: 1px solid;
    border-color: #dcdcdc;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: #333;
    font-size: 0.9rem;
    transition: all 1s;overflow: hidden;
}

.page_button:hover {
    color: #fff;
    background: #ca2e2f;
    border-color: #ca2e2f;
}

.page_box .active {
    font-weight: bold;
    color: #fff;
    background: #ca2e2f;
    border-color: #ca2e2f;
}
/**新增帝国*/
/* 公用分页 */
.facetwp-pager {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.facetwp-pager a {
    display: block;
    font-size: 16px;
    color: #666666;
    padding: 0px 17px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 6px;
    border-radius: 4px;
    -ms-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    overflow: hidden;
}


.facetwp-pager a.prev,
.facetwp-pager a.next {
    width: 80px;
}

.facetwp-pager a.hover {
    background: #ca2e2f;
    color: #ffffff;
}

.facetwp-pager a:hover {
    background: #ca2e2f;
    color: #ffffff;
}


.facetwp-pager b{
    display: block;
    font-size: 16px;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 6px;
    background: #ca2e2f;
    border-radius: 4px;
    -ms-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
}

a[title="Total record"] {
  display: none; 
}
/*************帝国分页结束****************/


@media (max-width: 1760px) {
    html {
        font-size: 17px;
    }

}

@media (max-width: 1640px) {
    html {
        font-size: 16px;
    }

}

@media (max-width: 1520px) {
    html {
        font-size: 15px;
    }

}

@media (max-width: 1460px) {
    html {
        font-size: 14px;
    }

}

@media (max-width: 1340px) {
    html {
        font-size: 13px;
    }

    .product_category_banner_box {
        height: 60vh !important;
    }

}

@media (max-width: 1230px) {
    html {
        font-size: 12px;
    }

}

@media (max-width: 1140px) {
    html {
        font-size: 11px;
    }

    .product_category_banner_box {
        height: 50vh !important;
    }

}

@media (max-width: 1024px) {
    html {
        font-size: 10px;
    }
}

@media (max-width:899px) {
    .product_category_banner_box {
        height: 40vh !important;
    }
}