/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar .container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.navbar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

/* Logo区域 */
.tu {
    text-align: center;
    padding: 70px 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tu img {
    max-width: 120px;
    height: auto;
}

/* 搜索框区域 */
.souxins {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0 15px 25px;
}

.form-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-search input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
}

.form-search .chxus {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-search .chxus:hover {
    background: #ee5a5a;
}

/* 产品信息面板 */
.panel-bodys {
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ztxt {
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 15px;
}

.ztxt .title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.ztxt .title span {
    color: #999;
    font-weight: normal;
    font-size: 14px;
}

.mgmrens {
    display: inline-block;
    width: 48%;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.mgmrens span {
    color: #999;
    margin-right: 5px;
}

/* 图片区域 */
.tupzs {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-top: 10px;
}

#photo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#photo-list a {
    display: block;
    flex: 1;
    min-width: 45%;
    max-width: 50%;
}

#photo-list img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

#photo-list img:hover {
    transform: scale(1.02);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
    background: #fff;
    margin-top: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .mgmrens {
        width: 100%;
        display: block;
    }

    #photo-list a {
        min-width: 100%;
        max-width: 100%;
    }

    .navbar-brand {
        font-size: 16px;
    }
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

/* 图片灯箱 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Banner 样式 */
.banner {
    margin-top: 50px;
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}
