/* ==========================================================================
   超级工厂店铺主页 · 橙色版（supplier-tpl-4 / factory_tpl_b）
   基准：设计稿「PC-超级工厂店铺首页-橙色版」，内容区 1440px
   与蓝色版（supplier-tpl-3.css）结构同源，差异在于：
   1) 主色由深蓝 #2546A1 换成橙 #FF8A2F（含浅橙底 #FFFAF6 / 线性渐变）
   2) banner 下新增「特性图标条」
   3) 产品类别 + 为什么选择我们改成左右双栏（左白卡网格 / 右橙色面板）
   4) 热销改成「左 1 张大卡 + 右 4 张小卡」
   5) 工厂实力改成橙色整幅横带（左文案右 6 图）
   6) 新增「应用场景」卡片区、资质区数字条、留言区双面板
   注意：类名统一 sf4 前缀，与 tpl-3 互不影响（两个模板的 CSS 按模板分别加载）
   ========================================================================== */

/* 设计稿字体 Inter，仅在本模板作用域内使用，避免影响全站 */
@font-face {
    font-family: 'InterSf4';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../font/inter/Inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'InterSf4';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../font/inter/Inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'InterSf4';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../font/inter/Inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'InterSf4';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../font/inter/Inter-900.woff2') format('woff2');
}

.sf4 {
    --sf4-orange: #FF8A2F;
    --sf4-orange-deep: #F36A0A;
    --sf4-orange-soft: #FFAC66;
    --sf4-cream: #FFFAF5;
    --sf4-line: #F6E3D5;
    --sf4-text: #3A3632;
    --sf4-grey: #8A8A8A;
    --sf4-font: 'InterSf4', 'Inter', Arial, "Microsoft YaHei", sans-serif;
    position: relative;
    overflow: hidden;
    background: #fff;
    color: var(--sf4-text);
    font-family: var(--sf4-font);
    font-size: 14px;
    line-height: 1.5;
}

.sf4 *,
.sf4 *::before,
.sf4 *::after {
    box-sizing: border-box;
    /* 站点 common.css 有 `* { font-family: "Microsoft YaHei" !important }`，
       会把模板里的 Inter 全压掉（雅黑字宽/行高不同 → 整页排版错位），
       用 .sf4 * 的更高特异性 + !important 夺回字体 */
    font-family: var(--sf4-font) !important;
}

.sf4 :where(a) {
    color: inherit;
    text-decoration: none;
}

.sf4 img {
    display: block;
    max-width: 100%;
    vertical-align: top;   /* bootstrap reboot 会设 middle，统一压回顶部 */
}

/* 内容容器：统一用站点的 .container（bootstrap 5 栅格容器），
   站点在 ≥1500 已经把它锁成 max-width:1440，这里只把内边距清零——
   本模板每个区块自己控左右留白，多出 bootstrap 的 9px 会让 1440 内容区缩水、
   卡片宽度整体错位。 */
.sf4 .container {
    position: relative;
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* 通用区块标题：设计稿实测字面高 26px、整串宽 328px（"PRODUCT CENTER" 14 字符）
   → 36px/700、字距 1.2；设计稿标题是整行深色，不做首字母高亮 */
.sf4-title {
    position: relative;
    z-index: 2;
    color: var(--sf4-text);
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 1.2px;
    text-align: center;
    text-transform: uppercase;
}

.sf4-title .sf4-first {
    color: inherit;
}

/* 区块副标题 */
.sf4-sub {
    margin-top: 10px;
    color: var(--sf4-grey);
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

/* 分隔线整条切图（线 + 中心图标） */
.sf4-divider img {
    display: block;
    width: 100%;
    height: 22px;
}

/* 通用按钮 */
.sf4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 167px;
    height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 17px;
    line-height: 1;
    white-space: nowrap;
}

.sf4-btn--solid {
    background: var(--sf4-orange);
    color: #fff;
}

.sf4-btn--solid:hover {
    background: var(--sf4-orange-deep);
    color: #fff;
}

.sf4-btn--ghost {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
}

.sf4-btn--ghost:hover {
    background: #fff;
    color: var(--sf4-orange-deep);
}

.sf4-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.sf4-btn-arrow img {
    width: 16px;
    height: 5px;
}

/* ==========================================================================
   Banner：设计稿是整张烘焙图（文案在图里），高度取装修配置
   ========================================================================== */
.sf4-banner {
    position: relative;
    z-index: 1;
    height: 425px;
    overflow: hidden;
    background-color: #F7E2D2;
    background-position: center center;
    background-repeat: no-repeat;
    /* 烘焙图整张是文案：必须严格铺满容器。
       原来 auto 100% 是按元素高度反推宽度（2500×500 的图设 500 高就是 2500 宽），
       容器比它宽就左右留白、比它窄就切掉两侧文字，所以改成 100% 100% */
    background-size: 100% 100%;
}

/* 模板自带的 2500×425 演示 banner：按原图尺寸定宽居中（不随视口缩放），
   这样 1440 内容区正好落在图中间，和设计稿位置一致；视口更宽时两侧露出同色底 */
.sf4-banner.is-default {
    background-size: 2500px auto;
    background-position: center center;
}

.sf4-banner--swiper {
    height: 425px;
    background: #F7E2D2;
}.sf4-banner-swiper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.sf4-banner-swiper .swiper-slide {
    width: 100%;
    flex: 0 0 auto;
    background-position: center center;
    background-repeat: no-repeat;
    /* 按容器高度等比缩放（auto 100%）：图片高度撑满、宽度自动、居中裁切。
       不能用 100% 100%——后台上传的 banner 比例不定，写死会纵向拉伸变形 */
    background-size: auto 100%;
}

/* 轮播里混了模板自带那张 2500×425 的演示图时：按原尺寸 2500 定宽居中，
   不能跟其它 2500×500 的图一样按 auto 100% 放大（容器 500 高时会被拉成 2941 宽、裁掉两侧文案）。
   图比容器矮时上下留同色底（.sf4-banner--swiper 的 #F7E2D2） */
.sf4-banner-swiper .swiper-slide.is-default {
    background-size: 2500px auto;
    background-position: center center;
}

.sf4-banner--swiper .sf4-banner-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 3;
    text-align: center;
    line-height: 0;
}

.sf4-banner--swiper .sf4-banner-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 5px;
    background: #fff;
    opacity: .55;
    cursor: pointer;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
    transition: width .25s ease, opacity .25s ease;
}

.sf4-banner--swiper .sf4-banner-pagination .swiper-pagination-bullet-active {
    width: 26px;
    opacity: 1;
}

/* ==========================================================================
   特性图标条（banner 正下方一条橙色带，设计稿 5 项）
   ========================================================================== */
.sf4-feature {
    background: linear-gradient(90deg, #FF7E1F 0%, #FF9134 52%, #FF7E1F 100%);
    color: #fff;
}

.sf4-feature-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 设计稿特性条整块 78 高（图标 44 + 上下各 17） */
    padding: 17px 0;
}

.sf4-feature-item {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 4px 18px;
}

/* 项之间一条半透明竖线（第一项不画） */
.sf4-feature-item + .sf4-feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 42px;
    margin-top: -21px;
    background: rgba(255, 255, 255, 0.28);
}

.sf4-feature-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 设计稿图标是白色实心圆（不是半透明白）+ 橙色线性图标 */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
}

/* 后台图标是白色线性 PNG，用 filter 整体转成设计稿的橙色 #FF892F
   （brightness(0) 先压黑再 invert 上色，最后用 sepia/saturate/hue-rotate 调色相） */
.sf4-feature-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(56%) sepia(93%) saturate(1600%) hue-rotate(347deg) brightness(1.05) contrast(100%);
}

.sf4-feature-text {
    min-width: 0;
}

.sf4-feature-title {
    color: #fff;
    /* 设计稿 18+ Years 墨迹 104 宽、8,000+ M² 92 宽 → 21px */
    font-size: 21px;
    font-weight: 700;
    line-height: 24px;
}

.sf4-feature-desc {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 18px;
}

