/* product-hero.css — 카테고리 Hero, 페이지 헤더, 카테고리 비주얼 */
/* 원본 product.css 분리 리팩토링 2026-06-10 */

   [2026-05-11] 설비 소개 대표 페이지 브랜드형 재디자인
   - 파일명: /products.php?home=1
   - 적용 범위: body.page-products 전용 + equipment-* 신규 클래스
   - 기존 제품 필터/목록 페이지와 충돌 방지
========================================================= */
body.page-products .layout-content{
  display:block;
}

body.page-products .equipment-intro-card{
  margin-bottom:clamp(24px,2.2vw,38px);
}

body.page-products .equipment-home-hero,
body.page-products .equipment-home-section{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(170,199,231,.88);
  background:#fff;
  box-shadow:0 18px 48px rgba(15,35,67,.08);
  margin-bottom:clamp(24px,2.2vw,38px);
}

body.page-products .equipment-home-hero{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:clamp(28px,3vw,54px);
  align-items:stretch;
  padding:clamp(34px,4vw,70px);
  background:
    linear-gradient(135deg,rgba(255,255,255,.97),rgba(242,248,255,.94)),
    radial-gradient(circle at 86% 16%,rgba(28,126,214,.18),transparent 36%),
    linear-gradient(120deg,#ffffff 0%,#eef6ff 100%);
}

body.page-products .equipment-home-hero::before{
  content:none;
}

body.page-products .equipment-home-copy,
body.page-products .equipment-home-stat{
  position:relative;
  z-index:1;
}

body.page-products .equipment-home-copy span,
body.page-products .equipment-section-head span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  background:#eaf5ff;
  color:#0f66bb;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}

body.page-products .equipment-home-copy h2{
  margin:22px 0 20px;
  color:#102d4c;
  font-size:clamp(34px,3.45vw,58px);
  line-height:1.12;
  letter-spacing:-2.2px;
  font-weight:800;
}

body.page-products .equipment-home-copy p{
  max-width:760px;
  margin:0;
  color:#4d6179;
  font-size:17px;
  line-height:1.88;
  word-break:keep-all;
}

body.page-products .equipment-home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}

body.page-products .equipment-home-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border:1px solid #0f66bb;
  background:#0f66bb;
  color:#fff;
  font-size:15px;
  font-weight:800;
  text-decoration:none;
}

body.page-products .equipment-home-actions a + a{
  background:#fff;
  color:#0f66bb;
}

body.page-products .equipment-home-stat{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-self:center;
}

body.page-products .equipment-home-stat div{
  min-height:106px;
  padding:24px;
  border:1px solid #d4e5f7;
  background:rgba(255,255,255,.86);
  box-shadow:0 14px 30px rgba(15,64,120,.08);
}

body.page-products .equipment-home-stat strong{
  display:block;
  margin-bottom:10px;
  color:#0f66bb;
  font-size:34px;
  line-height:1;
  font-weight:800;
  letter-spacing:-1px;
}

body.page-products .equipment-home-stat span{
  display:block;
  color:#263f5c;
  font-size:17px;
  line-height:1.45;
  font-weight:850;
  word-break:keep-all;
}

body.page-products .equipment-home-section{
  padding:clamp(30px,3.4vw,56px);
}

body.page-products .equipment-section-head{
  max-width:760px;
  margin:0 auto 30px;
  text-align:center;
}

body.page-products .equipment-section-head.is-left{
  margin-left:0;
  text-align:left;
}

body.page-products .equipment-section-head h2{
  margin:14px 0 12px;
  color:#102d4c;
  font-size:clamp(28px,2.4vw,42px);
  line-height:1.18;
  letter-spacing:-1.4px;
  font-weight:800;
}

body.page-products .equipment-section-head p{
  margin:0;
  color:#5c6e82;
  font-size:16px;
  line-height:1.75;
  word-break:keep-all;
}

body.page-products .equipment-home-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px;
}

