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

html{
    font-size: 20px; /* 1rem = 20px */
    /*background-color: #ff00ff;*/
}

body {
    font-family: Arial, sans-serif;
    min-width: 1600px;
}
/* 自定义整个滚动条 */
::-webkit-scrollbar {
    width: 5px; /* 设置滚动条的宽度 */
}

/* 自定义滚动条轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* 设置轨道的背景颜色 */
}

/* 自定义滚动条的滑块（thumb） */
::-webkit-scrollbar-thumb {
    background: #2E3F60; /* 设置滑块的背景颜色 */
}

/* 当滑块悬停或活动时自定义滚动条的滑块 */
::-webkit-scrollbar-thumb:hover {
    background: #555; /* 设置滑块在悬停状态下的背景颜色 */
}

/* Header Styles */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 11.875rem;
    font-size: 3.125rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo img{
    height: 11.875rem;
}

.nav-box{
    margin-left: 0;
    width: 100%;
    height: 4.0625rem;
    font-family: 'aileron';
    border-top: 1px solid #E5E7EB;
    padding: 0 6.5625rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.toggle_navigation_panel{
    width: fit-content;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}



.nav-link {
    height: 1.875rem;
    line-height: 1.875rem;
    text-decoration: none;
    cursor: pointer;
    margin: 0 18px;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-children{
    display: none;
    width: 100px;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 10px;
    border: 1px solid #CFCFCF;
    border-radius: 5px;
    position: absolute;
    background-color: #FFFFFF;

}

.nav-link:hover{
    border-bottom: 2px solid #000;
}

.nav-children li:hover{
    border-bottom: 1px solid #CFCFCF;
}

/* Hero Section Styles */
.hero {
    margin-top: 15.9375rem;
    width: 100%;
    height: 56.25rem;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-data-box{
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-left: 6.875rem;
    box-sizing: border-box;
}
.banner-data{
    width: 31.25rem;
    height: 18.75rem;
}
.banner-subtitle{
    color: #ffffff;
}
.banner-title{
    font-size: 3.75rem;
    color: #ffffff;
    margin-top: 1.875rem;
}
.banner-btn{
    width: 12.5rem;
    height: 2.8125rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    font-size: 1.125rem;
    cursor: pointer;
    margin-top: 1.875rem;
}
/* shop-by-category */
.shop-by-category{
    width: 100%;
    height: 35.625rem;
    margin-top: 4.375rem;
    position: relative;
    display: flex;
    margin-bottom: 4.375rem;
}

.shop-by-right-content{
    width: 36.75rem;
    height: 100%;
    padding-left: 4.25rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.title-text{
    font-size: 2.625rem;
}
.content-text{
    font-size: 1.125rem;
    font-weight: bold;
}
.shop-by-goods-box{
    width: calc(100vw - 37.5rem);
    height: 100%;
    display: flex;
    justify-content: flex-start;
}
.shop-by-goods-item{
    width: 33.625rem;
    min-height: 18.75rem;
    margin-right: 1.25rem;
    position: relative;
    cursor: pointer;
}

.shop-by-goods-item img{
    width: 33.625rem;
    height: 100%;
}
.shop-by-goods-item-title{
    font-size: 2.375rem;
    color: #ffffff;
    position: absolute;
    left: 1.875rem;
    bottom: 1.875rem;
}

.tool{
    display: flex;
}

.button-prev{
    width: 3.125rem;
    height: 3.125rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.5em #c5c5c5;
}
.button-prev img{
    width: 1.875rem;
    height: 1.875rem;
}
.button-next{
    width: 3.125rem;
    height: 3.125rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.5em #c5c5c5;
    margin-left: 1.875rem;
 }
.button-next img{
    width: 1.875rem;
    height: 1.875rem;
}
/* shop-by-category */

/*smooth-content*/

.smooth-content-box{
    width: 100%;
    height: 52.5rem;
    position: relative;
}
.swiper{
    width: 100%;
    height: 100%;
}
.smooth-content{
    display: flex;
    justify-content: space-between;
}
.smooth-content-left{
    width: 49.5%;
    height: 52.5rem;
}
.smooth-content-left img{
    width: 100%;
    height: 100%;
}

.smooth-content-right{
    width: 49.5%;
    height: 52.5rem;
    background-color: #F8F8F8;
    display: flex;
    justify-content: center;
    align-items: center;
}
.smooth-goods-box{
    width: 34.375rem;
    height: 50rem;
}
.smooth-goods-cover{
    width: 34.375rem;
    height: 37.5rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.smooth-goods-info{
    padding: 1.875rem 1.875rem 0.625rem 1.875rem;
    box-sizing: border-box;
}
.smooth-goods-title{
    font-size: 2.375rem;
}
.smooth-goods-brief{
    font-size: 1rem;
    color: #111827;
    margin-top: 0.625rem;
}
.smooth-goods-btn{
    width: 10.625rem;
    height: 2.8125rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000000;
    border-radius: 0.3125rem;
    margin-top: 1.875rem;
    font-size: 1.125rem;
}
.smooth-tool{
    z-index: 999;
    position: absolute;
    right: 3.125rem;
    bottom:3.125rem;
}

/*smooth-content*/

/** space-category **/
.space-category{
    width: 100%;
    height: 35.625rem;
    margin-top: 4.375rem;
    position: relative;
    display: flex;
    margin-bottom: 4.375rem;
}

.space-right-content{
    width: 37.5rem;
    height: 100%;
    padding: 0 3.75rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.title-text{
    font-size: 2.625rem;
}
.content-text{
    font-size: 1.125rem;
    font-weight: bold;
}
.space-goods-box{
    width: calc(100vw - 37.5rem);
    height: 100%;
    display: flex;
    justify-content: flex-start;
}
.space-goods-item{
    width: 33.625rem;
    height: 100%;
    margin-right: 0.9375rem;
    cursor: pointer;
}

.space-goods-item img{
    width: 100%;
    height: 100%;
}
/** end space-category**/

/*advert*/
.advert{
    width: 100%;
    height: 46.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.advert-back{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}
.advert-back img{
    width: 100%;
    height: 100%
}

/*.advert,.one{*/
/*    background: url("/storage/image/20241230/homepage_your.png");*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    background-size: 100%;*/
/*}*/

.advert-box{
    width: 26.25rem;
    height: 15.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99
}

.advert-title{
    font-size: 2.375rem;
    color: #ffffff;
}
.advert-content{
    margin-top: 1.875rem;
    text-align: center;
    color: #ffffff;
}
.advert-btn{
    margin-top: 1.875rem;
    width: 16.25rem;
    height: 3.125rem;
    cursor: pointer;
    border-radius: 0.625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    background-color: #ffffff;
}
.advert-btn img{
    width: 1.5625rem;
    height: 1.5625rem;
    margin-left: 0.625rem;
}
/*advert*/

/*showcase-goods*/
.showcase-goods{
    width: 100%;
    margin-top: 4.375rem;
    margin-bottom: 4.375rem;
    display: flex;
    justify-content: center;
}

.showcase-goods-box{
    width: 91.875rem;
    height: 100%;
}
.showcase-title{
    margin: 1.25rem 0;
    font-size: 2.375rem;
}
.showcase-container{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 10px;
}

.showcase-item{
    width: 22.5rem;
    height: 26.25rem;
    margin:  0 10px;
    cursor: pointer;
}

.showcase-item .showcase-goods-cover{
    width: 22.5rem;
    height: 22.5rem;
    overflow: hidden;
}

.showcase-item .showcase-goods-cover img{
    width:100%;
    height: 100%;
}
.showcase-goods-title{
    width: 100%;
    height: 4.375rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
}
/*showcase-goods*/
/** middle nav **/
.middle-nav{
    width: 100%;
    margin-bottom: 4.375rem;
    padding: 0 11.875rem;
    box-sizing: border-box;
}
.middle-nav-box{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.middle-nav-item{
    width: 26.875rem;
    height: 12.5rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.middle-nav-item img{
    width: 19.25rem;
    height: 12.5rem;
}
.middle-nav-line{
    width: 2px;
    height: 12.5rem;
    background-color: #919191;
}
/** middle nav **/

/** enterprise-zone **/
.enterprise-zone{
    width: 100%;
    height: 52.5rem;
    margin-bottom: 4.375rem;
    padding: 0 11.875rem;
    box-sizing: border-box;
}
.enterprise-zone-box{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.enterprise-zone-item{
    width: 50%;
    height: 100%;
    overflow: hidden;
}
.enterprise-zone-item img{
    width: 100%;
    height: 100%;
}
.enterprise-zone-data{
    width: 50%;
    height: 100%;
    background-color: #F8F8F8;
    display: flex;
    align-items: center;
    padding-left:6.25rem;
    box-sizing: border-box;
}
.enterprise-zone-data-box{
    width: 31.25rem;
    height: auto;
    padding: 1.875rem;
    box-sizing: border-box;
}
.enterprise-zone-data-btn{
    width: fit-content;
    height: 2.5rem;
    cursor: pointer;
    padding: 0 0.625rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000000;
    margin-top: 1.25rem;
    font-size: 1.125rem;
}
/** enterprise-zone **/
/** footer **/
.footer{
    width: 100%;
    /*min-height: 23.75rem;*/
    margin-top: 4.375rem;
    background-color: #F4F4F4;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    z-index: 99;
}
.footer-box{
    width: 100%;
    height: 100%;
}
.footer-category{
    width: 100%;
    flex: 1;
    display: flex;
}
.footer-category-item{
    width: 16%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.footer-category-box{
    width: 12.5rem;
    height: 100%;
    margin-top: 0.625rem;
    font-size: 1.125rem;
}

.footer-category-box div{
    margin: 1.25rem 0;
}

.footer-category-tool{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-category-tool-box{
    display: flex;
}
.footer-category-tool-box input{
    width: 19.375rem;
    height: 3.125rem;
    border: 1px solid #000000;
    font-size: 18px;
    padding-left: 0.625rem;
    box-sizing: border-box;
}
.footer-category-tool-box button{
    width: 8.125rem;
    margin-left: 1.25rem;
    background-color: #565459;
    color: #FFFFFF;
}
.footer .copyright-info{
    width: 100%;
    height: 3.125rem;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding-left: 5rem;*/
    /*box-sizing: border-box;*/
}
/** footer **/

/****/
/* 弹窗背景 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed; /* 固定位置 */
    z-index: 1; /* 位于其他内容之上 */
    left: 0;
    top: 0;
    width: 100%; /* 全屏宽度 */
    height: 100%; /* 全屏高度 */
    overflow: auto; /* 超出内容可滚动 */
    background-color: rgb(0,0,0); /* 背景颜色 */
    background-color: rgba(0,0,0,0.6); /* 背景颜色带有透明度 */
}

/* 弹窗内容 */
.modal-content {
    background-color: #fefefe;
    margin: 15.9375rem auto; /* 垂直居中 */
    padding: 1.25rem;
    width: 84.375rem;
    height: 25rem;
}

.column-item-box{
    width: 100%;
    height: 18.75rem;
    display: flex;
}

.column-item{
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.column-item>div{
    width: 80%;
    height: 80%;
    font-size: 0.9375rem;
}
.column-item-title{
    font-weight: 600;
    cursor: pointer;
}
.column-item-text{
    margin-top: 1.25rem;
    cursor: pointer;

}
.column-item img{
    width: 18.125rem;
    height: 15rem;
}
.column-item-tool{
    width: 100%;
    height: 5rem;
    display: flex;
    align-items: center;
    color: #000;
}

.column-item-tool .btn{
    width: fit-content;
    height: 2.8125rem;
    line-height: 2.8125rem;
    padding: 0 3.75rem;
    box-sizing: border-box;
    border: 1px solid #000;
    margin-right: 1.25rem;
    cursor: pointer;
}
.column-item-tool .btn:hover{
    background-color: #0f1b42;
    color: #FFFFFF;
}

/****/


/* 当宽度大于 1920px 时 */
@media (min-width: 2560px) and (max-width: 3841px){
    html {
        font-size: 22px; /* 1rem = 20px */
        /*background-color: #0c0c0c;*/
    }
}
/* 当宽度大于 1600px 时 */
@media (min-width: 1600px) and (max-width: 1921px){
    html {
        font-size: 16px; /* 1rem = 20px */
        /*background-color: #1c7430;*/
    }
}
/* 当宽度在 1200px 到 1600px 之间时 */
@media (min-width: 1200px) and (max-width: 1600px) {
    html {
        font-size: 14px; /* 1rem = 18px */
        /*background-color: #5bc0de;*/
    }
}
/* 当宽度小于 1200px 时 */
@media (max-width: 1199px) {
    html {
        font-size: 12px; /* 1rem = 14px */
    }
}