/* ==========================================================================
   快捷选品 + 为什么选择我们（双栏）
   ========================================================================== */
.sf4-middle {
    position: relative;
    background: #fff;
}

/* 设计稿：整块是「容器宽的米色卡片」，页面底色仍是白色，不是通栏色带 */
.sf4-quick {
    /* 这一整块是白底：米色只铺在中间 1440 的内容块上，上下各留 62px 白 */
    padding: 62px 0;
    background: #fff;
}

.sf4-quick-inner {
    display: flex;
    align-items: stretch;
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    padding: 54px 30px 68px;
    box-sizing: border-box;
    background: var(--sf4-cream);
}

.sf4-quick-left {
    /* 设计稿：左栏 716 / 中间 66（含竖条）/ 右栏 598，共 1380 内容宽，按比例给，容器变窄时同步缩放 */
    flex: 0 0 51.88%;
    max-width: 51.88%;
    min-width: 0;
}

.sf4-quick-right {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    margin-left: 4.78%;
}

.sf4-quick-head {
    margin-bottom: 22px;
}

.sf4-quick-title {
    color: #333333;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.sf4-quick-title--orange {
    color: #EA580C;
}

.sf4-quick-sub {
    margin-top: 4px;
    color: #666666;
    font-size: 14px;
    line-height: 20px;
}

.sf4-quick-sub--orange {
    color: rgba(234, 88, 12, 0.72);
}

.sf4-quick-list {
    position: relative;
}

.sf4-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* 设计稿两列卡片 gap 37、两行 gap 22（卡 340×210，第二行从 1170 起） */
    gap: 22px 37px;
    /* 设计稿：可视区固定两行卡片（210*2+22），其余分类在框内滚动查看 */
    max-height: 442px;
    padding-right: 5px;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* 框内滚动条（快捷选品卡片区 / 热销右侧列表共用）：6px 圆头细条，无上下箭头 */
.sf4-quick-grid::-webkit-scrollbar,
.sf4-hot-side::-webkit-scrollbar {
    width: 6px;
}

.sf4-quick-grid::-webkit-scrollbar-button,
.sf4-hot-side::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.sf4-quick-grid::-webkit-scrollbar-track,
.sf4-hot-side::-webkit-scrollbar-track {
    border-radius: 3px;
    background: #FFE2D1;
}

.sf4-quick-grid::-webkit-scrollbar-thumb,
.sf4-hot-side::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: #FF8A2E;
}

/* Firefox 不认 ::-webkit-scrollbar，用标准属性兜底。
   注意必须用 @supports 隔离：Chromium 里一旦出现 scrollbar-color 就会退回「标准滚动条」绘制，
   带上下箭头，且 ::-webkit-scrollbar-button 的 display:none 也压不住。 */
@supports (-moz-appearance: none) {
    .sf4-quick-grid,
    .sf4-hot-side {
        scrollbar-width: thin;
        scrollbar-color: #FF8A2E #FFE2D1;
    }
}

.sf4-quick-card {
    position: relative;
    display: block;
    height: 210px;
    padding: 16px 15px 15px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(255, 138, 47, 0.08);
    transition: box-shadow .25s ease, transform .25s ease;
}

.sf4-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 138, 47, 0.16);
}

.sf4-quick-card-text {
    position: relative;
    z-index: 1;
    /* 右侧留给图片：53% 图 + 15px 白边 + 间距（按比例走，容器变窄时文字区不塌） */
    padding-right: calc(53% + 26px);
}

.sf4-quick-card-name {
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    line-height: 19px;
    /* 分类名可能很长，最多两行 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.sf4-quick-card-read {
    margin-top: 8px;
    color: #9C9C9C;
    font-size: 13px;
    line-height: 17px;
}

/* 设计稿：卡片 340×210，图片四周各留 15px 白边、自身 8px 圆角，宽约占卡片 53%
   （实测图片 x704..883 / y952..1131，卡片 x560..899 / y938..1147） */
.sf4-quick-card-img {
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 16px;
    width: 53%;
    overflow: hidden;
    border-radius: 8px;
    background: #F7F4F1;
}

.sf4-quick-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf4-quick-card-arrow {
    position: absolute;
    left: 13px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sf4-orange);
}

.sf4-quick-card-arrow img {
    width: 8px;
    height: 8px;
}

/* 右栏橙色面板：标题在面板外（米色底上），面板与左栏卡片同高 */
.sf4-adv-panel {
    display: flex;
    flex: 1;
    min-height: 0;
    padding: 34px 21px;
    box-sizing: border-box;
    border-radius: 12px;
    background: linear-gradient(90deg, #FF831C 0%, #FEB252 100%);
}

.sf4-adv-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.sf4-adv-item {
    display: flex;
    align-items: center;
    gap: 29px;
}

.sf4-adv-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
}

.sf4-adv-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.sf4-adv-text {
    min-width: 0;
}

.sf4-adv-title {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
}

.sf4-adv-desc {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 20px;
}

/* ==========================================================================
   热销产品（左 1 张大卡 + 右侧可滚动的商品列表）
   ========================================================================== */
.sf4-hot {
    padding: 62px 0 66px;
    background: var(--sf4-cream);
}

/* 设计稿：标题整行深色（不吃首字母橙），字号与 MADE HERE 同级 36px */
.sf4-hot .sf4-title {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0.3px;
}

.sf4-hot .sf4-title .sf4-first {
    color: inherit;
}

/* 标题下的短橙色横线 */
.sf4-hot-line {
    width: 100px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: var(--sf4-orange);
}

.sf4-hot-sub {
    margin-top: 12px;
    color: #999999;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.sf4-hot-wrap {
    position: relative;
    display: flex;
    margin-top: 34px;
}

/* 大卡宽 900/1440；右列绝对定位贴同一行右侧，高度跟着大卡走 */
.sf4-hot-main {
    position: relative;
    flex: 0 0 62.5%;
    max-width: 62.5%;
    min-width: 0;
    padding: 36px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(255, 138, 47, 0.08);
}

.sf4-hot-badge {
    display: inline-flex;
    align-items: center;
    /* 设计稿徽标 210×48：左内边距 19 + 钻石 35×28 + 间距 9 + 文字 127 左右 */
    justify-content: center;
    gap: 9px;
    min-width: 210px;
    height: 48px;
    padding: 0 19px;
    box-sizing: border-box;
    border-radius: 12px;
    /* 设计稿徽标：米橙渐变（两端深、中间亮）+ 深棕字（不是白字） */
    background: linear-gradient(90deg, #FEC675 0%, #FEEFE4 52%, #FEC268 100%);
    color: #6E2E00;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.sf4-hot-badge-ico {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 28px;
}

.sf4-hot-badge-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf4-hot-name {
    /* 设计稿标题栏只占卡宽约 8 成，长名字自然折成两行；
       高度按两行锁死，切换商品时大卡高度不跳动 */
    max-width: 82%;
    min-height: 88px;
    margin-top: 20px;
    color: var(--sf4-text);
    /* 设计稿一行墨迹 609 宽、两行行距 44 → 36/44 */
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    /* 设计稿标题两行，长名字截断并保留 title 属性 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.sf4-hot-name a {
    color: inherit;
}

/* 商品名首段（JY-132 这类牌号）橙色 */
.sf4-hot-name-accent {
    color: #EE6A0A;
}

.sf4-hot-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #F1690F;
    font-size: 16px;
    line-height: 24px;
}

.sf4-hot-tag img {
    flex: none;
    width: 20px;
    height: 20px;
}

/* 卖点：后台一段文本按换行/分号拆成的多条短句，每条前面一个勾 */
.sf4-hot-points {
    /* 固定三条的高度：有的商品只填 1 条卖点，避免切换时大卡忽高忽低 */
    min-height: 78px;
    margin-top: 14px;
}

.sf4-hot-point {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #6E6A66;
    font-size: 13px;
    line-height: 26px;
}

.sf4-hot-check {
    display: flex;
    flex: none;
    align-items: center;
    height: 26px;
}

.sf4-hot-check img {
    width: 13px;
    /* 勾的切图是 17×13（带透明边），按宽度缩放保持原比例，避免压扁 */
    height: auto;
}

/* 图条：商品相册图并排。设计稿是 4 张 162×162 的正方形、间距 32，
   整行 744 宽（卡片内容区 828，右侧本来就留白），所以按方形排、不拉伸铺满；
   窄屏卡片变宽/变窄时按 1fr 自适应，方形比例不变 */
.sf4-hot-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 744px;
    margin-top: 20px;
}

