/* =========================================================
   CBST / CBST+ PAGE STYLE
   ========================================================= */


/* =========================================================
   1. 공통 레이아웃
   ========================================================= */

.cbst-wrap {
  font-family: inherit;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* 좌우 간격 통일 - 모든 섹션 내부 여백 */
.cbst-sec > .init {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.cbst-sec {
  padding: 50px 0;
}

.cbst-sec + .cbst-sec {
  border-top: 1px solid #eef2f7;
}

.cbst-sec.cbst-bg-gray:has(.t01_box01) {
  background: #fff !important;
}

.cbst-sec.cbst-bg-gray:has(.cbst-how-card) {
  background: #fff !important;
}


/* =========================================================
   2. 섹션 헤더
   ========================================================= */

.cbst-sec-head {
  text-align: center;
  margin-bottom: 36px;
}

.cbst-sec-head .cbst-divider {
  width: 50px;
  height: 4px;
  background: #2d7dd2;
  margin: 0 auto 16px;
  border-radius: 2px;
}

.cbst-sec-head h3 {
  font-size: 24px;
  font-weight: 900;
  color: #1a3a5c;
  margin-bottom: 8px;
}

.cbst-sec-head h3 em {
  color: #2d7dd2;
  font-style: normal;
}

.cbst-sec-head p {
  color: #666;
  font-size: 14.5px;
}

/* CBST+ 전용 헤더 */
.cbstp-sec-head .cbst-divider {
  background: #2e8b57;
}

.cbstp-sec-head h3 {
  color: #1a4a2e;
}

.cbstp-sec-head h3 em {
  color: #2e8b57;
}


/* =========================================================
   3. 탭 네비게이션 (CBST / CBST+)
   ========================================================= */

.cbst-tab-wrap {
  background: linear-gradient(90deg, #1a3a5c, #1c4a43);
  padding: 20px 24px 0;
}

.cbst-tab-nav {
  display: flex;
  gap: 6px;
  max-width: 1100px;
  margin: 0 auto;
}

.cbst-tab-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px 20px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.3px;
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  transition: all 0.22s;
  position: relative;
  bottom: 0;
}

/* ---------- CBST 탭 ---------- */

/* 비활성 */
.cbst-tab-nav a[data-tab="cbst"] {
  background: rgba(77, 138, 210, 0.18);
  border-color: rgba(130, 170, 230, 0.25);
}

/* hover */
.cbst-tab-nav a[data-tab="cbst"]:hover {
  background: rgba(77, 138, 210, 0.30);
  color: #fff;
}

/* 활성 */
.cbst-tab-nav a[data-tab="cbst"].on {
  background: #eef5fd;
  color: #1f5fa8;
  border-color: #cfe0f5;
  bottom: -1px;
  padding-bottom: 21px;
}

/* ---------- CBST+ 탭 ---------- */

/* 비활성 */
.cbst-tab-nav a[data-tab="cbstp"] {
  background: rgba(46, 139, 87, 0.20);
  border-color: rgba(120, 190, 150, 0.25);
}

/* hover */
.cbst-tab-nav a[data-tab="cbstp"]:hover {
  background: rgba(46, 139, 87, 0.32);
  color: #fff;
}

/* 활성 */
.cbst-tab-nav a[data-tab="cbstp"].on {
  background: #edf8f0;
  color: #1f6b3d;
  border-color: #cfe7d6;
  bottom: -1px;
  padding-bottom: 21px;
}

/* ---------- 탭 텍스트 ---------- */

.cbst-tab-nav a .tab-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.4;
}

.cbst-tab-nav a .tab-main {
  font-size: 16px;
  font-weight: 800;
}

.cbst-tab-nav a .tab-sub {
  font-size: 13px;
  font-weight: 600;
}

.cbst-tab-nav a[data-tab="cbst"] .tab-sub {
  color: rgba(210, 230, 255, 0.7);
}

.cbst-tab-nav a[data-tab="cbstp"] .tab-sub {
  color: rgba(220, 245, 228, 0.7);
}

.cbst-tab-nav a.on .tab-sub {
  color: #888;
}

/* ---------- 탭 콘텐츠 ---------- */

.cbst-tab-content {
  display: none;
}

.cbst-tab-content.active {
  display: block;
}


/* =========================================================
   4. CBST 소개 카드
   ========================================================= */

.cbst-intro-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(26, 58, 92, 0.09);
  padding: 36px 40px;
  border-left: 6px solid #2d7dd2;
  max-width: 800px;
  margin: 0 auto;
}

