/* 系列产品页面特定样式 */

/* 标题 加粗 */
.page-title {
    margin-top: 150px;
    text-align: center;
    font-size: 40px;
    color: #ffa400;
    margin-bottom: 80px;
    font-weight: bold;
}

/* 轮播布局 —— 更宽松大气 */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    margin-bottom: 70px;
}
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 30px; /* 更宽松 */
}
.carousel-item {
    min-width: 240px; /* 更大一点 */
}

/* 产品卡片 —— 更大气 + 相对定位放火力值 */
.card {
    background: #fff;
    border-radius: 20px;
    text-align: center;
    padding: 30px;
    transition: 0.3s;
    border: 1px solid #eee;
    position: relative;
}
/* 右上角火力值标签 */
.fire-code {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 13px;
    color: #ff6700;
    font-weight: bold;
    background: #fff2e8;
    padding: 2px 8px;
    border-radius: 20px;
}
.card img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    margin-bottom: 18px;
}
.card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.card .weight {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}
.card .sale {
    color: #ffa400;
    font-size: 14px;
    font-weight: bold;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* 箭头 —— 不遮挡、安全位置 */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #ffa400;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    border: none;
}
.prev { left: 0; }
.next { right: 0; }

/* 新增：轮播下方大图区域 */
.banner-section {
    width: 100%;
    margin-bottom: 70px;
}
.banner-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
}

/* ============ 移动端适配 ============ */
@media (max-width: 768px) {
    .page-title {
        margin-top: clamp(80px, 22vw, 110px);
        font-size: clamp(20px, 6vw, 30px);
        margin-bottom: clamp(28px, 8vw, 50px);
    }

    .carousel-wrapper {
        padding: 0 36px;
        margin-bottom: 40px;
    }

    .carousel-track {
        gap: 16px;
    }

    /* 每屏显示约 2 个卡片 */
    .carousel-item {
        min-width: calc((100% - 16px) / 2);
    }

    .card {
        padding: 18px 12px;
        border-radius: 14px;
    }

    .card img {
        height: 120px;
        margin-bottom: 12px;
    }

    .card h3 {
        font-size: 14px;
    }

    .card .weight,
    .card .sale {
        font-size: 12px;
    }

    .arrow {
        width: 34px;
        height: 34px;
    }

    .banner-img {
        height: 200px;
        border-radius: 14px;
    }

    .banner-section {
        margin-bottom: 40px;
    }
}
