
#tome57-module-06{
  --red:#87282d;
  --ink:#25282c;
  --muted:#555a61;
  --line:#e1dcd6;
  background:#f7f5f1;
  color:var(--ink);
  width:100%;
  margin:0;
  font:400 16px/1.75 "Poppins-Regular",Poppins,sans-serif;
  container-type:inline-size;
  container-name:tome57-factory;
}

#tome57-module-06,
#tome57-module-06 *{
  box-sizing:border-box;
}

#tome57-module-06 .f-inner{
  width:calc(100% - 96px);
  max-width:1400px;
  margin:auto;
  padding:52px 0 72px;
}

#tome57-module-06 :is(h2,h3,strong,a){
  font-family:"Poppins-SemiBold",Poppins,sans-serif;
  font-weight:600;
  letter-spacing:normal;
  text-transform:none;
}

/* 主标题 */

#tome57-module-06 h2#tome57-factory-title{
  display:block;
  font-size:28px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
  color:var(--ink);
  overflow-wrap:break-word;
}

#tome57-module-06 p{
  margin:0;
  color:var(--muted);
  font:inherit;
}

/* 简介及上下间距 */

#tome57-module-06 p.f-intro{
  display:block;
  max-width:1100px;
  margin:0 auto !important;
  padding:24px 0 40px !important;
  text-align:center !important;
  font-size:16px !important;
  line-height:1.75 !important;
}

/* 左右布局 */

#tome57-module-06 .f-layout{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:48px;
  align-items:center;
}

/* 工厂图片 */

#tome57-module-06 .f-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  min-width:0;
}

#tome57-module-06 figure{
  margin:0;
  overflow:hidden;
  border-radius:4px;
  aspect-ratio:16/10;
}

#tome57-module-06 .f-main{
  grid-column:1/-1;
  aspect-ratio:16/10;
}

#tome57-module-06 img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border:0;
  margin:0;
}

#tome57-module-06 .f-main img{
  object-position:50% 72%;
}

/* 右侧工厂信息 */

#tome57-module-06 .f-info{
  min-width:0;
  padding-left:16px;
}

/* 工厂数据 */

#tome57-module-06 .f-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px 32px;
  padding:0 0 28px;
  border-bottom:1px solid var(--line);
}

#tome57-module-06 .f-stats>div{
  min-width:0;
}

#tome57-module-06 .f-stats strong{
  display:block;
  color:var(--red);
  font-size:30px;
  line-height:1.2;
  overflow-wrap:normal;
}

#tome57-module-06 .f-stats span{
  display:block;
  font-size:14px;
  line-height:1.5;
  margin-top:8px;
  overflow-wrap:break-word;
}

/* 客户采购优势 */

#tome57-module-06 h3{
  font-size:18px;
  line-height:1.4;
  margin:28px 0 18px;
  color:var(--ink);
}

#tome57-module-06 .f-benefits{
  list-style:none;
  display:grid;
  gap:14px;
  padding:0;
  margin:0;
  color:var(--ink);
  font-size:15px;
  line-height:1.6;
}

#tome57-module-06 .f-benefits li{
  position:relative;
  padding-left:22px;
  margin:0;
  list-style:none;
}

#tome57-module-06 .f-benefits li:before{
  content:"";
  position:absolute;
  left:0;
  top:.65em;
  width:10px;
  height:6px;
  border-left:2px solid var(--red);
  border-bottom:2px solid var(--red);
  transform:rotate(-45deg);
}

/* 底部按钮 */

#tome57-module-06 .f-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:32px;
}

#tome57-module-06 .f-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 20px;
  border:1px solid var(--red);
  border-radius:4px;
  color:var(--red);
  text-decoration:none;
  font-size:14px;
  line-height:1.45;
  text-align:center;
  box-shadow:none;
}

#tome57-module-06 .f-actions .f-primary{
  background:var(--red);
  color:#fff;
}

#tome57-module-06 .f-actions a:hover,
#tome57-module-06 .f-actions a:active{
  background:#592024;
  border-color:#592024;
  color:#fff;
}

#tome57-module-06 a:focus-visible{
  outline:2px solid var(--red);
  outline-offset:3px;
}

#tome57-module-06 #tome57-factory{
  scroll-margin-top:110px;
}

