/* =========================
   공통 : 탭 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 .gw-sub-title-line{
  position:relative;
}
#sub-product .gw-sub-title-line:after{
  content:"";
  display:block;
  width:52px;
  height:3px;
  background:var(--main-color,#1a4fd6);
  margin:14px auto 0;
  border-radius:999px;
  opacity:.2;
}

/* =========================
   기존 상품 박스 기본 스타일
========================= */
#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;
}

/* =========================
   타이어 마킹 / T-Max® 섹션
========================= */
.tm-section{
  margin-top:40px;
}

/* 리드 문구 */
.tm-lead{
  max-width:720px;
  margin:0 auto 36px;
  text-align:center;
  color:#555;
  line-height:1.6;
}

/* 공통 카드 블록 */
.tm-block{
  background:#fff;
  border-radius:16px;
  box-shadow:0 15px 30px rgba(0,0,0,.04);
  padding:36px 40px;
  margin-bottom:30px;
}

/* 타이어 마킹 블록 */
.tm-block--tire{
  display:flex;
  align-items:center;
  gap:40px;
}

.tm-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 28px;
  border-radius:999px;
  background:var(--main-color,#1a4fd6);
  color:#fff;
  font-size:23px;
  font-weight:700;
  letter-spacing:-0.02em;
  margin-bottom:18px;
}

.tm-heading{
  font-family:"Noto Sans KR",sans-serif;
  font-size:clamp(20px,2.1vw,24px);
  font-weight:800;
  margin:0 0 14px;
}

/* 커스텀 글머리 기호 */
.tm-list{
  margin:0;
  padding-left:0;
  list-style:none;
  color:#555;
  line-height:1.7;
}
.tm-list li{
  position:relative;
  padding-left:1.1em;
}
.tm-list li::before{
  content:"•";
  position:absolute;
  left:0;
  top:0.1em;
  font-size:0.9em;
  color:var(--main-color,#1a4fd6);
}
.tm-list li + li{
  margin-top:4px;
}

/* 공통 이미지 박스 (tire, tmax 동일 폭 + 오른쪽 정렬) */
.tm-media{
  max-width:440px;
  margin-left:auto;
}
.tm-media img{
  display:block;
  width:100%;
  height:auto;
  border-radius:12px;
  border:1px solid #e0e4ee;
  background:#f6f7fb;
}

/* tire 블록에서의 이미지 폭 고정 */
.tm-block--tire .tm-media{
  flex:0 0 440px;
}

/* T-Max 블록 */
.tm-block--tmax{
  padding-top:32px;
}

.tm-heading-center{
  font-family:"Noto Sans KR",sans-serif;
  font-size:clamp(20px,2.2vw,26px);
  font-weight:800;
  text-align:center;
  margin:0 0 26px;
}

.tm-tmax-inner{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:32px;
  align-items:center;
}

/* dt/dd 스타일 */
.tm-dl{
  margin:0 0 18px;
}
.tm-dl dt{
  font-weight:800;
  margin-bottom:6px;
}
.tm-dl dd{
  margin:0;
}

/* T-Max 이미지 배경만 살짝 다르게 */
.tm-tmax-img img{
  background:#f5f7fb;
}

.sc-section{margin-top:40px}
.sc-title{margin:6px 0 20px;font:800 clamp(22px,2.4vw,28px)/1.3 "Noto Sans KR",sans-serif}

.sc-feature-wrap{
  display:grid; gap:18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.sc-card{
  height:100%;
  background:#fff; border:1px solid #e9eef5; border-radius:14px;
  padding:26px; box-shadow:0 10px 26px rgba(0,0,0,.04);
  display:flex; flex-direction:column; gap:14px;
}
.sc-card .sc-icon{
  width:130px; height:130px; border-radius:12px; /* background:#f6f7fb; */
  display:flex; align-items:center; justify-content:center;
  border:1px solid #e9eef5; margin:0 auto;
}
.sc-card .sc-icon img{width:80px; height:80px; object-fit:contain; filter: brightness(0) invert(1);}
.sc-card h4{font:800 22px/1.35 "Noto Sans KR",sans-serif; text-align:center; color:white;}
.sc-card h5{font:700 13px/1 "Outfit", "Noto Sans KR",sans-serif; color:var(--main-color,#1a4fd6)}
.sc-card p{color:#5f6b7a; text-align:center;color:white;}

/* =========================
   반응형
========================= */
@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%;
  }

  .tm-block--tire{
    flex-direction:column;
    align-items:flex-start;
  }
  .tm-block--tire .tm-media{
    flex:none;
    width:100%;
    max-width:480px;
  }

  .tm-tmax-inner{
    grid-template-columns:1fr;
  }
}

@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%;
  }

  .tm-block{
    padding:26px 20px;
  }
  .tm-media{
    max-width:100%;
  }
}

/* ============================
   Radioactive Waste Spec Table
   - 전용 클래스 (rw-spec-*)
============================ */

#sub-product .rw-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;
  margin-top: 30px;
}