.sf4-hot-thumb {
    display: block;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #F7F4F1;
}

.sf4-hot-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 设计稿按钮 190×44 平涂橙底、白字半粗、箭头不带圆形底 */
.sf4-hot-more {
    margin-top: 26px;
    min-width: 190px;
    height: 44px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 600;
    background: #F46B19;
}

.sf4-hot-more:hover {
    background: #E55F10;
}

.sf4-hot-more .sf4-btn-arrow {
    width: auto;
    height: auto;
    background: transparent;
}

/* 右侧列表：固定高（= 大卡高）+ 框内滚动，首张为当前展示商品的高亮态 */
.sf4-hot-side {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34.4%;
    display: flex;
    flex-direction: column;
    /* 设计稿卡片间 13 */
    gap: 13px;
    padding-right: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sf4-hot-side-card {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
    height: 143px;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid #FFE7D6;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sf4-hot-side-card:hover {
    border-color: var(--sf4-orange-soft);
    box-shadow: 0 8px 22px rgba(255, 138, 47, 0.12);
}

.sf4-hot-side-card.is-active {
    border-color: var(--sf4-orange);
    box-shadow: 0 6px 16px rgba(255, 138, 47, 0.14);
}

.sf4-hot-side-img {
    flex: none;
    width: 115px;
    height: 115px;
    border-radius: 8px;
    overflow: hidden;
    background: #F7F4F1;
}

.sf4-hot-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf4-hot-side-text {
    min-width: 0;
}

.sf4-hot-side-name {
    color: var(--sf4-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.sf4-hot-side-desc {
    margin-top: 6px;
    color: var(--sf4-grey);
    font-size: 13px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

/* ==========================================================================
   生产现场 Made Here（视频封面）
   设计稿（1440 容器）：标题整行深色 36px → 100×3 橙短线 → 13px 灰副标题
   → 5 张 258×459 竖卡（间距 37.5、圆角 12）→ 卡片中央 63px 橙色播放键
   ========================================================================== */
.sf4-made {
    padding: 58px 0 61px;   /* 设计稿：区块顶 → 标题字形顶 62，行盒上方留 4 */
    background: #fff;
}

/* 标题整行同色（其余栏目是「首字母橙」，这里设计稿不做拆色） */
.sf4-made .sf4-title {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 2.9px;
}

.sf4-made .sf4-title .sf4-first {
    color: inherit;
}

/* 标题下的橙色短横线 */
.sf4-made-line {
    width: 100px;
    height: 3px;
    margin: 4px auto 0;
    border-radius: 2px;
    background: var(--sf4-orange);
}

.sf4-made-sub {
    margin-top: 10px;
    color: #999999;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.sf4-made-grid {
    display: flex;
    flex-wrap: wrap;        /* 窄屏卡片数超过一行时要折行，否则 5 张会挤成一条溢出屏幕 */
    justify-content: center;
    gap: 37.5px;
    margin-top: 55px;
}

.sf4-made-grid .sf4-made-item {
    flex: 0 0 calc((100% - 4 * 37.5px) / 5);
}

.sf4-made-swiper {
    margin-top: 55px;
    overflow: hidden;
}

.sf4-made-swiper .swiper-slide {
    height: auto;
}

.sf4-made-stage {
    position: relative;
}

/* 设计稿卡 258×459（1440 容器五等分正好 258），圆角 12。
   用比例撑高而不是写死 459：1440 下单卡正好 258 宽 → 459 高；
   容器变窄（≤1500 有 20px 内边距）时等比缩，不会压扁比例 */
.sf4-made-item {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 258 / 459;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.sf4-made-cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sf4-made-item:hover .sf4-made-cover {
    transform: scale(1.04);
}

/* 播放键：设计稿切图 play.png（70×70，橙色圆 + 白色细环 + 白三角），按 63 显示 */
.sf4-made-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 63px;
    height: 63px;
    margin: -31.5px 0 0 -31.5px;
    pointer-events: none;
    transition: transform .25s ease;
}

.sf4-made-item:hover .sf4-made-play {
    transform: scale(1.06);
}

/* 轮播箭头 */
.sf4-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border-radius: 50%;
    /* 设计稿是浅灰圆底 + 很淡的白箭头（hover 才变橙，保证可点性） */
    background: rgba(0, 0, 0, 0.075);
    cursor: pointer;
    transition: background .2s ease;
}

.sf4-nav:hover {
    background: rgba(243, 106, 10, 0.72);
}

.sf4-nav::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.sf4-made-prev {
    left: -58px;
}

.sf4-made-prev::after {
    margin: -5px 0 0 -3px;
    transform: rotate(45deg);
}

.sf4-made-next {
    right: -58px;
}

.sf4-made-next::after {
    margin: -5px 0 0 -7px;
    transform: rotate(-135deg);
}

.sf4-nav.swiper-button-prev::before,
.sf4-nav.swiper-button-next::before {
    display: none;
}

/* ==========================================================================
   公司简介 About Us
   ========================================================================== */
/* 设计稿：产品中心的白卡是浮在米色底上的（左右两侧露出米色），所以这一段的米色不是 body 的白底。
   版式已按需求对调成「产品中心在上、关于我们在下」（与蓝色版 A 模板一致）：
   上方 .sf4-hot 本身就是米色带，这里让 .sf4-pc 继续铺米色，白卡直接压在米色上；
   后面的 .sf4-about 也是米色，两段连成一片连续的米色区，中间不会出现一块白。 */
.sf4-about {
    position: relative;
    z-index: 1;
    /* 上 50：离开上一块白卡（pc 自己还有 30px 下内边距）
       下 90：米色在工厂实力橙带之前收住 */
    padding: 50px 0 90px;
    background: var(--sf4-cream);
}

/* 结构：ABOUT US 在两栏之外单独一行（container 直接子元素），
   下面 .sf4-about-text 与 .sf4-about-media 横向并排、顶边齐平（flex-start）。
   左栏去掉 ABOUT US 后高度≈右图 493，图片顶边与副标题顶边齐平，底部也基本齐。
   （右图 849×493，圆角 8px） */
.sf4-about-inner {
    display: flex;
    align-items: flex-start;
    gap: 46px;
}

.sf4-about-text {
    flex: 1;
    min-width: 0;
}

/* ABOUT US 小标签：设计稿字面高 28px、整串宽 178px（无字距），色 #FCD8BC */
/* 设计稿实测：36px、字重 500（不是粗体）、色 #FFDABD、整串宽 183 */
.sf4-about-title {
    /* 独占一行、在两栏之上，与下方两栏的间距放这里（原来是副标题的 margin-top） */
    margin-bottom: 17px;
    color: #FFDABD;
    font-size: 35px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0;
    text-align: left;
}

/* 小标签整行同色，不再做首字母橙色高亮 */
.sf4-about-title .sf4-first {
    color: inherit;
}

/* 副标题：设计稿字面高 24px、行距 36（两行）、首行宽 500。
   margin-top 必须是 0：它是 .sf4-about-text 的第一行，要跟右边 .sf4-about-media 顶边齐平，
   留上边距会把整栏压低、图片顶边就会比副标题高出一截 */
.sf4-about-sub {
    margin-top: 0;
    color: var(--sf4-text);
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
    text-transform: uppercase;
    word-break: break-word;
    /* 最多 2 行（设计稿就是两行）：后台填的副标题可能换行更多，超出省略号收尾，
       否则左栏被撑高、右图 493 就对不上了 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 正文：设计稿 8 行，字面高 14、行距 20 */
.sf4-about-desc {
    margin-top: 43px;
    color: #615C57;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    /* 简介固定 8 行（设计稿段落正好 8 行），超出省略号收尾，避免顶掉下方按钮与数据条 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
    word-break: break-word;
}

/* 有副标题时正文与副标题间距收一点，避免两块灰字挤在一起 */
.sf4-about-sub + .sf4-about-desc {
    margin-top: 43px;
}

/* 按钮按设计稿 184×60、文字 20px（只在本区块覆盖，不影响其他区块按钮） */
.sf4-about .sf4-btn {
    margin-top: 43px;
    min-width: 190px;
    height: 60px;
    padding: 0 30px;
    font-size: 20px;
}

/* 设计稿按钮文案后面跟一个细箭头 */
.sf4-about .sf4-btn::after {
    content: "\2192";
    margin-left: 8px;
    font-size: 18px;
    line-height: 1;
}

/* 数据条：设计稿是一条浅橙底通栏，高 76、4 项按内容宽度两端撑开、项间没有分隔线
   实测：左内边距 12，数字约 26px，说明文字 12px；底色为左深右透明的浅橙渐变 */
.sf4-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 39px;
    height: 76px;
    padding: 0 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #FFEDDF 28.85%, rgba(255, 255, 255, 0) 99.04%);
}

.sf4-stat {
    flex: 0 0 auto;
    min-width: 0;
}

.sf4-stat-top {
    display: flex;
    align-items: baseline;
}

.sf4-stat-num {
    color: var(--sf4-orange);
    font-size: 26px;
    font-weight: 700;
    line-height: 26px;
    white-space: nowrap;
}

.sf4-stat-unit {
    margin-left: 2px;
    color: var(--sf4-orange);
    font-size: 19px;
    font-weight: 700;
    line-height: 20px;
}

.sf4-stat-label {
    margin-top: 5px;
    color: #8C837B;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf4-about-media {
    position: relative;
    flex: 0 0 849px;
    max-width: 59%;
    /* 设计稿右图 849×493、圆角 8px */
    height: 493px;
    border-radius: 8px;
    overflow: hidden;
    background: #F7F4F1;
}

.sf4-about-main {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 有宣传视频时主图位换成封面 + 播放键（play.png 70×70 橙色圆，主图 849×493，按 84 显示） */
.sf4-about-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    pointer-events: none;   /* 点击交给外层 <a> */
    transition: transform .25s ease;
}

.sf4-about-play img {
    display: block;
    width: 100%;
    height: 100%;
}

.sf4-about-video:hover .sf4-about-play,
.sf4-about-video:focus-visible .sf4-about-play {
    transform: scale(1.06);
}

/* ==========================================================================
   产品中心 Product Center
   ========================================================================== */
.sf4-body {
    position: relative;
    /* 设计稿产品中心区是纯白底（about 米色区到 3797 结束） */
    background: #fff;
}

.sf4-pc {
    position: relative;
    z-index: 2;
    /* 产品中心现在排在公司简介之上：上方 .sf4-hot 已是米色带（下 66px），
       这里接着铺米色、去掉原来 -39px 的「压进 about 米色区」的负边距，
       白卡直接浮在这片米色上，后面接 .sf4-about 的米色 */
    margin-top: 0;
    padding: 0 0 30px;
    background: var(--sf4-cream);
}

.sf4-pc-card {
    display: flow-root;   /* 关住最后一个子元素的 margin，避免塌陷到卡外 */
    width: 1438px;
    max-width: 100%;
    margin: 0 auto;
    padding: 62px 40px 0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 80px rgba(255, 160, 90, 0.16);
}

/* 产品中心标题下的橙色短线（设计稿 40×3，居中） */
.sf4-pc-line {
    width: 40px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: var(--sf4-orange);
}

/* tab 行：左边「All Products」固定、右边其余分类进 swiper 左右滑（见文件后半段 .sf4-tabs-swiper） */
.sf4-tabs {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 30px;
    border-bottom: 1px solid var(--sf4-line);
    /* 分类间距的唯一来源：.sf4-tab--all 的 margin-right 用它，JS 再读那个 margin 交给 Swiper 的
       spaceBetween（Swiper 3.x 是给每个 slide 加 margin 实现间距，这里再叠 column-gap 会变成双倍） */
    --sf4-tab-gap: clamp(24px, 8.1vw, 117px);
}

.sf4-tab {
    position: relative;
    display: block;
    /* 文字 14 + 留白 22：下划线压在这段留白底部，正好贴住下面的分隔线 */
    height: 36px;
    color: #6E6A66;
    font-size: 14px;
    line-height: 14px;
    white-space: nowrap;
}

/* 选中下划线：index.php 的 doAction.changeCategory 用的是 addClass('active') */
.sf4-tab.active {
    color: var(--sf4-orange-deep);
}

.sf4-tab.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--sf4-orange);
}

.sf4-pc-grid {
    display: grid;
    grid-template-columns: repeat(5, 252px);
    justify-content: space-between;
    column-gap: 0;
    row-gap: 30px;
    margin-top: 28px;
}

.sf4-pc-item {
    display: block;
    width: 252px;
}

/* 切换分类时 ajax 期间网格被清空：给个最小高度 + 转圈，
   否则整块会瞬间塌成 0 高、下面的「查看更多」按钮向上跳一格。
   转圈固定在距网格顶 150px 处（不是垂直居中）——网格撑高到两三百像素时
   居中会把转圈推到很下面，看着像没反应 */
.sf4-pc-grid.loading {
    position: relative;
    min-height: 370px;
}

.sf4-pc-grid.loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 150px;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    border: 4px solid rgba(255, 138, 47, 0.18);
    border-top-color: var(--sf4-orange);
    border-radius: 50%;
    animation: sf4-spin .8s linear infinite;
}

