/* 定义主题色值 */
:root {
    --theme-color: #C71F1E;

    --theme-deep-color: #a31110;
    --blue-color: #134C86;
    --default-color: #000;
    --default-color-active: #A31412;

    --border-color: #E5E5E5;
    --text-grey: #222222;
    --text-grey-3: #333333;
    --text-color: #000;
    --text-color-active: #666666;
    --color-4d: #4D4D4D;

    /* 添加Bootstrap相关自定义属性 */
    --bs-primary: var(--theme-color);
    --bs-secondary: #4D4D4D;
    --bs-success: var(--theme-color);
    --bs-danger: var(--theme-color);

}

/* 字体自定义 */
.fs-10 {
    font-size: 0.625rem !important;
}

.fs-12 {
    font-size: 0.75rem !important;
}

.fs-14 {
    font-size: 0.875rem !important;
}

.fs-16 {
    font-size: 1rem !important;
}

.fs-18 {
    font-size: 1.125rem !important;
}

.fs-20 {
    font-size: 1.25rem !important;
}

.fs-24 {
    font-size: 1.5rem !important;
}

.fs-28 {
    font-size: 1.75rem !important;
}

.fs-30 {
    font-size: 1.875rem !important;
}

.fs-32 {
    font-size: 2rem !important;
}

.fs-34 {
    font-size: 2.125rem !important;
}

.fs-36 {
    font-size: 2.25rem !important;
}

.fs-40 {
    font-size: 2.5rem !important;
}

.fs-80 {
    font-size: 5rem !important;
}

.text-theme-color {
    color: var(--theme-color);
}

.text-grey {
    color: var(--text-grey);
}

.text-grey-3 {
    color: var(--text-grey-3);
}

.text-blue-color {
    color: var(--blue-color);
}

.text-blue-color:hover {
    color: var(--blue-color);
    opacity: 0.8;
}

.text-color-4d {
    color: #DDD;
}

.btn-empty-primary {
    background-color: transparent;
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    transition: 0.2s;
}

.btn-empty-primary:hover {
    background-color: var(--theme-color);
    color: #fff !important;
}

.bg-color {
    background-color: var(--theme-color);
}

.shadow {
    box-shadow: 0px 3px 3px 0px #E5E5E5;
}

.border {
    border: 1px solid #E5E5E5;
}

.radius-4 {
    border-radius: 0.25rem;
}

.radius-8 {
    border-radius: 0.5rem;
}

.radius-10 {
    border-radius: 0.625rem;
}

.radius-16 {
    border-radius: 1rem;
}

.lh-12 {
    line-height: 1.2;
}

.lh-15 {
    line-height: 1.5;
}

.btn:focus {
    box-shadow: none;
}



html,
body {
    color: var(--text-grey-3);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1;
}

p,
span,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--theme-color);
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
}

/* 文字超出一行 */
.text-overflow-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文字超出2行省略号 */
.text-overflow-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 文字超出3行省略号 */
.text-overflow-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.2rem;
    line-height: 1.6;
}


.img-warp {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}

.img-warp video,
.img-warp img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.img-warp2 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-warp2 video,
.img-warp2 img {
    width: auto;
    height: 100%;
    object-fit: cover;
}


.product-card2 .img-warp img {
    width: auto;
    height: 80%;
}

