/* =========================
   TAB UI (신규 추가)
========================= */
.gw-tabs{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content: center;
  margin:0 0 24px 0;
  padding:8px;
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
}
.gw-tabs::-webkit-scrollbar{height:6px}
.gw-tabs::-webkit-scrollbar-thumb{background:#ddd;border-radius:999px}
.gw-tab-btn{
  position:relative;
  flex:0 0 auto;
  padding:12px 18px;
  border-radius:10px;
  border:1px solid #e5e5e5;
  background:#f8f8f8;
  color:#333;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  letter-spacing:-0.01em;
  cursor:pointer;
  transition: all .25s ease;
  outline:none;
}
.gw-tab-btn:hover{
  background:#f3f6ff;
  border-color:#dfe7ff;
}
.gw-tab-btn.is-active{
  background:#fff;
  color: var(--main-color, #1a4fd6);
  border-color: var(--main-color, #1a4fd6);
  box-shadow: 0 8px 18px rgba(26,79,214,.12);
}
.gw-tab-btn:focus-visible{
  box-shadow: 0 0 0 3px rgba(26,79,214,.2);
}

/* 패널 페이드 전환 */
.gw-tab-panel{
  display:none;           /* 전환의 시작점 */
  opacity:0;
  visibility:hidden;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.gw-tab-panel.is-active{
  display:block;          /* 활성시 노출 */
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}

/* 패널 비컨텐츠(준비중 안내) */
.gw-tab-empty{
  padding:80px 20px;
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.gw-tab-empty p{color:#666}

/* =========================
   기존 sub-product 스타일
========================= */
#sub-product .gw-product-list{gap:40px;padding: 40px;background:#fff;box-shadow:0 15px 10px rgba(34, 34, 34, .02);}
#sub-product .gw-product-list:not(:last-child){margin-bottom:20px;}
#sub-product .gw-product-img{background: #f8f8f8;border: 1px solid #ddd; width: 350px;}
#sub-product .gw-product-info {display:flex;flex-direction: column;justify-content: space-between;width: calc(100% - 390px);}
#sub-product .gw-product-info .gw-text01 {color: var(--main-color);font-family: "Noto Sans KR", sans-serif; font-weight: 800;}
#sub-product .gw-product-info .gw-text02 {font-size: var(--main-title03);font-family: "Noto Sans KR", sans-serif; font-weight: 800;}
#sub-product .gw-product-info .gw-text02 > span {font-family: "Outfit", sans-serif; font-weight: 700;}
#sub-product .gw-product-info .gw-specifications-tit{font-size: var(--main-title04);font-family: "Noto Sans KR", sans-serif; font-weight: 800;}
#sub-product .gw-product-info .info-table {border-top: 2px solid var(--main-color);border-bottom: 1px solid #ddd;}
#sub-product .gw-product-info .info-table dl {position: relative;display: flex;align-items: center;color: #666;}
#sub-product .gw-product-info .info-table dl:nth-child(even) {background: #f3f3f3;}
#sub-product .gw-product-info .info-table dl dt {width: 20%;padding: 10px 20px;box-sizing: border-box;font-family: "Noto Sans KR", sans-serif; font-weight: 800;}
#sub-product .gw-product-info .info-table dl dd {width: 80%;padding: 10px 20px;box-sizing: border-box;}

/*반응형------------------------------------------------------------------------------------------------------------------ */
@media screen and (max-width:1024px){
    #sub-product .gw-product-list{flex-direction: column;}
    #sub-product .gw-product-img{width: 100%;}
    #sub-product .gw-product-info{width: 100%;}
}
@media screen and (max-width:576px) {
    .gw-tabs{gap:8px;padding:6px}
    .gw-tab-btn{padding:10px 14px;border-radius:9px}

    #sub-product .gw-product-list{padding:22px;}
    #sub-product .gw-product-list-top{gap:20px;flex-direction:column;}
    #sub-product .gw-product-img{width:100%;height:250px;}
    #sub-product .gw-product-info{width:100%;height:auto;gap:20px;}
    #sub-product .gw-product-info .info-table dl dt{padding:10px 0  10px 20px;width:40%;}
    #sub-product .gw-product-info .info-table dl dd{padding:10px 0  10px 20px;width:60%;}
}

/* ============================
   Ballast Water Table - 전용 클래스
============================ */

/* 표 전체 래퍼 */
.bw-spec-list{
  width:100%;
  background:#fff;
  padding:40px;
  border-radius:14px;
  box-shadow:0 15px 10px rgba(34,34,34,.02);
  border:1px solid #e5e9f2;
}

/* 제목 */
.bw-spec-title{
  font-size: 18px;
  font-weight: 800;
  font-family: "Noto Sans KR", sans-serif;
  color:#222;
}

/* 테이블 래퍼 */
.bw-spec-table-wrap{
  width:100%;
  overflow-x:auto;
}

/* 표 */
.bw-spec-table{
  width:100%;
  border-collapse:collapse;
  min-width:640px;
  font-size:14px;
}

/* 헤더 */
.bw-spec-table thead th{
  background:var(--main-color, #1a4fd6);
  color:#fff;
  padding:12px 18px;
  text-align:left;
  font-weight:700;
  border-bottom:2px solid #12337f;
}

/* 행 */
.bw-spec-table tbody th{
  width:22%;
  background:#f3f5fb;
  font-weight:700;
  padding:10px 16px;
  border-bottom:1px solid #e1e5f0;
  white-space:nowrap;
  color:#333;
}

.bw-spec-table tbody td{
  padding:10px 18px;
  border-bottom:1px solid #e1e5f0;
  color:#555;
  line-height:1.5;
}

/* 줄무늬 */
.bw-spec-table tbody tr:nth-child(even) td{
  background:#fafbff;
}

.bw-spec-img-wrap {padding-top:30px;}

/* 반응형 */
@media (max-width:768px){
  .bw-spec-table{ min-width:520px; font-size:13px; }
  .bw-spec-list{ padding:22px; }
}