/* ===== 产品中心 - 全屏背景 ===== */
.product-hero {
    position: relative;
    /* 作为定位参照 */
    width: 100%;
    height: 0;
    margin-top: 90px;
    overflow: hidden;
    height: 650px;

}

/* 独立图片 */
.hero-img {
    height: 650px;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* 关键：完整显示，不裁剪 */
    filter: brightness(0.55);
    /* 保证文字可读 */
    z-index: 1;
}

/* 文字层 */
.hero-content {
    position: absolute;
    inset: 0;
    /* 等价于 top:0;right:0;bottom:0;left:0 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, .4);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 15px;
    color: #f0f0f0;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    line-height: 1.6;
    color: #e0e0e0;
}

.btn-primary {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(26, 115, 232, .4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, .5);
}

/* 新增：所有产品区域 */
.all-products {
    padding: 60px 0;
    background: #f7f7f7;
}

.all-products .container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 26px;
}

.section-header h2 {
    font-size: 1.9rem;
    margin: 0 0 6px;
    font-weight: 700;
}

.section-header p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* 网格布局：四列，间距尽量贴近图片风格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thumb-wrap {
    width: 100%;
    padding-top: 62%;
    /* 纵横比控制，图片区域保持一致高度 */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #eaeaea;
}

.product-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 1rem;
    margin: 12px 6px 6px;
    color: #333;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.92rem;
    color: #666;
    margin: 0 6px 6px;
    flex-grow: 0;
    line-height: 1.4;
}

/* 总容器 */
.product-all {
    width: 100%;
    padding: 0 190px;
    box-sizing: border-box;
    padding-top: 100px;
}

.product-title {
    height: 80px;
    font-size: 2.2rem;
    line-height: 60px;
    border-bottom: 2px solid #E5E7EB;
    font-weight: 700;
    margin: 0 0 20px;
    padding-left: 6px;
}

/* 整体网格：每行两个 item */
.product-box {
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    /* 行间距和列间距，使两列之间有适当空隙 */
}


/* 单个 item：图片左、文本右的结构 */
.product-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(175, 155, 155, 0.471);
    min-height: 180px;
    padding: 12px;
    gap: 16px;
    cursor: pointer;
    text-decoration: none;
}

/* 左侧图片区域 */
.item-imgbox {
    min-width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.item-img {
    width: 350px;
    height: 350px;
    transition: transform 0.5s ease;
    border-radius: 6px;
}

/* 右侧文字区域 */
.item-textbox {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.item-name {
    font-size: 1.5rem;
    margin: 0 0 6px;
    color: #333;
    font-weight: 700;
}

.item-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* 悬停放大效果：鼠标悬停整行，图片放大，图片盒子略微放大以增强视觉效果 */
.product-item:hover .item-img {
    transform: scale(1.08);
}

.product-item:hover .item-imgbox {
    transform: scale(1.03);
}

/* ===== 面包屑导航 ===== */
.breadcrumb-nav {

    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 10;
    color: #000;
    /* 默认文本颜色，未选中项为黑色 */
}

.breadcrumb-inner {

    margin-top: 50px;
    width: 50%;
    max-width: 1400px;
    margin-left: 190px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: #000;
    /* 未选中项为黑色 */
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover,
.breadcrumb-item:focus {
    color: #1a73e8;
    /* 移入时变为蓝色 */
    outline: none;
    text-decoration: none;
}

.breadcrumb-current {
    text-decoration: none;
    color: #1a73e8;
    font-weight: 500;
    white-space: nowrap;
}

.breadcrumb-separator {
    color: #999;
    user-select: none;
    line-height: 1;
}


/* ========= 移动端适配 ========= */
@media (max-width: 1400px) {
    .breadcrumb-inner {
        margin-left: 20px;
    }





    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .all-products {
        padding: 40px 0;
    }

    .all-products .container {
        width: 94%;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .product-grid {
        gap: 16px;
    }

    .product-card {
        padding: 10px;
        border-radius: 10px;
    }

    .thumb-wrap {
        padding-top: 70%;
        border-radius: 8px;
    }

    .product-title {
        font-size: 0.95rem;
        margin: 10px 4px 4px;
    }

    .product-desc {
        font-size: 0.85rem;
        margin: 0 4px 4px;
    }

    .product-all {
        padding: 0 15px;
        padding-top: 60px;
    }

    .product-title {
        height: auto;
        font-size: 1.6rem;
        line-height: 1.3;
        padding: 10px 0;
        margin: 0 0 15px;
    }

    .product-box {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px 0;
    }

    .product-item {
        flex-direction: column;
        min-height: auto;
        padding: 10px;
        gap: 12px;
    }

    .item-imgbox {
        width: 100%;
        min-width: auto;
    }

    .item-img {
        width: 80%;
        height: 500px;
    }

    .item-textbox {
        padding: 0;
    }

    .item-name {
        font-size: 1.05rem;
        margin: 0 0 8px;
    }

    .item-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .product-hero {
        margin-top: -20px;
        height: 300px;

    }

    .hero-img {
        height: 300px;
    }

    .hero-content {
        height: 300px;

        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .all-products {
        padding: 40px 0;
    }

    .all-products .container {
        width: 94%;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .product-grid {
        gap: 16px;
    }

    .product-card {
        padding: 10px;
        border-radius: 10px;
    }

    .thumb-wrap {
        padding-top: 70%;
        border-radius: 8px;
    }

    .product-title {
        font-size: 0.95rem;
        margin: 10px 4px 4px;
    }

    .product-desc {
        font-size: 0.85rem;
        margin: 0 4px 4px;
    }

    .product-all {
        padding: 0 15px;
        padding-top: 60px;
    }

    .product-title {
        height: auto;
        font-size: 1.6rem;
        line-height: 1.3;
        padding: 10px 0;
        margin: 0 0 15px;
    }

    .product-box {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px 0;
    }

    .product-item {
        flex-direction: column;
        min-height: auto;
        padding: 10px;
        gap: 12px;
    }

    .item-imgbox {
        width: 100%;
        min-width: auto;
    }

    .item-img {
        width: 80%;
        height: 300px;
    }

    .item-textbox {
        padding: 0;
    }

    .item-name {
        font-size: 1.05rem;
        margin: 0 0 8px;
    }

    .item-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .all-products {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .product-grid {
        gap: 12px;
    }

    .product-card {
        padding: 8px;
        border-radius: 8px;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .product-desc {
        font-size: 0.8rem;
    }

    .product-all {
        padding-top: 40px;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .product-box {
        gap: 16px;
        padding: 10px 0;
    }

    .product-item {
        padding: 8px;
        gap: 10px;
    }

    .item-img {
        height: 250px;
    }

    .item-name {
        font-size: 1rem;
    }

    .item-desc {
        font-size: 0.85rem;
    }
}

/* 原有的响应式样式保持不变 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 12px 28px;
    }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .thumb-wrap {
        padding-top: 70%;
    }
}