body.page-products .equipment-home-card{
  position:relative;
  display:flex;
  flex-direction:column;
  grid-column:span 2;
  min-height:430px;
  overflow:hidden;
  border:1px solid #cfdeef;
  background:#fff;
  color:inherit;
  text-decoration:none;
  box-shadow:0 14px 34px rgba(15,35,67,.07);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.page-products .equipment-home-card:nth-child(1),
body.page-products .equipment-home-card:nth-child(2){
}

body.page-products .equipment-home-card:hover{
  transform:translateY(-4px);
  border-color:#8dbce9;
  box-shadow:0 20px 46px rgba(15,73,130,.14);
}

body.page-products .equipment-card-image{
  display:block;
  height:220px;
  overflow:hidden;
  background:#eef5fb;
  border-bottom:1px solid #dbe8f5;
}

body.page-products .equipment-card-image img{
  display:block;
  object-fit:cover;
  transform:scale(1.01);
  transition:transform .28s ease;
}

body.page-products .equipment-home-card:hover .equipment-card-image img{
  transform:scale(1.055);
}

body.page-products .equipment-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:24px;
}

body.page-products .equipment-card-body small{
  color:#0f66bb;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
}

body.page-products .equipment-card-body strong{
  display:flex;
  gap:10px;
  align-items:baseline;
  margin:12px 0 10px;
  color:#102d4c;
  font-size:25px;
  line-height:1.25;
  letter-spacing:-.9px;
  font-weight:800;
}

body.page-products .equipment-card-body strong em{
  color:#0f66bb;
  font-size:15px;
  font-style:normal;
  letter-spacing:0;
}

body.page-products .equipment-card-body > span{
  color:#52677f;
  font-size:15px;
  line-height:1.72;
  word-break:keep-all;
}

body.page-products .equipment-card-body i{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:18px 0 22px;
  font-style:normal;
}

body.page-products .equipment-card-body i b{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  background:#f0f6fd;
  color:#325a85;
  font-size:12px;
  font-weight:850;
}

