/* =============================================================================
   지원금 비교표 — 메인(index.php)과 같은 디자인으로 통일  (2026-11-26)
   -----------------------------------------------------------------------------
   · 인터넷·TV·유심(includes/internet_landing.php)은 /v4/css/* 를 함께 불러와서
     비교표의 필터·표·버튼·안내문 글씨가 v4 톤(#444 · 13.5px · 검정 버튼)으로
     덮여 있었다. 이 파일은 그 영역만 메인(css/shop.css) 값으로 되돌린다.
   · /v4/css/* 는 v4 화면이 쓰는 파일이라 손대지 않는다. (이 파일 하나만 추가)
   · 이 파일은 internet_landing.php <head> 에서 맨 마지막에 불러온다.
     → 같은 선택자면 뒤에 온 이 파일이 이긴다. (v4 쪽 !important 도 이긴다)
   ============================================================================= */

/* 0) 폭 — 메인과 같은 1320px 컨테이너 (v4-width-1200.css 의 넓은 폭 되돌림) */
#policyCompareSection.sf-policy-compare .sf-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
/* 인터넷·TV·유심은 페이지 자체 컨테이너(.v4-inner 1040px) 폭을 그대로 쓴다 —
   오른쪽 고정 요약 패널(.tn-panel)과 겹치지 않게. */
.v4-inner > #policyCompareSection.sf-policy-compare .sf-wrap {
  max-width: none;
  padding: 0;
}

/* 0-1) 06 섹션 번호 배지 — v4 의 .tn-num 자리를 메인 톤으로 */
.sf-policy-compare .sf-pc-num {
  display: inline-block;
  min-width: 22px;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #0b1220;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  vertical-align: 1px;
}

/* 0-2) 제목 오른쪽 버튼(계산기로 직접 계산 ↑) — 링크(.sf-more)와 같은 모양 */
.sf-policy-compare button.sf-more--btn {
  flex: 0 0 auto;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--sf-line, #e6eaf0);
  border-radius: 0;
  padding: 0 0 2px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--sf-ink-2, #334155);
  cursor: pointer;
}
.sf-policy-compare button.sf-more--btn:hover {
  color: var(--sf-brand, #2563eb);
  border-color: var(--sf-brand, #2563eb);
}

/* 0-3) 제목·부제 — v4 톤(24px/700)으로 덮이는 것을 메인 값으로 */
#policyCompareSection .sf-sec-head h2 {
  margin: 8px 0 0 !important;
  font-size: clamp(22px, 2.6vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  line-height: 1.28 !important;
  color: #0b1220 !important;
}
#policyCompareSection .sf-sec-head p {
  margin: 10px 0 0 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #475569 !important;
}
#policyCompareSection .sf-eyebrow {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #2563eb !important;
  letter-spacing: .04em !important;
}

/* 1) 통신사·속도 필터 버튼 */
#policyCompareSection .filter-btn {
  height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid #e6eaf0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #475569 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
#policyCompareSection .filter-btn:hover {
  border-color: #0b1220 !important;
  background: #fff !important;
  color: #0b1220 !important;
}
#policyCompareSection .filter-btn.active {
  background: #0b1220 !important;
  border-color: #0b1220 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 107, 0, .3) !important;
}

/* 2) 필터 라벨(통신사 / 속도) */
#policyCompareSection .sf-filter-label {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #7b8794 !important;
  letter-spacing: .04em !important;
}

/* 3) 비교표 글씨 */
#policyCompareSection #policyDynamicRenderArea td {
  color: #334155 !important;
}
#policyCompareSection #policyDynamicRenderArea tbody td {
  font-size: 15px !important;
}
#policyCompareSection #policyDynamicRenderArea td.carrier-cell {
  background: #fbfcfd !important;
  color: #334155 !important;
  font-weight: 700 !important;
}
#policyCompareSection #policyDynamicRenderArea th {
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
}

/* 4) 표 안 [가입신청] · [상담문의] */
#policyCompareSection #policyDynamicRenderArea td button,
#policyCompareSection #policyDynamicRenderArea td a {
  font-size: 12px !important;
}
#policyCompareSection #policyDynamicRenderArea td button[onclick*="openPolicyInlineApply"] {
  background: #2563eb !important;
  background-color: #2563eb !important;
  border: 1px solid #2563eb !important;
  border-color: #2563eb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 800 !important;
}

/* 5) 표 아래 안내문 */
#policyCompareSection .sf-note {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: #7b8794 !important;
  line-height: 1.6 !important;
}

/* 6) 모바일 — v4 카드형 변환이 걸려도 메인과 같은 톤 유지 */
@media (max-width: 900px) {
  #policyCompareSection.sf-policy-compare .sf-wrap {
    padding: 0 16px;
  }
  #policyCompareSection .filter-btn {
    height: 32px !important;
    font-size: 12px !important;
  }
}

/* 7) TOP3 순위 표식 — 랜딩의 이모지 정리 스크립트가 🥇🥈🥉 를 1·2·3 으로 바꿔 두어
      메인(메달)과 달라 보이던 것을 메인과 같게 되돌린다. (표시만) */
#policyCompareSection .benefit-rank-card > div:first-child > div:first-child {
  font-size: 0 !important;
}
#policyCompareSection .benefit-rank-card > div:first-child > div:first-child::before {
  font-size: 24px;
}
#policyCompareSection .benefit-rank-card:nth-child(1) > div:first-child > div:first-child::before { content: '🥇'; }
#policyCompareSection .benefit-rank-card:nth-child(2) > div:first-child > div:first-child::before { content: '🥈'; }
#policyCompareSection .benefit-rank-card:nth-child(3) > div:first-child > div:first-child::before { content: '🥉'; }
/* 8) 유심 요금제 선택 박스 — 메인(css/shop.css)과 똑같이  (2026-11-26 사용자 승인)
   ----------------------------------------------------------------------------
   · 인터넷 페이지는 /v4/css/telecom.css 의
     `#policyDynamicRenderArea .usim-plan-select{border:1px solid #e3e5e9!important;
      background:#fff!important}` 가 덮어써 테두리가 거의 안 보이고 ∨ 화살표(배경이미지)
     까지 지워져 글자만 남아 있었다. 메인과 같은 값으로 되돌린다.
   · v4/css/* 는 손대지 않고 이 파일(맨 마지막 로드)에서만 덮는다. 값은 shop.css 와 동일.
   ============================================================================ */
#policyCompareSection #policyDynamicRenderArea .usim-plan-select {
  -webkit-appearance: none !important;
  appearance: none !important;
  min-width: 132px !important;
  padding: 7px 30px 7px 10px !important;
  border: 1.5px solid #94a3b8 !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23334155' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  color: #0b1220 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer;
}
#policyCompareSection #policyDynamicRenderArea .usim-plan-select:hover { border-color: #1e293b !important; }
#policyCompareSection #policyDynamicRenderArea .usim-plan-select:focus {
  outline: 2px solid rgba(37, 99, 235, .3) !important;
  border-color: #2563eb !important;
}