.btn-theme {
    background-color: var(--theme-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-theme:hover {
    color: #fff;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1608);
}

.btn-empty-theme {
    background-color: transparent;
    color: #4D4D4D;
    border: 1px solid var(--theme-color);
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-empty-theme:hover {
    background-color: var(--theme-color);
    color: #fff;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1608);
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

/* 自定义滚动条 兼容各个浏览器 */
.customScrollbar {
    scrollbar-width: thin;
    scrollbar-color: #ccc;
}

.customScrollbar::-webkit-scrollbar {
    width: 0.5rem;
}

.customScrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.customScrollbar::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    border-radius: 0.25rem;
}


/* pc端header */
.header-warp {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28.5rem;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: #fff;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1608);
}

.header-warp .header-pc-logo {
    width: 10.25rem;
}

.header-warp h1>a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-warp .pc-nav {
    font-weight: 300;
    height: 100%;
}

.header-warp .nav .nav-item {
    display: flex;
    align-items: center;
    position: relative;
    cursor: default;
}

.header-warp .nav .nav-item>a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.875rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    font-size: 1.125rem;
}

.header-warp .nav .nav-item>a span {
    border-bottom: 1px solid transparent;
}

.header-warp .nav-item.active a span {
    line-height: 1.5;
    border-color: var(--theme-color);
}



.header-warp .nav-item.direction-aware {
    /* overflow: hidden; */
}

.header-warp .nav-item.direction-aware a::after {
    content: '';
    display: block;
    width: 0%;
    height: 0.25rem;
    background-color: var(--theme-color);
    position: absolute;
    bottom: 0;
    /* left: 0; */
    /* transition: width 0.3s ease; */
}


.header-warp .tool-warp {
    display: flex;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.header-warp .tool-warp .icon-menu {
    display: none;
}

.header-warp .tool-warp .tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 3.125rem;
    cursor: pointer;
}

.header-warp .tool-warp .iconfont {
    font-size: 1.25rem;
}

/* 移动端头部样式 */
.header-m-warp {
    height: 6.875rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    border-top: 10px solid var(--theme-color);
    padding: 0 1.5rem;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0px 1px 2px 0px #E5E5E5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: #fff;
}

main {
    margin-top: 5rem;
}

/* pc端二级下拉面板设置样式 */
@keyframes opacitY {
    0% {
        opacity: 0;
        visibility: hidden;

    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}

.header-warp .dropdown .custom-dropdown-panel {
    position: fixed !important;
    z-index: 999 !important;
    width: 95rem;
    height: 42.5rem;
    left: 50% !important;
    top: 5.875rem !important;
    transform: translateX(-50%) !important;
    background-color: transparent !important;
    margin: 0;
    padding: 0;
    border: none;
}

.header-warp .dropdown .dropdown-side-menu {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 24.375rem;
    border-radius: 0.75rem;
    background-color: #fff !important;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1608);
    padding: 2.625rem 3.125rem 2.625rem 2rem;
}

.header-warp .dropdown .dropdown-side-menu li {
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 2.25rem;
}

.header-warp .dropdown .dropdown-side-menu li.active {
    background-color: #F6F6F6;
}

.header-warp .dropdown .drodown-content {
    width: 100%;
    margin-left: 1.875rem;
    display: flex;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1608);
    padding: 2.25rem 2.625rem;

}

.header-warp .drodown-second-menu {
    width: 16.25rem;
    display: none;
}

.header-warp .drodown-second-menu.active {
    display: block;
}

.header-warp .drodown-second-menu UL {
    padding-top: 1rem;
}

.header-warp .drodown-second-menu .menu-item {
    position: static;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1.125rem;
    color: var(--theme-color);
    cursor: pointer;
}

.header-warp .drodown-second-menu .menu-item.active a {
    font-weight: bold;
}

.header-warp .drodown-second-panel {
    width: calc(100% - 18.75rem);
    height: 100%;
    position: absolute;
    left: 18.75rem;
    top: 0;
    border: none;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dropdown-product-card {
    width: 16.875rem;
    height: 31.875rem;
    border: 1px solid #E5E5E5;
    border-radius: 0.5rem;
}

.header-warp .dropdown .min-custom-dropdown-menu-warp {
    z-index: 999 !important;
    min-width: 12.5rem;
    min-height: 5rem !important;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff !important;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16);
    margin: 0;
}

.mobile-dropdown-menu {
    position: fixed;
    left: 0;
    top: 5rem;
    width: 100%;
    min-height: 60vh;
    max-height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16);
    padding: 2rem;
}

.mobile-dropdown-menu .card {
    border-radius: 0;
    border-right: none;
    border-left: none;
}

.mobile-dropdown-menu .card:first-child {
    border-top: none;
}

.mobile-dropdown-menu .card-header {
    background-color: transparent;
    padding: 1.25rem 0;
}

.mobile-dropdown-menu .btn-link {
    font-size: 1.25rem;
    padding: 0 1rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
}

.mobile-dropdown-menu .btn-link.collapsed i {
    transform: rotate(0deg);
}

.mobile-dropdown-menu .btn-link i {
    transform: rotate(90deg);
    transition: 0.2s;
    transform-origin: center center;
}

.mobile-dropdown-menu .btn-link:hover {
    outline: none;
    box-shadow: none;
    color: var(--theme-color);
}

.mobile-dropdown-menu .btn-link:focus {
    text-decoration: none;
}

.mobile-dropdown-menu .card-body {
    padding: 0;
}

.mobile-dropdown-menu .mobile-nav {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
}

.mobile-dropdown-menu .mobile-nav .nav-item {

    align-items: start;
}

.mobile-dropdown-menu .mobile-nav .nav-item .nav-link {
    padding: 1.25rem 1.25rem;
    width: 100%;
    justify-content: start;
    font-size: 1.125rem;
}


/* 轮播图部分公用 */
.custom-carousel {
    height: 37.5rem;
}

.custom-carousel .carousel-indicators {
    right: auto;
    left: 2.25rem;
    bottom: 0;
    transform: translateY(200%);
    margin: 0;
}

.custom-carousel .carousel-indicators li {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    color: var(--text-grey-3);
    margin: 0;
    border: none;
    text-indent: 0;
    border: 1px solid transparent;
    opacity: 1;
    position: relative;
}

.custom-carousel .carousel-indicators .active {
    border-color: #DADADA;
}

.f6-bg {
    background-color: #F6F7F8;
}

.section-panel {
    padding: 0 28.5rem;
    box-sizing: border-box;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header .section-title {
    color: var(--text-color);
    font-size: 1.875rem;
}

.section-header .section-desc {
    font-size: 1.125rem;
}

.section-header .more-btn {
    display: flex;
    align-items: center;
}

.section-header .more-btn,
.section-header .more-btn i {
    transition: all 0.6s;
}


.section-header .more-btn:hover i {
    color: var(--theme-color);
    margin-left: 0.5rem;
}


/* 工具或服务 */
.service-warp .service-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0;
}

.service-warp .service-content .service-card {
    width: 100%;
    height: 12.5rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    border: 1px solid #E5E5E5;
    background-color: #fff;
    transition: all 0.4s ease;
    font-size: 1.25rem;
}

.service-warp .service-content .service-card:hover {
    box-shadow: 0px 3px 3px 0px #E5E5E5;
    color: var(--theme-color);
}

/* 联系我们表单 */
.link-us-warp {
    background-color: #fff;
    width: 100%;
    display: flex;
}

.link-us-warp .link-us-content {
    display: flex;
    flex-direction: column;
}

.link-us-warp .title {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.53rem;
}

.link-us-warp .title span {
    font-size: 1rem;
    margin-left: 0.32rem;
}

.link-us-warp .tip {
    color: var(--theme-color);
}

.link-us-content .contact-form {
    display: flex;
}

.link-us-content .contact-form .form-input-item {
    /* margin-right: 1.25rem; */
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.link-us-content .contact-form .form-control {
    border-radius: 0;
    height: 3.75rem;
}

.link-us-content .contact-form .btn {
    border-radius: 0;
    height: 3.75rem;
}


/* footer */
.footer-warp {
    padding-top: 7.5rem;
    border-top: 1px solid #E5E5E5;
}

/*  d-flex pb-5 justify-content-between */
.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 0 28.5rem 3rem;
    box-sizing: border-box;
}

.footer-warp .guide-warp {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.73rem;
}

.footer-warp .guide-warp .guide-item {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.footer-warp .guide-warp .guide-item .link {
    margin-top: 0.5rem;
    cursor: pointer;
}

.footer-warp .guide-warp .enterprise-info {
    margin-left: 0.4rem;
    width: 35rem;
    padding-left: 12.5rem;
    font-size: 1rem;
}


.copyright-warp {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;


}

.copyright-warp .copyright {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;
}


.form-control {
    height: 3.75rem;
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--theme-color);
    box-shadow: none;
}

.form-row>.col,
.form-row>[class*=col-] {
    padding-right: 0.875rem;
    padding-left: 0.875rem;
}



/* 用户登录弹窗 */
.user-login-modal .modal-dialog {
    width: 100%;
    height: 100%;
    max-width: 33.125rem;
    max-height: 41.5625rem;
    margin: 15% auto;
}

.user-login-modal .modal-dialog .modal-content {
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1608);
    border: none;
    border-radius: 0.625rem;
}