body.page-products .equipment-card-body u{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-top:auto;
  border:1px solid #c9dced;
  color:#0f66bb;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}

body.page-products .equipment-home-card:hover .equipment-card-body u{
  border-color:#0f66bb;
  background:#0f66bb;
  color:#fff;
}

body.page-products .equipment-flow-section{
  background:linear-gradient(135deg,#102d4c 0%,#164b78 100%);
  border-color:#164b78;
}

body.page-products .equipment-flow-section .equipment-section-head span{
  background:rgba(255,255,255,.12);
  color:#bfe0ff;
}

body.page-products .equipment-flow-section .equipment-section-head h2{
  color:#fff;
}

body.page-products .equipment-flow-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  background:rgba(255,255,255,.22);
}

body.page-products .equipment-flow-list div{
  min-height:190px;
  padding:24px 20px;
  background:rgba(255,255,255,.08);
}

body.page-products .equipment-flow-list em{
  display:block;
  margin-bottom:16px;
  color:#8fd0ff;
  font-style:normal;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
}

body.page-products .equipment-flow-list strong{
  display:block;
  margin-bottom:10px;
  color:#fff;
  font-size:20px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:-.7px;
}

body.page-products .equipment-flow-list span{
  display:block;
  color:#d8e8f8;
  font-size:14px;
  line-height:1.75;
  word-break:keep-all;
}

@media (max-width:1200px){
  body.page-products .equipment-home-hero{
    grid-template-columns:1fr;
  }
  body.page-products .equipment-home-stat{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  body.page-products .equipment-home-card,
  body.page-products .equipment-home-card:nth-child(1),
  body.page-products .equipment-home-card:nth-child(2){
    grid-column:span 3;
  }
  body.page-products .equipment-flow-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:768px){
  body.page-products .equipment-home-hero,
  body.page-products .equipment-home-section{
    margin-bottom:18px;
  }
  body.page-products .equipment-home-hero,
  body.page-products .equipment-home-section{
    padding:26px 20px;
  }
  body.page-products .equipment-home-copy h2{
    font-size:31px;
    letter-spacing:-1.4px;
  }
  body.page-products .equipment-home-copy p{
    font-size:15px;
    line-height:1.78;
  }
  body.page-products .equipment-home-actions a{
    width:100%;
  }
  body.page-products .equipment-home-stat,
  body.page-products .equipment-home-grid,
  body.page-products .equipment-flow-list{
    grid-template-columns:1fr;
  }
  body.page-products .equipment-home-card,
  body.page-products .equipment-home-card:nth-child(1),
  body.page-products .equipment-home-card:nth-child(2){
    grid-column:auto;
    min-height:auto;
  }
  body.page-products .equipment-card-image{
    height:190px;
  }
  body.page-products .equipment-card-body{
    padding:22px;
  }
  body.page-products .equipment-card-body strong{
    font-size:23px;
  }
  body.page-products .equipment-flow-list{
    gap:10px;
    background:transparent;
  }
  body.page-products .equipment-flow-list div{
    min-height:auto;
    border:1px solid rgba(255,255,255,.18);
  }
}


/* =========================================================
   포장자동화라인 페이지 전용 디자인
   - /products.php?category=line
   - 설비소개 누적 패치 기준 위에 추가
========================================================= */
.line-automation-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  gap:clamp(28px,3.2vw,64px);
  align-items:stretch;
  margin:0 0 28px;
  padding:clamp(42px,4.6vw,76px);
  overflow:hidden;
  border:1px solid rgba(186,211,238,.86);
  border-radius:0;
  background:
    radial-gradient(circle at 78% 18%,rgba(56,145,225,.22),transparent 34%),
    linear-gradient(135deg,#f7fbff 0%,#eef6ff 42%,#ffffff 100%);
  box-shadow:0 24px 70px rgba(15,35,67,.10);
}
.line-automation-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(15,102,187,.06) 1px,transparent 1px),
    linear-gradient(0deg,rgba(15,102,187,.05) 1px,transparent 1px);
  background-size:42px 42px;
  opacity:.62;
  pointer-events:none;
}
.line-automation-hero::after{
  content:"";
  position:absolute;
  right:-9%;
  bottom:-24%;
  width:44%;
  aspect-ratio:1/1;
  border:1px solid rgba(15,102,187,.18);
  background:rgba(255,255,255,.38);
  transform:rotate(18deg);
  pointer-events:none;
}
.line-automation-copy,
.line-automation-panel{
  position:relative;
  z-index:1;
}
.line-automation-copy span,
.line-filter-intro span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  margin-bottom:18px;
  background:#0f66bb;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
}
.line-automation-copy h2{
  margin:0;
  color:#0b2440;
  font-size:clamp(34px,3.15vw,58px);
  line-height:1.16;
  letter-spacing:-2.4px;
}
.line-automation-copy p{
  max-width:760px;
  margin:24px 0 0;
  color:#52687f;
  font-size:17px;
  font-weight:700;
  line-height:1.9;
  letter-spacing:-.45px;
}
.line-automation-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}
.line-automation-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border:1px solid #0f66bb;
  background:#0f66bb;
  color:#fff;
  font-size:15px;
  font-weight:800;
  letter-spacing:-.35px;
}
.line-automation-actions a+a{
  background:#fff;
  color:#0f66bb;
}
.line-automation-panel{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:340px;
  padding:34px;
  border:1px solid rgba(195,218,241,.95);
  background:rgba(255,255,255,.82);
  box-shadow:0 20px 54px rgba(15,35,67,.10);
  backdrop-filter:blur(8px);
}
.line-panel-top strong{
  display:block;
  color:#102d4c;
  font-size:28px;
  font-weight:800;
  letter-spacing:-1px;
}
.line-panel-top span{
  display:block;
  margin-top:8px;
  color:#64748b;
  font-size:14px;
  font-weight:800;
}
.line-flow-visual{
  display:grid;
  grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr;
  align-items:center;
  gap:8px;
  margin-top:36px;
}
.line-flow-visual div{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:94px;
  padding:12px 8px;
  border:1px solid #d5e7f7;
  background:linear-gradient(180deg,#fff,#f4f9ff);
}
.line-flow-visual b{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin-bottom:9px;
  background:#e6f3ff;
  color:#0f66bb;
  font-size:12px;
  font-weight:800;
}
.line-flow-visual span{
  color:#102d4c;
  font-size:14px;
  font-weight:800;
  letter-spacing:-.4px;
}
.line-flow-visual i{
  display:block;
  height:2px;
  background:#7db8ee;
  position:relative;
}
.line-flow-visual i::after{
  content:"";
  position:absolute;
  right:-1px;
  top:50%;
  width:7px;
  height:7px;
  border-top:2px solid #7db8ee;
  border-right:2px solid #7db8ee;
  transform:translateY(-50%) rotate(45deg);
}
.line-automation-summary{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:0 0 28px;
}
.line-automation-summary div{
  min-height:178px;
  padding:26px;
  border:1px solid #d9e8f7;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,35,67,.065);
}
.line-automation-summary em{
  display:block;
  margin-bottom:18px;
  color:#0f66bb;
  font-size:13px;
  font-style:normal;
  font-weight:800;
  letter-spacing:.12em;
}
.line-automation-summary strong{
  display:block;
  color:#102d4c;
  font-size:22px;
  font-weight:800;
  letter-spacing:-.8px;
}
.line-automation-summary span{
  display:block;
  margin-top:10px;
  color:#65778b;
  font-size:14px;
  font-weight:700;
  line-height:1.72;
}
.line-filter-intro{
  margin:0 0 18px;
  padding:34px 38px;
  border-left:6px solid #0f66bb;
  background:linear-gradient(90deg,#f2f8ff 0%,#fff 100%);
  border-top:1px solid #d9e8f7;
  border-right:1px solid #d9e8f7;
  border-bottom:1px solid #d9e8f7;
}
.line-filter-intro h2{
  margin:0;
  color:#102d4c;
  font-size:32px;
  line-height:1.25;
  letter-spacing:-1.3px;
}
.line-filter-intro p{
  margin:12px 0 0;
  color:#66788c;
  font-size:16px;
  font-weight:700;
  line-height:1.75;
}
@media (max-width:1180px){
  .line-automation-hero{grid-template-columns:1fr;padding:42px}
  .line-automation-panel{min-height:auto}
  .line-automation-summary{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .line-automation-hero{padding:30px 22px}
  .line-automation-copy h2{font-size:32px;letter-spacing:-1.4px}
  .line-automation-copy p{font-size:15px}
  .line-automation-actions a{width:100%}
  .line-automation-panel{padding:22px}
  .line-flow-visual{grid-template-columns:1fr;gap:8px}
  .line-flow-visual i{width:2px;height:18px;margin:0 auto}
  .line-flow-visual i::after{right:50%;top:auto;bottom:-1px;transform:translateX(50%) rotate(135deg)}
  .line-automation-summary{grid-template-columns:1fr}
  .line-filter-intro{padding:26px 22px}
  .line-filter-intro h2{font-size:26px}
}

/* =========================================================
   [2026-05-11] 자동포장기 페이지 디자인 PATCH
   파일명: /assets/css/product.css
   대상: /products.php?category=auto
   목적: 자동포장기 페이지 상단 히어로 / 검토 기준 / 필터 안내 디자인 정리
========================================================= */
.auto-packer-hero{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:28px;
  align-items:stretch;
  margin:0 0 28px;
  padding:42px;
  border:1px solid #cfe2f5;
  border-radius:0;
  background:
    linear-gradient(135deg,rgba(6,39,72,.96) 0%,rgba(11,83,143,.92) 58%,rgba(15,102,187,.88) 100%);
  color:#fff;
  overflow:hidden;
  position:relative;
  box-shadow:0 22px 56px rgba(8,45,86,.18);
}
.auto-packer-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:46px 46px;
  opacity:.22;
  pointer-events:none;
}
.auto-packer-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  top:-110px;
  width:360px;
  height:360px;
  border:1px solid rgba(255,255,255,.22);
  background:radial-gradient(circle,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 68%);
  pointer-events:none;
}
.auto-packer-copy,
.auto-packer-panel{
  position:relative;
  z-index:1;
}
.auto-packer-copy span,
.auto-filter-intro span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 12px;
  border-left:4px solid #7cc8ff;
  background:rgba(255,255,255,.1);
  color:#dff3ff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
}
.auto-packer-copy h2{
  margin:22px 0 18px;
  color:#fff;
  font-size:42px;
  line-height:1.24;
  font-weight:900;
  letter-spacing:-1.8px;
  word-break:keep-all;
}
.auto-packer-copy p{
  max-width:720px;
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:17px;
  line-height:1.86;
  word-break:keep-all;
}
.auto-packer-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.auto-packer-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:148px;
  height:48px;
  padding:0 22px;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:15px;
  font-weight:900;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.auto-packer-actions a:first-child{
  border-color:#fff;
  background:#fff;
  color:#0f4d86;
}
.auto-packer-actions a:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.2);
}
.auto-packer-actions a:first-child:hover{
  background:#eaf7ff;
}
.auto-packer-panel{
  align-self:center;
  padding:28px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.auto-panel-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.2);
}
.auto-panel-top strong{
  color:#fff;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.5px;
}
.auto-panel-top span{
  color:rgba(255,255,255,.72);
  font-size:13px;
  font-weight:800;
  text-align:right;
}
.auto-flow-visual{
  display:grid;
  grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr;
  gap:8px;
  align-items:center;
  margin-top:22px;
}
.auto-flow-visual div{
  min-height:94px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.12);
}
.auto-flow-visual b{
  color:#9be0ff;
  font-size:14px;
  font-weight:900;
}
.auto-flow-visual span{
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:-.4px;
  text-align:center;
}
.auto-flow-visual i{
  height:1px;
  background:rgba(255,255,255,.4);
  position:relative;
}
.auto-flow-visual i::after{
  content:"";
  position:absolute;
  right:-1px;
  top:50%;
  width:7px;
  height:7px;
  border-top:1px solid rgba(255,255,255,.55);
  border-right:1px solid rgba(255,255,255,.55);
  transform:translateY(-50%) rotate(45deg);
}
.auto-packer-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:0 0 28px;
}
.auto-packer-summary div{
  min-height:178px;
  padding:24px 22px;
  border:1px solid #d7e7f7;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,54,99,.06);
}
.auto-packer-summary em{
  display:block;
  margin-bottom:16px;
  color:#0f66bb;
  font-size:14px;
  font-weight:900;
  font-style:normal;
  letter-spacing:.08em;
}
.auto-packer-summary strong{
  display:block;
  margin-bottom:10px;
  color:#0b2d4d;
  font-size:21px;
  font-weight:900;
  letter-spacing:-.7px;
}
.auto-packer-summary span{
  display:block;
  color:#53677d;
  font-size:15px;
  line-height:1.72;
  word-break:keep-all;
}
.auto-filter-intro{
  margin:0 0 20px;
  padding:28px 30px;
  border-left:5px solid #0f66bb;
  border-top:1px solid #d7e7f7;
  border-right:1px solid #d7e7f7;
  border-bottom:1px solid #d7e7f7;
  background:linear-gradient(90deg,#f5fbff 0%,#fff 100%);
}
.auto-filter-intro span{
  min-height:auto;
  padding:0;
  border-left:0;
  background:transparent;
  color:#0f66bb;
  font-size:12px;
}
.auto-filter-intro h2{
  margin:10px 0 8px;
  color:#0b2d4d;
  font-size:30px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:-1px;
}
.auto-filter-intro p{
  margin:0;
  color:#52677d;
  font-size:16px;
  line-height:1.75;
  word-break:keep-all;
}
body[data-page-key="auto"] .product-list-head{
  margin-top:32px;
}

@media(max-width:1100px){
  .auto-packer-hero{grid-template-columns:1fr;padding:34px;}
  .auto-packer-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:768px){
  .auto-packer-hero{padding:28px 22px;gap:22px;}
  .auto-packer-copy h2{font-size:30px;letter-spacing:-1.1px;}
  .auto-packer-copy p{font-size:15px;line-height:1.78;}
  .auto-packer-actions a{width:100%;}
  .auto-packer-panel{padding:20px 16px;}
  .auto-panel-top{display:block;}
  .auto-panel-top span{display:block;margin-top:6px;text-align:left;}
  .auto-flow-visual{grid-template-columns:1fr;gap:10px;}
  .auto-flow-visual i{width:1px;height:18px;margin:0 auto;}
  .auto-flow-visual i::after{right:50%;top:auto;bottom:-1px;transform:translateX(50%) rotate(135deg);}
  .auto-flow-visual div{min-height:66px;}
  .auto-packer-summary{grid-template-columns:1fr;}
  .auto-packer-summary div{min-height:auto;padding:22px 20px;}
  .auto-filter-intro{padding:24px 20px;}
  .auto-filter-intro h2{font-size:24px;}
}

/* =========================================================
   [PATCH] 반자동장비 / 날인기 / 소모품 카테고리 상단 디자인
   - products.php?category=semi_printer
   - products.php?category=printer
   - products.php?category=consumable
========================================================= */
.category-showcase-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:34px;
  align-items:stretch;
  margin:0 0 28px;
  padding:46px;
  overflow:hidden;
  background:linear-gradient(135deg,#07172a 0%,#0f2f53 48%,#f6fbff 49%,#ffffff 100%);
  border:1px solid #d8e8f6;
  box-shadow:0 22px 55px rgba(8,34,66,.12);
}
.category-showcase-hero::before{
  content:"";
  position:absolute;
  inset:-120px auto auto -130px;
  width:360px;
  height:360px;
  border-radius:999px;
  background:rgba(45,154,245,.2);
  filter:blur(8px);
}
.category-showcase-hero::after{
  content:"";
  position:absolute;
  inset:auto -90px -160px auto;
  width:420px;
  height:420px;
  border-radius:999px;
  background:rgba(15,102,187,.1);
}
.category-showcase-hero--semi{background:linear-gradient(135deg,#07172a 0%,#15385c 48%,#f7fbff 49%,#ffffff 100%);}
.category-showcase-hero--printer{background:linear-gradient(135deg,#091827 0%,#213347 48%,#f7fbff 49%,#ffffff 100%);}
.category-showcase-hero--consumable{background:linear-gradient(135deg,#082332 0%,#10445c 48%,#f7fbff 49%,#ffffff 100%);}
.category-showcase-copy,
.category-showcase-panel{position:relative;z-index:1;}
.category-showcase-copy span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  color:#bfe3ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
}
.category-showcase-copy h2{
  color:#fff;
  line-height:1.18;
}
.category-showcase-copy p{
  max-width:680px;
  color:rgba(255,255,255,.78);
  line-height:1.9;
  font-weight:600;
  word-break:keep-all;
}
.category-showcase-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.category-showcase-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 22px;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:14px;
  font-weight:900;
  text-decoration:none;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.category-showcase-actions a:first-child{
  background:#1485e8;
  border-color:#1485e8;
  box-shadow:0 12px 26px rgba(20,133,232,.28);
}
.category-showcase-actions a:hover{transform:translateY(-2px);background:rgba(255,255,255,.16);}
.category-showcase-actions a:first-child:hover{background:#0f66bb;border-color:#0f66bb;}
.category-showcase-panel{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:280px;
  padding:28px;
  background:rgba(255,255,255,.92);
  border:1px solid #dcebf8;
  box-shadow:0 20px 42px rgba(12,45,82,.12);
}
.category-panel-top strong{
  display:block;
  color:#102d4c;
  font-size:24px;
  font-weight:800;
  letter-spacing:-.8px;
}
.category-panel-top span{
  display:block;
  margin-top:8px;
  color:#66788c;
  font-size:14px;
  font-weight:800;
}
.category-flow-visual{
  display:grid;
  grid-template-columns:1fr 22px 1fr 22px 1fr 22px 1fr;
  align-items:center;
  gap:8px;
  margin-top:28px;
}
.category-flow-visual div{
  min-height:92px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#f2f7fc;
  border:1px solid #d9e8f6;
}
.category-flow-visual b{
  color:#1485e8;
  font-size:12px;
  font-weight:800;
}
.category-flow-visual span{
  margin-top:8px;
  color:#102d4c;
  font-size:14px;
  font-weight:800;
  letter-spacing:-.4px;
}
.category-flow-visual i{
  display:block;
  height:2px;
  background:#9dc8ed;
  position:relative;
}
.category-flow-visual i::after{
  content:"";
  position:absolute;
  right:-1px;
  top:50%;
  width:7px;
  height:7px;
  border-top:2px solid #9dc8ed;
  border-right:2px solid #9dc8ed;
  transform:translateY(-50%) rotate(45deg);
}
.category-showcase-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:0 0 30px;
}
.category-showcase-summary div{
  min-height:170px;
  padding:24px 22px;
  background:#fff;
  border:1px solid #dbe9f6;
  box-shadow:0 12px 28px rgba(15,35,67,.06);
}
.category-showcase-summary em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  background:#eaf5ff;
  color:#0f66bb;
  font-style:normal;
  font-size:13px;
  font-weight:800;
}
.category-showcase-summary strong{
  display:block;
  margin-top:16px;
  color:#102d4c;
  font-size:19px;
  font-weight:800;
  letter-spacing:-.7px;
}
.category-showcase-summary span{
  display:block;
  margin-top:9px;
  color:#66788c;
  font-size:14px;
  line-height:1.7;
  font-weight:600;
  word-break:keep-all;
}
.category-filter-intro{
  margin:0 0 18px;
  padding:28px 30px;
  background:#f6faff;
  border:1px solid #dcebf8;
}
.category-filter-intro span{
  display:inline-flex;
  margin-bottom:8px;
  color:#0f66bb;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}
.category-filter-intro h2{
  margin:0;
  color:#102d4c;
  font-size:28px;
  line-height:1.28;
  letter-spacing:-1.2px;
}
.category-filter-intro p{
  margin:10px 0 0;
  color:#607086;
  font-size:15px;
  line-height:1.75;
  font-weight:700;
}
.product-control-panel[data-category="semi_printer"] .filter-mode-tabs,
.product-control-panel[data-category="printer"] .filter-mode-tabs,
.product-control-panel[data-category="consumable"] .filter-mode-tabs{
  gap:12px;
}
.product-control-panel[data-category="semi_printer"] .filter-mode-tabs button,
.product-control-panel[data-category="printer"] .filter-mode-tabs button,
.product-control-panel[data-category="consumable"] .filter-mode-tabs button{
  min-height:58px;
  background:#fff;
  border:1px solid #cfe1f4;
  color:#102d4c;
  box-shadow:0 10px 22px rgba(15,65,120,.06);
}
.product-control-panel[data-category="semi_printer"] .filter-mode-tabs button.active,
.product-control-panel[data-category="printer"] .filter-mode-tabs button.active,
.product-control-panel[data-category="consumable"] .filter-mode-tabs button.active{
  background:#0f66bb;
  border-color:#0f66bb;
  color:#fff;
  box-shadow:0 16px 30px rgba(15,102,187,.22);
}
@media (max-width:1024px){
  .category-showcase-hero{grid-template-columns:1fr;padding:34px;}
  .category-showcase-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
  .category-showcase-panel{min-height:auto;}
}
@media (max-width:640px){
  .category-showcase-hero{padding:28px 22px;gap:22px;background:#0c2745;}
  .category-showcase-copy h2{font-size:30px;letter-spacing:-1.1px;}
  .category-showcase-copy p{font-size:15px;line-height:1.78;}
  .category-showcase-actions a{width:100%;}
  .category-showcase-panel{padding:20px 16px;}
  .category-flow-visual{grid-template-columns:1fr;gap:8px;}
  .category-flow-visual i{height:18px;width:2px;margin:0 auto;}
  .category-flow-visual i::after{right:50%;top:auto;bottom:-1px;transform:translateX(50%) rotate(135deg);}
  .category-showcase-summary{grid-template-columns:1fr;}
  .category-showcase-summary div{min-height:auto;padding:22px 20px;}
  .category-filter-intro{padding:24px 20px;}
  .category-filter-intro h2{font-size:24px;}
}

/* ===== [CSS 통합] 제품 CSS 통합: product-page/filter/responsive → product.css ===== */

/* ---- merged from /assets/css/product-page.css ---- */
/* =========================================================
   [2026-05-12] 제품 카테고리 안내 멘트 영역
   - 포장자동화라인 / 자동포장기 / 반자동장비에서
     원물·공정·백 형태 선택 버튼을 제거하고 안내 문구로 대체
========================================================= */
.product-category-message{
  max-width:1180px;
  margin:28px auto 24px;
  padding:28px 32px;
  border:1px solid rgba(15, 23, 42, .08);
  border-radius:24px;
  background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.95));
  box-shadow:0 16px 42px rgba(15,23,42,.07);
}
.product-category-message span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  color:#2563eb;
}
.product-category-message h2{
  margin:0 0 10px;
  font-size:clamp(24px, 3vw, 34px);
  line-height:1.28;
  letter-spacing:-.04em;
  color:#0f172a;
}
.product-category-message p{
  max-width:880px;
  margin:0;
  font-size:16px;
  line-height:1.8;
  color:#475569;
  word-break:keep-all;
}
@media (max-width:768px){
  .product-category-message{
    margin:20px 16px 18px;
    padding:22px 20px;
    border-radius:20px;
  }
  .product-category-message h2{
    font-size:23px;
  }
  .product-category-message p{
    font-size:15px;
    line-height:1.75;
  }
}


/* =========================================================
   [PATCH] 포장자동화라인 LINE GUIDE 라벨 스타일 통일
   - AUTO PACKER GUIDE와 동일한 일반 텍스트형 라벨로 표시
   - 기존 .line-filter-intro span 파란 배경 badge 스타일을 이 영역에서만 해제
========================================================= */
.line-filter-intro.product-category-message span{
  display:inline-flex;
  align-items:center;
  min-height:auto;
  padding:0;
  margin:0 0 10px;
  border-left:0;
  background:transparent;
  color:#0f66bb;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

/* ===== [제품소개 홈 이미지 비율 공통 보정] ===== */
body.page-products .equipment-card-image{
  aspect-ratio:4/3;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f8fc;
}
body.page-products .equipment-card-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#f4f8fc;
  transform:none;
}
body.page-products .equipment-home-card:hover .equipment-card-image img{
  transform:scale(1.02);
}

/* =========================================================
   [PATCH] 제품 카테고리 상단 안내 섹션 간소화
   - 라인/자동포장기/반자동/날인 페이지에서 안내 패널 제거 후
     남은 핵심 Hero 영역이 빈 2열 레이아웃을 만들지 않도록 1열 고정
========================================================= */
.line-automation-hero--compact,
.auto-packer-hero--compact,
.category-showcase-hero--compact{
  grid-template-columns:1fr;
}

.line-automation-hero--compact .line-automation-copy,
.auto-packer-hero--compact .auto-packer-copy,
.category-showcase-hero--compact .category-showcase-copy{
  max-width:860px;
}

@media (max-width:768px){
  .line-automation-hero--compact,
  .auto-packer-hero--compact,
  .category-showcase-hero--compact{
    margin-bottom:18px;
  }
}

/* =========================================================
   [PATCH] 설비소개 카테고리 카드 PC/모바일 이미지 분기
   - PC: /images/category/line.webp 등 4:3 이미지
   - 모바일: /images/category/line-m.webp 등 모바일 전용 이미지가 있을 때만 <picture>로 사용
========================================================= */
body.page-products .equipment-card-image picture{
  display:block;
  width:100%;
  height:100%;
}
body.page-products .equipment-card-image picture img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

/* =========================================================
   [2026-06-10] 4개 카테고리 Hero 디자인 통일
   line / auto / semi / printer — 동일 규칙 적용
   목표: 동일 padding / h2 42px / line-height 1.22 / 설명 16px
========================================================= */
/* 패딩 통일 */
.line-automation-hero{
  padding:46px clamp(28px,3.5vw,60px);
}
.auto-packer-hero{
  padding:46px clamp(28px,3.5vw,60px);
}
.category-showcase-hero--semi,
.category-showcase-hero--printer{
  padding:46px clamp(28px,3.5vw,60px);
}

/* h2 통일 */
.line-automation-copy h2,
.auto-packer-copy h2,
.category-showcase-copy h2{
  font-size:42px;
  line-height:1.22;
  letter-spacing:-1.8px;
  margin:18px 0 16px;
}

/* 설명 p 통일 */
.line-automation-copy p,
.auto-packer-copy p,
.category-showcase-copy p{
  font-size:16px;
  line-height:1.88;
  margin:0;
}

/* 반응형: ≤900px */
@media(max-width:900px){
  .line-automation-copy h2,
  .auto-packer-copy h2,
  .category-showcase-copy h2{
    font-size:30px;
    letter-spacing:-1.1px;
  }
}
@media(max-width:480px){
  .line-automation-copy h2,
  .auto-packer-copy h2,
  .category-showcase-copy h2{
    font-size:26px;
    letter-spacing:-.8px;
  }
  .line-automation-hero,
  .auto-packer-hero,
  .category-showcase-hero--semi,
  .category-showcase-hero--printer{
    padding:28px 18px;
  }
}
