/* product-series.css — 시리즈 섹션, 관련 B2B 섹션, 시리즈 펼침 */
/* 원본 product.css 분리 리팩토링 2026-06-10 */

   [2026-05-16] 시리즈 대표카드 실제 출력 스타일
   - products.php에서 _isSeriesCard 플래그가 붙은 카드만 PC 2칸 노출
========================================================= */
.product-grid.view-many .product-card.series-card,
.product-grid .product-card.series-card{
  grid-column:span 2;
}

.product-card.series-card{
  border-color:#b8d5ef;
  background:#fff;
}

.product-card.series-card .product-thumb{
  min-height:260px;
}

.product-card.series-card .product-body h3{
  font-size:22px;
  line-height:1.35;
}

.series-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin:0 0 10px;
  padding:5px 10px;
  border:1px solid #c9dff3;
  background:#f2f8ff;
  color:#0f66bb;
  font-size:13px;
  line-height:1;
  font-weight:900;
}

@media(max-width:768px){
  .product-grid.view-many .product-card.series-card,
  .product-grid .product-card.series-card{
    grid-column:span 1;
  }

  .product-card.series-card .product-thumb{
    min-height:0;
  }

  .product-card.series-card .product-body h3{
    font-size:19px;
  }
}

/* =========================================================
   [2026-05-16] 대표 시리즈 섹션 / 세부 모델 펼침 FINAL
   - 대표 시리즈는 제품 목록과 분리된 전용 섹션으로 출력
   - 시리즈 카드 클릭/버튼으로 세부 모델 아코디언 펼침
   - _series 대표이미지가 없으면 no-image 유지
========================================================= */

.product-series-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:26px 0 18px;
  padding:28px 32px;
  border:1px solid #cfe2f5;
  background:linear-gradient(135deg,#f7fbff 0%,#edf6ff 100%);
  box-shadow:0 12px 28px rgba(15,55,95,.06);
}

.product-series-intro h2{
  margin:4px 0 10px;
  color:#082744;
  font-size:32px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:-1px;
}

.product-series-intro p{
  max-width:880px;
  margin:0;
  color:#435a72;
  font-size:17px;
  line-height:1.8;
  font-weight:600;
  word-break:keep-all;
}

.product-series-intro-badge{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:116px;
  min-height:88px;
  border:1px solid #c8dff4;
  background:#fff;
}

.product-series-intro-badge strong{
  color:#0f66bb;
  font-size:34px;
  line-height:1;
  font-weight:900;
}

.product-series-intro-badge span{
  margin-top:8px;
  color:#52677d;
  font-size:13px;
  font-weight:900;
}

.product-series-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin:0 0 34px;
}

.series-item{
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid #cfe2f5;
  background:#fff;
}

.series-item .product-card.series-card{
  grid-column:auto;
  display:grid;
  grid-template-columns:minmax(0,46%) minmax(0,54%);
  min-height:300px;
  border:0;
  border-bottom:1px solid #d6e6f6;
  background:#fff;
}

.series-item .product-card.series-card .product-thumb{
  width:100%;
  height:100%;
  min-height:300px;
  aspect-ratio:auto;
  border-right:1px solid #d6e6f6;
  background:#fff;
}

.series-item .product-card.series-card .product-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:18px;
  background:#fff;
}

.series-item .product-card.series-card .product-body{
  min-height:300px;
  padding:26px 28px;
  justify-content:center;
}

.series-item .product-card.series-card .product-body h3{
  font-size:25px;
  line-height:1.35;
  letter-spacing:-.9px;
}

.series-item .product-card.series-card .product-body p{
  font-size:16px;
  line-height:1.8;
}

.series-toggle-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  height:52px;
  border:0;
  border-top:1px solid #e1edf8;
  background:#f7fbff;
  color:#0f579a;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
}

.series-toggle-btn:hover{
  background:#eef7ff;
  color:#075fb8;
}

.series-toggle-btn[aria-expanded="true"]{
  background:#0f66bb;
  color:#fff;
}

.series-children-panel{
  padding:22px;
  background:#f8fbff;
  border-top:1px solid #d6e6f6;
}

.series-children-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 16px;
  padding-bottom:12px;
  border-bottom:1px solid #d6e6f6;
}

.series-children-head strong{
  color:#082744;
  font-size:20px;
  font-weight:900;
}