#sub-product .rw-spec-title{
  font-size: 18px;
  font-weight: 800;
  font-family: "Noto Sans KR", sans-serif;
  color: #222;
}

/* 가로 스크롤 방지용 래퍼 */
#sub-product .rw-spec-table-wrap{
  width: 100%;
  overflow-x: auto;
}

/* 표 기본 */
#sub-product .rw-spec-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}

/* 헤더 */
#sub-product .rw-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;
}

/* 바디 - 좌측(기능 구분) */
#sub-product .rw-spec-table tbody th{
  width: 28%;
  background: #f3f5fb;
  font-weight: 700;
  padding: 10px 16px;
  border-bottom: 1px solid #e1e5f0;
  white-space: nowrap;
  color: #333;
}

/* 바디 - 우측(상세 설명) */
#sub-product .rw-spec-table tbody td{
  padding: 10px 18px;
  border-bottom: 1px solid #e1e5f0;
  color: #555;
  line-height: 1.6;
}

/* 짝수 행 은은한 줄무늬 */
#sub-product .rw-spec-table tbody tr:nth-child(even) td{
  background: #fafbff;
}

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

/* ============================
   TAB1: 적용 분야 카드 4개
============================ */

#sub-product .rw-app-section{
  margin-top: 32px;
}

#sub-product .rw-app-title{
  font-size: 18px;
  font-weight: 800;
  font-family: "Noto Sans KR", sans-serif;
  color: #222;
}

#sub-product .rw-app-desc{
  margin-bottom: 18px;
  color: #555;
}

/* 카드 그리드 */
#sub-product .rw-app-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* 카드 하나 */
#sub-product .rw-app-card{
  background: #f9fbff;
  border-radius: 14px;
  border: 1px solid #dbe3f4;
  padding: 20px 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* 상단 포인트 라인 */
#sub-product .rw-app-card::before{
  content:"";
  position:absolute;
  inset:0;
  height:4px;
  background: linear-gradient(90deg, var(--main-color,#1a4fd6), #4f8dff);
  opacity:.55;
}

/* 카드 hover */
#sub-product .rw-app-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  border-color: var(--main-color, #1a4fd6);
}

/* 아이콘 박스 */
#sub-product .rw-app-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eef3ff;
  border: 1px solid #d1ddff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  margin-top: 6px;
}

#sub-product .rw-app-icon img{
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* 텍스트 */
#sub-product .rw-app-card h5{
  font-size: 15px;
  font-weight: 800;
  font-family: "Noto Sans KR", sans-serif;
  color: #1f2933;
}

#sub-product .rw-app-card p{
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

/* ============================
   반응형
============================ */
@media (max-width: 1024px){
  #sub-product .rw-app-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  #sub-product .rw-app-grid{
    grid-template-columns: 1fr;
  }
}