/* =========================
   平板端
   ========================= */

@media(max-width:1050px){

  #tome57-module-06{
    font-size:15px;
  }

  #tome57-module-06 .f-inner{
    width:calc(100% - 56px);
    padding:44px 0 60px;
  }

  #tome57-module-06 h2#tome57-factory-title{
    font-size:24px !important;
    line-height:1.45 !important;
  }

  #tome57-module-06 p.f-intro{
    font-size:15px !important;
    padding:22px 0 32px !important;
  }

  #tome57-module-06 .f-info{
    padding-left:0;
  }

  #tome57-module-06 .f-layout{
    gap:28px;
  }

  #tome57-module-06 .f-stats{
    gap:18px 16px;
    padding-bottom:22px;
  }

  #tome57-module-06 .f-stats strong{
    font-size:26px;
  }

  #tome57-module-06 .f-stats span{
    font-size:13px;
  }

  #tome57-module-06 .f-benefits{
    font-size:14px;
    gap:10px;
  }

  #tome57-module-06 h3{
    margin:22px 0 16px;
  }

  #tome57-module-06 .f-actions{
    grid-template-columns:minmax(0,1fr);
    margin-top:24px;
  }
}

/* =========================
   手机端
   ========================= */

@media(max-width:767px){

  #tome57-module-06{
    font-size:14px;
    line-height:1.75;
  }

  #tome57-module-06 .f-inner{
    width:calc(100% - 40px);
    padding:32px 0 48px;
  }

  /* 缩小标题字号及两行间距 */

  #tome57-module-06 h2#tome57-factory-title{
    font-size:20px !important;
    font-weight:600 !important;
    line-height:1.45 !important;
    text-align:center !important;
    margin:0 !important;
    padding:0 !important;
  }

  /* 缩小标题、简介及图片之间的距离 */

  #tome57-module-06 p.f-intro{
    font-size:14px !important;
    line-height:1.75 !important;
    padding:16px 0 20px !important;
    margin:0 auto !important;
    text-align:center !important;
  }

  #tome57-module-06 .f-layout{
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }

  #tome57-module-06 .f-info{
    padding-left:0;
  }

  #tome57-module-06 .f-gallery{
    gap:8px;
  }

  #tome57-module-06 .f-main{
    aspect-ratio:4/3;
  }

  #tome57-module-06 .f-main img{
    object-position:50% 70%;
  }

  #tome57-module-06 .f-stats strong{
    font-size:24px;
  }

  #tome57-module-06 .f-stats{
    gap:20px 12px;
    padding-bottom:24px;
  }

  #tome57-module-06 h3{
    font-size:16px;
    margin:24px 0 16px;
  }

  #tome57-module-06 .f-benefits{
    gap:12px;
  }

  #tome57-module-06 .f-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin-top:28px;
  }

  #tome57-module-06 .f-actions a{
    width:100%;
    min-height:44px;
  }

  #tome57-module-06 #tome57-factory{
    scroll-margin-top:86px;
  }
}

/* =========================
   小屏幕手机
   ========================= */

@media(max-width:360px){

  #tome57-module-06 .f-inner{
    width:calc(100% - 32px);
  }

  #tome57-module-06 .f-stats strong{
    font-size:22px;
  }
}

/* =========================
   Ueeshop窄容器预览适配
   ========================= */

@container tome57-factory (max-width:767px){

  #tome57-module-06 .f-inner{
    width:calc(100% - 40px);
    padding:32px 0 48px;
  }

  #tome57-module-06 h2#tome57-factory-title{
    font-size:20px !important;
    line-height:1.45 !important;
    font-weight:600 !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
  }

  #tome57-module-06 p.f-intro{
    font-size:14px !important;
    line-height:1.75 !important;
    margin:0 auto !important;
    padding:16px 0 20px !important;
    text-align:center !important;
  }

  #tome57-module-06 .f-layout{
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }

  #tome57-module-06 .f-info{
    padding-left:0;
  }

  #tome57-module-06 .f-gallery{
    gap:8px;
  }

  #tome57-module-06 .f-main{
    aspect-ratio:4/3;
  }

  #tome57-module-06 .f-stats{
    gap:20px 12px;
    padding-bottom:24px;
  }

  #tome57-module-06 .f-stats strong{
    font-size:24px;
  }

  #tome57-module-06 .f-stats span{
    font-size:13px;
  }

  #tome57-module-06 h3{
    font-size:16px;
    margin:24px 0 16px;
  }

  #tome57-module-06 .f-benefits{
    font-size:14px;
    gap:12px;
  }

  #tome57-module-06 .f-actions{
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin-top:28px;
  }

  #tome57-module-06 .f-actions a{
    min-height:44px;
  }
}