.series-children-head span{
  font-size:14px;
  font-weight:900;
}

.series-children-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.series-child-card{
  min-height:100%;
}

.series-child-card .product-body h3{
  font-size:18px;
}

.series-child-card .product-body p{
  font-size:14px;
}

@media(max-width:1100px){
  .product-series-grid{
  }
}

@media(max-width:768px){
  .product-series-intro{
    display:block;
    margin:20px 0 16px;
    padding:22px 18px;
  }

  .product-series-intro h2{
    font-size:26px;
  }

  .product-series-intro p{
    font-size:16px;
    line-height:1.75;
  }

  .product-series-intro-badge{
    width:100%;
    min-height:72px;
    margin-top:18px;
  }

  .product-series-grid{
    grid-template-columns:1fr;
    gap:18px;
    margin-bottom:26px;
  }

  .series-item .product-card.series-card{
    display:flex;
    flex-direction:column;
    min-height:0;
  }

  .series-item .product-card.series-card .product-thumb{
    min-height:0;
    height:auto;
    aspect-ratio:4/3;
    border-right:0;
    border-bottom:1px solid #eef3f8;
  }

  .series-item .product-card.series-card .product-body{
    min-height:0;
    padding:20px;
  }

  .series-item .product-card.series-card .product-body h3{
    font-size:21px;
  }

  .series-children-panel{
    padding:16px;
  }

  .series-children-head{
    display:block;
  }

  .series-children-head span{
    display:block;
    margin-top:6px;
  }

  .series-children-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   [2026-05-19] 설비소개 대표 시리즈 공통 데이터 / 목록형 큰 카드
   - 기존 product-card series-card 재사용 금지
   - 데이터: /products/_series/*/category.txt + 상세설명.txt
========================================================= */
.product-series-list{
  max-width:1240px;
  margin:24px auto 34px;
  padding:0 14px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.series-large-item{display:block;}
.series-large-card{
  display:grid;
  grid-template-columns:minmax(320px,42%) 1fr;
  align-items:stretch;
  border:1px solid #c9def8;
  background:#fff;
  overflow:hidden;
}
.series-large-card__image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:260px;
  background:#f8fbff;
  border-right:1px solid #d6e5f7;
}
.series-large-card__image img{
  width:100%;
  height:260px;
  object-fit:contain;
  display:block;
  padding:18px 28px;
}
.series-large-card__body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px 36px;
}
.series-large-card__badge{
  align-self:flex-start;
  margin-bottom:14px;
  padding:6px 11px;
  border:1px solid #9dc8fb;
  background:#f0f7ff;
  color:#0064c8;
  font-size:12px;
  line-height:1;
  font-weight:900;
}
.series-large-card__body h3{
  margin:0 0 8px;
  color:#071629;
  font-size:28px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:-.04em;
}
.series-large-card__subtitle{
  margin:0 0 14px;
  color:#1f4f86;
  font-size:21px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:-.035em;
}
.series-large-card__body p{
  margin:0 0 20px;
  color:#31465f;
  font-size:15px;
  line-height:1.75;
  font-weight:700;
}
.series-large-card__features{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-bottom:22px;
}
.series-large-card__features span{
  padding:9px 12px;
  border:1px solid #d4e3f7;
  background:#f8fbff;
  color:#0d4f9c;
  font-size:13px;
  font-weight:800;
}
.series-large-card__features span::before{content:'• ';font-weight:900;}
.series-large-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:170px;
  min-height:42px;
  border:0;
  background:#006bdc;
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,98,204,.14);
}
.series-large-card__btn:hover{background:#004fa8;}
.series-large-item .series-children-panel{
  margin:0;
  border:1px solid #c9def8;
  border-top:0;
  background:#fff;
  padding:20px;
}
@media (max-width:900px){
  .product-series-list{padding:0 12px;gap:14px;}
  .series-large-card{display:block;}
  .series-large-card__image{min-height:210px;border-right:0;border-bottom:1px solid #d6e5f7;}
  .series-large-card__image img{height:210px;padding:16px;}
  .series-large-card__body{padding:24px 20px;}
  .series-large-card__body h3{font-size:23px;}
  .series-large-card__subtitle{font-size:18px;}
  .series-large-card__features{grid-template-columns:1fr;}
  .series-large-card__btn{width:100%;}
}


/* =========================================================
   [2026-05-21 v17] 설비소개 홈 - 대표 자동화 시리즈 디자인 정리
   대상 HTML: products.php 의 .equipment-series-section / .equipment-series-card
========================================================= */
body.page-products .equipment-series-section{
  width:var(--nb-content-width, min(calc(100vw - 96px), 1440px));
  max-width:var(--nb-content-width, 1440px);
  margin:34px auto 44px;
  padding:44px 54px;
  border:1px solid #cfe1f4;
  background:linear-gradient(180deg,#ffffff 0%,#f4f9ff 100%);
  box-shadow:0 18px 44px rgba(15,54,99,.08);
  box-sizing:border-box;
}
body.page-products .equipment-series-section .equipment-section-head{
  margin-bottom:28px;
}
body.page-products .equipment-series-list{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
}
body.page-products .equipment-series-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(360px,42%) minmax(0,1fr);
  min-height:340px;
  border:1px solid #c9def8;
  background:#fff;
  overflow:hidden;
  text-decoration:none;
  color:#10243d;
  box-shadow:0 16px 34px rgba(15,54,99,.07);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.page-products .equipment-series-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(15,102,187,.07),rgba(15,102,187,0) 45%);
  pointer-events:none;
}
body.page-products .equipment-series-card:hover{
  transform:translateY(-3px);
  border-color:#8bbdf0;
  box-shadow:0 22px 48px rgba(15,54,99,.12);
}
body.page-products .equipment-series-image{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  padding:28px;
  background:linear-gradient(180deg,#f8fbff 0%,#edf6ff 100%);
  border-right:1px solid #d7e6f7;
}
body.page-products .equipment-series-image img{
  width:100%;
  height:230px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 16px 22px rgba(15,54,99,.10));
}
body.page-products .equipment-series-body{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:34px 38px;
}
body.page-products .equipment-series-body small{
  display:inline-flex;
  align-self:flex-start;
  margin-bottom:13px;
  padding:6px 10px;
  background:#eaf4ff;
  color:#006bdc;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.08em;
}
body.page-products .equipment-series-body strong{
  display:block;
  margin:0 0 8px;
  color:#071629;
  font-size:30px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:-.055em;
}
body.page-products .equipment-series-subtitle{
  margin:0 0 14px;
  color:#1f4f86;
  font-size:21px;
  line-height:1.35;
  font-weight:850;
  letter-spacing:-.035em;
}
body.page-products .equipment-series-body p{
  margin:0 0 18px;
  color:#334963;
  font-size:15px;
  line-height:1.72;
  font-weight:700;
  word-break:keep-all;
}
body.page-products .equipment-series-tags{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0 0 22px;
}
body.page-products .equipment-series-tags span{
  display:flex;
  align-items:center;
  min-height:36px;
  padding:8px 11px;
  border:1px solid #d3e4f8;
  background:#f8fbff;
  color:#0d4f9c;
  font-size:13px;
  line-height:1.35;
  font-weight:850;
}
body.page-products .equipment-series-tags span::before{
  content:"•";
  margin-right:7px;
  font-weight:900;
}
body.page-products .equipment-series-body u{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:150px;
  min-height:44px;
  border:1px solid #006bdc;
  background:#006bdc;
  color:#fff;
  font-size:14px;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 12px 22px rgba(0,98,204,.15);
}
body.page-products .equipment-series-card:hover .equipment-series-body u{
  background:#004fa8;
  border-color:#004fa8;
}
@media(max-width:1280px){
  body.page-products .equipment-series-list{grid-template-columns:1fr;}
}
@media(max-width:900px){
  body.page-products .equipment-series-section{
    width:calc(100vw - 28px);
    max-width:calc(100vw - 28px);
    padding:28px 18px;
  }
  body.page-products .equipment-series-card{
    grid-template-columns:1fr;
  }
  body.page-products .equipment-series-image{
    border-right:0;
    border-bottom:1px solid #d7e6f7;
  }
  body.page-products .equipment-series-image img{height:210px;}
  body.page-products .equipment-series-body{padding:26px 22px;}
  body.page-products .equipment-series-body strong{font-size:24px;}
  body.page-products .equipment-series-tags{grid-template-columns:1fr;}
  body.page-products .equipment-series-body u{width:100%;}
}


/* =========================================================
   관련 섹션 B2B 스타일 전면 개선 (2026-06-10)
================================================================ */

/* ── 섹션 래퍼 공통 ── */
.product-relation-wrap{
  margin-top:8px;
}
.product-relation-section{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:40px 32px;
  margin-top:0;
  margin-bottom:24px;
  border-top:1px solid #e5e7eb;
}
.product-relation-section + .product-relation-section{
  margin-top:0;
}

/* ── 섹션 헤드 ── */
.product-relation-head{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:12px;
  margin-bottom:24px;
}
.product-relation-head h3{
  font-size:28px;
  letter-spacing:-.04em;
  line-height:1.2;
  margin:0;
}
.product-relation-head p{
  font-size:15px;
  text-align:left;
  max-width:100%;
  margin:0;
  line-height:1.6;
}

/* ── 카드 공통 ── */
.product-relation-grid{
  gap:20px;
}
.product-relation-card{
  border:1.5px solid #dce8f5;
  border-radius:14px;
}
.product-relation-card:hover{
  border-color:#5fa8e0;
}

/* ── 1. 선택 옵션 ── */
.product-relation-section--option .product-relation-grid{
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
}
.product-relation-section--option .product-relation-card{
  min-height:auto;
  padding:12px;
}
.product-relation-section--option .product-relation-thumb{
  width:100%;
  height:160px;
  border-radius:10px;
  margin-bottom:10px;
}
.product-relation-section--option .product-relation-body strong{
  font-size:14px;
  line-height:1.45;
}

/* ── 2. 필수 준비요소 ── */
.product-relation-section--required .product-relation-grid{
}
.product-relation-section--required .product-relation-card{
  grid-template-columns:180px minmax(0,1fr);
  min-height:160px;
}
.product-relation-section--required .product-relation-thumb{
  width:180px;
}
.product-relation-section--required .product-relation-body{
  padding:20px 24px;
}
.product-relation-section--required .product-relation-body strong{
  font-size:17px;
}

/* ── 3. 함께 구성하면 좋은 제품 ── */
.product-relation-section--related .product-relation-grid{
}
.product-relation-section--related .product-relation-card{
  min-height:auto;
  padding:12px;
}
.product-relation-section--related .product-relation-thumb{
  width:100%;
  height:160px;
  border-radius:10px;
  margin-bottom:10px;
}
.product-relation-section--related .product-relation-body strong{
  font-size:14px;
  line-height:1.45;
}

/* ── 5. 시리즈 제품 계속 보기 (가로 스크롤) ── */
/* 시리즈 = 보조 '추가 탐색 영역' → 시각 강조 낮춤 (흰 배경 / 연한 테두리 / 약한 제목색) */
.product-relation-section--series{
  background:#ffffff;
  border:1px solid #f0f1f4;   /* 카드 영역(#e2eaf4)보다 더 연한 회색 */
  border-radius:16px;
  box-shadow:none;
}
.product-relation-section--series .product-relation-head h3{
  font-size:22px;
  color:#6b7787;              /* 다른 섹션 제목보다 한 단계 낮은 강조 */
  font-weight:700;
}
.product-relation-section--series .product-relation-head p{
  color:#97a1ad;             /* 보조 설명도 한 단계 연하게 */
}
.product-relation-section--series .product-relation-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,240px);   /* PC 카드 폭 확대(180→240) — 제목 줄바꿈 완화·한 줄 카드 수 감소 */
  grid-auto-flow:row;
  gap:18px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type:x mandatory;
}
.product-relation-section--series .product-relation-card{
  width:240px;
  min-height:auto;
  padding:14px;
  scroll-snap-align:start;
}
.product-relation-section--series .product-relation-thumb{
  width:100%;
  height:190px;            /* 이미지 영역 확대(160→190) */
  border-radius:10px;
  margin-bottom:12px;
}
.product-relation-section--series .product-relation-body strong{
  font-size:14.5px;        /* 제목 가독성 ↑ */
  line-height:1.45;
}