@keyframes sf4-spin {
    to {
        transform: rotate(360deg);
    }
}

.sf4-pc-more {
    display: flex;
    width: fit-content;      /* 不让块级 flex 拉满整行，居中后保持胶囊宽度 */
    margin: 46px auto 56px;
}

/* ==========================================================================
   国旗分隔条
   ========================================================================== */
/* 国旗条是 1440×195 的整图（设计稿在 1440 内容区内、白底），不能铺满视口拉伸 */
.sf4-flags {
    padding: 0;
    font-size: 0;
    text-align: center;
    background: #fff;
}

.sf4-flags img {
    display: block;
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
}

/* ==========================================================================
   工厂实力（橙色整幅横带：左文案 + 右 6 图）
   ========================================================================== */
.sf4-factory {
    background: linear-gradient(90deg, #FF8F36 0%, #FF7A12 100%);
    color: #fff;
}

/* 设计稿（5147..5655，整段 509 高）：左栏文字 500、右栏 3×2 图网格 824（图 262×199、间距 19），
   上下各留 48，左栏文字块比图网格再低 14 */
.sf4-factory-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 0;
}

.sf4-factory-text {
    flex: 0 0 570px;
    max-width: 570px;
    min-width: 0;
    margin-top: 14px;
}

/* 栏目名做橙带上的小标签（设计稿 OUR FACTORY STRENGTH 24/32、距大字 43） */
.sf4-factory-title {
    margin-bottom: 43px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.sf4-factory-title .sf4-first {
    color: inherit;
}

/* 大字主标题：后台「企业风采」栏目的 sub_title，支持回车换行成两行（设计稿 36/44） */
.sf4-factory-sub {
    margin-top: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    word-break: break-word;
}

/* 描述段落：副标题下面那两行小字（后台「企业风采」栏目可配，设计稿 14/21、距大字 37） */
.sf4-factory-desc {
    margin-top: 37px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 21px;
    word-break: break-word;
}

/* 白底橙字胶囊按钮：设计稿 186×44、文字 15/600、右侧带橙色箭头，距描述 46 */
.sf4-factory .sf4-btn {
    min-width: 186px;
    height: 44px;
    padding: 0 22px;
    margin-top: 46px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: var(--sf4-orange-deep);
    font-size: 15px;
    font-weight: 600;
    line-height: 42px;
}

.sf4-factory .sf4-btn:hover {
    background: transparent;
    color: #fff;
}

/* 按钮里的箭头是纯色箭头，没有白色圆底（设计稿 18×6） */
.sf4-factory .sf4-btn-arrow {
    width: auto;
    height: auto;
    background: transparent;
}

.sf4-factory .sf4-btn-arrow img {
    width: 18px;
    height: 6px;
}

/* hover 变透明底白字时，橙色箭头要跟着变白 */
.sf4-factory .sf4-btn:hover .sf4-btn-arrow img {
    filter: brightness(0) invert(1);
}

.sf4-fac-grid {
    flex: 0 0 824px;
    max-width: 824px;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.sf4-fac-item {
    position: relative;
    min-width: 0;
    height: 199px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.sf4-fac-cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 图注：设计稿是半透明黑色条压图片下沿、白字
   原来 0.62 太透，底下的机器/草地会透上来糊住白字，最终按设计要求改为中性深灰 #333 90% 不透明 */
.sf4-fac-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 6px 12px;
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    font-size: 13px;
    line-height: 22px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   VR 工厂
   ========================================================================== */
.sf4-vr {
    position: relative;
    /* 设计稿 2500×520，内嵌 1440 内容区为 1:1，故 CSS 高 520 */
    height: 520px;
    padding-top: 64px;
    overflow: hidden;
    background: #E8894A center center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.sf4-vr-inner {
    position: relative;
    z-index: 1;
}

.sf4-vr-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* 设计稿字面高 73px、整串宽 808px（"VR FACTORY"）→ 100px + 字距 20 */
.sf4-vr-title {
    margin: 0 auto;
    color: #fff;
    font-size: 100px;
    font-weight: 700;
    line-height: 100px;
    letter-spacing: 20px;
    text-indent: 20px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

/* 设计稿字面高 23px、宽 848px */
.sf4-vr-sub {
    margin-top: 15px;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 2px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

.sf4-vr-720 {
    display: block;
    width: 128px;
    height: 81px;
    margin: 78px auto 0;
}

.sf4-vr-play {
    display: block;
    width: 100px;
    height: 100px;
    margin: 78px auto 0;
}

.sf4-vr-explore {
    display: block;
    margin-top: 24px;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 3px;
    text-indent: 3px;
}

/* ==========================================================================
   应用场景 Wide Applications（橙色版新增）
   ========================================================================== */
/* 设计稿 6174..6656：标题上留 55，卡片下方留 48 */
.sf4-apps {
    padding: 55px 0 48px;
    background: #fff;
}

/* 设计稿标题无额外字距（36px 字面宽 367） */
.sf4-apps .sf4-title {
    letter-spacing: 0;
}

/* 设计稿标题下有一条居中的橙色短横线（100×3，距标题 6） */
.sf4-apps .sf4-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    margin: 6px auto 0;
    border-radius: 2px;
    background: var(--sf4-orange);
}

/* 设计稿 6 张卡片各 219 宽、间隔 25，加起来正好 1440；卡高 237 */
.sf4-apps-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.sf4-apps-item {
    min-width: 0;
    height: 237px;
    padding: 4px 4px 0;
    border: 1px solid var(--sf4-orange);
    border-radius: 8px;
    background: #FFFDFB;
    text-align: left;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sf4-apps-item:hover {
    border-color: var(--sf4-orange);
    box-shadow: 0 10px 24px rgba(255, 138, 47, 0.16);
}

/* 配了链接时整张卡片外面包一层 a，撑满卡片保持原视觉 */
.sf4-apps-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sf4-apps-link:hover {
    color: inherit;
}

/* 设计稿卡片图 211×117、圆角 6 */
.sf4-apps-img {
    width: 100%;
    height: 117px;
    border-radius: 6px;
    overflow: hidden;
    background: #F8F4F0;
}

.sf4-apps-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf4-apps-name {
    margin-top: 10px;
    padding: 0 11px;
    color: var(--sf4-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    /* 场景名多为两个词，最多两行 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.sf4-apps-desc {
    margin-top: 6px;
    padding: 0 11px;
    color: var(--sf4-grey);
    font-size: 13px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

/* ==========================================================================
   资质证书 Qualification Certificate
   ========================================================================== */
/* 设计稿资质区 6656..7334：左侧浅橙渐变 + 右侧金色奖章 + 底部 6 张证书条。
   奖章底图是设计稿原图 2500×669（含画布出血），按 2500 定宽居中：
   1440 内容区正好落在图中间 1440 内，和设计稿逐像素对齐 */
.sf4-cert {
    padding: 43px 0 60px;
    /* 无论后台上传证书（.is-bleed 关闭）还是演示拼图，都用设计稿那张 2500×669 底图
       （左侧浅橙渐变 + 右侧金色奖章），定宽 2500 居中，不能按视口 100% 缩放 */
    background: #FFFAF5 url("../images/supply/factory_tpl_b/honor_bg.png") center top / 2500px auto no-repeat;
}

.sf4-cert.is-bleed {
    min-height: 678px;
    padding: 43px 0 0;
    /* 通栏元素，背景固定 2500 定宽居中，不能按视口 100% 缩放（会整体放大错位） */
    background: #FFFAF5 url("../images/supply/factory_tpl_b/honor_bg.png") center top / 2500px auto no-repeat;
}

.sf4-cert-head {
    display: block;
}

.sf4-cert-left {
    /* 右侧要留给背景烘焙图里的金色奖章，正文只占左半边（设计稿统计卡 882 宽） */
    flex: none;
    max-width: none;
    min-width: 0;
}

/* 设计稿 QUALIFICATION / CERTIFICATE 两行 48/60，首行深色、次行整行橙色 */
.sf4-cert-title {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0;
    text-align: left;
}

/* 两行标题：第二行整行橙色（设计稿 QUALIFICATION / CERTIFICATE） */
.sf4-cert-line {
    display: block;
}

.sf4-cert-line.is-accent {
    color: var(--sf4-orange);
}

/* 设计稿副标题 20/28、距标题 18 */
.sf4-cert-sub {
    margin-top: 18px;
    color: #7E766E;
    font-size: 20px;
    line-height: 28px;
}

/* 设计稿统计卡：整块白色圆角卡 882×121、四格等分无分隔线，卡顶距副标题 40 */
.sf4-cert-stats {
    display: flex;
    width: 882px;
    max-width: 100%;
    margin-top: 40px;
    /* 设计稿白卡 882×121：数字行 38 高 + 标签 22 + 间距 6 + 上下 26/28 */
    padding: 26px 0 28px;
    border-radius: 10px;
    background: #fff;
    gap: 0;
}

/* 设计稿统计卡内部三格之间有一条极淡的竖分隔线 */
.sf4-cert-stat + .sf4-cert-stat {
    border-left: 1px solid #F3EAE2;
}

.sf4-cert-stat {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
}

.sf4-cert-stat-num {
    color: var(--sf4-orange);
    /* 设计稿 50+/100+/500+/99% 墨迹 60/76/81/65 宽、24~25 高 → 32px/38 */
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
}

.sf4-cert-stat-label {
    margin-top: 6px;
    color: #8C837B;
    /* 设计稿 Authorized Qualifications 191 宽、Industry Awards 123 宽 → 16px */
    font-size: 16px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf4-cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 34px;
}

/* 设计稿证书条 6 张并排、每张约 220×190
   证书改取「公司信息-认证证书」后张数由商家自己决定，可能只有 1~2 张：
   加 max-width 卡住单张宽度，避免 flex:1 把一张证书拉成通栏、左右留大片空白 */
.sf4-cert-item {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    max-width: 220px;
    height: 190px;
    border-radius: 8px;
    object-fit: contain;
}

/* 证书列表和标题同一内容宽（1440 容器）：后台上传的 6 张证书等分排布。
   演示数据只有一张拼合图时（is-bleed）直接铺满容器，不再逐张渲染 */
.sf4-cert-list.is-bleed {
    display: block;
    height: 196px;
    margin-top: 34px;
    background: url("../images/supply/factory_tpl_b/honor_default.jpg") center center / 100% auto no-repeat;
}

.sf4-cert-list.is-bleed .sf4-cert-item {
    display: none;
}

/* ==========================================================================
   联系供应商（左橙色表单 + 右深色信任面板）
   ========================================================================== */
/* 设计稿 7324..7808：卡片上留 60、下留 60，卡片整幅 1440×364（左橙 760 + 右图 680） */
.sf4-contact {
    padding: 60px 0;
    background: #FFFAF5;
}

.sf4-contact-inner {
    display: flex;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
}

/* 设计稿左橙区 760 宽、内边距 29 40 34 37 */
.sf4-form-panel {
    flex: 0 0 760px;
    max-width: 760px;
    min-width: 0;
    padding: 29px 40px 34px 37px;
    /* 设计稿左橙区是纯色 #FF892E，无渐变 */
    background: #FF892E;
    color: #fff;
}

/* 设计稿 SEND MESSAGE TO SUPPLIER：28/34 大写加粗 */
.sf4-form-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sf4-form-sub {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 20px;
}

.sf4-form {
    margin-top: 24px;
}

/* 设计稿：姓名 / 邮箱 / 公司名三列并排（列宽 206、206、244，间距 15） */
.sf4-form-grid {
    display: grid;
    grid-template-columns: 0.85fr 0.85fr 1fr;
    gap: 15px;
}

.sf4-form-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 12px;
}

.sf4-form-row + .sf4-form-row {
    margin-top: 16px;
}

.sf4-form-row label {
    color: #fff;
    font-size: 14px;
    line-height: 40px;
    text-align: right;
    white-space: nowrap;
}

.sf4-form-row label.is-req::before {
    content: "*";
    margin-right: 4px;
    color: #7A2E00;
}

.sf4-form-readonly {
    height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: #4A423B;
    font-size: 14px;
    line-height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf4-form textarea,
.sf4-form-input {
    width: 100%;
    border: 0;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #3A3632;
    font-family: inherit;
    font-size: 14px;
}

.sf4-form textarea {
    resize: none;
}

.sf4-form-input {
    height: 40px;
    padding: 0 16px;
    line-height: 40px;
}

.sf4-form textarea::placeholder,
.sf4-form-input::placeholder {
    color: #B4AAA1;
}

.sf4-form-textarea-row label {
    line-height: 22px;
    padding-top: 8px;
}

/* 设计稿 Send：188×42 深橙实心胶囊 + 浅橙描边、白字 14，距留言框 22 */
.sf4-form-submit {
    min-width: 188px;
    height: 42px;
    margin-top: 22px;
    padding: 0 24px;
    border: 1px solid #FFF0E5;
    border-radius: 999px;
    background: #F46B19;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 40px;
    cursor: pointer;
}

.sf4-form-submit:hover {
    background: #fff;
    color: var(--sf4-orange-deep);
}

/* 三个输入框统一 39 高、白底圆角（设计稿 7494..7533，文字距左边 12） */
.sf4-form-grid .sf4-form-input {
    height: 39px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    line-height: 39px;
}

/* 留言大框：设计稿 7548..7648（101 高）、圆角 6、距输入行 15、文字距左 14 */
.sf4-form-textarea {
    display: block;
    width: 100%;
    height: 101px;
    margin-top: 15px;
    padding: 7px 14px;
    border: 0;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #3A3632;
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
    resize: none;
    box-sizing: border-box;
}

/* 设计稿右半 680 宽：直接用建筑实景照，设计稿没有压蒙层，内边距 28 40 28 44 */
.sf4-contact-aside {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    padding: 28px 40px 28px 44px;
    background: #2E3A45 url("../images/supplier-tpl-4/contact-bg.jpg") center center / cover no-repeat;
    color: #fff;
}

.sf4-contact-aside > * {
    position: relative;
    z-index: 1;
}

/* 设计稿两行 28/34（LET'S BUILD A / LONG-TERM PARTNERSHIP） */
.sf4-contact-aside-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* 设计稿四个勾选项行间距 43（行高 25 + 间隔 18），距标题行盒底 52 */
.sf4-contact-list {
    margin-top: 52px;
}

.sf4-contact-item {
    position: relative;
    padding-left: 34px;
    color: rgba(255, 255, 255, 0.92);
    /* 设计稿 Fast Response 122 宽 / Customized Solutions 183 宽 → 18px */
    font-size: 18px;
    line-height: 25px;
}

.sf4-contact-item + .sf4-contact-item {
    margin-top: 18px;
}

/* 设计稿图标是 20px 圆环：1.5px #F46B19 描边 + #342A24 实心底 + 浅橙细对勾 */
.sf4-contact-check {
    position: absolute;
    left: 1px;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #F46B19;
    border-radius: 50%;
    background: #342A24;
    box-sizing: border-box;
}

/* 对勾用内联 SVG 画（border 拼出来的勾在 20px 下会糊成一坨/居左）；
   viewBox 20×20 里勾形（含 1.4 圆头端帽）横向占 6.5..12.0，原来起点取 6.2 会让整勾
   视觉重心落在 8.95、比圆心偏左约 1px，这里起点右移到 7.2，让勾在圆环里居中 */
.sf4-contact-check::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23F29354' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.2 10.4l1.6 1.6 3.9-4.3'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

/* ==========================================================================
   商品中心 ajax 结构（老框架 .m-avg-sm-5 > .goods-item-panel）映射
   ========================================================================== */
.sf4--data .sf4-pc-grid > * {
    display: contents;   /* 打散老框架的栅格包裹层，让卡片直接参与 grid */
}

.sf4--data .sf4-pc-grid .goods-item-panel {
    display: block;
    float: none;         /* 老框架用 float:left + width:20% */
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.sf4--data .sf4-pc-grid .goods-item-panel .thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 252px;
    padding-bottom: 0;   /* 老样式用 padding-bottom:100% 撑正方形，会把卡片撑高 */
    /* 设计稿：只有左上 + 右下是圆角（15px） */
    border-radius: 15px 0 15px 0;
    box-shadow: 0 20px 120px 0 rgba(255, 150, 80, 0.16);
    overflow: hidden;
}

.sf4--data .sf4-pc-grid .goods-item-panel .thumb:after {
    display: none;       /* 老样式在缩略图上盖了 3% 黑遮罩，设计稿没有 */
}

/* 商品图左上角叠 Super Factory 徽标（纯 CSS：钻石图 + 浅橙渐变）。
   设计稿徽标 119×27：钻石 19×14 距左 10、文字从 34 起（与图标间隙 5）、右边留 11。
   宽度按内容撑（34 + 文字 74 + 11 = 119），不用百分比——卡片被压窄时
   固定 47.2% 会把文字挤出徽标右边。 */
.sf4--data .sf4-pc-grid .goods-item-panel .thumb::before {
    content: "Super Factory";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    width: auto;
    height: 27px;
    padding: 0 11px 0 34px;
    box-sizing: border-box;
    border-radius: 15px 0 15px 0;
    /* 设计稿文字是深棕 #80461C（不是白字），和浅橙底同族、比白字柔和 */
    color: #80461C;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    background-image:
        url("../images/supplier-tpl-4/sf-diamond.png"),
        linear-gradient(90deg, #FEEFE4 0%, #FEC87D 100%);
    background-position: 10px center, 0 0;
    background-size: 19px 14px, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    pointer-events: none;
}

.sf4--data .sf4-pc-grid .goods-item-panel .thumb img,
.sf4--data .sf4-pc-grid .goods-item-panel .thumb .goods-lazy-img {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf4--data .sf4-pc-grid .goods-item-panel .info {
    padding: 0;
}

.sf4--data .sf4-pc-grid .goods-item-panel .goods-name {
    display: -webkit-box;
    height: 36px;
    margin-top: 18px;
    overflow: hidden;
    color: #3A3632;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.28px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sf4--data .sf4-pc-grid .goods-item-panel .goods-desc {
    margin: 0;
}

.sf4--data .sf4-pc-grid .goods-item-panel .price {
    display: block;
    margin-top: 12px;
    color: #EC2C3D;
    font-size: 18px;
    line-height: 18px;
}

.sf4--data .sf4-pc-grid .goods-item-panel .min-order-item {
    margin-top: 10px;
    color: #6E6A66;
    font-size: 14px;
    line-height: 18px;
}

/* 分类 tab 轮播（写法同 goods-info.php 的 #goods-detail-nav）：
   「All Products」在 swiper 外面常驻左侧、不跟着滑；其余分类进 swiper 左右翻页。
   swiper 用 flex:0 1 auto —— 分类少时宽度按内容、整行居中；分类多时被压到剩余宽度再滑 */
.sf4-tabs-swiper {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    /* 压掉 swiper.css 的 margin:auto，否则分类少时轮播会被顶到行尾 */
    margin-left: 0;
    margin-right: 0;
}

.sf4-tabs-swiper .swiper-slide {
    /* slidesPerView:'auto' 是按 slide 自身宽度排的，写 100%（swiper 默认）会一张占满一整屏 */
    width: auto;
    height: 36px;
    flex: 0 0 auto;
}

/* 固定的「All Products」：只负责跟轮播之间那一档间距 */
.sf4-tab--all {
    flex: 0 0 auto;
    margin-right: var(--sf4-tab-gap);
}

/* 左右翻页箭头：跟在列表右侧，与文字行垂直居中 */
.sf4-tabs-nav {
    position: relative;
    flex: 0 0 auto;
    /* 压掉 swiper.css 里 .swiper-button-prev/next 的绝对定位（top:50% + left:10px + margin-top:-22px），
       这里要让箭头待在 tab 行里正常排版 */
    top: auto;
    left: auto;
    right: auto;
    width: 24px;
    height: 24px;
    /* 24 高的箭头中心对齐 14px 文字行的中心 */
    margin: -5px 0 0 8px;
    border: 1px solid #E8DCCD;
    border-radius: 50%;
    background-color: #fff;
    background-image: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

/* 站点里给 .swiper-button-prev/next 配过一套 iconfont 字形（::before content:"\e…"），
   在橙色版里会渲染成一个深色方块压在圆上，这里直接关掉，箭头只用下面自己的 chevron */
.sf4-tabs-nav::before {
    content: none;
    display: none;
}

.sf4-tabs-nav::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-left: 1.5px solid #9C9289;
    border-bottom: 1.5px solid #9C9289;
    transition: border-color 0.2s ease;
}

.sf4-tabs-prev::after {
    margin: -3px 0 0 -2px;
    transform: rotate(45deg);
}

.sf4-tabs-next::after {
    margin: -3px 0 0 -4px;
    transform: rotate(-135deg);
}

.sf4-tabs-nav:hover {
    border-color: var(--sf4-orange);
}

.sf4-tabs-nav:hover::after {
    border-color: var(--sf4-orange);
}

/* 一屏放得下（JS 算完加 is-fit）：箭头整个藏掉，整行靠 justify-content:center 居中，
   和设计稿一样只有一排分类、没有箭头 */
.sf4-tabs.is-fit .sf4-tabs-nav {
    display: none;
}

/* 需要滑动时，右侧用一层很短的渐隐收口：不然最后一个分类会被箭头区硬切成半个字
   （is-fit 状态不加，避免分类放得下时最右边那个字被虚化） */
.sf4-tabs:not(.is-fit) .sf4-tabs-swiper {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent 100%);
}

.sf4-tabs-nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* ==========================================================================
   响应式降级
   ========================================================================== */
@media (max-width: 1500px) {
    /* 站点 bootstrap 在 <1500 把 .container 压成 1200 定宽并加 !important，
       这里用同特异性 + !important 拉回满宽，由区块自身留 20px 外边 */
    .sf4 .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* 视口窄于内容宽时，米色块不再贴屏幕边，保留 20px 外边 */
    .sf4-quick {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sf4-pc-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        column-gap: 20px;
    }

    .sf4-pc-item {
        width: auto;
    }

    .sf4-apps-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .sf4-made-prev {
        left: 4px;
    }

    .sf4-made-next {
        right: 4px;
    }

    .sf4-made-stage {
        padding-left: 52px;
        padding-right: 52px;
    }
}

/* 轮播 banner 在 1500 以下收一档高度。
   高度是模板内联在元素上的（后台配置），CSS 只有加 !important 才压得住；
   下界写 769 是为了不覆盖手机端那条 .sf4-banner{height:auto;aspect-ratio}（见下方 max-width:768px） */
@media (min-width: 769px) and (max-width: 1500px) {
    .sf4-banner.sf4-banner--swiper {
        height: 415px !important;
    }
}

@media (max-width: 1200px) {
    .sf4-title {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: 1.6px;
    }

    /* 生产现场 / 热销的标题在基础样式里用双类选择器加过字号，特异性压过通用 .sf4-title，这里要单独收 */
    .sf4-made .sf4-title,
    .sf4-hot .sf4-title {
        font-size: 30px;
        line-height: 36px;
        letter-spacing: 1.6px;
    }

    .sf4-made-grid {
        margin-top: 44px;
    }

    .sf4-banner {
        height: 420px;
    }

    .sf4-feature-inner {
        flex-wrap: wrap;
        gap: 14px 0;
    }

    .sf4-feature-item {
        flex: 0 0 33.33%;
    }

    .sf4-feature-item:nth-child(3n + 1)::before {
        display: none;
    }

    .sf4-quick-inner {
        flex-direction: column;
        padding: 48px 24px 44px;
    }

    .sf4-quick-left,
    .sf4-quick-right {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .sf4-quick-right {
        margin-left: 0;
        margin-top: 36px;
    }

    .sf4-adv-panel {
        min-height: 0;
        padding: 28px 24px;
    }

    .sf4-adv-list {
        gap: 26px;
        justify-content: flex-start;
    }

    /* 窄屏改为上下堆叠：右列回到文档流，横向两列排，不再框内滚动 */
    .sf4-hot-wrap {
        flex-direction: column;
        gap: 17px;
    }

    .sf4-hot-main {
        flex: 1 1 auto;
        max-width: 100%;
    }

    /* 右侧列表移到下方后大卡占满整行，图条不再按设计稿的 744 封顶，跟着卡片铺开 */
    .sf4-hot-gallery {
        max-width: none;
    }

    .sf4-hot-side {
        position: static;
        width: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 17px;
        padding-right: 0;
        overflow: visible;
    }

    .sf4-hot-side-card {
        flex: 0 0 calc(50% - 9px);
        height: auto;
        min-height: 143px;
    }

    .sf4-made-grid {
        gap: 20px;
    }

    .sf4-made-grid .sf4-made-item {
        flex: 0 0 calc((100% - 40px) / 3);
    }

    .sf4-about-inner {
        flex-direction: column;
        /* 桌面端是 align-items:flex-start（图顶对齐文字），竖排后这个值会变成「水平靠左」，
           两栏宽度按内容收缩、挤在左边，所以这里必须改回 stretch 让子项满宽 */
        align-items: stretch;
        gap: 32px;
    }

    .sf4-about-media {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        height: 320px;
    }

    .sf4-factory-inner {
        flex-direction: column;
        /* 竖排后基础样式的 align-items:flex-start 会让子项不再拉伸到满宽，
           图片网格会被压成几十像素（实测 38px） */
        align-items: stretch;
        gap: 30px;
    }

    .sf4-factory-text {
        flex: 1 1 auto;
        max-width: 100%;
    }

    /* 窄屏改成上下堆叠后，图片网格必须跟着放平，否则 824px 定宽会把网格挤成 38px */
    .sf4-fac-grid {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }

    .sf4-apps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* 窄屏卡片回到自适应高度，避免固定 237 把内容挤没 */
    .sf4-apps-item {
        height: auto;
        padding-bottom: 14px;
    }

    .sf4-apps-img {
        height: auto;
        aspect-ratio: 211 / 117;
    }

    .sf4-cert-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf4-cert-stats {
        width: 100%;
    }

    /* 窄屏 1440 定宽的烘焙背景不再适用：去掉奖章背景，恢复证书条图片按比例展示 */
    .sf4-cert,
    .sf4-cert.is-bleed {
        min-height: 0;
        padding-bottom: 50px;
        background: #FFFAF5;
    }

    .sf4-cert-list.is-bleed {
        display: block;
        height: auto;
        aspect-ratio: 1440 / 196;
        margin-top: 24px;
        background-size: 100% auto;
    }

    .sf4-cert-list.is-bleed .sf4-cert-item {
        width: 100%;
        height: auto;
    }

    .sf4-contact-inner {
        flex-direction: column;
    }

    .sf4-form-panel {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .sf4-contact-aside {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .sf4-vr {
        height: auto;
        padding: 70px 0 80px;
    }

    .sf4-vr-title {
        font-size: 52px;
        line-height: 1.2;
        letter-spacing: 8px;
    }

    .sf4-vr-720,
    .sf4-vr-play {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .sf4-title {
        font-size: 24px;
        line-height: 30px;
    }

    .sf4-made .sf4-title,
    .sf4-hot .sf4-title {
        font-size: 24px;
        line-height: 30px;
        letter-spacing: 1px;
    }

    .sf4-made {
        padding: 40px 0 44px;
    }

    .sf4-made-grid {
        margin-top: 32px;
        gap: 12px;
    }

    /* 两列时卡宽约 168~330，照 258:459 等比会高到 580 多，手机上一屏放不下两张；
       这里收紧成 3:4，观感更接近缩略图列表 */
    .sf4-made-item {
        aspect-ratio: 3 / 4;
    }

    /* 手机上播放键按卡宽缩小，63 在 168 宽的卡里太大 */
    .sf4-made-play {
        width: 46px;
        height: 46px;
        margin: -23px 0 0 -23px;
    }

    .sf4-banner {
        /* 手机端整张烘焙图等比完整显示：内联 height 由装修配置来，这里用 !important 收掉，
           改由图片自身比例撑开，否则 cover 会把左侧烘焙文案裁掉一半 */
        height: auto !important;
        aspect-ratio: 2500 / 500;
        background-size: 100% 100% !important;
    }

    /* 轮播分支的 background-size 写在 .swiper-slide 上（特异性 0,1,1），
       上面的 .sf4-banner 规则（0,1,0）盖不住，手机端必须单独收一次 */
    .sf4-banner-swiper .swiper-slide {
        background-size: 100% 100%;
    }

    /* 手机端 2500 定宽会只露出中间一小块，演示图也跟其它图一样铺满 */
    .sf4-banner-swiper .swiper-slide.is-default {
        background-size: 100% 100%;
    }

    .sf4-feature-item {
        flex: 0 0 100%;
        padding: 8px 0;
    }

    .sf4-feature-item + .sf4-feature-item::before {
        display: none;
    }

    .sf4-quick {
        padding: 40px 0;
    }

    .sf4-quick-inner {
        padding: 36px 18px 34px;
    }

    .sf4-quick-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        /* 手机上不再套一层内滚动，跟页面一起滚 */
        max-height: none;
        padding-right: 0;
        overflow-y: visible;
    }

    .sf4-quick-card {
        height: 160px;
        padding: 13px;
    }

    .sf4-quick-card-text {
        padding-right: calc(50% + 20px);
    }

    .sf4-quick-card-img {
        top: 11px;
        right: 11px;
        bottom: 11px;
        width: 50%;
    }

    .sf4-quick-card-arrow {
        left: 13px;
        bottom: 12px;
        width: 28px;
        height: 28px;
    }

    .sf4-quick-card-arrow img {
        width: 8px;
        height: 8px;
    }

    .sf4-quick-title {
        font-size: 24px;
        line-height: 30px;
    }

    .sf4-adv-panel {
        padding: 24px 18px;
    }

    .sf4-adv-item {
        gap: 16px;
    }

    .sf4-adv-icon {
        width: 46px;
        height: 46px;
    }

    .sf4-adv-icon img {
        width: 24px;
        height: 24px;
    }

    .sf4-adv-title {
        font-size: 18px;
        line-height: 24px;
    }

    .sf4-adv-desc {
        font-size: 13px;
        line-height: 18px;
    }

    .sf4-hot {
        padding-top: 48px;
    }

    .sf4-hot-main {
        padding: 22px 20px 26px;
    }

    .sf4-hot-name {
        /* 手机上标题行高降到 32，两行高度跟着收，避免下方留白过多 */
        min-height: 64px;
        font-size: 24px;
        line-height: 32px;
    }

    /* 手机上一行 4 张小图（跟 PC 一样排一行），间距收窄 */
    .sf4-hot-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .sf4-hot-side-card {
        flex: 0 0 100%;
        height: auto;
        min-height: 110px;
    }

    .sf4-hot-side-img {
        width: 88px;
        height: 88px;
    }

    .sf4-made-grid {
        gap: 12px;
    }

    .sf4-made-grid .sf4-made-item {
        flex: 0 0 calc((100% - 12px) / 2);
    }

    .sf4-about {
        padding: 46px 0;
    }

    .sf4-about-title {
        margin-bottom: 8px;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 1.4px;
    }

    .sf4-about-sub {
        /* 移动端同理：上间距由 title 的 margin-bottom 给，副标题自身不留 margin-top */
        margin-top: 0;
        font-size: 19px;
        line-height: 26px;
    }

    .sf4-about-desc {
        display: block;
        -webkit-line-clamp: unset;
    }

    .sf4-stats {
        flex-wrap: wrap;
    }

    .sf4-stat {
        flex: 0 0 calc(50% - 6px);
    }

    .sf4-pc-card {
        padding: 40px 20px 0;
    }

    .sf4-pc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf4-flags img {
        height: 90px;
    }

    .sf4-fac-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf4-factory-title {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 1.4px;
    }

    .sf4-factory-sub {
        margin-top: 10px;
        font-size: 20px;
        line-height: 28px;
    }

    .sf4-factory-desc {
        margin-top: 12px;
    }

    .sf4-apps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf4-cert-title {
        font-size: 26px;
        line-height: 32px;
    }

    .sf4-cert-stats {
        flex-wrap: wrap;
    }

    .sf4-cert-stat {
        flex: 0 0 calc(50% - 5px);
    }

    .sf4-cert-item {
        flex: 0 0 calc(50% - 9px);
        /* 移动端两列布局按屏宽均分，不受桌面端单张 220px 上限限制 */
        max-width: none;
    }

    .sf4-form-panel,
    .sf4-contact-aside {
        padding: 28px 22px;
    }

    .sf4-form-row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 6px;
    }

    .sf4-form-row label {
        text-align: left;
        line-height: 20px;
    }

    .sf4-form-textarea-row label {
        padding-top: 0;
    }

    .sf4-form-submit {
        width: 100%;
    }

    .sf4-vr-title {
        font-size: 30px;
        letter-spacing: 4px;
    }

    .sf4-vr-sub {
        font-size: 16px;
        line-height: 22px;
    }

    .sf4-vr-explore {
        font-size: 16px;
        letter-spacing: 3px;
    }
}

/* 页脚：本模板最后一个区块（VR / 联系表单）自带下内边距，公共样式
   public_header_footer.css 里 .page-footer 还有 margin-top:50px，
   叠起来页脚前会多出一大条空白，这里收掉。
   本文件只在 factory_tpl_b（橙色版）页面加载，不影响 tpl-1/2/3。 */
.page-footer {
    margin-top: 0;
}

/* ==========================================================================
   Cookie 同意浮层（全站组件，footer 右侧弹出）
   主按钮和「Cookies Policy」链接用的是公共的 bootstrap 蓝（#32459C / #0d6efd），
   橙色模板页里统一成本家橙；本文件只在 factory_tpl_b 加载，不影响其他模板
   ========================================================================== */
.cookie-wrap .cont-rt .btn-wrap .btn-primary {
    background: #FF6A00;
    border-color: #FF6A00;
}

.cookie-wrap a {
    color: #FF6A00;
}