.cbst-intro-card h4 {
  font-size: 18px;
  color: #1a3a5c;
  margin-bottom: 14px;
}

.cbst-intro-card ul {
  list-style: none;
}

.cbst-intro-card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: #444;
  font-size: 14.5px;
  border-bottom: 1px dashed #eee;
  line-height: 1.7;
}

.cbst-intro-card ul li:last-child {
  border-bottom: none;
}

.cbst-intro-card ul li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 11px;
  color: #2d7dd2;
  font-size: 10px;
}


/* =========================================================
   5. CBST 특징 (4대 특징)
   ========================================================= */

.cbst-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cbst-feat-item {
  background: #fff;
  border-radius: 14px;
  padding: 28px 18px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.08);
  border-bottom: 4px solid #1a3a5c;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.cbst-feat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 58, 92, 0.14);
  border-color: #2e7d32;
}

.cbst-feat-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #d4f0dc, #eafaf0);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.2s, transform 0.2s;
}

.cbst-feat-item:hover .cbst-feat-icon {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  transform: scale(1.08) rotate(-3deg);
}

.cbst-feat-icon svg {
  width: 34px;
  height: 34px;
  stroke: #2e7d32;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

.cbst-feat-item:hover .cbst-feat-icon svg {
  stroke: #fff;
}

.cbst-feat-label {
  font-size: 18px;
  font-weight: 900;
  color: #1a3a5c;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cbst-feat-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}


/* =========================================================
   6. HOW 카드
   ========================================================= */

.cbst-how-card {
  background: #e8f4fd;
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}

.cbst-how-card img {
  display: block;
  max-width: 100%;
  margin: 20px auto 0;
  border-radius: 8px;
}

.cbst-how-card p {
  margin: 20px auto 0;
  color: #444;
  font-size: 14.5px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
}


/* =========================================================
   7. 사례 카드
   ========================================================= */

.cbst-case-card {
  background: #fff8f8;
  border: 1.5px solid #ffcccc;
  border-radius: 12px;
  padding: 28px;
}

.cbst-case-alert {
  color: #c62828;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 18px;
}

.cbst-case-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: stretch;
}

.cbst-case-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.cbst-case-inner ul {
  list-style: none;
}

.cbst-case-inner ul li {
  font-size: 14px;
  color: #444;
  padding: 12px 0 12px 20px;
  position: relative;
  border-bottom: 1px dashed #f0e0e0;
  line-height: 1.7;
}

.cbst-case-inner ul li:last-child {
  border-bottom: none;
}

.cbst-case-inner ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #c62828;
  font-size: 15px;
  top: 6px;
}

.cbst-case-inner ul li.em {
  font-weight: 700;
  color: #1a3a5c;
}


/* =========================================================
   8. CBST 비교 테이블
   ========================================================= */

.cbst-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.09);
  margin-bottom: 30px;
}

.cbst-scroll-hint {
  display: none;
  font-size: 11px;
  color: #888;
  text-align: right;
  margin-bottom: 4px;
}

.cbst-table-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid #2d7dd2;
}

.cbst-cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
  border: 2px solid #1a3a5c;
}

.cbst-cmp-table thead tr:first-child th {
  background: #1a3a5c;
  color: #fff;
  padding: 13px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cbst-cmp-table thead tr:first-child th:not(:first-child) {
  border-left: 2px solid rgba(255, 255, 255, 0.4);
}

.cbst-cmp-table thead tr:last-child th {
  background: #2a5080;
  color: #fff;
  padding: 9px 8px;
  text-align: center;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid #1a3a5c;
}

.cbst-cmp-table thead th.bh {
  background: #b71c1c;
}

.cbst-cmp-table thead th.ah {
  background: #1b5e20;
}

.cbst-cmp-table tbody tr {
  border-bottom: 1px solid #c8d8ee;
}

.cbst-cmp-table tbody tr:last-child {
  border-bottom: none;
}

.cbst-cmp-table tbody tr:nth-child(even) td,
.cbst-cmp-table tbody tr:nth-child(even) th {
  background: #f0f5ff;
}

.cbst-cmp-table tbody th.row-h {
  padding: 10px 14px;
  font-weight: 700;
  color: #1a3a5c;
  background: #deeaf8;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap;
  border-right: 3px solid #1a3a5c;
  font-size: 13px;
  padding: 0 12px !important;
}

.cbst-cmp-table tbody td {
  padding: 10px 8px;
  text-align: center;
  border: 1px solid #c0cfe8;
  vertical-align: middle;
}

.cbst-cmp-table tbody td .img-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid transparent;
  background: #f5f7fa;
}