/* ── 모바일 ── */
@media(max-width:767px){
  .product-relation-section{
    padding:28px 18px;
    border-radius:12px;
    margin-bottom:16px;
  }
  .product-relation-head h3{font-size:22px;}
  .product-relation-section--option .product-relation-grid,
  .product-relation-section--related .product-relation-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .product-relation-section--option .product-relation-thumb,
  .product-relation-section--related .product-relation-thumb{
    height:120px;
  }
  .product-relation-section--required .product-relation-grid{
    grid-template-columns:1fr;
  }
  .product-relation-section--series .product-relation-grid{
    grid-template-columns:repeat(auto-fill,168px);
  }
  .product-relation-section--series .product-relation-card{
    width:168px;
  }
  .product-relation-section--series .product-relation-thumb{
    height:142px;
  }
}

/* ── 모든 섹션 배경 통일 (2026-06-10) ── */
.product-relation-section{
  background:#f8fbff;
}
.product-relation-card{
  background:#fff;
}

/* ── 카드 그리드 → flex 중앙정렬 (2026-06-10) ── */
.product-relation-section--option .product-relation-grid,
.product-relation-section--related .product-relation-grid,
.product-relation-section--required .product-relation-grid{
}
.product-relation-section--option .product-relation-card,
.product-relation-section--related .product-relation-card{
  width:180px;
  flex:0 0 180px;
}
.product-relation-section--required .product-relation-card{
  flex:0 0 min(400px,100%);
  width:min(400px,100%);
}
/* 시리즈는 가로스크롤 유지하되 중앙 정렬 */
.product-relation-section--series .product-relation-grid{
  justify-content:center;
}