.user-login-modal .close-btn {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 3.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear;
}

.user-login-modal .close-btn:hover {

    background-color: var(--primary-dark);
}

.user-login-modal .close-btn i {

    transition: all 0.2s linear;
}

.user-login-modal .close-btn:hover i {
    color: #fff;
}

.user-login-modal .modal-body {
    /* padding: ; */
}

.login-form {
    padding: 3.125rem 5rem 0;
}

.login-form .form-control {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #999;
}

.login-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-dark);
}

.login-form .login-btn {
    width: 100%;
    height: 3.75rem;
    border-radius: 1.875rem;
    background-color: var(--primary-dark);
    color: #212529;
    font-size: 1.125rem;
    font-weight: lighter !important;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1608);
}

.login-form .btn-warp {
    border-bottom: 1px dashed #e5e5e5;
    padding-bottom: 4rem;
}

.login-form img {
    width: 2rem;
    margin-right: 0.5rem;
}



/* 浮动侧边栏 */
.float-side-warp {
    width: 4.5rem;
    height: 15rem;
    position: fixed;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: -3px 3px 9px rgba(0, 0, 0, 0.08);
    color: var(--theme-color);
}

.float-side-warp .float-item {
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    background-color: #fff;
    border: none;
}

.float-side-warp .float-item a span {
    display: none;
}

