@charset "utf-8";

/* ===== Solutions > Defense (레퍼런스: broadern 제품&솔루션) ===== */

/* 목록 : 탭 아래 카테고리 대제목 */
.defense-board__title {margin:0 0 var(--space-50); text-align:center; font-family:"Gmarket Sans", "Pretendard", sans-serif; font-size:clamp(26px, 3vw, 36px); font-weight:700; letter-spacing:-.02em; line-height:1.3em; color:#242424;}
.defense-board__title:after {content:''; display:block; width:60px; height:2px; margin:20px auto 0; background:var(--color-primary);}

/* 목록·Other Products 카드 : 정사각 영역에 제품 사진 전체가 보이도록 (잘림 없음) */
.defense-card__thumb {display:flex; align-items:center; justify-content:center; aspect-ratio:1 / 1; background:#fff; border-bottom:1px solid #eef0f3;}
.defense-card__thumb img {width:auto; height:auto; max-width:88%; max-height:88%; object-fit:contain;}

/* 상세 : 제품명 가운데 + 밑줄 */
.defense-board--detail .defense-board__tabs {margin-bottom:var(--space-50);}
.defense-view .defense-view__title {margin:0 0 var(--space-50); text-align:center; font-size:clamp(26px, 3vw, 36px);}
.defense-view .defense-view__title:after {content:''; display:block; width:60px; height:2px; margin:20px auto 0; background:var(--color-primary);}
.defense-view .defense-view__grid {grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:var(--space-50);}
.defense-view .defense-view__visual {display:flex; align-items:center; justify-content:center; aspect-ratio:1 / 1; background:#fff; border:1px solid #e3e6ea; border-radius:8px;}
.defense-view .defense-view__visual img {width:auto; max-width:90%; max-height:90%; height:auto; object-fit:contain;}

/* 상세 : 주요성능 - "· 항목명 / 값" 줄 형식 */
.defense-view .defense-view__heading {margin:0 0 12px; font-size:clamp(22px, 2.2vw, 26px); font-weight:700;}
.defense-view .defense-view__specs {border-top:0;}
.defense-view .defense-view__specs th,
.defense-view .defense-view__specs td {padding:12px 4px; border-bottom:1px solid #dcdcdc; font-size:var(--font-size-16); line-height:1.5em; background:none;}
.defense-view .defense-view__specs th {width:40%; font-weight:500; color:var(--color-primary);}
.defense-view .defense-view__specs th:before {content:'· ';}
.defense-view .defense-view__specs td {color:#454545;}

/* 상세 : 핵심기술 */
.defense-view .defense-view__tech li {padding:4px 0 4px 18px; border-bottom:0; font-size:var(--font-size-16);}
.defense-view .defense-view__tech li:before {top:15px; background:#666;}

/* 상세 : Other Products / 목록 버튼 */
.defense-other {margin-top:var(--space-80); padding-top:var(--space-50); border-top:1px solid #e3e6ea;}
.defense-other__title {margin:0 0 var(--space-30); font-size:clamp(22px, 2.2vw, 26px); font-weight:700; letter-spacing:-.03em; color:#242424;}
.defense-view__btns {margin-top:var(--space-50); text-align:center;}
.defense-view__list-btn {display:inline-block; min-width:180px; padding:14px 30px; border:1px solid var(--color-primary); border-radius:4px; font-size:var(--font-size-16); font-weight:600; color:var(--color-primary); transition:background .2s, color .2s;}
.defense-view__list-btn:hover {background:var(--color-primary); color:#fff;}

@media (max-width: 768px) {
.defense-card__title {font-size:var(--font-size-16);}
}
@media (max-width: 1200px) {
.defense-view .defense-view__grid {grid-template-columns:1fr;}
.defense-view .defense-view__visual {aspect-ratio:4 / 3;}
}

/* ===== Product > 목록 필터·검색·정렬 (시안 sian2/wavice-product.html, 필터 항목은 고객 확정 표 기준) ===== */

/* 필터 칩 : 고르면 바로 적용, Apply/Parametric 패널 없음 */
.product-filter {margin:0 0 40px; padding:18px 20px; background:#f3fafb; border:1px solid #dceef1; border-radius:4px;}
.product-filter__chips {display:flex; flex-wrap:wrap; gap:10px; align-items:center;}
.product-filter__item {position:relative;}
.product-filter__chip {display:flex; align-items:center; gap:12px; padding:10px 16px; border:0; border-radius:4px; background:#0071ce; color:#fff; font-family:inherit; font-size:15px; font-weight:500; letter-spacing:-.01em; cursor:pointer; transition:background .16s ease;}
.product-filter__chip:hover {background:#0060b0;}
.product-filter__item.is-open .product-filter__chip {background:#005ca8;}
.product-filter__chip.is-on {background:#fff; color:#0071ce; box-shadow:inset 0 0 0 1.5px #0071ce;}
.product-filter__chevron {display:flex; transition:transform .18s;}
.product-filter__item.is-open .product-filter__chevron {transform:rotate(180deg);}
.product-filter__menu {display:none; position:absolute; top:calc(100% + 8px); left:0; z-index:30; min-width:230px; max-height:300px; overflow-y:auto; padding:8px; background:#fff; border:1px solid #dde3e9; border-radius:6px; box-shadow:0 16px 34px -14px rgba(16,32,48,.35);}
.product-filter__item.is-open .product-filter__menu {display:block;}
.product-filter__menu-title {padding:8px 12px 10px; font-size:15px; font-weight:600; color:#9aa3ac;}
.product-filter__option {display:block; padding:10px 12px; border-radius:4px; font-size:15px; color:#40474e; white-space:nowrap;}
.product-filter__option:hover {background:#f3f7fb;}
.product-filter__option.is-on {background:#eef6fd; color:#0071ce; font-weight:600;}
.product-filter__option.is-empty {color:#9aa3ac;}
.product-filter__applied {display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px; padding-top:16px; border-top:1px solid #dceef1;}
.product-filter__applied-label {margin-right:4px; font-size:15px; color:#6b8b92;}
.product-filter__tag {display:flex; align-items:center; gap:9px; padding:6px 10px 6px 14px; background:#fff; border:1px solid #0071ce; border-radius:999px; font-size:15px; font-weight:500; color:#0071ce;}
.product-filter__tag a {font-size:17px; line-height:1; color:#0071ce;}
.product-filter__reset {margin-left:6px; font-size:15px; color:#6b8b92; text-decoration:underline;}

/* Parametric Filters : 전체 필터 값을 한 패널에 (값을 누르면 바로 적용) */
.product-filter__chip--param {background:#00adbb; font-weight:600;}
.product-filter__chip--param:hover {background:#00949f;}
.product-filter__item--param.is-open .product-filter__chip--param {background:#00949f;}
.product-filter__panel {left:auto; right:0; width:880px; max-width:calc(100vw - 40px); max-height:none; padding:26px 28px 24px; box-shadow:0 20px 40px -16px rgba(16,32,48,.35);}
.product-filter__panel-grid {display:grid; grid-template-columns:repeat(3, 1fr); gap:22px 32px;}
.product-filter__group {display:flex; flex-direction:column; gap:10px;}
.product-filter__group-title {font-size:15px; font-weight:600; color:#1a1a1a;}
.product-filter__pills {display:flex; flex-wrap:wrap; gap:6px;}
.product-filter__pill {padding:7px 14px; border:1px solid #dde3e9; border-radius:999px; background:#fff; font-family:inherit; font-size:15px; color:#55606b; white-space:nowrap; cursor:pointer; transition:border-color .16s ease, color .16s ease;}
.product-filter__pill:hover {border-color:#0071ce; color:#0071ce;}
.product-filter__pill.is-on {background:#0071ce; border-color:#0071ce; color:#fff;}
.product-filter__pill.is-empty {color:#9aa3ac; cursor:default;}
.product-filter__panel-actions {display:flex; justify-content:flex-end; gap:10px; margin-top:26px; padding-top:18px; border-top:1px solid #edf0f3;}
.product-filter__panel-reset,
.product-filter__panel-apply {padding:11px 24px; border-radius:4px; font-family:inherit; font-size:15px; cursor:pointer; transition:background .16s ease;}
.product-filter__panel-reset {background:#fff; border:1px solid #dde3e9; color:#55606b; font-weight:500;}
.product-filter__panel-reset:hover {background:#f3f7fb;}
.product-filter__panel-apply {padding:11px 30px; background:#0071ce; border:0; color:#fff; font-weight:600;}
.product-filter__panel-apply:hover {background:#005ca8;}

/* 건수 · 엑셀 · 품번 검색 (검색은 Enter 로 적용) */
.product-listbar {display:flex; align-items:center; justify-content:flex-end; gap:18px; margin:0 0 12px;}
.product-listbar__count {margin-right:auto; font-size:15px; color:#9aa3ac;}
.product-listbar__excel {display:flex; align-items:center; gap:8px; padding:11px 20px; background:#fff; border:1px solid #0071ce; border-radius:4px; font-family:inherit; font-size:15px; font-weight:600; color:#0071ce; cursor:pointer; transition:background .16s ease;}
.product-listbar__excel:hover {background:#eef6fd;}
.product-listbar__search {display:flex; align-items:center; gap:8px; width:300px; padding:9px 14px; border:1px solid #dde3e9; border-radius:4px; color:#9aa3ac;}
.product-listbar__search svg {flex:none;}
.product-listbar__search input {width:100%; border:0; outline:none; font-family:inherit; font-size:15px; color:#242424;}

/* 머리글 정렬 */
.product-table-new thead th .product-sort {display:inline-flex; align-items:center; gap:3px; color:inherit; cursor:pointer;}
.product-table-new thead th,
.product-table-new tbody td {padding-left:5px; padding-right:5px;}
.product-table-new thead th .product-sort:hover,
.product-table-new thead th .product-sort.is-on {color:#0071ce;}
.product-sort__arrows {display:inline-flex; flex-direction:column; justify-content:center; gap:3px; flex:none; line-height:0;}
.product-sort__up,
.product-sort__down {display:block; width:0; height:0; border-left:7px solid transparent; border-right:7px solid transparent;}
.product-sort__up {border-bottom:9px solid #b7c2cc;}
.product-sort__down {border-top:9px solid #b7c2cc;}
.product-sort.is-asc .product-sort__up {border-bottom-color:#0071ce;}
.product-sort.is-desc .product-sort__down {border-top-color:#0071ce;}

@media (max-width: 768px) {
.product-filter {padding:14px;}
.product-listbar {flex-wrap:wrap;}
.product-listbar__count {width:100%;}
.product-listbar__search {flex:1; width:auto;}
.product-filter__menu {max-width:calc(100vw - 40px);}
.product-filter__item--param {position:static;}
.product-filter {position:relative;}
.product-filter__panel {left:0; right:0; width:auto; max-width:none;}
.product-filter__panel-grid {grid-template-columns:1fr;}
}
@media (min-width: 769px) and (max-width: 1200px) {
.product-filter__panel-grid {grid-template-columns:repeat(2, 1fr);}
}