/* ── 그리드 정렬 원복 + 카드 내부 중앙정렬 (2026-06-10) ── */
.product-relation-section--option .product-relation-grid,
.product-relation-section--related .product-relation-grid{
  display:grid;
  justify-content:start;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
}
.product-relation-section--required .product-relation-grid{
  display:grid;
  justify-content:start;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
}
/* 카드 내부: 이미지·텍스트 중앙 */
.product-relation-section--option .product-relation-card,
.product-relation-section--related .product-relation-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  width:auto;
  flex:unset;
}
.product-relation-section--option .product-relation-thumb,
.product-relation-section--related .product-relation-thumb{
  margin-left:auto;
  margin-right:auto;
}
.product-relation-section--option .product-relation-body,
.product-relation-section--related .product-relation-body{
  width:100%;
  align-items:center;
  text-align:center;
}
.product-relation-section--option .product-relation-body strong,
.product-relation-section--related .product-relation-body strong{
  text-align:center;
  width:100%;
}

/* ── 필수 준비요소: 카드 전체 중앙배치 (2026-06-10) ── */
.product-relation-section--required .product-relation-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  grid-template-columns:unset;
}
.product-relation-section--required .product-relation-card{
  flex:0 0 min(360px,100%);
  width:min(360px,100%);
}