.float-side-warp .float-item:hover {
    background-color: #fff;
}

.float-side-warp .float-item:hover:not(:last-of-type) i {
    display: none;
}

.float-side-warp .float-item:hover span {
    display: inline-block;
    font-weight: bold;
    color: var(--theme-color);
}

.float-side-warp .float-item:hover a,
.float-side-warp .float-item:hover i {
    color: var(--theme-color);
}

.float-side-warp .float-item a {
    width: 100%;
    height: 3.125rem;
    display: flex;
    margin: 0 0.4rem;
    text-align: center;
    justify-content: center;
    color: var(--theme-color);
    font-size: 0.75rem;
    align-items: center;
    box-sizing: content-box;
    flex-shrink: 0;
}

.float-side-warp .float-item:last-of-type a {
    border: none;
}

.float-side-warp .float-item:hover {
    font-size: 1.5rem;
    color: #fff;
}

.float-side-warp .dropdown:hover .dropdown-panel {
    display: block;
}

/* 自定义下拉面板样式 */
.float-side-warp .dropdown-panel {
    display: none;
    position: fixed;
    z-index: 999;
    width: 17.5rem;
    height: 14rem;
    right: 4.5rem;
    background-color: #fff;
    /* box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.102); */
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.302);
    top: 50%;
    transform: translateY(-50%);
}


.float-side-warp .qrcode-warp {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.float-side-warp .qrcode-warp p {
    font-size: 0.75rem;
    margin-top: 0.625rem;
    text-align: center;
}

.float-side-warp .qrcode-warp img {
    width: 7.25rem;
    height: 7.25rem;
    object-fit: contain;
}

.float-side-warp .telphone-warp {
    height: 100%;
}

.float-side-warp .telphone-warp .telphone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50%;
    margin: 0 1.5rem;
}

.float-side-warp .telphone-warp .telphone-item:first-of-type {
    border-bottom: 1px dashed #E3E3E3;
}


.float-side-warp .telphone-warp .content {
    width: 100%;
    font-size: 1rem;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.float-side-warp .telphone-warp .content i {
    display: inline-block !important;
    color: var(--theme-color);
    font-size: 1.2rem;
}

.float-side-warp .telphone-warp .tip {
    width: 100%;
    font-size: 0.5rem;
    white-space: nowrap;
    margin-top: 0.1rem;
}

.float-side-warp .telphone-warp .telphone-item:last-of-type .tip {
    margin-left: -4px;
}


#aff-im-root .embed-icon {
    display: none !important;
}

/*      
≥576px	Small
≥768px	Medium
≥992px	Large
≥1200px Extra large
*/

@media screen and (max-width: 1918px) {

    .header-warp,
    .section-panel {
        /* padding: 0 17.5rem; */
    }
}

@media screen and (max-width: 1200px) {

    .header-warp,
    .section-panel {
        padding: 0 7.5rem;
    }
}

@media screen and (min-width: 769px) {
    .mobile-dropdown {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {



    .section-panel {
        padding: 0;
    }

    .header-warp {
        padding: 0 1.75rem;
        /* height: 6.5rem; */
    }

    .header-warp>nav {
        display: none;
    }



    .header-warp .tool-warp .icon-menu {
        display: inline-block;
    }

    .header-warp .tool-warp .icon-search {
        display: none;
    }

    .header-warp .tool-warp .iconfont {
        font-size: 1.75rem
    }

    .header-warp .tool-warp .tool-btn span {
        display: none;
    }

    .section-panel {
        padding: 0 1.25rem;
    }

    .custom-carousel {
        height: 16rem;
        margin-bottom: 6rem;
    }

    .custom-carousel .carousel-indicators {
        height: 2rem;
        bottom: -3.5rem;
    }

    .custom-carousel .carousel-indicators li {
        width: 1.25rem;
        height: 1.25rem;
        border-radius: 1.25rem;
        overflow: hidden;
        /* margin: 0; */
        border: none;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
    }


    .breadcrumb .iconfont {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

}