/**
 * 产品页公共样式（product-*）
 * 供产品详情页（737max / 787 / 777 等）共用，样式对齐首页设计系统。
 *
 * 引入方式：页面在 include header-new.php 之前设置：
 *   $stylesheets[] = '/assets/css/product.css';
 */

/* ===== Hero ===== */
.product-hero {
    padding-bottom: 4rem;
}
.product-hero-image {
    height: 45vh;
    position: relative;
    display: flex;
    align-items: center;
}
.product-hero-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
    display: none;               /* 移动端默认隐藏，≥768 显示 */
}
/* 视频 hero（如 BBJ 的 videoMarquee）：让 .video-contain 嵌套铺满。
   .hero-video 是 position:absolute（见 videoMarquee style），需父链 position:relative 才能定位铺满 */
.product-hero-image .video-contain,
.product-hero-image .video-contain .video {
    width: 100%;
    height: 100%;
    position: relative;
}
.product-hero-image .video-contain .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.product-hero-title {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    position: relative;
    font-family: "Noto Sans SC", "微软雅黑", 'Microsoft YaHei';
    z-index: 10;                /* 高于 .hero-video 的 z-index:5，避免标题被视频遮挡 */
}
.product-hero-title h1 {
    width: 100%;
    max-width: 750px;
    background-color: var(--navy);
    color: #fff;
    border-radius: .5rem;
    margin: -4rem 12px 2px 12px;
    min-height: 8.5rem;
    opacity: 1;
    padding: 0 45px;
    display: flex;
    align-items: center;
    font-size: 3.5rem;
}

/* ===== 区块标题 ===== */
.product-section-title {
    color: var(--primary-blue);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15em;
    margin: 0 0 2pc;
}

/* ===== 内容容器：文字 .wrap 与展厅 .outer-wrap（带 32px 内边距）；满宽图 .product-fullimg（贴边 100%，无边距） ===== */
.product-content .wrap,
.product-content .outer-wrap {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}
.product-fullimg {
    display: block;            /* 大图容器：贴视口边满宽，不加内边距/最大宽限制 */
}
.product-fullimg img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 响应式宽度阶梯（文字容器 .wrap / 展厅 .outer-wrap 与 hero-title 共享；满宽图不受限） ===== */
.product-content .wrap,
.product-content .outer-wrap,
.product-hero-title {
    max-width: calc(100vw - 64px);
}
@media (min-width: 768px) {
    .product-hero-image img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }
    .product-section-title {
        font-size: 2.3125rem;
        margin: 0 0 3pc;
    }
}
@media (min-width: 1200px) {
    .product-content .wrap,
    .product-content .outer-wrap,
    .product-hero-title { max-width: calc(100vw - 128px); }
    .product-section-title {
        font-size: 2.6875rem;
        margin: 0 0 3pc;
    }
}
@media (min-width: 1400px) {
    .product-content .wrap,
    .product-content .outer-wrap,
    .product-hero-title { max-width: 80vw; }
}
@media (min-width: 2000px) {
    .product-content .wrap,
    .product-content .outer-wrap,
    .product-hero-title { max-width: 70vw; }
}
@media (min-width: 2260px) {
    .product-content .wrap,
    .product-content .outer-wrap,
    .product-hero-title { max-width: 60vw; }
}

/* ===== 技术参数表（多列）：窄屏在容器内横向滚动，避免撑出页面 ===== */
.product-content .table-comparison {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