@container tome57-factory (max-width:360px){

  #tome57-module-06 .f-inner{
    width:calc(100% - 32px);
  }

  #tome57-module-06 .f-stats strong{
    font-size:22px;
  }
}

/* V5.7.2: 视频入口与原生弹窗，局部样式 */
#tome57-module-06 .f-main{position:relative;}
#tome57-module-06 a.f-video-trigger,
#tome57-module-06 a.f-video-trigger:visited{
  position:absolute;right:12px;bottom:12px;z-index:1;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;max-width:calc(100% - 24px);padding:8px 14px;
  margin:0;border:1px solid transparent;border-radius:4px;
  background:#87282d;color:#fff !important;text-decoration:none !important;
  font:600 14px/1.3 "Poppins-SemiBold",Poppins,sans-serif;
  box-shadow:none;white-space:normal;text-align:center;
}
#tome57-module-06 a.f-video-trigger:hover{background:#592024;}
#tome57-module-06 .f-video-trigger svg{width:16px;height:16px;flex:none;fill:currentColor;}
#tome57-module-06 .f-video-short{display:none;}
#tome57-module-06 dialog.f-video-dialog:not([open]){display:none !important;}
#tome57-module-06 dialog.f-video-dialog[open]{
  display:block;position:fixed;inset:0;margin:auto;padding:12px;
  width:min(920px,calc(100% - 32px));max-width:calc(100% - 32px);
  height:fit-content;max-height:calc(100% - 32px);overflow:auto;
  border:0;border-radius:8px;background:#171717;color:#fff;
  box-shadow:0 10px 40px rgba(0,0,0,.3);box-sizing:border-box;
  font:400 14px/1.5 "Poppins-Regular",Poppins,sans-serif;
}
#tome57-module-06 .f-video-dialog::backdrop{background:rgba(0,0,0,.78);}
#tome57-module-06 .f-video-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;}
#tome57-module-06 .f-video-head strong{color:#fff;font-size:15px;}
#tome57-module-06 button.f-video-close{
  appearance:none;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;
  min-height:44px;margin:0;padding:0;border:1px solid #666;border-radius:4px;
  background:#292929;color:#fff !important;font:400 28px/1 Arial,sans-serif;cursor:pointer;
}
#tome57-module-06 button.f-video-close:focus-visible{outline:2px solid #fff;outline-offset:2px;}
#tome57-module-06 .f-video-frame{width:100%;aspect-ratio:16/9;max-height:calc(100vh - 160px);background:#000;}
#tome57-module-06 .f-video-frame iframe{display:block;width:100%;height:100%;border:0;margin:0;padding:0;}
#tome57-module-06 a.f-video-fallback{display:inline-flex;align-items:center;min-height:44px;color:#fff !important;font-size:12px;text-decoration:underline !important;margin:0;}
@media(max-width:767px){
  #tome57-module-06 a.f-video-trigger{right:8px;bottom:8px;padding:8px 10px;font-size:12px;max-width:calc(100% - 16px);}
  #tome57-module-06 .f-video-long{display:none;}
  #tome57-module-06 .f-video-short{display:inline;}
  #tome57-module-06 dialog.f-video-dialog[open]{padding:8px;width:calc(100% - 24px);max-width:calc(100% - 24px);}
  #tome57-module-06 .f-main{aspect-ratio:16/10;}
}
@container tome57-factory (max-width:767px){
  #tome57-module-06 a.f-video-trigger{right:8px;bottom:8px;padding:8px 10px;font-size:12px;max-width:calc(100% - 16px);}
  #tome57-module-06 .f-video-long{display:none;}
  #tome57-module-06 .f-video-short{display:inline;}
  #tome57-module-06 .f-main{aspect-ratio:16/10;}
}