.cbst-cmp-table tbody td .img-circle img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  margin: -10% 0 0 -10%;
  border-radius: 0;
}

/* 비살균 / 살균 헤더 색상 */
.cbst-cmp-table thead tr:last-child th.bh {
  background: #eaf2ff;
  color: #c62828;
  font-weight: 700;
  border-right: 1px solid #11187a;
}

.cbst-cmp-table thead tr:last-child th.ah {
  background: #eaf2ff;
  color: #1a5fd0;
  font-weight: 700;
}

/* 아이콘 */
.cbst-cmp-table thead tr:last-child th.bh::before {
  content: "⚠";
  color: #c62828;
  font-weight: 900;
  margin-right: 6px;
}

.cbst-cmp-table thead tr:last-child th.ah::before {
  content: "✓";
  color: #1a5fd0;
  font-weight: 900;
  margin-right: 6px;
}

/* 검사 항목 헤더 가운데 정렬 */
.cbst-cmp-table thead th:first-child {
  text-align: center !important;
  vertical-align: middle !important;
}

/* 빨간 테두리 */
.cbst-cmp-table thead tr:first-child th:nth-child(n+2) {
  border-top: 3px solid #c62828 !important;
}

.cbst-cmp-table thead tr:first-child th:nth-child(2),
.cbst-cmp-table thead tr:first-child th:nth-child(3),
.cbst-cmp-table thead tr:first-child th:nth-child(4) {
  border-left: 3px solid #c62828 !important;
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table thead tr:last-child th:nth-child(1) {
  border-left: 3px solid #c62828 !important;
}

.cbst-cmp-table thead tr:last-child th:nth-child(2) {
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table thead tr:last-child th:nth-child(3) {
  border-left: 3px solid #c62828 !important;
}

.cbst-cmp-table thead tr:last-child th:nth-child(4) {
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table thead tr:last-child th:nth-child(5) {
  border-left: 3px solid #c62828 !important;
}

.cbst-cmp-table thead tr:last-child th:nth-child(6) {
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table tbody th.row-h {
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table tbody td:nth-child(3) {
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table tbody td:nth-child(4) {
  border-left: 3px solid #c62828 !important;
}

.cbst-cmp-table tbody td:nth-child(5) {
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table tbody td:nth-child(6) {
  border-left: 3px solid #c62828 !important;
}

.cbst-cmp-table tbody td:nth-child(7) {
  border-right: 3px solid #c62828 !important;
}

.cbst-cmp-table tbody tr:last-child td:nth-child(2),
.cbst-cmp-table tbody tr:last-child td:nth-child(3),
.cbst-cmp-table tbody tr:last-child td:nth-child(4),
.cbst-cmp-table tbody tr:last-child td:nth-child(5),
.cbst-cmp-table tbody tr:last-child td:nth-child(6),
.cbst-cmp-table tbody tr:last-child td:nth-child(7) {
  border-bottom: 3px solid #c62828 !important;
}

/* 살균 전 데이터 구분선 */
.cbst-cmp-table tbody td:nth-child(2),
.cbst-cmp-table tbody td:nth-child(4),
.cbst-cmp-table tbody td:nth-child(6) {
  border-right: 1px solid #1f5a35;
}

/* 이미지 테두리 */
.cbst-cmp-table tbody td:nth-child(2) .img-circle,
.cbst-cmp-table tbody td:nth-child(4) .img-circle,
.cbst-cmp-table tbody td:nth-child(6) .img-circle {
  border: 2px solid #c62828;
}

.cbst-cmp-table tbody td:nth-child(3) .img-circle,
.cbst-cmp-table tbody td:nth-child(5) .img-circle,
.cbst-cmp-table tbody td:nth-child(7) .img-circle {
  border: 2px solid #1a5fd0;
}


/* =========================================================
   9. 살균 포장 / 성적서
   ========================================================= */

/* ---- 살균포장 1행 레이아웃 ---- */
.cbst-pack-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.08);
  padding: 28px;
  border: 1.5px solid #e0eaf6;
}

.cbst-pack-full-info,
.cbst-pack-full-certs {
  min-width: 0;
}

.cbst-pack-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 4px;
}

.cbst-pack-inner-img {
  width: 140px;
  flex-shrink: 0;
  border-radius: 7px;
}

.cbst-pack-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f4fd;
}

.cbst-pack-list {
  list-style: none;
}

.cbst-pack-list li {
  font-size: 13.5px;
  color: #444;
  padding: 7px 0 7px 20px;
  position: relative;
  border-bottom: 1px dashed #eee;
  line-height: 1.65;
}

.cbst-pack-list li:last-child {
  border-bottom: none;
}

.cbst-pack-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2e7d32;
  font-weight: 700;
}

.cbst-pack-cert-imgs {
  display: flex;
  gap: 10px;
}

.cbst-pack-cert-imgs img {
  flex: 1;
  min-width: 0;
  border: 1px solid #dde3ec;
  border-radius: 6px;
}

/* ---- 살균성적서 : 살균포장과 동일 톤 ---- */
.cbst-cert-single {
  text-align: center;
}

.cbst-cert-single-img {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  border: 1px solid #dde3ec;
  border-radius: 8px;
}

/* 외부기관성적서 : PC에서는 2개 가로 */
.cbst-cert-double {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center;
  align-items: start;
  gap: 20px;
}

.cbst-cert-double-item {
  width: 220px;
  max-width: 100%;
  text-align: center;
}

.cbst-cert-double-item img {
  display: block;
  width: 100%;
  border: 1px solid #dde3ec;
  border-radius: 8px;
}

.cbst-cert-cap {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
}


/* =========================================================
   10. CBST+ 소개 카드
   ========================================================= */

.cbstp-intro-card {
  background: linear-gradient(135deg, #1a4a2e, #2e8b57);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 6px 24px rgba(26, 74, 46, 0.18);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cbstp-intro-card::after {
  content: '+';
  position: absolute;
  right: 24px;
  bottom: -24px;
  font-size: 140px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  line-height: 1;
}

.cbstp-intro-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.cbstp-intro-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
  line-height: 1.75;
}

.cbstp-feat-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cbstp-feat-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   11. CBST+ 비교표
   ========================================================= */

.cbstp-cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
  border: 2px solid #1a4a2e;
}

.cbstp-cmp-table thead tr:first-child th {
  background: #1a4a2e;
  color: #fff;
  padding: 13px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cbstp-cmp-table thead tr:first-child th:not(:first-child) {
  border-left: 2px solid rgba(255, 255, 255, 0.4);
}

.cbstp-cmp-table thead tr:last-child th {
  background: #2a6040;
  color: #fff;
  padding: 9px 8px;
  text-align: center;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid #1a4a2e;
}

.cbstp-cmp-table thead th.bh {
  background: #b71c1c;
}

.cbstp-cmp-table thead th.ah {
  background: #1b5e20;
}

.cbstp-cmp-table tbody tr {
  border-bottom: 1px solid #b8d8c4;
}

.cbstp-cmp-table tbody tr:last-child {
  border-bottom: none;
}

.cbstp-cmp-table tbody tr:nth-child(even) td,
.cbstp-cmp-table tbody tr:nth-child(even) th {
  background: #f0faf4;
}

.cbstp-cmp-table tbody th.row-h {
  padding: 10px 14px;
  font-weight: 700;
  color: #1a4a2e;
  background: #d4edd9;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap;
  border-right: 3px solid #1a4a2e;
  font-size: 13px;
  padding: 0 12px !important;
}

.cbstp-cmp-table tbody td {
  padding: 10px 8px;
  text-align: center;
  border: 1px solid #b8d4c0;
  vertical-align: middle;
}

.cbstp-cmp-table tbody td .img-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid transparent;
  background: #f4f8f5;
}

.cbstp-cmp-table tbody td .img-circle img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  margin: -10% 0 0 -10%;
  border-radius: 0;
}

