/*common*/
* {margin: 0;padding: 0;}
a {text-decoration: none;color: rgb(107 150 213);}
p {font-size: 16px;line-height: 30px;word-break: break-all;}
h1,h2,h3,h4,h5,h6 {line-height: 50px;}
h1 {font-size: 26px;}
h2 {font-size: 24px;}
h3,h4 {font-size: 22px;}
h5,h6 {font-size: 20px;}
li {list-style: none;}
ol {background-color: rgb(52 52 52);padding: 25px;}

.bodybox {width: 800px;margin: 0 auto;}
.banner {width: 100%;height: 190px;position: relative;}
.banner img {position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;}
.xzys {width: 100%;}
.xzysbox {margin: 20px 0 30px 0;}
/* <800 */
@media screen and (max-width:800px) {
    .bodybox {width: 100%;margin: 0 auto;}
}

/* 产品展示 */
.h1chanpin {text-align: center;margin: 20px 0 0 0;font-size: 23px;color: #313131;}
.h1chanpinn {text-align: center;margin: 0 0 30px 0;font-size: 15px;color: #313131;padding: 0 20px;}
.gallery-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    width: calc(45% - 10px);
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 8px;
}

.close-btnn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 23px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

/* 底部联系盒子 */
.contact-box {
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    z-index: 1000;
    box-shadow: 0px -2px 6px rgb(0 0 0 / 8%);
}

.contact-item {
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    padding: 20px 20px;
    width: 33.33%;
    color: #000000;
    font-weight: 700;
    font-family: "黑体";
    font-size: 17px;
    border-right: 1px solid #f1f1f1;
}
.contact-item img {width: 20px;height: 20px;transform: translateY(4px);margin-right: 5px;}
.contact-item:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    text-align: center;
}

.qrcode {
    width: 200px;
    height: 200px;
    margin: 15px 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.tip-text {
    color: #666;
    margin-top: 10px;
    font-size: 14px;
}