/* product.css - product.html 页面样式 */

/* ============================
   Banner（与其他页面统一 320px）
   ============================ */
.prd-hero-banner {
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 导航栏hover变粗+圆角背景 - 仅PC端 */
@media (min-width: 992px) {
    .main-menu > li > a {
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }
    .main-menu > li > a:hover {
        font-weight: 900 !important;
        background-color: rgba(255,255,255,0.2) !important;
    }
    .main-menu > li {
        margin: 0 8px !important;
    }
    .main-menu > li {
        transform: none !important;
        transition: none !important;
    }
    .main-menu > li:hover {
        transform: none !important;
    }
    .main-menu > li a {
        transition: none !important;
        transform: none !important;
    }
}

/* ===== Banner区标题 ===== */
.page-header-image .page-header-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding: 0;
    letter-spacing: 2px;
}
.page-header-image .page-header-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin: 0;
    font-family: Arial, Helvetica, 'Segoe UI', sans-serif;
    letter-spacing: 2px;
    font-weight: 300;
}

/* ===== 分类筛选Tab ===== */
.about_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 16px 0;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* 覆盖Bootstrap列约束，让标签居中 */
.about_nav > div[class*="col-"] {
    float: none;
    display: flex !important;
    justify-content: center;
    width: 100% !important;
    max-width: none;
    margin-left: 0 !important;
    padding: 0;
}
.about_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 4px;
}
.about_nav ul li {
    display: block;
    text-align: center;
    width: 120px;
    cursor: pointer;
}
.about_nav ul li a {
    display: block;
    width: 100%;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.25s ease;
}
.about_nav ul li a:hover {
    color: #259ad6;
}
.about_nav ul li a.about_nav_active {
    color: #259ad6 !important;
    font-weight: 700;
}
.header-click-bar-pro {
    width: 135px !important;
}

/* ===== Apple Store 风格产品卡片 ===== */
#product_list {
    padding-bottom: 50px !important;
}
#product_list .col-sm-6 {
    padding: 0 10px !important;
    margin-bottom: 20px;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
    cursor: pointer;
    padding: 28px 20px 28px;
    display: block;
    text-decoration: none;
    color: inherit;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.product-card .product-img {
    width: 100%;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.product-card .product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.product-card .product-name {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 6px;
    line-height: 1.4;
}
.product-card .product-desc {
    font-size: 13px;
    color: #86868b;
    margin: 0;
    line-height: 1.5;
}

/* ===== 底部优势区 ===== */
.product-advantages {
    background: #525252;
    padding: 50px 0;
}
.product-advantages .ouradvantage {
    text-align: center;
    color: #fff;
    padding: 20px 10px;
}
.product-advantages .ouradvantage .imgbox {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-advantages .ouradvantage .imgbox img {
    max-width: 100%;
    max-height: 100%;
}
.product-advantages .ouradvantage span {
    display: block;
    font-size: 14px;
    color: #ccc;
    letter-spacing: 1px;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .about_nav {
        height: auto;
        line-height: normal;
        margin-bottom: 16px;
    }
    .about_nav {
        height: auto;
        line-height: normal;
    }
    .about_nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .about_nav ul li,
    .header-click-bar-pro {
        width: auto !important;
        flex: 1 1 auto;
        min-width: 110px;
    }
    .about_nav ul li a {
        padding: 12px 8px;
        font-size: 14px;
    }
    .page-header-image .page-header-title {
        font-size: 22px;
    }
    .page-header-image .page-header-subtitle {
        font-size: 12px;
    }
}