/* ── 필수 준비요소 카드 내부 중앙정렬 (2026-06-10) ── */
.product-relation-section--required .product-relation-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  grid-template-columns:unset;
  padding:16px;
}
.product-relation-section--required .product-relation-thumb{
  width:100%;
  height:160px;
  border-radius:10px;
  margin-bottom:12px;
  border-radius:10px 10px 10px 10px;
}
.product-relation-section--required .product-relation-body{
  width:100%;
  align-items:center;
  text-align:center;
  padding:0;
}
.product-relation-section--required .product-relation-body strong{
  text-align:center;
  font-size:15px;
}

/* ── 필수 준비요소 그리드 좌측 정렬 원복 (2026-06-10) ── */
.product-relation-section--required .product-relation-grid{
  justify-content:flex-start;
}

/* ── 이미지 잘림 방지: contain + 여백 최소화 (2026-06-10) ── */
.product-relation-thumb img{
  object-fit:contain;
  padding:4px;
  width:100%;
  height:100%;
}
.product-relation-section--option .product-relation-thumb img,
.product-relation-section--related .product-relation-thumb img,
.product-relation-section--series .product-relation-thumb img{
  padding:4px;
  object-fit:contain;
}
.product-relation-section--required .product-relation-thumb img{
  padding:6px;
  object-fit:contain;
}

