.body{
    height: 100%;
}
.image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    margin-top:20px;
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 300px;
}

.content h2 {
    margin: 0 0 10px;
}

.content p {
    margin: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease;
    font-family:SourceHanSansSC-Medium;
}
.product-itemtitle {
    color: #003399;
    margin: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease;
    font-family: "SourceHanSansSC-Bold";
    font-size: 20px;
}
.product-infotitle {
    margin: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease;
    font-family: SourceHanSansSC-Bold;
    font-size: 17px;
}
.content p:hover {
    background-color: #003399; /* 悬停时的背景颜色 */
    color: white; /* 同时改变文字颜色，以便更清晰 */
}
.product-left, .product-right {
    display: flex;
    flex-direction: column;
}
.product-left {
    margin-left:15%;
    width:50%;
}

.product-right {
    width:50%;
    margin-right: 15%;
    margin-left:5%;
}
.product-item{
    width:100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;

}
.product-item img{
    padding: .25rem;
    width:100%;
    border: 1px solid #ddd;
    border-radius: .25rem;
    /* object-fit: cover; */
}
.prodbackground{
    background-color: #000;
}
.product-nav{
    background-color: darkgrey;
    position: absolute;
    left:5%;
    margin:20px;
}
.product-nav a{
    padding: 20px;
    color:#003399;
    font-size: 30px;
    font-family: "SourceHanSansSC-Bold";
}
.product-infotitle::before{
    content: "·";
    color: #003399;
    font-size: 24px;
}
.product-split{
    width:70%;
    height:2px;
    background-color: darkgrey;
    margin: 5% 5%;
    margin-left: 15%;
}
/* 加载动画样式 */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.loader-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loader p {
    color: #333;
    font-size: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