.cbst-table-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

/* 비살균 / 살균 헤더 색상 */
.cbstp-cmp-table thead tr:last-child th.bh {
  background: #edf8f0;
  color: #c62828;
  font-weight: 700;
  border-right: 1px solid #1f5a35;
}

.cbstp-cmp-table thead tr:last-child th.ah {
  background: #edf8f0;
  color: #1a5fd0;
  font-weight: 700;
}

/* 아이콘 */
.cbstp-cmp-table thead tr:last-child th.bh::before {
  content: "⚠";
  color: #c62828;
  font-weight: 900;
  margin-right: 6px;
}

.cbstp-cmp-table thead tr:last-child th.ah::before {
  content: "✓";
  color: #1a5fd0;
  font-weight: 900;
  margin-right: 6px;
}

/* 검사 항목 헤더 가운데 정렬 */
.cbstp-cmp-table thead th:first-child {
  text-align: center !important;
  vertical-align: middle !important;
}

/* 빨간 테두리 */
.cbstp-cmp-table thead tr:first-child th:nth-child(n+2) {
  border-top: 3px solid #c62828 !important;
}

.cbstp-cmp-table thead tr:first-child th:nth-child(2),
.cbstp-cmp-table thead tr:first-child th:nth-child(3),
.cbstp-cmp-table thead tr:first-child th:nth-child(4) {
  border-left: 3px solid #c62828 !important;
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table thead tr:last-child th:nth-child(1) {
  border-left: 3px solid #c62828 !important;
}

.cbstp-cmp-table thead tr:last-child th:nth-child(2) {
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table thead tr:last-child th:nth-child(3) {
  border-left: 3px solid #c62828 !important;
}

.cbstp-cmp-table thead tr:last-child th:nth-child(4) {
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table thead tr:last-child th:nth-child(5) {
  border-left: 3px solid #c62828 !important;
}

.cbstp-cmp-table thead tr:last-child th:nth-child(6) {
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table tbody th.row-h {
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table tbody td:nth-child(3) {
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table tbody td:nth-child(4) {
  border-left: 3px solid #c62828 !important;
}

.cbstp-cmp-table tbody td:nth-child(5) {
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table tbody td:nth-child(6) {
  border-left: 3px solid #c62828 !important;
}

.cbstp-cmp-table tbody td:nth-child(7) {
  border-right: 3px solid #c62828 !important;
}

.cbstp-cmp-table tbody tr:last-child td:nth-child(2),
.cbstp-cmp-table tbody tr:last-child td:nth-child(3),
.cbstp-cmp-table tbody tr:last-child td:nth-child(4),
.cbstp-cmp-table tbody tr:last-child td:nth-child(5),
.cbstp-cmp-table tbody tr:last-child td:nth-child(6),
.cbstp-cmp-table tbody tr:last-child td:nth-child(7) {
  border-bottom: 3px solid #c62828 !important;
}

/* 살균 전 데이터 구분선 */
.cbstp-cmp-table tbody td:nth-child(2),
.cbstp-cmp-table tbody td:nth-child(4),
.cbstp-cmp-table tbody td:nth-child(6) {
  border-right: 1px solid #1f5a35;
}

/* 이미지 테두리 */
.cbstp-cmp-table tbody td:nth-child(2) .img-circle,
.cbstp-cmp-table tbody td:nth-child(4) .img-circle,
.cbstp-cmp-table tbody td:nth-child(6) .img-circle {
  border: 2px solid #c62828;
}

.cbstp-cmp-table tbody td:nth-child(3) .img-circle,
.cbstp-cmp-table tbody td:nth-child(5) .img-circle,
.cbstp-cmp-table tbody td:nth-child(7) .img-circle {
  border: 2px solid #1a5fd0;
}


/* =========================================================
   12. CBST+ 성분 분석 Proof 카드
   ========================================================= */

.cbstp-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cbstp-proof-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(26, 74, 46, 0.09);
  border-top: 5px solid #2e8b57;
}

.cbstp-proof-card.gold {
  border-top-color: #d4a017;
  background: linear-gradient(160deg, #fffdf0, #fff);
}

.cbstp-proof-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cbstp-proof-check {
  width: 30px;
  height: 30px;
  background: #2e8b57;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.cbstp-proof-card.gold .cbstp-proof-check {
  background: #d4a017;
}

.cbstp-proof-head h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a4a2e;
}

.cbstp-proof-badge {
  margin-left: auto;
  background: #e8f5ee;
  color: #2e8b57;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 10px;
  border: 1px solid #c8f0d8;
}

.cbstp-proof-card.gold .cbstp-proof-badge {
  background: #fff8e0;
  color: #d4a017;
  border-color: #f0d060;
}

.cbstp-proof-desc {
  font-size: 13.5px;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.7;
}

.cbstp-proof-table-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #555;
  margin-bottom: 7px;
  padding-left: 9px;
  border-left: 3px solid #2e8b57;
}

.cbstp-proof-card.gold .cbstp-proof-table-title {
  border-left-color: #d4a017;
}

.cbstp-proof-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  border: 2px solid #1a4a2e;
}

.cbstp-proof-table thead th {
  background: #1a4a2e;
  color: #fff;
  padding: 9px 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cbstp-proof-table thead th .sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
  display: block;
}

.cbstp-proof-table tbody tr {
  border-bottom: 1px solid #c0dcc8;
}

.cbstp-proof-table tbody tr:last-child {
  border-bottom: none;
}

.cbstp-proof-table tbody tr:nth-child(even) {
  background: #f0faf4;
}

.cbstp-proof-table tbody th {
  padding: 8px 10px;
  font-size: 12px;
  color: #1a4a2e;
  text-align: left;
  background: #eaf5ee;
  border-right: 1px solid #c0dcc8;
  white-space: nowrap;
}

.cbstp-proof-table tbody td {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid #c0dcc8;
}

.cbstp-proof-table tbody td:last-child {
  border-left: 1px solid #c0dcc8;
}

.cbstp-proof-table td.badge {
  background: #d4f0dc;
  color: #1b5e20;
  font-weight: 700;
  font-size: 11.5px;
}

.cbstp-proof-table td.proof-badge {
  background: #d4f0dc;
  color: #1b5e20;
  font-weight: 700;
  font-size: 11.5px;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
}

.cbstp-proof-footnote {
  font-size: 11.5px;
  color: #888;
  margin-top: 7px;
}


/* =========================================================
   13. 카테킨 설명 박스
   ========================================================= */

.cbstp-catechin-box {
  margin-top: 22px;
  background: #f4fbf6;
  border: 1.5px solid #c8e8d0;
  border-radius: 9px;
  padding: 18px;
}

.cbstp-catechin-box p.label {
  font-size: 13px;
  font-weight: 700;
  color: #1a4a2e;
  margin-bottom: 7px;
}

.cbstp-catechin-box p.desc {
  font-size: 13px;
  color: #555;
  line-height: 1.75;
}


/* =========================================================
   14. CBST vs CBST+ 고급 비교표
   ========================================================= */

.cbstx-sec {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 60px;
  box-sizing: border-box;
}

.cbstx-head {
  text-align: center;
  margin-bottom: 30px;
}

.cbstx-title {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #2b2b2b;
}

.cbstx-desc {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  word-break: keep-all;
}

.cbstx-table-wrap {
  background: #fff;
  border: 1px solid #dde5ec;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(26, 58, 91, 0.08);
}

.cbstx-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.cbstx-table thead th {
  padding: 24px 18px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid #dde5ec;
}

.cbstx-table thead th:first-child {
  background: #f7f9fc;
  color: #2b2b2b;
  text-align: center;
  vertical-align: middle;
}

.cbstx-table thead th.is-cbst {
  background: linear-gradient(135deg, #3f7fc5 0%, #7fb2e7 100%);
  color: #fff;
}

.cbstx-table thead th.is-cbstp {
  background: linear-gradient(135deg, #56a96e 0%, #9ed17d 100%);
  color: #fff;
}

.cbstx-table thead .label {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.cbstx-table thead small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.95;
}

.cbstx-table tbody th {
  background: #fbfcfe;
  color: #2f3a45;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  padding: 24px 16px;
  border-bottom: 1px solid #e9eef3;
}

.cbstx-table tbody td {
  background: #fff;
  padding: 18px;
  border-bottom: 1px solid #e9eef3;
  vertical-align: middle;
}

.cbstx-table tbody tr:last-child th,
.cbstx-table tbody tr:last-child td {
  border-bottom: none;
}

.cbstx-table tbody td:nth-child(2) {
  border-left: 1px solid #eef2f6;
  border-right: 1px solid #eef2f6;
}

.cbstx-table tbody td:nth-child(3) {
  background: #fcfffc;
}

.cbstx-cell {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  word-break: keep-all;
}

.cbstx-cell strong {
  font-weight: 800;
  color: #2b2b2b;
}

.point-row th {
  background: #f6f9fd;
}

.point-row td {
  background: #fbfdff;
}

.point-row td:last-child {
  background: #f9fdf9;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}

.badge-blue {
  background: #eaf3fd;
  color: #2b66a0;
  border: 1px solid #cfe1f4;
}

.badge-green {
  background: #edf8ef;
  color: #2f7e47;
  border: 1px solid #d0ead7;
}

.cbstx-table tbody tr:hover th {
  background: #f3f7fb;
}

.cbstx-table tbody tr:hover td {
  background: #fafcff;
}

.cbstx-table tbody tr:hover td:last-child {
  background: #f5fbf6;
}


/* =========================================================
   15. 기타 공통 요소
   ========================================================= */

.tac.bg_gray p {
  margin: 12px 0;
  line-height: 1.8;
}


/* =========================================================
   16. 반응형
   ========================================================= */

@media (max-width: 900px) {
  .cbstx-sec {
    margin: 60px auto;
    padding: 0 16px;
  }

  .cbstx-title {
    font-size: 28px;
  }

  .cbstx-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  /* 비교표 카드형 전환 */
  .cbstx-table-wrap {
    overflow: visible;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .cbstx-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .cbstx-table thead {
    display: none;
  }

  .cbstx-table,
  .cbstx-table tbody,
  .cbstx-table tr,
  .cbstx-table th,
  .cbstx-table td {
    display: block;
    width: 100%;
  }

  .cbstx-table tr {
    margin-bottom: 16px;
    border: 1px solid #dfe6ee;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(26, 58, 92, 0.06);
  }

  .cbstx-table tbody th {
    background: #f5f7fa;
    color: #24364b;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    padding: 14px 16px;
    border-bottom: 1px solid #e6edf3;
    vertical-align: middle;
  }

  .cbstx-table tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f6;
    background: #fff !important;
  }

  .cbstx-table tbody td:last-child {
    border-bottom: none;
  }

  .cbstx-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 58px;
    font-size: 13px;
    font-weight: 700;
    color: #5b6b7e;
    line-height: 1.5;
    text-align: left;
  }

  .cbstx-cell {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    min-height: auto;
    text-align: right;
    font-size: 14px;
    line-height: 1.6;
    color: #2b2b2b;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .cbstx-cell strong {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    word-break: keep-all;
  }

  .badge {
    display: inline-block;
    max-width: 100%;
    font-size: 12px;
    padding: 8px 12px;
    white-space: normal;
    word-break: keep-all;
    line-height: 1.5;
    text-align: center;
    border-radius: 999px;
  }

  .point-row td {
    background: #fff !important;
  }

  .cbst-feat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cbst-feat-item {
    padding: 18px 14px;
  }

  .cbst-how-card {
    padding: 16px;
  }

  .cbst-case-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cbst-case-inner img {
    max-width: 240px;
    margin: 0 auto;
    display: block;
  }

  .cbst-scroll-hint {
    display: block;
  }

  .cbst-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cbst-cmp-table {
    min-width: 560px;
    font-size: 11px;
  }

  .cbst-cmp-table thead th {
    padding: 7px 4px;
    font-size: 11px;
  }

  .cbst-cmp-table tbody th.row-h {
    font-size: 12px;
    padding: 8px 6px;
    min-width: 60px;
  }

  .cbst-cmp-table tbody td {
    padding: 8px 4px;
  }

  .cbst-cmp-table tbody td .img-circle {
    width: 48px;
    height: 48px;
  }

  .cbstp-cmp-table {
    min-width: 480px;
    font-size: 11px;
  }

  .cbstp-cmp-table thead th {
    padding: 7px 4px;
    font-size: 11px;
  }

  .cbstp-cmp-table tbody td {
    padding: 8px 4px;
  }

  .cbstp-cmp-table tbody td .img-circle {
    width: 48px;
    height: 48px;
  }

  .cbst-pack-full {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cbst-pack-inner {
    flex-direction: column;
    gap: 12px;
  }

  .cbst-pack-inner-img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .cbst-pack-cert-imgs {
    flex-direction: column;
    gap: 10px;
  }

  .cbst-pack-cert-imgs img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }

  .cbst-cert-double {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 10px;
  }

  .cbst-cert-double-item {
    width: 100%;
  }

  .cbstp-proof-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .cbstp-proof-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px 16px;
    overflow: hidden;
  }

  .cbstp-proof-table {
    font-size: 11.5px;
  }

  .cbstp-proof-table th,
  .cbstp-proof-table td {
    padding: 7px 6px;
  }
}

@media (max-width: 800px) {
  .cbst-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cbst-tab-wrap {
    padding: 12px 10px 0;
  }

  .cbst-tab-nav {
    gap: 4px;
  }

  .cbst-tab-nav a {
    padding: 12px 10px 16px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
  }

  .cbst-tab-nav a .tab-main {
    font-size: 13px;
    text-align: center;
  }

  .cbst-tab-nav a .tab-sub {
    display: none;
  }

  .cbst-tab-nav a .tab-badge {
    font-size: 9px;
    padding: 1px 6px;
  }

  .cbst-sec {
    padding: 32px 0;
  }

  .cbst-sec > .init {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cbst-sec-head {
    margin-bottom: 24px;
  }

  .cbst-sec-head h3 {
    font-size: 20px;
  }

  .cbst-feat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cbst-feat-item {
    padding: 18px 14px;
  }

  .cbst-how-card {
    padding: 16px;
  }

  .cbst-case-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cbst-case-inner img {
    max-width: 240px;
    margin: 0 auto;
    display: block;
  }

  .cbst-scroll-hint {
    display: block;
  }

  .cbst-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cbst-cmp-table {
    min-width: 560px;
    font-size: 11px;
  }

  .cbst-cmp-table thead th {
    padding: 7px 4px;
    font-size: 11px;
  }

  .cbst-cmp-table tbody th.row-h {
    font-size: 12px;
    padding: 8px 6px;
    min-width: 60px;
  }

  .cbst-cmp-table tbody td {
    padding: 8px 4px;
  }

  .cbst-cmp-table tbody td .img-circle {
    width: 48px;
    height: 48px;
  }

  .cbstp-cmp-table {
    min-width: 480px;
    font-size: 11px;
  }

  .cbstp-cmp-table thead th {
    padding: 7px 4px;
    font-size: 11px;
  }

  .cbstp-cmp-table tbody td {
    padding: 8px 4px;
  }

  .cbstp-cmp-table tbody td .img-circle {
    width: 48px;
    height: 48px;
  }

  .cbst-pack-full {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cbst-pack-inner {
    flex-direction: column;
    gap: 12px;
  }

  .cbst-pack-inner-img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .cbst-pack-cert-imgs {
    flex-direction: column;
    gap: 10px;
  }

  .cbst-pack-cert-imgs img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }

  .cbst-cert-double {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 10px;
  }

  .cbst-cert-double-item {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cbst-case-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cbst-feat-grid {
    grid-template-columns: 1fr;
  }

  .cbst-tab-nav a .tab-main {
    font-size: 12px;
  }

  .cbst-sec-head h3 {
    font-size: 18px;
  }

  .cbst-cmp-table {
    min-width: 480px;
  }

  .cbst-cert-double {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cbst-cert-double-item {
    max-width: 260px;
  }

  .cbstx-table tbody td {
    display: block;
    padding: 14px 16px;
  }

  .cbstx-table tbody td::before {
    display: block;
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    color: #5b6b7e;
    margin-bottom: 6px;
    text-align: left;
  }

  .cbstx-cell {
    display: block;
    width: 100%;
    min-width: 0;
    text-align: left;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.6;
  }

  .cbstx-cell strong {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .badge {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-align: center;
  }
}