/* ── 제품 목록 카드 이미지 잘림 수정 (2026-06-10) ── */
.product-card-image,
.product-thumb{
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-grid.view-many .product-thumb,
.product-grid.view-large .product-thumb{
  overflow:visible;
  padding:12px;
}
.product-thumb img,
.product-card-image img,
.product-grid.view-many .product-thumb img,
.product-grid.view-large .product-thumb img{
  max-width:96%;
  max-height:96%;
  mix-blend-mode:normal;
}
/* 카드 자체 overflow는 유지 (라운드 처리용) */
.product-card{
  overflow:hidden;
}

/* ── 제품 카드 높이 통일 / 버튼 하단 고정 (2026-06-10) ── */
.product-card{
  display:flex;
  flex-direction:column;
  height:100%;
}
.product-card-main-link{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  text-decoration:none;
  color:inherit;
}
.product-thumb{
  flex:0 0 auto;
}
.product-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}
.product-body h3{
  min-height:48px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-body p{
  flex:1 1 auto;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-card-actions{
  flex:0 0 auto;
}

/* ── 카드 본문 상단 고정 (2026-06-10) ── */
.product-body{
  justify-content:flex-start;
  align-items:flex-start;
}
.product-body h3{
  align-self:flex-start;
  flex:0 0 auto;
}
.product-body p{
  align-self:flex-start;
}
.product-card-actions{
  margin-top:auto;
  width:100%;
}

/* ── thumb overflow 복구: contain + hidden 조합 (2026-06-10) ── */
.product-card-image,
.product-thumb{
  overflow:hidden;
  aspect-ratio:4/3;
  background:#fff;
}
.product-grid.view-many .product-thumb,
.product-grid.view-large .product-thumb{
  overflow:hidden;
  height:auto;
  aspect-ratio:4/3;
}
.product-thumb img,
.product-card-image img,
.product-grid.view-many .product-thumb img,
.product-grid.view-large .product-thumb img{
  object-fit:contain;
  object-position:center center;
  width:100%;
  height:100%;
  transform:none;
  padding:10px;
  box-sizing:border-box;
}

/* ── 카드 내부 여백 압축 / 이미지 최대화 (2026-06-10) ── */
.product-thumb img,
.product-grid.view-many .product-thumb img,
.product-grid.view-large .product-thumb img{
  padding:6px;
  max-width:100%;
  max-height:100%;
}
.product-body{
  padding:14px 16px 12px;
  gap:6px;
  min-height:0;
}
.product-body h3{
  font-size:16px;
  line-height:1.35;
  min-height:0;
  margin:0 0 6px;
}
.product-body p{
  font-size:13px;
  line-height:1.55;
  margin:0;
  -webkit-line-clamp:3;
  flex:0 0 auto;
}
.product-card-actions{
  padding:10px 14px 14px;
  gap:8px;
}
@media(max-width:767px){
  .product-body{padding:12px 14px 10px;}
  .product-body h3{font-size:15px;}
}

/* ================================================================
   시리즈 펼침 영역 vs 개별 장비 섹션 구분감 강화 (2026-06-10)
================================================================ */

/* ── 시리즈 펼침 패널: 묶음 박스 ── */
.series-children-panel{
  margin:0 0 8px;
  padding:28px 28px 24px;
  background:#f4f8fd;
  border:1px solid #c8dcf0;
  border-top:3px solid #1a6bbf;
  border-radius:0 0 14px 14px;
}
.series-children-head{
  margin-bottom:20px;
  padding-bottom:14px;
  border-bottom:1px solid #ccdff0;
}
.series-children-head strong{
  font-size:18px;
  color:#0b2c50;
}
.series-children-head span{
  font-size:13px;
  background:#e0eefa;
  color:#0f66bb;
  padding:3px 10px;
  border-radius:20px;
  font-weight:800;
}
.series-children-grid{
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:14px;
}

/* ── 개별 장비 섹션: 위에 구분선 + 여백 강화 ── */
.product-list-head{
  margin-top:52px;
  padding:20px 0 16px;
  border-bottom:1px solid #d9e7f5;
  border-top:2px solid #d0e4f5;
}

@media(max-width:767px){
  .series-children-panel{
    padding:20px 16px;
    border-radius:0 0 10px 10px;
  }
  .series-children-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .product-list-head{
    margin-top:36px;
  }
}

/* ── 필터 패널 overflow 방지 (2026-06-10) ── */
.product-control-panel{
  box-sizing:border-box;
}
.filter-mode-tabs,
.filter-sub-tabs,
.filter-groups,
.filter-group{
  box-sizing:border-box;
}
.filter-mode-tabs{
  grid-template-columns:repeat(auto-fit,minmax(0,1fr));
}
.filter-sub-tabs{
  grid-template-columns:repeat(auto-fit,minmax(0,1fr));
}
.filter-mode-tabs button,
.filter-sub-tabs button{
  min-width:0;
  box-sizing:border-box;
  width:100%;
}
.filter-chip-row{
  box-sizing:border-box;
  width:100%;
}
.filter-chip{
}

@media(max-width:767px){
  .filter-mode-tabs,
  .filter-sub-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:480px){
  .filter-mode-tabs,
  .filter-sub-tabs{
    grid-template-columns:1fr;
  }
}

/* ── 시리즈 안내 항목 hover 제거 (2026-06-10) ── */
.series-large-card__features span{
  cursor:default;
  pointer-events:none;
}
.series-large-card__features span:hover{
  transform:none;
  box-shadow:none;
  background:#f8fbff;
  border-color:#d4e3f7;
  color:#0d4f9c;
}

/* ── 필터 영역 공간 축소 (2026-06-10) ── */
.product-control-panel{
  padding:18px 20px;
  margin-bottom:20px;
}
.filter-mode-tabs{
  gap:8px;
  margin-bottom:14px;
}
.filter-mode-tabs button{
  min-height:42px;
  font-size:15px;
  padding:0 14px;
}
.filter-groups{
}
.filter-group{
}
.filter-group h3{
  margin:0 0 10px;
  font-size:16px;
}

/* 전체 버튼을 상세 칩과 같은 줄에 합치기 */
.filter-chip-all-row{
  display:inline-flex;
  margin-bottom:0;
  margin-right:8px;
  float:left;
}
.filter-chip-all-row .filter-chip{
  min-width:auto;
  min-height:38px;
  height:38px;
  padding:0 16px;
  font-size:13px;
  box-shadow:none;
}
.filter-chip-row--details{
  display:inline-grid;
  width:calc(100% - 90px);
  vertical-align:top;
}
.filter-chip-row--details .filter-chip{
  min-height:38px;
  height:38px;
  padding:0 10px;
}
/* float 클리어 */
.filter-group::after{
  content:"";
  display:table;
  clear:both;
}
.filter-result-count{
  margin-top:12px;
  padding:10px 16px;
  font-size:14px;
}

@media(max-width:767px){
  .filter-chip-all-row{
    display:flex;
    margin-right:0;
    margin-bottom:6px;
    width:100%;
  }
  .filter-chip-all-row .filter-chip{
    width:100%;
  }
  .filter-chip-row--details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ── 필터 float/inline-grid 제거 + box-sizing 정규화 (2026-06-10) ── */
.product-control-panel,
.filter-groups,
.filter-group,
.filter-chip-all-row,
.filter-chip-row--details,
.filter-chip{
  box-sizing:border-box;
}
.product-control-panel{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.filter-groups{
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
}
.filter-group{
  width:100%;
  max-width:100%;
  min-width:0;
  padding:16px 18px;
}
/* 전체 버튼 + 상세 칩을 단일 flex-wrap 줄로 통합 */
.filter-chip-all-row{
  float:none;
  display:contents;
  margin:0;
  width:auto;
}
.filter-chip-row--details{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  width:100%;
  max-width:100%;
  grid-template-columns:unset;
}
.filter-chip-all-row .filter-chip,
.filter-chip-row--details .filter-chip{
  flex:0 0 auto;
  width:auto;
  min-width:0;
  min-height:36px;
  height:36px;
  padding:0 14px;
  font-size:13px;
  box-shadow:none;
}

/* ================================================================


/* =========================================================
   [2026-06-15] 시리즈 세부 모델 카드 모바일 압축
   - 제목/설명 line-clamp, 패딩 축소
   - 2열은 @767px 블록(line 1130)에서 이미 처리
========================================================= */
@media(max-width:767px){
  .series-child-card .product-body{
    padding:8px 10px 10px;
  }

  .series-child-card .product-body h3{
    font-size:13px;
    font-weight:700;
    line-height:1.4;
    margin:0 0 4px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .series-child-card .product-body p{
    font-size:11px;
    line-height:1.5;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .series-child-card .product-thumb{
    aspect-ratio:4/3;
  }
}
