* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    background-color: #ffffff;
    color: #333;
}
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}
.page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #232a33;
    margin: 0;
    padding: 0;
}
.top-logo {
    height: 46px;
    width: auto;
    display: block;
}
/* ==================================== */
.site-title {
    font-size:24px;
    font-weight:bold;
    color:#232a33;
}
.search-box {
    display:flex;
    gap:0;
}
.search-box input {
    padding:6px 10px;
    width:220px;
    border:1px solid #ccc;
    border-right:none;
    font-size:16px;
}
.search-box button {
    padding:6px 14px;
    background:#F7941D;
    color:#fff;
    border:none;
    cursor:pointer;
}
.main-nav {
    background:#ffffff;
    border-bottom:1px solid #efe7db;
}
.main-nav ul {
    display:flex;
    list-style:none;
    padding:0 40px;
    justify-content:center;
}
.main-nav li a {
    display:block;
    color:#232a33;
    text-decoration:none;
    padding:12px 20px;
}
.main-nav li a.active {
    background-color:#F7941D;
}
.main-nav li a:hover {
    background:#fff7ec;
    color:#E07B0E;
}
/* Banner轮播 */
.banner-wrap {
    position:relative;
    background:#f6f3ee;
    height:320px;
    overflow:hidden;
}
.banner-img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.banner-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:64px;
    background:rgba(255,255,255,0.35);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
    cursor:pointer;
    z-index: 99;
    user-select: none;
}
.banner-arrow:hover{
    background:rgba(255,255,255,0.6);
}
.arrow-left {
    left:20px;
}
.arrow-right {
    right:20px;
}
/* 轮播点样式 */
.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}
.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(121, 248, 2, 0.839);
    cursor: pointer;
}
.banner-dot.active {
    background: #F7941D;
}
.content-wrap {
    max-width:1280px;
    margin:30px auto;
    display:flex;
    gap:30px;
    padding:0 20px;
}
.main-content {
    flex: 3;
}
.sidebar {
    flex:1;
}
.block-title {
    font-size:20px;
    margin-bottom:18px;
    padding-left:8px;
    border-left:4px solid #F7941D;
}
.product-list {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
}
.product-card {
    background:#f4f4f4;
    padding:16px;
}
.product-card h4 {
    margin-bottom:8px;
    color:#232a33;
}
.product-card p {
    font-size:14px;
    color:#555;
}
.side-box {
    background:#f4f4f4;
    padding:18px;
}
.side-box h4 {
    margin-bottom:14px;
}
.side-box ul {
    padding-left:20px;
}
.side-box li {
    margin-bottom:8px;
    font-size:14px;
}
.service-section {
    max-width:1280px;
    margin:40px auto;
    padding:0 20px;
}
.service-items {
    display:flex;
    gap:16px;
}
.service-item {
    flex:1;
    background:#f8f5f0;
    padding:20px;
    text-align:center;
}
/* ==========全局统一Footer========== */
footer {
    width: 100%;
    background-color: #222222;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-top: 60px;
}
footer p {
    margin: 8px 0;
    font-size: 15px;
}
footer a {
    color:#ffffff;
    text-decoration:none;
}
footer a:hover {
    text-decoration: underline;
}
/* ========== 产品详情独立弹窗========== */
.detail-popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
}
.detail-popup.show {
    display: flex;
}
.detail-pop-card {
    background: #ffffff;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: popFadeIn 0.3s ease;
    display: flex;
    flex-direction: column;
}
@keyframes popFadeIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.detail-pop-header {
    background: linear-gradient(135deg, #F7941D, #F7A93B);
    color: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.detail-pop-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.detail-close {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
    opacity: 0.85;
}
.detail-close:hover {
    opacity: 1;
}
.detail-pop-body {
    padding: 20px;
    line-height: 1.8;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}
.detail-pop-body p {
    margin: 10px 0;
    color: #333;
    font-size: 15px;
}
.detail-pop-body strong {
    color: #F7941D;
}
.detail-pop-footer {
    padding: 12px 20px;
    background: #f7f9fc;
    text-align: right;
}
.detail-pop-footer .btn {
    display: inline-block;
    padding: 8px 16px;
    background: #F7941D;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}
.detail-pop-footer .btn:hover {
    background: #E07B0E;
}
/* 手机端适配 */
@media (max-width: 600px) {
    .detail-pop-card {
        width: 92%;
        max-width: 480px;
    }
    .detail-pop-body {
        padding: 16px;
    }
    .detail-pop-header h5 {
        font-size: 16px;
    }
}
@media(max-width:768px){
    .top-header {
        flex-direction:column;
        gap:12px;
        padding:12px;
    }
    .page-title{
        flex-wrap:wrap;
        justify-content:center;
        text-align:center;
    }
    .main-nav ul {
        flex-wrap:wrap;
        padding:0;
    }
    .content-wrap {
        flex-direction:column;
    }
    .product-list {
        grid-template-columns:1fr;
    }
    .service-items {
        flex-direction:column;
    }
    /* 移动端缩小圆点 */
    .banner-dot{
        width:10px;
        height:10px;
    }
    footer {
        padding:30px 15px;
    }
}
/* ===== Toast 提示（全站统一） ===== */
#toast{
    position:fixed; left:50%; bottom:60px;
    transform:translateX(-50%) translateY(10px);
    background:rgba(35,42,51,0.92); color:#fff;
    padding:10px 22px; border-radius:6px;
    font-size:14px; z-index:99999;
    opacity:0; pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
}
#toast.toast-show{ opacity:1; transform:translateX(-50%) translateY(0); }
