/* ============================================================================
   루트 인터넷·TV·유심 페이지 전용 v4 스타일 (2026-11-26 분리)
   ----------------------------------------------------------------------------
   · 원래 includes/internet_landing.php 의 <head> 가 /v4/css/* 를 5개 불러왔다.
     그러면 루트 화면이 /v4 폴더의 CSS 에 묶여, V4(internet.php)와 루트를 따로
     고칠 수 없었다. 그래서 그 5개 파일을 **순서·내용 그대로** 이 파일 하나로 옮겼다.
   · 순서(그대로 유지): main.css -> shop.css -> new-main.css -> telecom.css -> v4-width-1200.css
   · 다른 것은 한 곳뿐: telecom.css 의 로고 이미지 url(../assets/temo-logo.png) 만
     이 파일 기준(css/assets/temo-logo.png)으로 바꿨다. 나머지는 바이트 그대로.
   · /v4/css/* 는 손대지 않는다 — /v4/internet.php · v4 화면이 계속 그 파일을 쓴다.
   ============================================================================ */

/* ===== v4/css/main.css (원문 그대로) ===== */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-color: #ffb703;
  --dark-bg: #0f172a;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-sub: #3d444d;
  --border-color: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

body {
  background: #f8fafc;
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 95px !important; 
}

/* ==========================================================
   1. Header & Menu (사장님 최적화 스탠다드 버전)
   ========================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.menu-nav {
  background: #fff;
  border-top: 1px solid #f1f5f9;
  padding: 10px 0;
}

.menu {
  display: flex !important;
  justify-content: space-between !important; /* 👈 사장님이 원하신 양 끝 균등 배치 유지 */
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu a {
  text-decoration: none;
  color: #475569;
  background: #f1f5f9;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.menu a:hover, .menu a.active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.menu a.menu-home {
  background: #1e293b;
  color: #fff;
}
.menu a.menu-home:hover {
  background: #0f172a;
}

.menu a.menu-flyer {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}
.menu a.menu-flyer:hover {
  background: linear-gradient(135deg, #be123c, #e11d48);
}

/* 💡 대기업 표준 햄버거 버튼 (비틀어짐/내려감 현상 완벽 제거) */
.hamburger-btn {
  display: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: all 0.2s ease;
}

.hamburger-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* 햄버거 아이콘 심볼 (☰ 모양 고정 및 깔끔한 변환) */
.hamburger-icon {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.hamburger-btn.active {
  background: #2563eb !important;
  border-color: #2563eb !important;
}

.hamburger-btn.active .hamburger-icon {
  color: #ffffff !important;
}

/* 모바일 메뉴 펼쳐짐 애니메이션 (아래로 처지지 않고 자연스럽게 슬라이드 다운) */
@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between !important;
    padding: 10px 12px !important;
  }
  .hamburger-btn {
    display: flex !important;
  }
  .menu-nav {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  }
  .menu-nav.active {
    display: block !important;
    animation: slideDown 0.2s ease-out forwards;
  }
  .menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 0 12px !important;
  }
  .menu a {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px !important;
    font-size: 14.5px !important;
    border-radius: 10px !important;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2. Hero Slider Section */
/* ==========================================================
   [메인 배너] background-size: cover 기반 1920x520 와이드 최적화
   ========================================================== */
.hero-slider-section {
  width: 100vw;
  height: 520px !important; /* PC 배너 세로 고정 */
  position: relative !important; /* 💡 내부 절대 배치 기준점 (여기에 추가 완료!) */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #0f172a;
}

.banner-slider-container {
  position: relative;
  width: 100%;
  height: 100% !important;
  overflow: hidden;
}

.banner-track {
  display: block; /* flex 대신 block으로 변경 */
  width: 100%;    /* 300% -> 100%로 수정 */
  height: 100% !important;
}

.banner-slide {
  width: 100%;    /* 33.333% -> 100%로 수정 */
  height: 100% !important;
  box-sizing: border-box;
}

/* 배경 이미지로 거실 인테리어를 꽉 채우는 스타일 */
.banner-item-single {
  width: 100%;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative;
}

/* 좌측 텍스트 오버레이 영역 */
.banner-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%; /* 좌측 텍스트 공간 확보 */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 80px;
  box-sizing: border-box;
  /* 우측 인테리어는 잘 보이게 두고, 좌측 글자는 가독성을 높이기 위해 은은한 그라데이션 적용 */
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.4) 10%, transparent 100%);
  z-index: 5;
}

/* 상단 뱃지 */
.banner-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* 메인 타이틀 */
.banner-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 47만원 강조 */
.banner-price-highlight {
  font-size: 56px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

/* CTA 버튼 */
.banner-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
  transition: all 0.2s ease;
}

.banner-cta-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

/* ==========================================================
   [신규 추가] 텍스트 탭바 + 컨트롤러 전용 스타일 (여기서부터 새로 교체/추가)
   ========================================================== */
.hero-tab-controls {
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  z-index: 20 !important;
  background: rgba(15, 23, 42, 0.75);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  max-width: 95%;
  box-sizing: border-box;
}

.slider-ctrl-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  color: #ffffff !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.slider-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

.banner-text-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.banner-text-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  font-family: 'Pretendard', sans-serif;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* 모바일 화면 대응 */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 340px !important;
  }
  .banner-content-overlay {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    background: rgba(15, 23, 42, 0.65);
    align-items: center;
    text-align: center;
  }
  .banner-main-title { font-size: 18px; }
  .banner-price-highlight { font-size: 25px !important; margin-bottom: 14px; }
  .banner-cta-btn { width: 100%; max-width: 220px; padding: 10px 16px; font-size: 14px; }
  
  .hero-tab-controls {
    bottom: 12px !important;
    padding: 6px 12px;
    width: 92%;
  }
  .tab-btn {
    font-size: 11.5px;
    padding: 5px 10px;
  }
  .slider-ctrl-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* 💡 슬라이드 하단 컨트롤러 스타일 (배너 내부 하단 고정) */
.slider-controls {
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  z-index: 20 !important;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}


.banner-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-dots .dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dots .dot.active {
  background-color: #fbbf24 !important;
  width: 24px;
  border-radius: 6px;
}

/* 모바일 화면 대응 (세로 높이 340px 고정) */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 340px !important;
  }
  .banner-content-overlay {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    background: rgba(15, 23, 42, 0.65);
    align-items: center;
    text-align: center;
  }
  .banner-main-title { font-size: 22px; }
  .banner-price-highlight { font-size: 38px; margin-bottom: 14px; }
  .banner-cta-btn { width: 100%; max-width: 220px; padding: 10px 16px; font-size: 14px; }
}

/* 3. Section Common */
.section {
  padding: 35px 20px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.title-wrap {
  text-align: center;
  margin-bottom: 25px;
}

.title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 4px;
}

/* 4. Carrier Grid */
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.carrier-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carrier-card.selected {
  background: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15) !important;
  transform: translateY(-4px);
}

.carrier-card.selected span {
  color: var(--primary-color) !important;
  font-weight: 800 !important;
}

.carrier-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}

.carrier-card img {
  width: 100%;
  height: 38px;
  object-fit: contain;
}

.carrier-card span {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

/* 5. 실시간 주문 현황판 (통합 정리) */
.live-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.realtime-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 16px;
  background: linear-gradient(90deg, #1e3799, #4a69bd);
  letter-spacing: 0.5px;
}

#realtime_panel_frame, #night_notice_panel {
    width: 100%;
    height: 350px;
    border: none;
    background: linear-gradient(135deg, #0a3d62, #3c6382);
    overflow: hidden;
    transition: all 0.4s ease;
}

#night_notice_panel {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* 6. 전단지 영역 */
.flyer-wrapper {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.flyer-container {
  width: 2580px;
  height: 2056px;
  background-image: url('https://topnet.kr/template_bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform-origin: top left;
  border-radius: 12px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.data-cell {
  position: absolute;
  font-family: 'Malgun Gothic', sans-serif;
  font-weight: 900;
  color: #111111;
  text-align: center;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrcode-box {
  position: absolute;
  top: 2.5%;
  left: 88%;
  width: 10%;
  z-index: 10;
}

#qrcode-box img,
#qrcode-box canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* 7. 가전 사은품 섹션 */
.gift-section-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.gift-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.gift-img-box {
  width: 100%;
  height: 150px;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-img-box img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important; /* 👈 0.4초 동안 아주 부드럽게(Smooth) 작동 */
}

.gift-card:hover .gift-img-box img {
    transform: scale(1.08) !important; /* 👈 8% 정도 부드럽게 확대 */
}

.gift-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.gift-model {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.gift-price {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through; /* 중간 가로선(취소선) 적용 */
    margin-bottom: 10px;
}

/* 통신사별 부담금 선택 영역 박스 */
.gift-carrier-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    background: #f8fafc;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.gift-carrier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #ffffff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.gift-carrier-row:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
}

/* 📌 [핵심 개선] 통신사별 부담금 금액 크기 및 강조 강화 */
.gift-carrier-price {
    font-size: 17px;
    font-weight: 900;
    color: #e11d48; /* 파격적인 혜택 강조 붉은 계열 */
}

/* 8. Contact Box */
.contact-box {
  width: 100%;
  max-width: 1200px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 24px;
  padding: 35px 20px;
  text-align: center;
  box-sizing: border-box;
  /* 💡 통신사의 세련된 느낌을 주는 입체 그림자 + 은은한 블루 빛 퍼짐 */
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2); /* 은은한 블루 테두리 */
  position: relative;
  overflow: hidden;
}

.contact-box h2 {
  font-size: 19px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
}

.contact-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent-color);
  letter-spacing: -1px;
}

/* 9. Floating Buttons */
.floating {
  position: fixed;
  right: 20px;
  bottom: 115px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.call { background: var(--primary-color); }
.reserve { background: #fee500; color: #191919 !important; }

/* 10. 하단 고정 빠른 상담 바 */
#quick-consult-bar-wrapper {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #3b59f6 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2) !important;
    z-index: 9998;
    padding: 10px 15px;
}

.quick-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.quick-bar-title h3 {
    margin: 0;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
}

.quick-bar-sub {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #e2e8f0;
}

.quick-bar-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.qb-input {
    flex: 1;
    min-width: 110px;
    height: 38px;
    padding: 0 10px;
    border: none;
    background: #ffffff;
    color: #0f172a;
    border-radius: 6px;
    font-size: 13.5px;
}

.qb-submit-btn {
    flex: 1;
    min-width: 120px;
    height: 38px;
    background: #facc15;
    color: #0f172a;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.quick-bar-agreement {
    max-width: 1200px;
    margin: 4px auto 0 auto;
    font-size: 11px;
    color: #ffffff;
    text-align: center;
}

/* 11. 최하단 브랜딩 푸터 */
.footer-brand {
  width: 100%;
  background: #090d16;
  color: #94a3b8;
  padding: 45px 20px 35px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffb703;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.brand-sub {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
}

.brand-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  margin-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu {
    justify-content: flex-start;
    padding: 0 10px;
  }
  .carrier-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .footer-brand {
    padding-bottom: 100px;
  }
}

@media (min-width: 900px) {
    .quick-bar-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    .quick-bar-form {
        flex: 2;
        justify-content: flex-end;
    }
}


/* =========================================================
   [복원 2] 3번 배너 슬라이드 입체 텍스트 및 Slide-Down 애니메이션
   ========================================================= */
.animated-overlay-text {
  position: absolute;
  top: 50%;
  left: 6%; 
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.banner-slide.active .animated-overlay-text {
  animation: slideDownText 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.25s;
}

@keyframes slideDownText {
  0% { opacity: 0; transform: translate(0, -90px); }
  100% { opacity: 1; transform: translate(0, -50%); }
}

.anim-line-1 {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 255, 255, 0.6);
}

.anim-line-2 {
  font-size: 76px;
  font-weight: 900;
  color: #fffdfa;
  letter-spacing: -1.5px;
  line-height: 1.1;
  text-shadow: 
    0 2px 0 #d97706, 
    0 4px 0 #b45309, 
    0 6px 10px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(255, 215, 0, 0.4);
}

.anim-line-3 {
  font-size: 30px;
  font-weight: 700;
  color: #fef08a;
  letter-spacing: -0.3px;
  margin-top: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .anim-line-1 { font-size: 13px; }
  .anim-line-2 { font-size: 23px; letter-spacing: -0.5px; }
  .anim-line-3 { font-size: 10px; margin-top: 2px; }
  .animated-overlay-text { left: 4%; gap: 2px; }
  
  #realtime_panel_frame, #night_notice_panel { 
      height: 180px; 
      padding: 12px 14px !important;
  }
  .night-notice-title {
      font-size: 14px !important;
      margin-bottom: 6px !important;
  }
  .night-notice-desc {
      font-size: 11.5px !important;
      line-height: 1.45 !important;
      word-break: keep-all; /* 단어 단위로 자연스럽게 줄바꿈 */
  }

  .contact-number { font-size: 32px; }
}

/* =========================================================
   [복원 3] 하단 상담바 셀렉트 화살표 및 푸터 저작권 디테일
   ========================================================= */
.qb-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}

.quick-bar-agreement label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.footer-copyright {
  font-size: 11px;
  color: #475569;
  letter-spacing: 0.5px;
}

/* =========================================================
   [복원 4] 전단지 A4 가로 인쇄 전용 스타일
   ========================================================= */
@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }
  body {
    background-color: white !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  header, .hero, .section:not(#flyer), #giftGridContainer, footer, .floating, #quick-consult-bar-wrapper, div:not(#flyerWrapper):not(#flyerBox):not(#flyerBox *) {
    display: none !important;
  }
  #flyerWrapper, .flyer-wrapper {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    visibility: visible !important;
  }
  #flyerBox, .flyer-container {
    display: block !important;
    box-shadow: none !important;
    transform: scale(1) !important;
    background-image: url('https://topnet.kr/template_bg.png') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 2580px !important;
    height: 2056px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    visibility: visible !important;
  }
  #flyerBox *, .flyer-container * {
    visibility: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

.footer-company-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  text-align: left !important; 
  width: 100%;
  max-width: 500px; 
  margin-left: auto;
  margin-right: auto; 
}

.footer-company-info p {
  margin: 0 0 4px 0;
  text-align: left !important; 
}

/* ==========================================================
   [추가] hello.php 요금 계산기 및 선택 카드 전용 스타일
   ========================================================== */
/* ==========================================================
   [KT 요금 계산기 섹션] 1200px 풀 와이드 및 반응형 그리드 고도화
   ========================================================== */

/* 1. 전체 계산기 영역 및 옵션 박스 1200px 확장 */
.option-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 0px auto !important;
  box-sizing: border-box;
}

.option {
  width: 100% !important;
  max-width: 1200px !important;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 16px 18px !important;
  margin: 0 auto !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  text-align: left;
}

.option label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* 왼쪽 정렬로 변경 */
  gap: 16px !important; /* 제목과 체크박스 사이의 간격 */
  font-weight: 800 !important;
  font-size: 18px !important;
  margin-top: 0px !important;     /* 💡 위쪽 여백 초기화 */
  margin-bottom: 15px !important;
  color: var(--text-main) !important;
}

/* 2. PC 기본 카드 그룹 그리드 (유연한 자동 배치) */
.card-group {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

/* 3. 개별 카드 디자인 및 손모양 커서, 클릭 오류 방지 */
.card {
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 75px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  background-color: #ffffff !important;
  padding: 16px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  cursor: pointer !important; /* 💡 마우스 오버 시 확실한 손모양 출력 */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

/* 카드 내부 텍스트가 클릭 이벤트를 가로채지 않도록 방지 */
.card * {
  pointer-events: none !important;
}

.card:hover {
  background-color: #f8fafc !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1) !important;
}

.card.selected {
  background-color: #eff6ff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

.card.selected .card-title,
.card.selected .card-price,
.card.selected .card-memo {
  color: var(--primary-color) !important;
}

.card-title {
  font-weight: 800 !important;
  font-size: 16px !important;
  color: var(--text-main);
  margin-bottom: 4px;
}

.card-price, .card-memo {
  font-size: 14px !important;
  color: var(--text-sub) !important;
  font-weight: 600;
}

/* 4. 모바일 반응형 최적화 (768px 이하: 무조건 1줄에 2개씩 2열 배치) */
@media (max-width: 768px) {
  .card-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .card {
    min-height: 70px !important;
    padding: 12px 8px !important;
  }
  .option {
    padding: 16px !important;
  }
}

/* 요약 결과 박스 */
.final-box-container { 
  width: 100%; 
  max-width: 1200px; 
  margin: 10px auto 20px auto; 
  box-sizing: border-box; 
  padding: 0 20px; 
}

.summary-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.summary-header-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.result-wrapper { 
  display: flex; 
  flex-direction: row; 
  gap: 16px; 
  width: 100%; 
}

.result-box { 
  flex: 1;
  border-radius: 14px; 
  padding: 20px 10px; 
  text-align: center; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

#result_internet {
  background-color: #f0f7ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

#result_mobile {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}
#result_mobile .result-value {
  color: #334155;
}

#result_support {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
}
.top-image, .bottom-image {
  width: 100% !important;
  max-width: 900px !important;
  height: auto !important;
  display: block !important;
  margin: 20px auto !important;
  border-radius: 12px;
}
/* ==========================================================
   상품 신청 및 바로상담 액션 버튼 공통 스타일
   ========================================================== */
.action-buttons-wrapper {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-bottom: 30px;
}

.action-btn {
  flex: 1;
  padding: 18px 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none !important; /* 밑줄 제거 */
  border-radius: 12px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-apply {
  background-color: #2b82f6;
  color: #fff !important;
  border: 2px solid #2b82f6;
}

.btn-apply:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-call {
  background-color: #10b981;
  color: #fff !important;
  border: 2px solid #10b981;
}

.btn-call:hover {
  background-color: #059669;
  border-color: #059669;
}

/* ==========================================================
   [최신 트렌드] 1200px 확장 및 프리미엄 요금 계산기/신청서 스타일
   ========================================================== */
.hello-section-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

.hello-title-wrap {
  text-align: center;
  margin-bottom: 35px;
}

.hello-main-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.hello-sub-title {
  font-size: 15px;
  color: #64748b;
}

.hello-option-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 24px auto;
}

.hello-option-box {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  box-sizing: border-box;
}

.hello-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
  color: #1e293b;
  text-align: left;
  flex-wrap: wrap;
  gap: 8px;
}

.hello-wifi-badge {
  font-weight: 700;
  font-size: 14px;
  color: #2563eb;
  background: rgba(37,99,235,0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

.hello-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.hello-card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

/* 프리미엄 다크 네이비 요약 카드 */
.hello-summary-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(15,23,42,0.15);
  padding: 35px;
  margin-bottom: 25px;
  color: #fff;
}

.hello-summary-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hello-result-box-dark {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  flex: 1;
  backdrop-filter: blur(10px);
}

.hello-result-box-pink {
  background: rgba(244,63,94,0.12);
  border: 1px solid rgba(244,63,94,0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  flex: 1;
  backdrop-filter: blur(10px);
}

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
  .hello-card-grid-3, .hello-card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .hello-summary-card {
    padding: 20px 15px !important;
  }
}
/* ==========================================================
   [완벽 수정] 마스터 박스 안의 개별 옵션 박스 스타일 초기화 (1개의 박스로 통일)
   ========================================================== */

/* 1. 전체를 감싸는 1개의 큰 외곽 마스터 박스 */
.calculator-master-box {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 30px auto !important;
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 24px !important;
  padding: 10px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
}

/* 2. 마스터 박스 내부의 개별 옵션 박스(배경, 테두리, 그림자 완전 제거) */
div.calculator-master-box div.option {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 0 !important;
  margin: 0 auto !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* 3. 마지막 메뉴의 구분선은 깔끔하게 제거 */
.calculator-master-box .option-container:last-child div.option {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.policy-bar {
    width: calc(100% - 40px);
    max-width: 1160px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-sizing: border-box;
    cursor: pointer; 
    transition: background-color 0.2s ease;
}

.policy-bar:hover {
    background-color: #fafbfc; /* 👈 마우스 올렸을 때 아주 연한 배경 변화 */
}

.policy-wrap {
    width: 100%;
    height: 88px;
    padding: 0 20px 0 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* 1. 좌측 파란 박스 영역 (🔴 LIVE 뱃지 추가 버전) */
.policy-title {
    width: 280px;        
    min-width: 280px;
    height: 100%;
    background: linear-gradient(135deg, #0057ff, #1d7eff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 15px;
    box-sizing: border-box;
}
.policy-title .fire { 
    font-size: 26px;      
}
.policy-title strong { 
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 19px;      
    font-weight: 800; 
    line-height: 1.2;
}
.policy-title small { 
    font-size: 11px;      
    opacity: 0.95; 
    display: block;
    margin-top: 2px;
}

/* 🔴 LIVE 깜빡이는 뱃지 스타일 */
.live-badge {
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    animation: pulseLive 1.5s infinite;
    vertical-align: middle;
}
@keyframes pulseLive {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* 2. 중앙 메인 롤링 영역 (Fade + translateY 애니메이션 적용) */
.policy-main {
    flex: 1;
    padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.policy-slider {
    position: relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
}
.policy-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); 
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.policy-item.active { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

/* 통신사와 금액을 묶어주는 내부 박스 */
.policy-info {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0 auto; /* 중앙에 예쁘게 안착 */
}

/* 통신사별 컬러 정의 */
.carrier { 
    font-size: 20px; 
    font-weight: 800; 
}
.carrier.kt,
.carrier.sky { color: #00875a; }

.carrier.lg,
.carrier.hello { color: #e6007e; }

.carrier.sk,
.carrier.skpop { color: #ff6b00; }

/* 금액 스타일 통일 */
.policy-item .amount {
    font-size: 23px;
    font-weight: 900;
    color: #e11d48;
}

/* 3. 💡 새로 추가된 우측 [혜택 확인 →] CTA 버튼 스타일 */
.policy-cta-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.policy-cta-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* 1. KT, KT스카이라이프 ➔ 녹색 */
.carrier.kt,
.carrier.sky {
    color: #00875a; 
}

/* 2. LG U+, LG헬로비전 ➔ 빨간색 */
.carrier.lg,
.carrier.hello {
    color: #e6007e; 
}

/* 3. SK Broadband, SK 팝 ➔ 주황색 */
.carrier.sk,
.carrier.skpop {
    color: #ff6b00; 
}
 
.product { color: #64748b; font-size: 15px; font-weight: 600; }
.amount { font-size: 36px; color: #ff2f2f; font-weight: 900; letter-spacing: -1px; }
 
/* 우측 롤링 신뢰 뱃지 영역 (완벽한 수직 중앙 정렬 수정) */
.policy-badge-container {
    width: 240px;
    min-width: 240px;
    height: 40px; /* 높이 확보 */
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-right: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center; /* 수직 중앙 정렬 */
}

.badge-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.badge-item {
    height: 40px; /* 부모 높이와 정확히 일치 */
    line-height: 40px; /* 글자 수직 중앙 정렬 */
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    box-sizing: border-box;
}
 
/* 하단 티커 */
.policy-ticker {
    height: 40px;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerMove 30s linear infinite;
}
.ticker-track span {
    margin-right: 60px;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
}
@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
 
@media (max-width: 768px) {
    .policy-wrap { height: auto; flex-direction: column; padding: 15px 0; }
    .policy-title { width: 100%; height: 50px; border-radius: 6px; margin-bottom: 10px; }
    .policy-main { padding: 0 10px; width: 100%; height: 50px; }
    .policy-badge-container { width: 92%; margin: 10px auto 0 auto; }
    
    /* 📌 통신사 이름과 금액이 절대 2줄로 꺾이지 않고 1줄에 나오도록 고정 */
    .policy-item {
        gap: 6px !important;
        padding: 0 !important;
        justify-content: space-between !important;
    }
    .policy-info {
        gap: 6px !important;
        white-space: nowrap !important; /* 👈 핵심: 글자 줄바꿈 방지 (무조건 1줄 유지) */
    }
    .policy-item .carrier {
        font-size: 13px !important;   /* 통신사 이름 글씨 크기 최적화 */
    }
    .policy-item .amount {
        font-size: 14px !important;   /* 금액 글씨 크기 최적화 */
    }
    /* 우측 [혜택 확인 →] 버튼이 찌그러지지 않게 고정 */
    .policy-cta-btn {
        padding: 4px 10px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;    
    }
}
.trust-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
}

.section-title p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: center; /* 카드가 살짝 커졌을 때 수직 정렬 보정 */
}

.trust-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.trust-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* 💰 250억+ 메인 강조 카드 전용 스타일 (조금 더 크게 및 그라데이션) */
.trust-card.highlight {
    background: linear-gradient(135deg, #0057ff, #3b82f6);
    color: #fff;
    border: none;
    transform: scale(1.03); /* 요청하신 살짝 더 큰 스케일 적용 */
    box-shadow: 0 15px 40px rgba(0,87,255,0.35);
}

.trust-card.highlight:hover {
    transform: scale(1.03) translateY(-7px); /* 호버 시에도 확대 유지하며 위로 이동 */
}

.trust-card.highlight .label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.trust-card.highlight .trust-icon,
.trust-card.highlight .plus,
.trust-card.highlight .counter,
.trust-card.highlight .text-title {
    color: #fff !important;
}

.trust-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.counter {
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

.plus {
    font-size: 22px;
    font-weight: 800;
    margin-left: 2px;
}

/* 📌 흰색 카드들의 메인 타이틀 크기 및 볼륨감 상향 */
.trust-card .text-title {
    font-size: 22px !important;
    font-weight: 800;
    color: #111;
    margin-top: 6px;
    margin-bottom: 6px;
    line-height: 1.2;
}

/* 📌 하단 설명 라벨 크기 및 가독성 개선 */
.trust-card .label {
    margin-top: 4px;
    font-size: 15px !important;
    color: #666;
    font-weight: 600;
}

/* highlight 카드 안의 텍스트 타이틀 스타일 보정 */
.trust-card.highlight .text-title {
    font-size: 22px !important;
    font-weight: 800;
    margin-top: 6px;
    margin-bottom: 6px;
}

/* 반응형 처리 (모바일 대응) */
@media(max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .trust-card.highlight {
        transform: scale(1); /* 모바일에서는 꽉 차게 보이도록 확대 해제 */
    }
    .trust-card.highlight:hover {
        transform: translateY(-5px);
    }
    .section-title h2 {
        font-size: 26px;
    }
    .counter {
        font-size: 36px;
    }
    .trust-card {
        padding: 25px 15px;
    }
}

/* ==========================================================
   [실제 가입 고객 후기 - 화살표 및 호버 정지 최적화]
   ========================================================== */
.review-section-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.review-header {
    text-align: center;
    margin-bottom: 30px;
}

.review-top-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

/* 슬라이더 전체 감싸는 박스 (relative) */
.review-container {
    position: relative;
    width: 100%;
    padding: 0 40px; /* 양옆 화살표 공간 확보 */
    box-sizing: border-box;
}

/* 뷰포트 및 트랙 */
.review-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.review-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 개별 후기 카드 스타일 */
.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    flex: 0 0 calc(33.333% - 13.33px); /* PC: 3개 노출 */
    min-height: 380px; 
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

/* 이미지 박스 (1장 전용) */
.review-img-box {
    width: 100%;
    height: 180px;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid #f1f5f9;
}

.review-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 후기 텍스트 */
.review-text {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
    word-break: keep-all;
    max-height: 130px;
    overflow-y: auto;
    padding-right: 4px;
}

.review-text::-webkit-scrollbar {
    width: 4px;
}
.review-text::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* 작성자 정보 */
.review-user {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    text-align: right;
}

/* 📌 좌우 화살표 버튼 디자인 */
.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 10;
    transition: all 0.2s ease;
}

.review-arrow:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
}

.review-prev { left: -6px; }
.review-next { right: -6px; }

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
    .review-container {
        padding: 0 10px; /* 모바일에서는 화살표를 안쪽으로 붙이거나 크기 조절 */
    }
    .review-card {
        flex: 0 0 100%; /* 모바일 1개 노출 */
        min-height: 350px;
        padding: 18px;
    }
    .review-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .review-prev { left: 0px; }
    .review-next { right: 0px; }
    .review-top-title {
        font-size: 22px;
    }
}

/* ==========================================================
   [7. 통신사별 지원금 비교표 - 속도별 탭 & 전체보기 분리형]
   ========================================================== */
.policy-table-section {
    width: 100%;
    max-width: 1160px;
    margin: 60px auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
}

.policy-table-header {
    text-align: center;
    margin-bottom: 24px;
}

.policy-table-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.speed-tab-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 16px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e2e8f0;
}

.speed-tab-btn {
    padding: 14px 28px;               /* 👈 버튼 상하좌우 크기를 넉넉하게 확 키움 */
    font-size: 16px !important;       /* 👈 글씨 크기를 키워 가독성 대폭 개선 */
    font-weight: 800 !important;      /* 👈 굵기를 두껍게 주어 시인성 확보 */
    color: #475569;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.speed-tab-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

/* 선택(Active)된 버튼: 강력한 브랜드 블루와 입체감 부여 */
.speed-tab-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-2px);      /* 살짝 떠오르는 인터랙션 */
}

.speed-block-wrap {
    margin-bottom: 32px;
}

.speed-block-badge {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 8px 8px 0 0;
}

/* 테이블 스타일 */
.policy-table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 0 12px 12px 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.clean-policy-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14.5px;
}

.clean-policy-table th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 800;
    padding: 13px 10px;
    border-bottom: 2px solid #cbd5e1;
    white-space: nowrap;
}

.clean-policy-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
}

.clean-policy-table tr:last-child td {
    border-bottom: none;
}

/* 통신사 셀 구분 */
.carrier-cell {
    font-weight: 800 !important;
    color: #0f172a !important;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    width: 130px;
}

/* 지원금 강조 */
.sup-highlight {
    color: #e11d48;
    font-weight: 900;
    font-size: 15.5px;
}

.usim-highlight {
    color: #2563eb;
    font-weight: 800;
}

.policy-notice-text {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin-top: 14px;
    word-break: keep-all;
}

@media (max-width: 768px) {
    /* 💡 속도별 탭 그룹 3등분 꽉 채우기 및 버튼 크기 고도화 */
    .speed-tab-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 모바일에서 3등분하여 꽉 채우기 */
        width: 100%;
        padding: 6px;
        gap: 8px;
    }
    .speed-tab-btn {
        padding: 12px 6px;
        font-size: 14.5px !important;    /* 모바일에서도 답답하지 않은 크기 유지 */
        text-align: center;
    }

    /* 기존 테이블 및 셀 관련 스타일 유지 */
    .clean-policy-table {
        font-size: 13px;
    }
    .clean-policy-table th, .clean-policy-table td {
        padding: 10px 6px;
    }
    .carrier-cell {
        width: 90px;
    }
}
/* ==========================================================
   [상위 5% 프리미엄 디자인] 통신사 지원금 비교표 & TOP3 랭킹 고도화
   ========================================================== */

/* 1. TOP 3 랭킹 카드 섹션 최적화 */
.top-benefit-summary-wrap {
    margin-bottom: 30px;
}

.top-benefit-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.top-benefit-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.benefit-rank-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-rank-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
    border-color: #2563eb;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

/* 🥇 1위 카드 전용 특별 강조 포인트 (오버 시 골드빛 테두리) */
.benefit-rank-card.rank-1:hover {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffdf4 0%, #ffffff 100%);
}

/* 메달 뱃지 크기 대폭 확대 및 입체감 부여 */
.benefit-rank-card .rank-badge {
    display: inline-block;
    font-size: 28px; /* 메달 크기 큼직하게 확대 */
    line-height: 1;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

/* 마우스 올렸을 때 메달이 살짝 톡 튀어오르는 인터랙션 */
.benefit-rank-card:hover .rank-badge {
    transform: scale(1.1) rotate(-5deg);
}

.benefit-rank-card .rank-carrier {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.benefit-rank-card .rank-product-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.benefit-rank-card .rank-amount {
    font-size: 20px;
    font-weight: 800;
    color: #ef4444; /* 최대 지원금 강조 붉은빛 */
    border-top: 1px dashed #e5e7eb;
    padding-top: 14px;
}

/* 1위 특별 강조 카드 (그라데이션 및 네온 빛 감성) */
.benefit-rank-card.rank-1 {
    border: 2px solid #2563eb;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

/* 2위 카드 스타일 (LG 유플러스 고유 핑크 테두리 및 왼쪽 세로 바 강제 적용) */
.benefit-rank-card.rank-2 {
    border: 1px solid #e2e8f0 !important;
    border-left: 6px solid #c7007f !important; /* 👈 LG 브랜드 마젠타 컬러 */
}

/* 3위 카드 스타일 (SK 브로드밴드 고유 레드 테두리 및 왼쪽 세로 바 강제 적용) */
.benefit-rank-card.rank-3 {
    border: 1px solid #e2e8f0 !important;
    border-left: 6px solid #ea002c !important; /* 👈 SK 브랜드 레드 컬러 */
}

.rank-badge {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
}

.rank-carrier {
    font-size: 24px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 4px;
}

.rank-product-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 600;
}

.rank-amount {
    font-size: 28px;
    font-weight: 900;
    color: #e11d48;
    letter-spacing: -0.5px;
}

/* 2. 전체 비교표 래퍼 및 테이블 현대화 */
.policy-table-responsive {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.clean-policy-table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

.clean-policy-table th {
    background: #f8fafc !important;
    color: #334155;
    font-weight: 800;
    font-size: 14.5px;
    padding: 16px 12px;
    border-bottom: 2px solid #cbd5e1;
    white-space: nowrap;
}

.clean-policy-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
}

/* 통신사 그룹 마지막 행 고급 경계선 */
.clean-policy-table tr.carrier-group-end td {
    border-bottom: 3px solid #94a3b8 !important;
    box-shadow: inset 0 -2px 0 0 #f8fafc;
}

/* ==========================================================
   [최종 수정] 브랜드별 고유 컬러 바 및 텍스트 색상 강제 적용
   ========================================================== */

/* 1. 기본 .carrier-cell의 강제 검정색 상속 차단 */
.clean-policy-table td.carrier-cell {
    font-weight: 800 !important;
    background: #f8fafc;
    border-right: 2px solid #cbd5e1 !important;
    border-bottom: 2px solid #e2e8f0;
    text-align: center;
    vertical-align: middle;
    letter-spacing: -0.5px;
}

/* 2. KT 계열 (KT, KT올레, 스카이라이프) ➔ 녹색 통일 */
.clean-policy-table td.carrier-cell[data-carrier="KT"],
.clean-policy-table td.carrier-cell[data-carrier="KT올레"],
.clean-policy-table td.carrier-cell[data-carrier="KT스카이라이프"] { 
    color: #00875a !important; 
    border-left: 6px solid #00875a !important; 
}

/* 3. SK 계열 (SK브로드밴드, SK POP) */
.clean-policy-table td.carrier-cell[data-carrier="SK브로드밴드"],
.clean-policy-table td.carrier-cell[data-carrier="SK POP"] { 
    color: #ea002c !important; 
    border-left: 6px solid #ea002c !important; 
}

/* 4. LG 계열 (LG유플러스, 헬로비전) */
.clean-policy-table td.carrier-cell[data-carrier="LG유플러스"],
.clean-policy-table td.carrier-cell[data-carrier="LG헬로비전"] { 
    color: #c7007f !important; 
    border-left: 6px solid #c7007f !important; 
}
/* 핵심 혜택 금액 강조 (방문자 후킹) */
.sup-highlight {
    color: #e11d48;
    font-weight: 900;
    font-size: 16px;
}

.usim-highlight {
    color: #2563eb;
    font-weight: 800;
    font-size: 14.5px;
}

/* 마우스 호버 인터랙션 */
.clean-policy-table tbody tr:hover td {
    background-color: #f8fafc;
}

/* 속도별 탭 버튼 트렌디 스타일 고도화 */
.speed-tab-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.speed-tab-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.speed-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.speed-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* 모바일 완벽 반응형 대응 */
@media (max-width: 768px) {
    .top-benefit-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .speed-tab-btn {
        padding: 10px 18px;
        font-size: 13.5px;
    }
    .clean-policy-table th, .clean-policy-table td {
        padding: 10px 6px;
        font-size: 12.5px;
    }
    .sup-highlight {
        font-size: 14px;
    }
}

/* ==========================================================
   [상위 1% 프리미엄 가독성] 통신사 그룹 및 셀 완벽 분리 스타일
   ========================================================== */

/* 1. 통신사 그룹의 마지막 행 하단에 고급스러운 굵은 입체 경계선 적용 */
.clean-policy-table tr.carrier-group-end td {
    border-bottom: 2.5px solid #94a3b8 !important;
    box-shadow: inset 0 -2px 0 0 #f1f5f9;
}

/* 2. 좌측 통신사 셀(KT, SK 등) 디자인: 세련된 배경과 우측/하단 경계선 강화 */
.clean-policy-table td.carrier-cell {
    font-weight: 800;
    font-size: 15px;
    background: #f8fafc;
    border-right: 2px solid #cbd5e1 !important;
    border-bottom: 2px solid #e2e8f0;
    text-align: center;
    vertical-align: middle;
    letter-spacing: -0.5px;
}

/* 3. 표 전체의 라운드 처리 및 모던한 테두리 감성 부여 */
.policy-table-responsive {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.clean-policy-table {
    border-collapse: collapse;
    width: 100%;
}

.clean-policy-table th {
    background: #f1f5f9 !important;
    color: #334155;
    font-weight: 700;
    padding: 14px 10px;
    border-bottom: 2px solid #cbd5e1;
}

.clean-policy-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 14.5px;
}

/* 4. 마우스 호버 시 은은한 인터랙션 부여 (전문가 감성) */
.clean-policy-table tbody tr:hover td {
    background-color: #f8fafc;
}

/* ==========================================================
   [모바일 완벽 대응] 가전 사은품 리스트 인라인 폰트 크기 강제 축소
   ========================================================== */
@media screen and (max-width: 768px) {
    /* 사은품 카드 안의 모든 라벨, 통신사 부담금 글씨 크기 축소 */
    #giftGridContainer .gift-pay-box div,
    #giftGridContainer .gift-pay-box label {
        font-size: 9px !important;
        padding: 4px 6px !important;
    }
    
    /* 상품신청, 바로상담 버튼 글씨 및 패딩 축소 */
    #giftGridContainer button,
    #giftGridContainer a[href^="tel:"] {
        font-size: 11.5px !important;
        padding: 8px 2px !important;
    }
}

/* ==========================================================
   [모바일 최적화] 누적 혜택 지급 카드 글씨 크기 축소
   ========================================================== */
@media screen and (max-width: 768px) {
    /* 250억+ 강조 카드 내부 숫자 크기 조절 */
    .trust-card .counter {
        font-size: 30px !important; /* 모바일에서 숫자를 조금 더 아담하게 축소 */
    }
    .trust-card .plus {
        font-size: 18px !important; /* '억+' 기호 크기 조절 */
    }
    .trust-card .label {
        font-size: 13px !important; /* 하단 설명 글씨 크기 조절 */
    }
}

/* ==========================================================
   [상위 5% 프리미엄 디자인] 전체보기 토글 버튼 고도화 (선택 후 가독성 완벽 개선)
   ========================================================== */
.all-view-toggle-wrap {
    margin-top: 30px;
    padding-top: 15px;
}

.all-view-toggle-btn {
    width: 100%;
    /* 세련된 다크 블루 그라데이션 배경으로 주목도 극대화 */
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    font-size: 15.5px;
    font-weight: 800;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between; /* 좌우로 요소 배치하여 정돈된 느낌 */
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
    letter-spacing: -0.3px;
}

/* 마우스 호버 시 또는 클릭(포커스) 유지 시에도 컬러 고정 및 부양 효과 */
.all-view-toggle-btn:hover,
.all-view-toggle-btn:focus,
.all-view-toggle-btn:active {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important; /* 브랜드 블루 컬러 유지 */
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 만약 자바스크립트 등에서 .active 클래스를 토글 버튼에 붙이는 방식이라면 아래 코드도 함께 방어 */
.all-view-toggle-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
}

/* 내부 텍스트 스타일 정돈 */
.all-view-toggle-btn span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
}

/* 화살표 아이콘 포인트 */
#toggleArrow {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #ffffff !important;
}

.all-view-toggle-btn:hover #toggleArrow,
.all-view-toggle-btn:focus #toggleArrow {
    background: rgba(255, 255, 255, 0.2);
}

/* 전체보기 컨테이너 열렸을 때 부드러운 등장 감성 */
#allSpeedContainer {
    animation: fadeInExpand 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInExpand {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 전체 랭킹 컨테이너 래퍼 */
.ranking-section-wrapper {
    max-width: 1160px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 상단 타이틀 영역 */
.ranking-header {
    text-align: center;
    margin-bottom: 25px;
}
.ranking-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}
.ranking-header p {
    font-size: 14px;
    color: #666;
}

/* 랭킹 카드 그리드 레이아웃 */
.ranking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .ranking-grid {
        grid-template-columns: 1fr; /* 모바일에서는 1열 세로 정렬 */
        gap: 15px;
    }
}

/* 개별 랭킹 카드 기본 스타일 & 롤오버(Hover) 효과 */
.rank-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e8eb;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

/* 🖱️ 마우스 올렸을 때(Rollover) 효과: 위로 떠오르며 그림자 강조 & 배경 포인트 */
.rank-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #3182f6;
    background: #fbfdff;
}

/* 메달 뱃지 디자인 */
.rank-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}
.rank-card.gold .rank-badge { background: #fff8e1; color: #f59e0b; border: 1px solid #fde68a; }
.rank-card.silver .rank-badge { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; }
.rank-card.bronze .rank-badge { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }

/* 상품 정보 */
.rank-provider {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.rank-bundle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

/* 지원금 강조 영역 */
.rank-price-box {
    border-top: 1px dashed #e5e7eb;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rank-price-label {
    font-size: 13px;
    color: #4b5563;
}
.rank-price-value {
    font-size: 20px;
    font-weight: 800;
    color: #ef4444; /* 최대 지원금 강조 레드/오렌지톤 */
}

/* 🚀 하단 CTA 링크 버튼 디자인 */
.ranking-cta-box {
    text-align: center;
}
.ranking-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 480px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}
.ranking-cta-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: #ffffff;
}

/* ==========================================
   KT & SK 공통 모바일 반응형 완결판 정렬 
   ========================================== */
@media (max-width: 768px) {
  /* 1. 마스터 박스 내부 패딩 슬림화로 화면 좌우 여백 확보 */
  .calculator-master-box {
    padding: 15px 12px !important;
    border-radius: 16px !important;
  }

  /* 2. 하단 요약 카드 마스터 박스 핏에 완벽 밀착 */
  .final-box-container {
    width: 100% !important;
    margin: 20px auto 0 auto !important;
    padding: 0 !important;
  }
  
  .summary-card {
    padding: 18px 12px !important;
    margin-bottom: 15px !important;
    border-radius: 14px !important;
  }
  
  .summary-header-title {
    font-size: 16px !important;
    margin-bottom: 14px !important;
    gap: 6px !important;
  }

  /* 3. 혜택 결과 박스 3개를 모바일에서 세로(column)로 완벽 정렬 */
  .result-wrapper { 
    flex-direction: column !important; 
    gap: 10px !important;
  }
  
  .result-box {
    width: 100% !important;
    padding: 12px 10px !important;
    border-radius: 10px !important;
  }
  
  .result-box .result-label {
    font-size: 13px !important;
  }
  
  .result-box .result-value {
    font-size: 20px !important;
  }

  /* 4. 신청 및 상담 버튼 가로 정렬 및 터치 편의성 극대화 */
  .action-buttons-wrapper {
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  
  .action-btn {
    font-size: 14px !important;
    padding: 15px 6px !important;
    border-radius: 10px !important;
  }
}

/* ==========================================
   상단 상품 및 옵션 선택 카드 모바일 완벽 반응형 추가
   ========================================== */
@media (max-width: 768px) {
  /* 1. 옵션 컨테이너 여백 최적화 */
  .option-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 10px auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .option {
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }

  /* 2. 옵션 타이틀(라벨) 크기 및 여백 조정 */
  .option label {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    gap: 8px !important;
  }

  /* 3. 카드 그룹을 모바일에서 2열 그리드로 정렬 */
  .card-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* 4. 개별 선택 카드 크기 및 폰트 슬림화 */
  .card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 10px 8px !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }

  .card-title {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .card-price, .card-memo {
    font-size: 11px !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 768px) {
  /* 첫 번째 옵션 라벨 내부를 세로 정렬(column)로 변경하여 꽉 차게 배치 */
  .option label {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 15px !important;
  }

  /* 체크박스와 WIFI 선택 텍스트 영역을 한 줄로 예쁘게 묶기 */
  .option label input[type="checkbox"] {
    transform: scale(1.1) !important;
    margin-right: 4px;
  }
}

/* ==========================================================
   [skpop 전용 추가 보완] 유심 카드 및 할인 선택 그룹 스타일
   ========================================================== */
/* PC 화면: 특별할인 4열 그리드 */
.disc-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.disc-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  min-height: 85px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background-color: #fff;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.disc-item:hover {
  background-color: #fff1f2;
  border-color: #f43f5e;
}

.disc-item.selected {
  background-color: #fff1f2 !important;
  border-color: #f43f5e !important;
  color: #c2410c !important;
}

.disc-item .disc-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}

.disc-item.selected .disc-title {
  color: #e11d48 !important;
  font-size: 16px !important;
}
/* ==========================================================
   [모바일 요약 결과 박스 깨짐 방지 패치]
   ========================================================== */
@media (max-width: 768px) {
  /* 결과 박스 그룹을 모바일에서 세로(column)로 정렬 */
  .result-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* 개별 결과 박스를 모바일 가로 100% 꽉 차게 고정 */
  .result-box {
    width: 100% !important;
    flex: none !important;
    padding: 14px 10px !important;
  }
}
/* ==========================================================
   [특별할인 선택 그룹 모바일 2열 정렬 고정 패치]
   ========================================================== */
@media (max-width: 768px) {
  .disc-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .disc-item {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 6px !important;
    min-height: 55px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .disc-item .disc-title,
  .disc-item.selected .disc-title {
    font-size: 12.5px !important;
  }
}

/* ==========================================================
   [헤더 고정 전화번호 버튼 스타일]
   ========================================================== */
.header-phone {
  margin-left: auto;
  margin-right: 15px;
}

.header-phone a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ff6b00, #ff4500);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 107, 0, .3);
  transition: .2s;
  white-space: nowrap;
}

.header-phone a:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .header-phone {
    margin-right: 8px;
  }
  .header-phone a {
    padding: 7px 12px;
    font-size: 12.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 0, .25);
  }
}

/* ==========================================================
   [가전 사은품 더보기/접기 기능 CSS 고도화]
   ========================================================== */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  
  /* 💡 초기 상태: 정확히 2줄만 보이도록 높이 잠금 (카드 1개 높이 ~360px 기준 2줄 = 약 740px) */
  max-height: 750px !important; 
  overflow: hidden !important;
  position: relative;
  transition: max-height 0.4s ease-in-out;
}

/* 펼쳐졌을 때: 충분히 큰 높이로 확장 */
.gift-grid.expanded {
  max-height: 4000px !important;
}

/* 모바일 반응형 (모바일은 2열 기준 2줄 높이) */
@media (max-width: 768px) {
  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-height: 850px !important; /* 모바일 2줄 높이 감안 */
  }
  .gift-grid.expanded {
    max-height: 5000px !important;
  }
}
@media (max-width: 768px) {
  /* 1. 상단 헤더 내부 여백을 좁게 조정 */
  .header-inner {
    padding: 10px 12px !important;
    gap: 6px !important;
  }

  /* 2. 로고 영역이 너무 넓어져서 줄바꿈되는 현상 방지 */
  .logo a {
    font-size: 15px !important; /* 모바일에서 로고 글자 크기 최적화 */
    gap: 6px !important;
  }
  .logo img {
    height: 26px !important;    /* 로고 이미지 높이 살짝 축소 */
    width: auto !important;
  }

  /* 3. 상단 우측 전화번호 버튼 모바일 맞춤 축소 및 여백 확보 */
  .header-phone {
    margin-left: auto !important;
    margin-right: 4px !important;
  }
  .header-phone a {
    padding: 6px 10px !important;
    font-size: 11px !important;     /* 글자 크기를 아담하게 줄여서 한 줄로 유지 */
    gap: 4px !important;
    box-shadow: 0 2px 6px rgba(255, 107, 0, 0.25) !important;
  }

  /* 4. 햄버거 메뉴 버튼 크기 고정 (전화번호와 겹침 방지) */
  .hamburger-btn {
    width: 36px !important;
    height: 34px !important;
    padding: 7px !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================
   [모바일 전용] 통신사별 최대 지원금 확인 타이틀 글자 크기 최적화
   ========================================================== */
@media (max-width: 768px) {
  .section .title-wrap .title {
    font-size: 22px !important; /* 모바일 화면 크기에 맞게 글자 크기 축소 (기본 32px ➔ 22px) */
    line-height: 1.3 !important;
  }
  
  .section .title-wrap .subtitle {
    font-size: 13.5px !important; /* 서브 타이틀이 있다면 함께 최적화 */
  }
}
/* ==========================================================
   [모바일 전용] 본사직영 가전 사은품 특가 타이틀 크기 최적화
   ========================================================== */
@media (max-width: 768px) {
  .gift-section-wrap .title-wrap .title {
    font-size: 22px !important; /* 모바일에 알맞게 제목 크기 축소 */
    line-height: 1.3 !important;
  }
  
  .gift-section-wrap .title-wrap .subtitle {
    font-size: 13.5px !important; /* 서브 타이틀 크기 최적화 */
    margin-top: 6px !important;
  }
}

/* ==========================================================
   [모바일 전용] 통신사별 지원금 비교표 타이틀 크기 최적화
   ========================================================== */
@media (max-width: 768px) {
  .policy-table-section .policy-table-header .policy-table-title {
    font-size: 22px !important; /* 모바일에 알맞게 제목 크기 축소 */
    line-height: 1.3 !important;
  }
  
  .policy-table-section .policy-table-header .subtitle {
    font-size: 13.5px !important; /* 서브 안내 문구 크기 최적화 */
    margin-top: 6px !important;
    line-height: 1.4 !important;
  }
}

/* ==========================================================
   [모바일 전용] 통신사 지원금 비교표 가로 스크롤 가이드 및 최적화
   ========================================================== */
@media (max-width: 768px) {
  /* 1. 테이블을 감싸는 박스에 좌우 스크롤 시각적 인지 디자인 추가 */
  .policy-table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
    border-radius: 10px !important;
  }

  /* 2. 모바일에서 우측 내용이 잘리지 않도록 테이블 최소 폭 확보 */
  .clean-policy-table {
    min-width: 580px !important; /* 👈 모바일에서 내용이 찌그러지지 않고 가로로 밀어볼 수 있게 강제 고정 */
  }

  /* 3. 테이블 위에 [👉 좌우로 밀어서 확인하세요] 안내 팁 바 추가 효과 (선택사항) */
  .policy-table-responsive::before {
    content: "👉 표를 좌우로 밀어서 자세한 혜택을 확인해보세요";
    display: block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    border-bottom: 1px solid #bfdbfe;
  }
}

/* ==========================================================
   [모바일 전용] 하단 빠른 상담바 컴팩트 축소형 디자인
   ========================================================== */
@media (max-width: 768px) {
    #quick-consult-bar-wrapper {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 6px 10px !important; /* 여백을 대폭 줄여서 슬림하게 만듦 */
        background: #3b59f6 !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
        z-index: 9998 !important;
    }

    /* 타이틀 영역 축소 */
    #quick-consult-bar-wrapper .quick-bar-title h3 {
        font-size: 13px !important;
        margin: 0 0 2px 0 !important;
        color: #fff !important;
    }

    /* 서브 문구는 공간 절약을 위해 모바일에서는 숨김 처리 */
    #quick-consult-bar-wrapper .quick-bar-sub {
        display: none !important; 
    }

    /* 입력창 및 버튼 높이 및 폰트 축소 */
    #quick-consult-bar-wrapper .qb-input {
        height: 32px !important;
        font-size: 12px !important;
        padding: 0 6px !important;
    }

    #quick-consult-bar-wrapper .qb-submit-btn {
        height: 32px !important;
        font-size: 12px !important;
        font-weight: bold !important;
    }

    /* 개인정보 동의 글자 크기 축소 */
    #quick-consult-bar-wrapper .quick-bar-agreement {
        font-size: 10.5px !important;
        margin-top: 4px !important;
        color: #e0e7ff !important;
    }
}

/* ==========================================================
   [통합 프리미엄 헤더 & 햄버거 메뉴 CSS 표준]
   ========================================================== */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

body {
  background: #f8fafc;
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 95px !important; 
}

/* 최상단 띠배너 */
.pro-top-banner {
  position: sticky !important;
  top: 0 !important;
  z-index: 1001 !important; /* 헤더보다 위에 오도록 z-index 높임 */
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f8fafc;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  letter-spacing: -0.3px;
}
.pro-top-banner span.highlight {
  color: #38bdf8;
  font-weight: 900;
}

/* 프로 헤더 바 */
.pro-header {
  position: sticky;
  top: 34px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid #e2e8f0;
}
.pro-header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* 로고 영역 */
.pro-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.pro-logo-title {
  font-size: 14px;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: -0.5px;
}
.pro-logo-badge {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* PC용 중앙 CTA 및 우측 전화번호 박스 */
.pro-core-cta { display: flex; align-items: center; gap: 8px; }
.pro-cta-btn {
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: all 0.2s ease;
}
.pro-cta-compare { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25); }
.pro-cta-gift { background: #f8fafc; color: #0f172a; border: 1.5px solid #cbd5e1; }

.pro-phone-box a {
  display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #ea580c, #c2410c); color: #fff; padding: 7px 16px; border-radius: 50px; text-decoration: none; box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}
.pro-phone-sub { display: block; font-size: 9.5px; font-weight: 600; color: #ffedd5; line-height: 1; }
.pro-phone-num { font-size: 15px; font-weight: 900; }

/* 💡 대기업 스탠다드 햄버거 버튼 (기본은 PC에서 숨김) */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hamburger-icon {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

/* 하단 통신사 네비게이션 바 (PC 버전) */
.pro-carrier-nav { background: #f8fafc; border-top: 1px solid #f1f5f9; }
.pro-carrier-nav .menu {
  max-width: 1200px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.pro-carrier-nav .menu a {
  padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #475569; background: #ffffff; border: 1px solid #e2e8f0; text-decoration: none; transition: all 0.2s;
}
.pro-carrier-nav .menu a.menu-home { background: #e2e8f0; color: #0f172a; }

/* 브랜드별 컬러 호버 */
.pro-carrier-nav .menu a.nav-kt:hover, .pro-carrier-nav .menu a.nav-kt.active { background: #0284c7 !important; color: #fff !important; border-color: #0284c7 !important; }
.pro-carrier-nav .menu a.nav-sk:hover, .pro-carrier-nav .menu a.nav-sk.active { background: #ef4444 !important; color: #fff !important; border-color: #ef4444 !important; }
.pro-carrier-nav .menu a.nav-lg:hover, .pro-carrier-nav .menu a.nav-lg.active { background: #db2777 !important; color: #fff !important; border-color: #db2777 !important; }
.pro-carrier-nav .menu a.nav-sky:hover, .pro-carrier-nav .menu a.nav-sky.active { background: #10b981 !important; color: #fff !important; border-color: #10b981 !important; }
.pro-carrier-nav .menu a.nav-skpop:hover, .pro-carrier-nav .menu a.nav-skpop.active { background: #f97316 !important; color: #fff !important; border-color: #f97316 !important; }
.pro-carrier-nav .menu a.nav-hello:hover, .pro-carrier-nav .menu a.nav-hello.active { background: #ec4899 !important; color: #fff !important; border-color: #ec4899 !important; }

/* ==========================================================
   [KT 스타일 모바일 풀스크린 풀커버 메뉴 & 우측 X 닫기 버튼]
   ========================================================== */
@media (max-width: 960px) {
  /* 평소에는 모바일에서 헤더의 햄버거 버튼 노출 */
  .hamburger-btn { 
    display: flex !important; 
  }
  .pro-core-cta, .pro-phone-box, .pro-logo-badge { 
    display: none !important; 
  }

  /* 햄버거 버튼이 눌려서 .menu-nav에 active가 붙으면 화면 전체를 앱처럼 완전 덮음 */
  .menu-nav.active {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 99999 !important; /* 상단 띠배너 아래부터 혹은 화면 전체 풀 커버 */
    overflow-y: auto !important;
    padding: 70px 20px 30px 20px !important; /* 상단 X 닫기 버튼을 위한 여백 확보 */
    box-sizing: border-box !important;
    animation: fadeInMenu 0.2s ease-out forwards;
  }

  /* 풀스크린 내부 메뉴 리스트 세로 정렬 및 디자인 대폭 개선 */
  .menu-nav.active .menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .menu-nav.active .menu a {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
  }
  
  .menu-nav.active .menu a.menu-home {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
  }

  .menu-nav.active .menu a:hover,
  .menu-nav.active .menu a.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
  }
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 💡 풀스크린 열렸을 때 우측 상단에 띄울 ✕ 닫기 버튼 스타일 */
.mobile-close-btn {
  display: none;
}

@media (max-width: 960px) {
  .menu-nav.active .mobile-close-btn {
    display: flex !important;
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent !important; /* 배경 투명 처리 */
    border: none !important;            /* 테두리 없음 */
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 26px !important;         /* ✕ 기호 크기를 시원하게 확대 */
    font-weight: 700 !important;
    color: #0f172a !important;          /* 다크 네이비 텍스트 색상 */
    cursor: pointer;
    z-index: 100000;
    box-shadow: none !important;        /* 그림자 제거 */
    padding: 0;
  }
  
  /* 마우스나 터치 시 아주 은은한 효과만 부여 */
  .menu-nav.active .mobile-close-btn:active {
    opacity: 0.6;
  }
}
/* ==========================================================
   [모바일 열린 메뉴 전용] 상단 핵심 CTA 2개 배너 스타일
   ========================================================== */
/* PC에서는 기본적으로 숨김 */
.mobile-menu-top-ctas {
  display: none;
}

@media (max-width: 960px) {
  /* 모바일에서 메뉴가 열렸을 때(.menu-nav.active) 상단에 노출 */
  .menu-nav.active .mobile-menu-top-ctas {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 1줄에 2개 나란히 배치 */
    gap: 10px !important;
    margin-bottom: 16px !important;
    padding-top: 5px;
  }

  .mob-cta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 8px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    word-break: keep-all;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  }

  /* 1번 배너: 최대혜택 비교 (붉은색 포인트) */
  .mob-cta-compare {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25) !important;
  }

  /* 2번 배너: 가전특가 (화이트 & 깔끔한 테두리 포인트) */
  .mob-cta-gift {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
  }
}

/* ==========================================================
   [전문 디자이너 감성] 우측 하단 플로팅 바 (위/아래 이동 버튼 추가)
   ========================================================== */
.floating {
  position: fixed;
  right: 20px;
  bottom: 115px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.floating a, 
.floating button.scroll-dir-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating a:hover,
.floating button.scroll-dir-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.floating .call { background: var(--primary-color); }
.floating .reserve { background: #fee500; color: #191919 !important; }

/* 💡 새로 추가되는 상/하 방향 이동 버튼 스타일 (모던 글래스모피즘 & 다크네이비 포인트) */
.floating .scroll-dir-btn {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

.floating .scroll-dir-btn:hover {
  background: #0f172a !important;
}

/* 모바일 화면 대응 */
@media (max-width: 768px) {
  .floating {
    right: 14px;
    bottom: 95px;
    gap: 8px;
  }
  .floating a, 
  .floating button.scroll-dir-btn {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }
}

.compare-filter-wrap {
    max-width: 1200px;
    margin: 20px auto 30px auto;
    padding: 0 20px;
}

.filter-group {
    margin-bottom: 15px;
}

.group-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* 💡 선택된 버튼 전용 오렌지 그라데이션 액티브 스타일 */
.filter-btn.active {
    background: linear-gradient(135deg, #ff6b00, #ff4500);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* 서브 버튼 공통 스타일 (오렌지 액티브 적용) */
.sub-btn {
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    background: #ffffff;
    color: #475569;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.2s;
}
.sub-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.sub-btn.active {
    background: linear-gradient(135deg, #ff6b00, #ff4500) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255,107,0,0.3) !important;
}

/* 1. 대분류 버튼 크기 키우기 (TOP 3 랭킹 타이틀과 동일하게) */
.main-filter-btn {
    font-size: 21px !important; /* 글자 크기 확대 */
    padding: 14px 16px !important; /* 버튼 높이 및 여백 조절 */
}

/* 2. 하부 서브 탭 및 통신사/속도 선택 버튼 폰트 키우기 */
.sub-btn {
    font-size: 17px !important; /* 기존 13px에서 14px로 확대 */
    font-weight: 800 !important; /* 폰트를 더 굵게 묵직하게 */
    padding: 10px 18px !important; /* 터치하기 좋게 패딩 살짝 확대 */
}

/* 서브 탭 안내 타이틀 폰트도 함께 깔끔하게 정돈 */
.sub-filter-box > div:first-child {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #334155 !important;
}

/* ==========================================================
   📱 2단 하이브리드 필터 모바일 반응형 최적화
   ========================================================== */

@media (max-width: 768px) {
    /* 1. 필터 전체 박스 여백 조절 (모바일 화면 좌우 여백 확보) */
    .compare-filter-wrap,
    .hybrid-filter-wrap {
        padding: 0 10px !important;
        margin: 15px auto !important;
    }

    /* 2. 대분류 버튼(속도별 vs 통신사별) 폰트 및 패딩 최적화 */
    .hybrid-main-btn,
    .filter-main-group button {
        font-size: 13px !important;
        padding: 10px 6px !important;
        border-radius: 10px !important;
    }

    /* 3. 서브 탭 컨테이너 박스 패딩 축소 */
    .sub-filter-box,
    .hybrid-sub-box {
        padding: 10px !important;
        border-radius: 12px !important;
    }

    /* 4. 서브 탭 안내 타이틀 폰트 크기 축소 */
    .sub-filter-box > div:first-child,
    .hybrid-sub-title {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    /* 5. 하위 버튼(속도 및 통신사 버튼들) 모바일 맞춤 크기 조절 */
    .sub-btn {
        font-size: 12px !important;
        padding: 7px 10px !important;
        border-radius: 8px !important;
        flex: 1 1 auto; /* 모바일에서 공간에 맞춰 유연하게 늘어나도록 설정 */
        text-align: center;
    }

    /* 6. 비교표 상단 타이틀 폰트 크기 조절 (모바일에서 두 줄 넘어가도 이쁘게) */
    .policy-table-title, 
    #policyDynamicRenderArea h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
        word-break: keep-all;
    }
}


    /* 1단계 속도 버튼 기본 스타일 (세련된 라이트 블루 그레이) */
    .compare-filter-wrap .speed-btn {
        padding: 10px 16px; 
        border: 1.5px solid #cbd5e1; 
        background: #ffffff; 
        color: #475569; 
        font-weight: 700; 
        font-size: 14px;
        border-radius: 10px; 
        cursor: pointer;
        transition: all 0.2s ease;
    }
    /* 1단계 활성화 시 (강렬한 일렉트릭 블루 그라데이션) */
    .compare-filter-wrap .speed-btn.active {
        background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
        color: #fff !important;
        border-color: #1d4ed8 !important;
        box-shadow: 0 4px 14px rgba(37,99,235,0.35);
        transform: translateY(-1px);
    }

    /* 2단계 통신사 버튼 기본 스타일 (모던 슬레이트 톤으로 1단계와 확실히 차별화) */
    .compare-filter-wrap .carrier-btn {
        padding: 10px 16px; 
        border: 1.5px solid #cbd5e1; 
        background: #ffffff; 
        color: #334155; 
        font-weight: 700; 
        font-size: 14px;
        border-radius: 10px; 
        cursor: pointer;
        transition: all 0.2s ease;
    }
    /* 2단계 활성화 시 (시크하고 무게감 있는 다크 네이비/블랙 톤) */
    .compare-filter-wrap .carrier-btn.active {
        background: linear-gradient(135deg, #0f172a, #1e293b) !important;
        color: #fff !important;
        border-color: #0f172a !important;
        box-shadow: 0 4px 14px rgba(15,23,42,0.35);
        transform: translateY(-1px);
    }

    .compare-filter-wrap .filter-btn:hover {
        border-color: #94a3b8;
    }

    /* ========================================================= */
/* [모바일 전용 하이브리드 필터 최적화 스타일]                    */
/* ========================================================= */
@media screen and (max-width: 768px) {
    /* 필터 전체 감싸는 박스 여백 모바일 맞춤 조정 */
    .compare-filter-wrap {
        margin: 15px 10px !important;
        padding: 0 !important;
    }
    
    /* 필터 내부 패딩 살짝 슬림하게 조정 */
    .compare-filter-wrap > div {
        padding: 16px 14px !important;
        border-radius: 16px !important;
    }

    /* 상단 후킹 타이틀 및 배지 모바일 줄바꿈 정돈 */
    .compare-filter-wrap .filter-top-title {
        font-size: 17px !important;
    }

    /* 1단계, 2단계 버튼들 모바일에서 터치하기 편하게 배치 및 폰트 크기 최적화 */
    #unifiedSpeedTabs, #unifiedCarrierTabs {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* 모바일에서 3개씩 꽉 차게 배치 */
        gap: 6px !important;
    }

    /* '전체상품'이나 '전체 통신사' 같은 긴 버튼은 첫 줄을 가득 꽉 채우도록(2칸 차지) 설정 */
    #unifiedSpeedTabs button:first-child,
    #unifiedCarrierTabs button:first-child {
        grid-column: span 3 !important;
    }

    /* 필터 버튼 내부 글자 크기와 패딩 모바일 최적화 */
    .compare-filter-wrap .filter-btn,
    .compare-filter-wrap .speed-btn,
    .compare-filter-wrap .carrier-btn {
        width: 100% !important;
        padding: 9px 4px !important;
        font-size: 13px !important;
        text-align: center !important;
        border-radius: 8px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 섹션 타이틀 (01 속도별 혜택 비교 등) 폰트 크기 모바일 눈높이에 맞춤 */
    .compare-filter-wrap .section-label {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    /* 1. '내게 맞는 최대 혜택 비교' 메인 타이틀 크기 및 여백 최적화 */
    .compare-filter-wrap h2, 
    .compare-filter-wrap div[style*="font-size: 22px"],
    .compare-filter-wrap div[style*="font-size: 20px"] {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    /* 2. 우측/하단 안내 문구 ("✨ 속도별 · 통신사별 혜택을 실시간으로 비교해보세요.") 크기 및 줄바꿈 최적화 */
    .compare-filter-wrap div[style*="font-size: 13px"],
    .compare-filter-wrap div[style*="font-size: 14px"] {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }

    /* 3. 타이틀 영역을 감싸는 상단 헤더 박스 정렬 모바일 맞춤 (Flex 세로 정렬 등) */
    .compare-filter-wrap > div > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
}
@media screen and (max-width: 768px) {
    /* 1. 가로 스크롤을 유발하는 부모 영역의 오버플로우 강제 해제 */
    .policy-table-responsive, 
    div[style*="overflow-x"] {
        width: 100% !important;
        overflow-x: visible !important;
    }

    /* 2. 테이블 태그들을 블록 형태로 풀어주기 */
    table, thead, tbody, tr, th, td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. 상단 헤더(제목 행)는 숨김 */
    table thead {
        display: none !important;
    }

    /* 4. 각 데이터 행(tr)을 개별 프리미엄 카드 박스로 완벽 변환 */
    table tbody tr {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        margin-bottom: 14px !important;
        padding: 16px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    }

    /* 5. 각 셀(td)을 가로 밀기 없이 세로로 예쁘게 정렬 */
    table tbody tr td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        text-align: right !important;
        font-size: 14px !important;
    }

    /* 마지막 셀(버튼 영역) 정렬 및 여백 조정 */
    table tbody tr td:last-child {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-bottom: none !important;
        padding-top: 14px !important;
        margin-top: 6px !important;
        border-top: 1px dashed #cbd5e1 !important;
    }

    /* 💡 버튼들을 블록(Block)으로 세로 정렬하고 width를 90%로 주어 좌우 여백 확보 */
    table tbody tr td:last-child a,
    table tbody tr td:last-child button,
    table tbody tr td:last-child div {
        display: block !important;       /* 세로로 한 줄씩 차지하도록 강제 */
        width: 90% !important;           /* 카드 폭보다 살짝 안으로 들어오게 (90%) */
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 5px auto !important;     /* 위아래 간격 5px, 좌우 auto로 완벽한 중앙 정렬 */
        text-align: center !important;
        padding: 10px 16px !important;   /* 버튼 내부 여백 슬림하게 조정 */
        border-radius: 8px !important;
    }

    /* 첫 번째 셀(통신사/상품명)은 상단에 크고 굵게 강조 */
    table tbody tr td:first-child {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        border-bottom: 2px solid #e2e8f0 !important;
        padding-bottom: 10px !important;
        margin-bottom: 6px !important;
        justify-content: flex-start !important;
    }
}

.result-box-appliance { border: 2px solid #2563eb; background: #eff6ff; cursor: pointer; }
.result-box-appliance .result-label { color: #1d4ed8; }
.result-box-appliance .result-value { color: #2563eb; font-size: 18px; }

.appliance-section { display: none; margin-top: 24px; padding: 20px; background: #f8fafc; border-radius: 12px; }
.appliance-section h3 { margin-bottom: 14px; font-size: 18px; }
.appliance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }

.app-item-card { cursor: pointer; padding: 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; transition: 0.2s; }
.app-item-card:hover { border-color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,0.1); }
.app-item-model { font-size: 12px; color: #64748b; margin-top: 4px; }
.app-item-pay { color: #2563eb; font-weight: 700; margin-top: 6px; }

.appliance-more-wrap { text-align: center; margin-top: 16px; }
.appliance-more-btn { padding: 10px 20px; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff; cursor: pointer; font-weight: 700; }
.appliance-notice { font-size: 13.5px; color: #1e40af; background: #dbeafe; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }

.app-item-img-box { width: 100%; height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; overflow: hidden; }
.app-item-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ==========================================================
   [2026-11-19 추가] skpop.php 인라인 <style> 에서 옮겨온 규칙
   - main.css 에 없던 것만 옮김 (나머지는 이미 있음)
   - 가전 사은품(skpop 포함 6개 페이지) UI 보강
   ========================================================== */

/* SK팝 유심 카드 3열 */
.mobile-sim-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.mobile-sim-card .card-memo {
  font-size: 16px;
  color: #e11d48;
  font-weight: 700;
  margin: 2px 0;
}

.mobile-sim-card .card-price {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.3;
}

/* 이벤트 배너 래퍼 (5개 페이지가 이 클래스를 씀) */
.benefits-wrapper.single-banner {
  display: block;
  width: 100%;
}

/* 푸터 특징 아이콘 (18곳에서 사용) */
.feature-item .icon {
  font-size: 16px;
}

/* 모바일: 유심 카드 2열 */
@media (max-width: 768px) {
  .mobile-sim-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .mobile-sim-card {
    padding: 10px 6px !important;
    min-height: 75px !important;
  }
  .mobile-sim-card .card-title {
    font-size: 13px !important;
  }
  .mobile-sim-card .card-memo {
    font-size: 11px !important;
  }
  .mobile-sim-card .card-price {
    font-size: 10px !important;
  }
  .feature-item .icon {
    font-size: 16px !important;
  }
}

/* 가전 사은품 UI 마무리 (2026-11-19) */
.appliance-loading { padding: 18px; text-align: center; color: #64748b; font-size: 14px; }
.appliance-picked { margin: 0 0 12px 0; font-size: 14px; color: #1d4ed8; font-weight: 700; }
.app-item-card.picked { border: 2px solid #2563eb; background: #eff6ff; }

/* ==========================================================
   [2026-11-22 v2] v4 지원금 비교표 — 모바일(<=768px) 세로 카드형 개편
   - 390px 화면에서 가로 스크롤 없이 각 상품(tr)이 한 장의 세로 카드로 표시
   - 카드 구성: 통신사 배지 · 인터넷상품 · 월요금 · 인터넷 사은품 ·
                유심요금제(선택) · 인터넷+유심 총사은품 · [가입신청][상담문의]
   - 라벨은 script.js 가 넣는 data-label / data-carrier 속성을 CSS 가 읽어 표시
     (CSS 전용 · 인라인 스타일 없음)
   - PC(769px 이상)는 기존 6열 표 그대로 — 이 블록은 모바일 전용
   ========================================================== */
@media screen and (max-width: 768px) {
  /* 카드형이라 가로 스크롤이 필요 없음 → 스크롤 컨테이너·안내문 해제 */
  .policy-table-responsive {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    border-radius: 12px !important;
  }
  .policy-table-responsive::before { content: none !important; display: none !important; }

  .policy-table-responsive table.clean-policy-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  .policy-table-responsive table.clean-policy-table thead { display: none !important; }
  .policy-table-responsive table.clean-policy-table tbody { display: block !important; }

  /* 한 상품 = 카드 한 장 */
  .policy-table-responsive table.clean-policy-table tbody tr {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  }
  .policy-table-responsive table.clean-policy-table tbody tr:last-child { margin-bottom: 0 !important; }

  /* 통신사 배지 — 통신사 병합셀 대신 모든 카드 상단에 같은 이름 표시 */
  .policy-table-responsive table.clean-policy-table tbody tr::before {
    content: attr(data-carrier);
    display: inline-block !important;
    margin: 0 0 8px !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    background: #eef2f7 !important;
    color: #334155 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    letter-spacing: -0.2px !important;
  }
  .policy-table-responsive table.clean-policy-table tbody tr:not([data-carrier])::before { content: none !important; display: none !important; }
  .policy-table-responsive table.clean-policy-table td.carrier-cell { display: none !important; }

  /* 항목 한 줄: 라벨(왼쪽) + 값(오른쪽) */
  .policy-table-responsive table.clean-policy-table td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: right !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }
  .policy-table-responsive table.clean-policy-table td::before {
    content: attr(data-label);
    flex: 0 0 auto !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  /* 인터넷상품 = 카드 제목 (라벨 없이 크게) */
  .policy-table-responsive table.clean-policy-table td.product-cell {
    display: block !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
  }
  .policy-table-responsive table.clean-policy-table td:not([data-label])::before,
  .policy-table-responsive table.clean-policy-table td.product-cell::before { content: none !important; display: none !important; }

  /* 유심요금제 선택 — 카드 폭 안에 들어오게 */
  .policy-table-responsive table.clean-policy-table td .usim-plan-select {
    width: auto !important;
    max-width: 60% !important;
    padding: 6px 8px !important;
    font-size: 12.5px !important;
    box-sizing: border-box !important;
  }

  /* 총사은품 강조 + [가입신청][상담문의] 2단 버튼 */
  .policy-table-responsive table.clean-policy-table td.usim-highlight {
    display: block !important;
    padding: 9px 0 0 !important;
    margin: 0 !important;
    border-bottom: 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    text-align: left !important;
  }
  .policy-table-responsive table.clean-policy-table td.usim-highlight::before {
    display: block !important;
    margin: 2px 0 2px !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
    white-space: normal !important;
  }
  .policy-table-responsive table.clean-policy-table td.usim-highlight .total-benefit-cell {
    display: inline-block !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #e11d48 !important;
  }
  .policy-table-responsive table.clean-policy-table td.usim-highlight > div {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  .policy-table-responsive table.clean-policy-table td.usim-highlight > div button,
  .policy-table-responsive table.clean-policy-table td.usim-highlight > div a {
    flex: 1 1 0 !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 4px !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* 실시간 접수 카드가 390px 화면을 39px 넘겨 페이지 전체가 옆으로 밀리던 문제 */
  .sf-live .live-feed-card {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
  }
  .sf-live .live-feed-card > * { min-width: 0 !important; }
}

/* ===== v4/css/shop.css (원문 그대로) ===== */
/* =============================================================================
   TEMO 통합 전산 v2 - 스토어프론트 스타일 (에디토리얼 · 화이트/슬레이트)
   -----------------------------------------------------------------------------
   · index.php / products.php / product.php 세 페이지가 함께 사용합니다.
   · 대리점별 테마색은 페이지에서 :root{--sf-brand: ...} 로 주입합니다.
   · 기존 main.css 는 통신사 계산기 페이지(kt.php ~ hello.php)가 계속 사용하며,
     index.php 는 main.css + 이 파일을 함께 불러옵니다(가전 사은품/후기/지원금 표는
     기존 스크립트(js/script.js)가 그리기 때문). 그래서 이 파일은
     "기존 클래스는 다듬고, 새 화면은 sf- 접두사로 새로 그린다" 는 규칙을 지킵니다.
   ============================================================================= */

:root {
  --sf-brand: #2563eb;
  --sf-brand-dark: #1d4ed8;
  --sf-brand-soft: #eff4ff;
  --sf-ink: #0b1220;
  --sf-ink-2: #1e293b;
  --sf-body: #475569;
  --sf-muted: #7b8794;
  --sf-line: #e6eaf0;
  --sf-line-soft: #f1f4f8;
  --sf-bg: #ffffff;
  --sf-bg-soft: #f7f8fa;
  --sf-bg-tint: #f4f7fc;
  --sf-accent: #ffb703;
  --sf-green: #0ea472;
  --sf-red: #e5484d;
  --sf-radius: 18px;
  --sf-radius-sm: 12px;
  --sf-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .06);
  --sf-shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --sf-wrap: 1200px;
  --sf-head-h: 72px;
  --sf-font: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* main.css 의 하단 고정바 여백을 새 화면에서는 해제 */
body.sf-page {
  background: var(--sf-bg) !important;
  color: var(--sf-ink-2);
  padding-bottom: 0 !important;
  font-family: var(--sf-font);
  -webkit-font-smoothing: antialiased;
}

body.sf-page img { max-width: 100%; }
body.sf-page a { color: inherit; text-decoration: none; }
body.sf-page a:hover { text-decoration: none; }
body.sf-page button { font-family: inherit; cursor: pointer; }

.sf-wrap {
  width: 100%;
  max-width: var(--sf-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- 공통 글자 */
.sf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sf-brand);
}
.sf-sec { padding: 76px 0; }
.sf-sec--soft { background: var(--sf-bg-soft); }
.sf-sec--tint { background: var(--sf-bg-tint); }
.sf-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.sf-sec-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--sf-ink);
  line-height: 1.28;
  margin: 8px 0 0;
}
.sf-sec-head p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--sf-body);
}
.sf-sec-head .sf-more {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--sf-ink-2);
  border-bottom: 1px solid var(--sf-line);
  padding-bottom: 2px;
}
.sf-sec-head .sf-more:hover { color: var(--sf-brand); border-color: var(--sf-brand); }

/* ------------------------------------------------------------------ 버튼류 */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--sf-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.sf-btn:hover { transform: translateY(-1px); }
.sf-btn-primary { background: var(--sf-brand); color: #fff; box-shadow: 0 10px 22px rgba(37, 99, 235, .22); }
.sf-btn-primary:hover { background: var(--sf-brand-dark); color: #fff; }
.sf-btn-dark { background: var(--sf-ink); color: #fff; }
.sf-btn-dark:hover { background: #1b263c; color: #fff; }
.sf-btn-ghost { border-color: var(--sf-line); background: #fff; color: var(--sf-ink-2); }
.sf-btn-ghost:hover { border-color: var(--sf-ink); color: var(--sf-ink); }
.sf-btn-smart { background: var(--sf-brand-soft); color: var(--sf-brand); border-color: #dbe6ff; }
.sf-btn-smart:hover { background: #e3ecff; }
.sf-btn-phone { background: var(--sf-ink); color: #fff; }
.sf-btn-phone:hover { background: var(--sf-brand); color: #fff; }
.sf-btn-block { width: 100%; }
.sf-btn-compare {
  border: 1px solid var(--sf-line);
  color: var(--sf-ink-2);
  background: #fff;
  flex: 1;
}
.sf-btn-compare:hover { border-color: var(--sf-brand); color: var(--sf-brand); }
.sf-btn-compare.is-in { background: var(--sf-brand-soft); border-color: var(--sf-brand); color: var(--sf-brand); }

.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  background: #fff;
  color: var(--sf-body);
  font-size: 12.5px;
  font-weight: 700;
  transition: all .15s ease;
}
.sf-chip:hover { border-color: var(--sf-brand); color: var(--sf-brand); background: var(--sf-brand-soft); }
.sf-chip.is-active { background: var(--sf-ink); border-color: var(--sf-ink); color: #fff; }

.sf-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
  background: var(--sf-line-soft);
  color: var(--sf-body);
  white-space: nowrap;
}
.sf-badge--promo { background: #fff6e0; color: #a26200; }
.sf-badge--reward { background: #eaf7f1; color: #067a54; }
.sf-badge--zero { background: #eef1ff; color: #3b4bd6; }
.sf-badge--mgmt { background: var(--sf-brand-soft); color: var(--sf-brand); }
.sf-badge--best { background: var(--sf-ink); color: #fff; }

/* ----------------------------------------------------------------- 헤더 */
.sf-head {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--sf-line);
}
.sf-head-in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--sf-head-h);
}
.sf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.sf-logo img { height: 30px; width: auto; display: block; }
.sf-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.sf-logo-text strong { font-size: 16.5px; font-weight: 800; letter-spacing: -.03em; color: var(--sf-ink); }
.sf-logo-text small { font-size: 10.5px; font-weight: 600; color: var(--sf-muted); letter-spacing: -.01em; }

.sf-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; }
.sf-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sf-body);
  letter-spacing: -.02em;
  transition: color .15s ease, background .15s ease;
}
.sf-nav a:hover { color: var(--sf-ink); background: var(--sf-bg-soft); }
.sf-nav a.is-active { color: var(--sf-ink); }
.sf-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--sf-brand);
}

.sf-head-act { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.sf-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--sf-line); border-radius: 12px; background: #fff; }
.sf-burger span { display: block; width: 16px; height: 2px; margin: 3px auto; background: var(--sf-ink); border-radius: 2px; }

/* ------------------------------------------------------------------ 히어로 */
.sf-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 420px at 12% -10%, #eaf1ff 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 380px at 92% 0%, #f3f7ff 0%, rgba(255, 255, 255, 0) 58%),
    #ffffff;
  border-bottom: 1px solid var(--sf-line);
}
.sf-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 52px;
  align-items: center;
  padding: 66px 0 58px;
}
.sf-hero-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.18;
  letter-spacing: -.045em;
  font-weight: 800;
  color: var(--sf-ink);
}
.sf-hero-copy h1 em {
  font-style: normal;
  color: var(--sf-brand);
  white-space: nowrap;
  background-image: linear-gradient(to top, rgba(37, 99, 235, .16) 0, rgba(37, 99, 235, .16) 18%, transparent 18%);
  padding: 0 2px;
}
.sf-hero-copy p.sf-hero-sub {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--sf-body);
  max-width: 560px;
}

.sf-hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--sf-line);
}
.sf-hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.sf-hero-stats strong { font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--sf-ink); }
.sf-hero-stats span { font-size: 12.5px; font-weight: 600; color: var(--sf-muted); }

/* 히어로 우측: 인기 상품 미니 카드 */
.sf-hero-side { display: flex; flex-direction: column; gap: 10px; }
.sf-hero-side-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sf-muted);
  margin-bottom: 2px;
}
.sf-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.sf-mini:hover { transform: translateY(-2px); box-shadow: var(--sf-shadow); border-color: #dbe3ee; }
.sf-mini img {
  width: 56px; height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--sf-bg-soft);
  flex: 0 0 auto;
  padding: 4px;
}
.sf-mini-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sf-mini-brand { font-size: 11px; font-weight: 700; color: var(--sf-brand); }
.sf-mini-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sf-ink);
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-mini-price { font-size: 12.5px; font-weight: 800; color: var(--sf-ink-2); }
.sf-mini-price small { font-weight: 600; color: var(--sf-muted); }

/* --------------------------------------------------------------- 검색바 */
.sf-searchbar { margin-top: 30px; max-width: 640px; }
.sf-searchbar-form {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  padding: 6px 6px 6px 18px;
  background: #fff;
  border: 1.5px solid var(--sf-ink);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .09);
}
.sf-searchbar-icon { font-size: 19px; color: var(--sf-muted); line-height: 1; }
.sf-searchbar-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--sf-ink);
  outline: none;
}
.sf-searchbar-form input::placeholder { color: #9aa5b1; font-weight: 500; }
.sf-searchbar-submit {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--sf-ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: background .16s ease;
}
.sf-searchbar-submit:hover { background: var(--sf-brand); }

.sf-quickchips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
}
.sf-quickchips-label { font-size: 12px; font-weight: 700; color: var(--sf-muted); margin-right: 2px; }

/* -------------------------------------------------------------- 허브 탭 */
.sf-hub-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}
.sf-hub-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--sf-line);
  border-radius: var(--sf-radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sf-hub-tab:hover { transform: translateY(-2px); box-shadow: var(--sf-shadow); }
.sf-hub-tab.is-active { border-color: var(--sf-ink); box-shadow: var(--sf-shadow); }
.sf-hub-tab-ico {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sf-bg-soft);
  font-size: 21px;
}
.sf-hub-tab.is-active .sf-hub-tab-ico { background: var(--sf-ink); color: #fff; }
.sf-hub-tab-body { display: flex; flex-direction: column; gap: 3px; }
.sf-hub-tab-body strong { font-size: 16.5px; font-weight: 800; color: var(--sf-ink); letter-spacing: -.03em; }
.sf-hub-tab-body span { font-size: 12.5px; color: var(--sf-muted); font-weight: 600; }
.sf-hub-tab-arrow { margin-left: auto; font-size: 18px; color: var(--sf-muted); }
.sf-hub-panel { display: none; }
.sf-hub-panel.is-active { display: block; }

/* 통신사 타일 */
.sf-carriers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sf-carrier {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.sf-carrier:hover { transform: translateY(-2px); border-color: #cfd8e6; box-shadow: var(--sf-shadow); }
.sf-carrier-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex: 0 0 auto;
  letter-spacing: -.02em;
}
.sf-carrier-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-carrier-body strong { font-size: 14.5px; font-weight: 800; color: var(--sf-ink); }
.sf-carrier-body span { font-size: 12px; font-weight: 600; color: var(--sf-muted); }
.sf-carrier-go { margin-left: auto; font-size: 15px; color: var(--sf-muted); }

/* -------------------------------------------------------------- 상품 그리드 */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sf-card:hover { transform: translateY(-3px); box-shadow: var(--sf-shadow); border-color: #dde4ee; }

.sf-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%);
  display: block;
}
.sf-card-media > a { display: block; width: 100%; height: 100%; }
.sf-card-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  mix-blend-mode: multiply;
  transition: transform .28s ease;
}
.sf-card:hover .sf-card-media img { transform: scale(1.035); }
.sf-card-flag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sf-ink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
}
.sf-card-wish {
  position: absolute;
  right: 12px; top: 12px;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  background: rgba(255, 255, 255, .94);
  color: var(--sf-body);
  font-size: 15px;
  display: grid;
  place-items: center;
  transition: all .15s ease;
}
.sf-card-wish:hover { border-color: var(--sf-brand); color: var(--sf-brand); }
.sf-card-wish.is-in { background: var(--sf-brand); border-color: var(--sf-brand); color: #fff; }

.sf-card-body { display: flex; flex-direction: column; gap: 7px; padding: 16px 16px 18px; flex: 1; }
.sf-card-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; }
.sf-card-brand { color: var(--sf-brand); }
.sf-card-cat { color: var(--sf-muted); }
.sf-card-cat::before { content: "·"; margin-right: 5px; color: #cbd5e1; }
.sf-card-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.025em;
  color: var(--sf-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.84em;
}
.sf-card-name:hover { color: var(--sf-brand); }
.sf-card-model { font-size: 11.5px; font-weight: 600; color: var(--sf-muted); letter-spacing: .01em; }
.sf-card-sum {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--sf-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-card-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }

.sf-card-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--sf-line-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sf-card-price-main { display: flex; align-items: baseline; gap: 3px; }
.sf-card-price-main .sf-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--sf-ink);
}
.sf-card-price-main .sf-unit { font-size: 12.5px; font-weight: 700; color: var(--sf-ink-2); }
.sf-card-price-main .sf-ask { font-size: 16px; font-weight: 800; color: var(--sf-ink-2); }
.sf-card-price-card { font-size: 12px; font-weight: 600; color: var(--sf-muted); }
.sf-card-price-card strong { color: var(--sf-brand); font-weight: 800; }
.sf-card-months { color: var(--sf-muted); }

.sf-card-actions { display: flex; gap: 7px; margin-top: 12px; }
.sf-card-actions .sf-btn { height: 40px; font-size: 13px; border-radius: 10px; padding: 0 12px; }

/* 검색 결과용 미니 카드 */
.sf-card--mini .sf-card-media { aspect-ratio: 5 / 3; }
.sf-card--mini .sf-card-body { padding: 12px 13px 14px; gap: 5px; }
.sf-card--mini .sf-card-name { font-size: 13.5px; min-height: 0; -webkit-line-clamp: 2; }
.sf-card--mini .sf-card-price-main .sf-num { font-size: 18px; }
.sf-card--mini .sf-card-actions { margin-top: 8px; }
.sf-card--mini .sf-card-actions .sf-btn { height: 36px; font-size: 12px; }

/* ------------------------------------------------------------------ 모달 */
.sf-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sf-modal.is-open { display: flex; }
.sf-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .46);
  backdrop-filter: blur(3px);
}
.sf-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--sf-shadow-lg);
  padding: 26px;
  animation: sfPop .22s ease;
}
.sf-modal-card--search { max-width: 780px; }
@keyframes sfPop {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sf-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sf-modal-head h2 {
  margin: 8px 0 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--sf-ink);
  line-height: 1.32;
}
.sf-modal-x {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  background: #fff;
  color: var(--sf-body);
  font-size: 14px;
  display: grid;
  place-items: center;
}
.sf-modal-x:hover { background: var(--sf-bg-soft); color: var(--sf-ink); }

.sf-modal-searchform {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 6px 6px 16px;
  border: 1.5px solid var(--sf-ink);
  border-radius: 999px;
  background: #fff;
}
.sf-modal-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--sf-ink);
}
.sf-modal-submit {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--sf-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.sf-modal-submit:disabled { opacity: .6; cursor: progress; }
.sf-quickchips--modal { margin-top: 12px; }

.sf-searchstate { margin-top: 16px; }
.sf-searchstate .sf-hint { font-size: 12.5px; color: var(--sf-muted); line-height: 1.6; }
.sf-searchstate .sf-notice {
  display: flex;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #ffe6ad;
  color: #8a5b00;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
}
.sf-searchstate .sf-parsed { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sf-parsed-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--sf-brand-soft);
  color: var(--sf-brand);
  font-size: 12px;
  font-weight: 800;
}
.sf-parsed-chip--drop { background: #f3f4f6; color: #6b7280; text-decoration: line-through; }

.sf-searchresult { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sf-searchresult .sf-empty { grid-column: 1 / -1; }
.sf-searchfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sf-line-soft);
  font-size: 12px;
  color: var(--sf-muted);
}
.sf-link-phone { font-weight: 800; color: var(--sf-ink); }

/* ------------------------------------------------------------- 비교 드로어 */
.sf-drawer { position: fixed; inset: 0; z-index: 3100; display: none; }
.sf-drawer.is-open { display: block; }
.sf-drawer-bg { position: absolute; inset: 0; background: rgba(11, 18, 32, .44); backdrop-filter: blur(2px); }
.sf-drawer-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(460px, 100%);
  background: #fff;
  box-shadow: var(--sf-shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  animation: sfSlide .24s ease;
}
@keyframes sfSlide { from { transform: translateX(30px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
.sf-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sf-drawer-head h2 { margin: 6px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: var(--sf-ink); }
.sf-compare-body { flex: 1 1 auto; }
.sf-compare-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sf-compare-table th, .sf-compare-table td {
  border-bottom: 1px solid var(--sf-line-soft);
  padding: 9px 6px;
  text-align: center;
  vertical-align: top;
}
.sf-compare-table thead th { padding-bottom: 10px; }
.sf-compare-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--sf-muted);
  white-space: nowrap;
  width: 74px;
}
.sf-compare-col { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sf-compare-col img { width: 62px; height: 62px; object-fit: contain; border-radius: 10px; background: var(--sf-bg-soft); }
.sf-compare-col strong { font-size: 12px; font-weight: 800; color: var(--sf-ink); line-height: 1.35; }
.sf-compare-col button {
  border: 0; background: transparent; color: var(--sf-muted);
  font-size: 11px; text-decoration: underline; padding: 0;
}
.sf-compare-vs { font-weight: 800; color: var(--sf-ink); }
.sf-compare-vs.best { color: var(--sf-brand); }
.sf-empty { font-size: 13px; color: var(--sf-muted); line-height: 1.6; padding: 26px 0; text-align: center; }

/* --------------------------------------------------------------- 상담 폼 */
.sf-consult-form { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.sf-consult-form--inline { border-top: 1px solid var(--sf-line); padding-top: 18px; }
.sf-consult-form .sf-form-title { font-size: 14px; font-weight: 800; color: var(--sf-ink); margin-bottom: 2px; }
.sf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sf-consult-form input[type="text"],
.sf-consult-form input[type="tel"],
.sf-consult-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--sf-line);
  border-radius: 11px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--sf-ink);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sf-consult-form input:focus, .sf-consult-form textarea:focus {
  border-color: var(--sf-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.sf-consult-form textarea { resize: vertical; min-height: 64px; }
.sf-agree { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; color: var(--sf-muted); line-height: 1.5; }
.sf-agree input { margin-top: 2px; }
.sf-form-msg { font-size: 12.5px; font-weight: 700; margin: 0; min-height: 16px; }
.sf-form-msg.ok { color: var(--sf-green); }
.sf-form-msg.err { color: var(--sf-red); }
.sf-modal-foot { margin-top: 14px; font-size: 12px; color: var(--sf-muted); text-align: center; }
.sf-modal-foot a { font-weight: 800; color: var(--sf-ink); }

/* ------------------------------------------------------------ 상담 도우미 */
   (2026-11-27) 상담 도우미(.sf-helper*)의 기본 정의는 css/shop.css 한 곳에만 둔다.
   이 파일(= v4/css/telecom.css 병합본)에 복사되어 있던 같은 블록과,v4·v5·v6·v8 의
   덮어쓰기 규칙은 모두 걷어냈다 — 인터넷·가전 사은품 페이지가 같은 바를 같은 모양으로 쓴다.
   페이지별 보정은 css/internet-landing-20261123.css · css/gift-landing-20261125.css 가 맡는다. */


/* --------------------------------------------------------------- 섹션들 */
/* 실시간 접수 현황 (script.js 가 #liveFeedContainer 를 채움) */
.sf-live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.live-feed-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 14px;
  font-size: 12.5px;
}
.sf-page .live-feed-card .feed-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sf-page .live-feed-card .feed-time-loc { font-size: 11px; color: var(--sf-muted); font-weight: 600; }
.sf-page .live-feed-card .feed-date-badge { color: var(--sf-brand); font-weight: 800; }
.sf-page .live-feed-card .feed-content {
  font-size: 13px;
  font-weight: 700;
  color: var(--sf-ink-2);
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-page .live-feed-card .feed-status {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sf-bg-soft);
  color: var(--sf-body);
  font-size: 11px;
  font-weight: 800;
}
.sf-page .live-feed-card .feed-status.highlight { background: #eaf7f1; color: #067a54; }
.fade-in-card { animation: sfFade .5s ease; }
@keyframes sfFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* 신뢰 지표 (기존 .trust-* 클래스 다듬기) */
.sf-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sf-page .trust-card {
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: none;
}
.sf-page .trust-card.highlight { background: var(--sf-ink); border-color: var(--sf-ink); }
.sf-page .trust-card .trust-icon { font-size: 22px; margin-bottom: 8px; }
.sf-page .trust-card .label { font-size: 12.5px; font-weight: 700; color: var(--sf-muted); margin-top: 4px; }
.sf-page .trust-card.highlight .label { color: #cbd5e1; }
.sf-page .trust-card .counter { font-size: 40px; font-weight: 800; letter-spacing: -.05em; color: var(--sf-ink); }
.sf-page .trust-card.highlight .counter,
.sf-page .trust-card.highlight .plus,
.sf-page .trust-card.highlight .text-title { color: #fff; }
.sf-page .trust-card .plus { font-size: 20px; font-weight: 800; color: var(--sf-ink); }
.sf-page .trust-card .text-title { color: var(--sf-ink) !important; }

/* 가전 사은품 (script.js 가 그리는 기존 카드 다듬기) */
.sf-page .gift-section-wrap { max-width: var(--sf-wrap); margin: 0 auto; padding: 0 24px; }
.sf-page .gift-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sf-page .gift-card {
  border: 1px solid var(--sf-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 14px !important;
}
.sf-page .gift-card:hover { box-shadow: var(--sf-shadow) !important; border-color: #dbe3ee !important; }
.sf-page .gift-img-box { background: var(--sf-bg-soft) !important; border-radius: 12px !important; }
.sf-page .gift-name { font-size: 13.5px !important; font-weight: 800 !important; color: var(--sf-ink) !important; }
.sf-page .gift-model { font-size: 11.5px !important; color: var(--sf-muted) !important; }
.sf-page .gift-price { font-size: 11.5px !important; color: var(--sf-muted) !important; }

/* 후기 (script.js 가 그리는 기존 카드 다듬기) */
.sf-page .review-section-wrap { max-width: var(--sf-wrap); margin: 0 auto; padding: 0 24px; }
.sf-page .review-track { gap: 16px !important; }
.sf-page .review-card {
  background: #fff !important;
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-radius) !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden;
}
.sf-page .review-img-box { border-radius: 0 !important; aspect-ratio: 4 / 3; background: var(--sf-bg-soft); }
.sf-page .review-img-box img { width: 100%; height: 100%; object-fit: cover; }
.sf-page .review-text { font-size: 13px !important; line-height: 1.68 !important; color: var(--sf-body) !important; padding: 16px 16px 6px !important; }
.sf-page .review-user { font-size: 12px !important; font-weight: 800 !important; color: var(--sf-ink) !important; padding: 0 16px 16px !important; }
.sf-page .review-arrow {
  background: #fff !important;
  border: 1px solid var(--sf-line) !important;
  color: var(--sf-ink) !important;
  border-radius: 999px !important;
  width: 40px !important; height: 40px !important;
}

/* 빠른 상담 CTA */
.sf-cta {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 44px;
  border-radius: 26px;
  background: var(--sf-ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.sf-cta::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .55) 0%, rgba(37, 99, 235, 0) 70%);
}
.sf-cta h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.035em; margin: 10px 0 0; line-height: 1.32; }
.sf-cta p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.7; color: #cbd5e1; }
.sf-cta .sf-eyebrow { color: #93b4ff; }
.sf-cta-act { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.sf-cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 62px;
  border-radius: 16px;
  background: #fff;
  color: var(--sf-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.sf-cta-phone:hover { background: var(--sf-brand); color: #fff; }
.sf-cta-sub { display: flex; gap: 8px; }
.sf-cta-sub .sf-btn { flex: 1; }

/* ------------------------------------------------------------------ 푸터 */
.sf-foot { background: #0b1220; color: #94a3b8; padding: 52px 0 44px; margin-top: 76px; }
.sf-foot-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
.sf-logo--foot strong { color: #fff; font-size: 18px; }
.sf-logo--foot img { height: 30px; filter: brightness(0) invert(1); opacity: .92; }
.sf-foot-brand p { margin: 14px 0 0; font-size: 13px; line-height: 1.7; color: #94a3b8; max-width: 380px; }
.sf-foot-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 12.5px; font-weight: 700; }
.sf-foot-links a { color: #cbd5e1; }
.sf-foot-links a:hover { color: #fff; }
.sf-foot-info p { margin: 0 0 5px; font-size: 12.5px; line-height: 1.75; color: #94a3b8; }
.sf-foot-info strong { color: #e2e8f0; }
.sf-foot-info a { color: #e2e8f0; }
.sf-foot-copy { margin-top: 14px !important; color: #64748b !important; font-size: 11.5px !important; }

/* =============================================================================
   상품 목록 (products.php)
   ============================================================================= */
.sf-page-head { padding: 46px 0 8px; }
.sf-page-head h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.04em; color: var(--sf-ink); margin: 10px 0 0; }
.sf-page-head p { margin: 12px 0 0; font-size: 15px; color: var(--sf-body); max-width: 640px; line-height: 1.7; }
.sf-page-head .sf-searchbar { max-width: 100%; margin-top: 24px; }

.sf-filterbar {
  position: sticky;
  top: var(--sf-head-h);
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sf-line);
  margin-top: 26px;
}
.sf-filterbar-in { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; }
.sf-filter-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.sf-filter-label { font-size: 11.5px; font-weight: 800; color: var(--sf-muted); letter-spacing: .04em; margin-right: 4px; }
.sf-filter-sort { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.sf-filter-sort select {
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sf-ink-2);
  font-family: inherit;
  outline: none;
}
.sf-result-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 16px; }
.sf-result-line strong { font-size: 15px; font-weight: 800; color: var(--sf-ink); }
.sf-result-line .sf-result-total { font-size: 13px; color: var(--sf-muted); font-weight: 600; }

.sf-emptybox {
  padding: 62px 24px;
  text-align: center;
  border: 1px dashed var(--sf-line);
  border-radius: var(--sf-radius);
  background: var(--sf-bg-soft);
}
.sf-emptybox strong { display: block; font-size: 16px; font-weight: 800; color: var(--sf-ink); margin-bottom: 6px; }
.sf-emptybox p { font-size: 13px; color: var(--sf-muted); line-height: 1.6; margin: 0 0 16px; }

.sf-pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; }
.sf-pager a, .sf-pager span {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--sf-ink-2);
}
.sf-pager a:hover { border-color: var(--sf-ink); color: var(--sf-ink); }
.sf-pager .is-active { background: var(--sf-ink); border-color: var(--sf-ink); color: #fff; }

/* =============================================================================
   상품 상세 (product.php)
   ============================================================================= */
.sf-detail { padding: 30px 0 0; }
.sf-crumb { font-size: 12.5px; color: var(--sf-muted); display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.sf-crumb a { color: var(--sf-muted); font-weight: 600; }
.sf-crumb a:hover { color: var(--sf-ink); }
.sf-crumb span.sep { color: #cbd5e1; }

.sf-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sf-detail-media {
  position: relative;
  border: 1px solid var(--sf-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fafbfc, #f3f5f8);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sf-detail-media img { width: 100%; height: 100%; object-fit: contain; padding: 28px; mix-blend-mode: multiply; }
.sf-detail-flag {
  position: absolute;
  left: 16px; top: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sf-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.sf-detail-info { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.sf-detail-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
.sf-detail-meta .sf-card-brand { color: var(--sf-brand); }
.sf-detail-meta .sf-card-cat { color: var(--sf-muted); }
.sf-detail-info h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.04em; line-height: 1.34; color: var(--sf-ink); margin: 0; }
.sf-detail-sum { font-size: 14.5px; line-height: 1.7; color: var(--sf-body); margin: 0; }
.sf-detail-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.sf-pricebox {
  margin-top: 4px;
  padding: 20px;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  background: var(--sf-bg-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sf-pricebox-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sf-pricebox-row .label { font-size: 13px; font-weight: 700; color: var(--sf-muted); }
.sf-pricebox-row .value { font-size: 15px; font-weight: 800; color: var(--sf-ink); }
.sf-pricebox-row .value.big { font-size: 30px; letter-spacing: -.05em; }
.sf-pricebox-row .value.card-price { color: var(--sf-brand); }
.sf-pricebox-row .value .unit { font-size: 13px; font-weight: 700; color: var(--sf-ink-2); margin-left: 2px; }
.sf-pricebox-hint { font-size: 11.5px; color: var(--sf-muted); line-height: 1.55; }

.sf-opts { display: flex; flex-direction: column; gap: 12px; }
.sf-opt-group { display: flex; flex-direction: column; gap: 8px; }
.sf-opt-title { font-size: 12.5px; font-weight: 800; color: var(--sf-ink-2); }
.sf-opt-row { display: flex; flex-wrap: wrap; gap: 7px; }
.sf-opt {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid var(--sf-line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--sf-body);
  transition: all .15s ease;
}
.sf-opt:hover { border-color: var(--sf-ink); color: var(--sf-ink); }
.sf-opt.is-active { background: var(--sf-ink); border-color: var(--sf-ink); color: #fff; }
.sf-opt[disabled] { opacity: .45; cursor: not-allowed; }

.sf-detail-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }
.sf-detail-actions .sf-btn { height: 52px; border-radius: 13px; font-size: 15px; }
.sf-detail-actions-row { display: flex; gap: 8px; }
.sf-detail-actions-row .sf-btn { flex: 1; }
.sf-note { font-size: 11.5px; color: var(--sf-muted); line-height: 1.6; margin: 0; }

/* 상세 탭/본문 */
.sf-detail-body { margin-top: 54px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.sf-panel {
  border: 1px solid var(--sf-line);
  border-radius: 20px;
  padding: 26px;
  background: #fff;
}
.sf-panel h2 { font-size: 18px; font-weight: 800; letter-spacing: -.03em; color: var(--sf-ink); margin: 0 0 16px; }
.sf-spec { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sf-spec th, .sf-spec td { padding: 11px 4px; border-bottom: 1px solid var(--sf-line-soft); text-align: left; }
.sf-spec th { width: 130px; color: var(--sf-muted); font-weight: 700; }
.sf-spec td { color: var(--sf-ink-2); font-weight: 600; }
.sf-html-body { font-size: 14px; line-height: 1.85; color: var(--sf-ink-2); }
.sf-html-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 10px 0; }
.sf-html-body h3 { font-size: 16px; font-weight: 800; margin: 20px 0 8px; color: var(--sf-ink); }
.sf-html-body p { margin: 0 0 10px; }
.sf-html-body table { width: 100%; border-collapse: collapse; }
.sf-html-body td, .sf-html-body th { border: 1px solid var(--sf-line); padding: 8px; }

.sf-inline-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.sf-inline-form input { grid-column: span 1; }
.sf-inline-form textarea { grid-column: 1 / -1; }
.sf-inline-form .sf-form-msg { grid-column: 1 / -1; }

/* =============================================================================
   기존(script.js) 컴포넌트가 index.php 에서 자연스럽게 보이도록 다듬기
   ============================================================================= */
/* 실시간 지원금 바 */
.sf-page .policy-bar { width: 100%; max-width: var(--sf-wrap); margin: 0 auto; border-radius: 16px; box-shadow: none; }
.sf-page .policy-bar .policy-title { background: var(--sf-ink); }
.sf-page .policy-bar .policy-cta-btn { background: #fff; color: var(--sf-ink); border-radius: 999px; font-weight: 800; }

/* 가전 사은품 신청 박스(기존 인라인 스타일) */
.sf-page #inlineApplyBox { border-radius: 18px !important; border-color: var(--sf-line) !important; box-shadow: none !important; }
.sf-page #inlineApplyBox h3 { color: var(--sf-ink) !important; }

/* 후기 섹션 헤더 */
.sf-page .review-top-title { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.03em; color: var(--sf-ink) !important; }

/* =============================================================================
   반응형
   ============================================================================= */
@media (max-width: 1120px) {
  .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-hero-in { gap: 34px; }
  .sf-carriers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-page .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .sf-hero-in { grid-template-columns: 1fr; padding: 48px 0 44px; }
  .sf-hero-side { display: none; }
  .sf-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .sf-detail-media { aspect-ratio: 4 / 3; }
  .sf-cta { grid-template-columns: 1fr; padding: 32px; }
  .sf-foot-in { grid-template-columns: 1fr; gap: 26px; }
  .sf-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-live { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --sf-head-h: 64px; }
  .sf-nav {
    position: fixed;
    left: 0; right: 0; top: var(--sf-head-h);
    z-index: 119;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--sf-line);
    box-shadow: 0 18px 30px rgba(15, 23, 42, .08);
    display: none;
  }
  .sf-nav.is-open { display: flex; }
  .sf-nav a { padding: 13px 12px; font-size: 15px; border-radius: 12px; }
  .sf-nav a.is-active::after { display: none; }
  .sf-nav a.is-active { background: var(--sf-brand-soft); color: var(--sf-brand); }
  .sf-burger { display: block; }
  .sf-head-act .sf-btn-phone { display: none; }
  .sf-head-act .sf-btn-smart { height: 40px; padding: 0 13px; font-size: 12.5px; }
  .sf-sec { padding: 56px 0; }
  .sf-sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sf-hub-tabs { grid-template-columns: 1fr; }
  .sf-grid, .sf-page .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-searchresult { grid-template-columns: 1fr; }
  .sf-filterbar { position: static; }
  .sf-filter-sort { margin-left: 0; width: 100%; }
  .sf-filter-sort select { flex: 1; }

  body.sf-page { padding-bottom: 74px !important; }
  .sf-foot { margin-top: 56px; padding-bottom: 84px; }
}

@media (max-width: 560px) {
  .sf-wrap { padding: 0 16px; }
  .sf-hero-copy h1 { font-size: 30px; }
  .sf-hero-copy p.sf-hero-sub { font-size: 14.5px; }
  .sf-searchbar-form { height: 54px; padding-left: 14px; }
  .sf-searchbar-submit { padding: 0 14px; font-size: 12px; }
  .sf-hero-stats { gap: 18px; }
  .sf-hero-stats strong { font-size: 17px; }
  .sf-carriers { grid-template-columns: 1fr; }
  .sf-grid, .sf-page .gift-grid { grid-template-columns: 1fr; }
  .sf-modal { padding: 10px; align-items: flex-end; }
  .sf-modal-card { border-radius: 20px 20px 12px 12px; padding: 20px; max-height: 92vh; }
  .sf-drawer-panel { width: 100%; border-radius: 20px 20px 0 0; }
  .sf-trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sf-page .trust-card { padding: 20px 12px; }
  .sf-page .trust-card .counter { font-size: 30px; }
  .sf-cta { padding: 26px 20px; border-radius: 20px; }
  .sf-cta-phone { height: 54px; font-size: 19px; }
  .sf-inline-form { grid-template-columns: 1fr; }
  .sf-panel { padding: 20px 16px; }
}

/* =============================================================================
   기존 지원금 비교표(js/script.js) 필터 버튼 다듬기 — 속도/통신사 탭
   ============================================================================= */
.sf-page .filter-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  background: #fff;
  color: var(--sf-body);
  font-size: 12.5px;
  font-weight: 700;
  transition: all .15s ease;
}
.sf-page .filter-btn:hover { border-color: var(--sf-ink); color: var(--sf-ink); background: #fff; }
.sf-page .filter-btn.active {
  background: var(--sf-ink);
  border-color: var(--sf-ink);
  color: #fff;
}

.sf-page .top-benefit-summary-wrap { margin-bottom: 20px; }

/* 지원금 비교표 감싸기 */
.sf-page .policy-table-responsive { border-radius: 16px; overflow: auto; }
.sf-page .policy-table-wrap,
.sf-page .policy-dynamic-table-wrap { border-radius: 16px; }

/* =============================================================================
   부업 파트너 모집 섹션 (#partnerSection)
   -----------------------------------------------------------------------------
   · 기존 루트 index.php(부업 랜딩)의 수익 정책·진행 절차를 새 메인 안의
     한 섹션으로 옮기면서 추가한 클래스입니다. (sf- 접두사 체계 유지)
   · 위쪽 기존 규칙과 미디어쿼리는 건드리지 않고 파일 끝에만 덧붙였습니다.
   ============================================================================= */
.sf-partner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: stretch;
}
.sf-partner-card {
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 30px;
  box-shadow: none;
}
.sf-partner-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sf-partner-pay-item {
  background: var(--sf-bg-soft);
  border: 1px solid var(--sf-line);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}
.sf-partner-pay-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--sf-muted);
}
.sf-partner-pay-amount {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
  color: var(--sf-ink);
}
.sf-partner-pay-amount small { font-size: 15px; font-weight: 800; margin-left: 2px; }
.sf-partner-lead {
  margin: 20px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--sf-body);
}
.sf-partner-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.sf-partner-list li {
  position: relative;
  padding-left: 21px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sf-ink-2);
}
.sf-partner-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 800;
  color: var(--sf-brand);
}
.sf-partner-title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--sf-ink);
}
.sf-partner-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sf-partner-steps li { display: flex; align-items: flex-start; gap: 12px; }
.sf-partner-steps .num {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--sf-brand-soft);
  color: var(--sf-brand);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-partner-steps strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--sf-ink);
}
.sf-partner-steps .desc {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sf-body);
}
.sf-partner-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.sf-partner-foot .sf-note { flex: 1 1 260px; min-width: 0; }

@media (max-width: 960px) {
  .sf-partner { grid-template-columns: 1fr; }
  .sf-partner-card { padding: 24px; }
}

@media (max-width: 560px) {
  .sf-partner-card { padding: 20px 16px; }
  .sf-partner-pay-amount { font-size: 25px; }
  .sf-partner-list { grid-template-columns: 1fr; }
  .sf-partner-foot .sf-btn { flex: 1 1 100%; }
  .sf-partner-foot .sf-note { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .sf-partner-pay { gap: 8px; }
  .sf-partner-pay-item { padding: 14px 8px; border-radius: 12px; }
  .sf-partner-pay-label { font-size: 11.5px; }
  .sf-partner-pay-amount { font-size: 22px; margin-top: 6px; }
  .sf-partner-pay-amount small { font-size: 12.5px; }
  .sf-partner-lead { font-size: 13.5px; }
  .sf-partner-title { font-size: 15.5px; margin-bottom: 14px; }
  .sf-partner-steps { gap: 12px; }
  .sf-partner-steps strong { font-size: 13.5px; }
  .sf-partner-steps .desc { font-size: 12px; }
}

/* <a> 로 만든 버튼이 본문 링크 색상 규칙(body.sf-page a)에 덮이지 않도록
   부업 섹션 안에서만 색을 다시 잡아 줍니다. */
.sf-partner-foot a.sf-btn-primary,
.sf-partner-foot a.sf-btn-primary:hover { color: #fff; }
.sf-partner-foot a.sf-btn-ghost,
.sf-partner-foot a.sf-btn-ghost:hover { color: var(--sf-ink-2); }

/* ------------------------------------------------------------------
   상담 CTA 버튼 글자색 보정
   body.sf-page a{color:inherit} 특이도가 더 높아 <a> 버튼 글자가
   배경색에 묻히는 문제만 정확히 되돌립니다. */
body.sf-page a.sf-cta-phone { color: var(--sf-ink); }
body.sf-page a.sf-cta-phone:hover { color: #fff; }
body.sf-page .sf-cta-sub a.sf-btn { color: var(--sf-ink); }
body.sf-page .sf-cta-sub a.sf-btn:hover { color: #fff; }

/* ===== v4/css/new-main.css (원문 그대로) ===== */
/* =============================================================================
   TEMO 태모커머스 - 새 메인(v4) 스타일
   -----------------------------------------------------------------------------
   · 이 파일은 css/main.css, css/shop.css 뒤에 불러옵니다(마지막).
   · 앞의 두 파일에서 충돌하던 리셋(headers/body padding/*)과 색만 이 파일에서 정리합니다.
   · 테모커머스 style.css 의 헤더(.new-header__*)·히어로(.hero-*) 규칙을 부트스트랩
     없이 다시 쓴 것이 2~4장이고, 5장부터는 새 메인의 색·가격·푸터 보정입니다.
   · 클래스 이름(sf-*)은 그대로 두었습니다. js/script.js, js/shop-ui.js 가 잡는
     id(#sfHead #sfBurger #sfNav #sfHeroSearchForm …)도 그대로입니다.
   ============================================================================= */

/* ---------------------------------------------------------------- 0. 토큰 */
:root {
  --v4-ink: #111111;
  --v4-ink-2: #333333;
  --v4-body: #555555;
  --v4-muted: #727780;
  --v4-muted-2: #8f9198;
  --v4-line: #e5e5e5;
  --v4-line-2: #eff0f2;
  --v4-bg: #ffffff;
  --v4-bg-2: #f6f7f9;
  --v4-red: #ea1917;
  --v4-wrap: 1400px;
  --v4-pad: 32px;
  --v4-head-h: 100px;

  /* shop.css 토큰을 무채색 중심으로 */
  --sf-brand: #111111;
  --sf-brand-dark: #333333;
  --sf-brand-soft: #f2f3f5;
  --sf-ink: #111111;
  --sf-ink-2: #333333;
  --sf-body: #555555;
  --sf-muted: #727780;
  --sf-line: #e5e5e5;
  --sf-line-soft: #eff0f2;
  --sf-radius: 8px;
  --sf-radius-sm: 6px;
  --sf-red: #ea1917;
  --sf-wrap: 1400px;
}

/* ------------------------------------------------- 1. 리셋·여백 충돌 정리 */
body.sf-page {
  background: var(--v4-bg) !important;
  color: var(--v4-ink);
  padding-bottom: 0 !important;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
body.sf-page h1,
body.sf-page h2,
body.sf-page h3,
body.sf-page h4 {
  line-height: 1.32;
  letter-spacing: -0.03em;
}
/* main.css 의 header{sticky; blur; 그림자} 규칙이 새 헤더에 걸리지 않게 */
header.v4-head {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 0;
}
.v4-inner {
  width: 100%;
  max-width: var(--v4-wrap);
  margin: 0 auto;
  padding: 0 var(--v4-pad);
}

/* -------------------------------------------------------------- 2. 헤더 */
.v4-head__util {
  border-bottom: 1px solid var(--v4-line-2);
}
.v4-head__util-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.v4-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--v4-ink);
}
.v4-logo__mark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.v4-logo__sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--v4-muted-2);
}
.v4-util {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-util a {
  font-size: 13px;
  font-weight: 400;
  color: #444444;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.15s;
}
.v4-util a:hover { color: var(--v4-ink); }
.v4-util a.is-strong {
  color: var(--v4-ink);
  font-weight: 600;
}

.v4-head__gnb { position: relative; }
.v4-head__gnb-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 60px;
}
.v4-gnb__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-gnb__item { position: static; }
.v4-gnb__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 170px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.v4-gnb__item:hover > .v4-gnb__link,
.v4-gnb__item:focus-within > .v4-gnb__link,
.v4-gnb__item.is-open > .v4-gnb__link {
  background: var(--v4-ink);
  color: #ffffff;
  font-weight: 700;
}
.v4-gnb__item.is-current > .v4-gnb__link { font-weight: 700; }

/* 전체 폭 패널 */
.v4-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  border-top: 1px solid var(--v4-line-2);
  border-bottom: 1px solid var(--v4-line);
  box-shadow: 0 20px 30px -22px rgba(0, 0, 0, 0.25);
  z-index: 950;
}
.v4-gnb__item:hover > .v4-panel,
.v4-gnb__item:focus-within > .v4-panel,
.v4-gnb__item.is-open > .v4-panel {
  display: block;
  animation: v4PanelIn 0.16s ease-out;
}
@keyframes v4PanelIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.v4-panel__in { padding-top: 26px; padding-bottom: 30px; }
.v4-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v4-line-2);
  margin-bottom: 18px;
}
.v4-panel__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
}
.v4-panel__title span {
  font-size: 12px;
  font-weight: 400;
  color: var(--v4-muted-2);
  margin-left: 10px;
  letter-spacing: 0;
}
.v4-panel__all {
  font-size: 13px;
  font-weight: 500;
  color: var(--v4-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.v4-panel__all:hover { color: var(--v4-ink); }
.v4-panel__all svg { width: 12px; height: 12px; }

.v4-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-tile > a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--v4-ink);
  transition: background-color 0.15s;
}
.v4-tile > a:hover { background: var(--v4-bg-2); }
.v4-tile__ico {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: #6b7075;
}
.v4-tile__ico svg { width: 30px; height: 30px; }
.v4-tile > a:hover .v4-tile__ico { color: var(--v4-ink); }
.v4-tile__name {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
  line-height: 1.35;
}
.v4-tile__desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--v4-muted-2);
  line-height: 1.4;
  margin-top: -4px;
}

/* GNB 우측 도구 */
.v4-gnb__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.v4-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 236px;
  height: 42px;
  padding: 0 14px 0 18px;
  border: 0;
  border-radius: 21px;
  background: #f4f4f4;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: left;
}
.v4-search-btn:hover { background: #ebebeb; color: var(--v4-ink); }
.v4-search-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.v4-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  text-decoration: none;
  white-space: nowrap;
}
.v4-phone svg { width: 18px; height: 18px; }
.v4-phone:hover { color: var(--v4-red); }
.v4-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.v4-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--v4-ink);
  transition: transform 0.2s, opacity 0.2s;
}
.v4-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v4-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.v4-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------- 3. 히어로 */
.v4-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3805 / 780;
  min-height: 340px;
  max-height: 460px;
  overflow: hidden;
  background: #f2f3f5;
}
.v4-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.v4-slide.is-active { opacity: 1; visibility: visible; }
.v4-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.v4-slide__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.v4-slide__copy { max-width: 560px; }
.v4-slide__badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--v4-ink);
  margin-bottom: 14px;
}
.v4-slide__title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.035em;
  color: var(--v4-ink);
}
.v4-slide__sub {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #444444;
}
.v4-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  height: 46px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--v4-ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background-color 0.15s;
}
.v4-slide__cta:hover { background: #000000; color: #ffffff; }
.v4-slide__cta svg { width: 14px; height: 14px; }

/* 사진이 밝아 왼쪽 글씨가 묻히지 않도록 얕은 흰 그라데이션 */
.v4-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 26%, rgba(255, 255, 255, 0.35) 44%, rgba(255, 255, 255, 0) 58%);
}

.v4-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--v4-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v4-hero__arrow:hover { background: #ffffff; }
.v4-hero__arrow svg { width: 18px; height: 18px; }
.v4-hero__arrow--prev { left: 24px; }
.v4-hero__arrow--next { right: 24px; }

.v4-hero__ctrl {
  position: absolute;
  right: max(24px, calc((100% - var(--v4-wrap)) / 2 + var(--v4-pad)));
  bottom: 22px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
}
.v4-hero__count {
  font-size: 12px;
  font-weight: 500;
  color: #6b6b6b;
  letter-spacing: 0.02em;
}
.v4-hero__count b { color: var(--v4-ink); font-weight: 700; }
.v4-hero__bars { display: flex; gap: 6px; }
.v4-hero__bar {
  position: relative;
  width: 34px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(17, 17, 17, 0.18);
  overflow: hidden;
  border-radius: 2px;
}
.v4-hero__bar > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--v4-ink);
  display: block;
}
.v4-hero__bar.is-active > i { animation: v4Bar 5s linear forwards; }
.v4-hero.is-paused .v4-hero__bar.is-active > i { animation-play-state: paused; }
@keyframes v4Bar { from { width: 0; } to { width: 100%; } }
.v4-hero__toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: var(--v4-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v4-hero__toggle svg { width: 10px; height: 10px; }

/* -------------------------------------------------------- 4. 검색 밴드 */
.v4-search {
  background: #ffffff;
  border-bottom: 1px solid var(--v4-line-2);
  padding: 22px 0 20px;
}
.v4-search__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.v4-search__left { flex: 1 1 auto; min-width: 0; }
.v4-search__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.v4-search__label strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
}
.v4-search__label span {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--v4-muted-2);
}
.v4-search .sf-searchbar-form {
  max-width: 640px;
  border-radius: 6px;
}
.v4-search .sf-searchbar-form input {
  height: 46px;
  font-size: 14.5px;
}
.v4-search .sf-searchbar-submit {
  height: 38px;
  border-radius: 4px !important;
  background: var(--v4-ink) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 0 16px !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.v4-search .sf-searchbar-submit svg { width: 14px; height: 14px; }
.v4-search .sf-quickchips { margin-top: 10px; }
.v4-search__stats {
  flex: 0 0 auto;
  display: flex;
  gap: 0;
  border-left: 1px solid var(--v4-line-2);
  padding-left: 32px;
}
.v4-search__stats > div {
  padding: 0 24px;
  border-right: 1px solid var(--v4-line-2);
  text-align: left;
}
.v4-search__stats > div:last-child { border-right: 0; padding-right: 0; }
.v4-search__stats strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  white-space: nowrap;
}
.v4-search__stats span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--v4-muted-2);
  white-space: nowrap;
}

/* -------------------------------------------------- 5. 섹션 리듬 · 타이포 */
.sf-sec { padding: 64px 0; }
.sf-sec--soft { background: var(--v4-bg-2); }
.sf-sec--tint { background: var(--v4-bg-2); }
.sf-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--v4-muted-2);
  text-transform: uppercase;
}
.sf-sec-head { margin-bottom: 24px; align-items: flex-end; }
.sf-sec-head h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.32;
  color: var(--v4-ink);
  margin: 8px 0 0;
}
.sf-sec-head p {
  font-size: 14px;
  color: var(--v4-body);
  margin-top: 8px;
}
.sf-note { font-size: 12.5px; color: var(--v4-muted-2); }

/* 버튼: 파랑 그라데이션 제거 · 단색 · 각진 모서리 */
.sf-btn {
  border-radius: 4px;
  box-shadow: none !important;
  font-weight: 700;
}
.sf-btn:hover { transform: none; }
.sf-btn-primary { background: var(--v4-ink); color: #fff; box-shadow: none; }
.sf-btn-primary:hover { background: #000; color: #fff; }
.sf-btn-dark { background: var(--v4-ink); color: #fff; }
.sf-btn-dark:hover { background: #000; color: #fff; }
.sf-btn-ghost { border-color: var(--v4-line); background: #fff; color: var(--v4-ink); border-radius: 4px; }
.sf-btn-ghost:hover { border-color: var(--v4-ink); color: var(--v4-ink); }
.sf-btn-smart {
  background: #f2f3f5;
  color: var(--v4-ink);
  border-color: var(--v4-line-2);
}
.sf-btn-smart:hover { background: #e9eaec; }
.sf-btn-phone { background: var(--v4-ink); color: #fff; }
.sf-chip {
  border-radius: 4px;
  border-color: var(--v4-line);
  font-weight: 500;
}
.sf-chip:hover { border-color: var(--v4-ink); color: var(--v4-ink); }
.sf-chip.is-active { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }

/* 아이콘 크기 (이모지를 SVG 로 바꾼 자리) */
.sf-btn svg, .sf-cta-phone svg, .sf-link-phone svg { width: 15px; height: 15px; flex: 0 0 auto; }
.sf-hub-tab-ico svg { width: 22px; height: 22px; }
.trust-icon svg { width: 28px; height: 28px; color: var(--v4-ink); }
.trust-card.highlight .trust-icon svg { color: #fff; }
.live-badge svg { width: 12px; height: 12px; }
.sf-partner-pay-label svg { width: 15px; height: 15px; vertical-align: -2px; }
.sf-searchbar-icon svg, .sf-modal-x svg, .sf-quickchips svg { width: 16px; height: 16px; }
.sf-hub-tab-arrow svg { width: 18px; height: 18px; }
/* 새 메인 링크 색 (body.sf-page a 색 상속 규칙보다 우선) */
body.sf-page .v4-slide__cta,
body.sf-page .v4-slide__cta:hover { color: #fff; }
body.sf-page .v4-guide__card,
body.sf-page .v4-tile > a,
body.sf-page .v4-panel__all,
body.sf-page .v4-gnb__link,
body.sf-page .v4-gnb__link:hover { color: var(--v4-ink); }
body.sf-page .v4-gnb__item:hover > .v4-gnb__link,
body.sf-page .v4-gnb__item:focus-within > .v4-gnb__link,
body.sf-page .v4-gnb__item.is-open > .v4-gnb__link { color: #fff; }
body.sf-page .v4-foot__links a,
body.sf-page .v4-foot__info a { color: #444; }

/* 허브 탭 */
.sf-hub-tab { border-radius: 8px; box-shadow: none; }
.sf-hub-tab.is-active { border-color: var(--v4-ink); }
.sf-hub-tab-ico { color: #9aa0a6; background: #f4f5f7; border-radius: 8px; }
.sf-hub-tab.is-active .sf-hub-tab-ico { background: var(--v4-ink); color: #ffffff; }
.sf-carrier { border-radius: 8px; box-shadow: none; }
.sf-carrier:hover { border-color: var(--v4-ink); }
.sf-card {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--v4-line-2);
}
.sf-card:hover { box-shadow: none; border-color: var(--v4-line); }
.sf-card-flag { border-radius: 2px; background: var(--v4-ink); }
.sf-badge { border-radius: 2px; }
.sf-card-actions .sf-btn { border-radius: 4px; }

/* 지원금 라이브 바 / WHY 카드 */
.trust-card { border-radius: 8px; box-shadow: none; }
.trust-card.highlight { background: #111; }
.trust-icon { color: var(--v4-ink); }
.trust-card.highlight .trust-icon { color: #fff; }
.review-card { border-radius: 8px; box-shadow: none; border: 1px solid var(--v4-line-2); }
.policy-bar { border-radius: 8px; }

/* ------------------------------------------------- 6. 가격 2단 표기 */
.v4-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v4-price__label {
  font-size: 11px;
  font-weight: 400;
  color: var(--v4-muted-2);
  letter-spacing: 0;
  line-height: 1.2;
}
.v4-price__row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1.2;
}
.v4-price__num {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #a8acb2;          /* 정가 = 회색 */
}
.v4-price__row.is-card .v4-price__num {
  font-weight: 800;
  color: var(--v4-red);     /* 제휴카드 적용가 = 강조색 */
}
.v4-price__unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--v4-muted-2);
}
.v4-price__row.is-card .v4-price__unit { color: #c05a59; }
.v4-price__cond {
  font-size: 11px;
  font-weight: 400;
  color: var(--v4-muted-2);
  line-height: 1.3;
}
.v4-price__ask {
  font-size: 15px;
  font-weight: 700;
  color: var(--v4-ink);
}
/* 검색 결과 미니카드에서도 같은 구조 유지 */
.sf-card--mini .v4-price__num { font-size: 18px; }

/* --------------------------------------------- 7. 가이드 · 견적 계산기 섹션 */
.v4-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.v4-guide__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  border: 1px solid var(--v4-line-2);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: var(--v4-ink);
  transition: border-color 0.15s;
}
.v4-guide__card:hover { border-color: var(--v4-ink); }
.v4-guide__ico { color: #9aa0a6; }
.v4-guide__ico svg { width: 28px; height: 28px; }
.v4-guide__card:hover .v4-guide__ico { color: var(--v4-ink); }
.v4-guide__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.v4-guide__desc {
  font-size: 13.5px;
  color: var(--v4-body);
  line-height: 1.6;
  margin: 0;
}
.v4-guide__more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v4-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.v4-guide__more svg { width: 12px; height: 12px; }

/* 파트너 흐름도 (분양·제휴) */
.v4-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.v4-flow li {
  position: relative;
  padding: 16px 18px;
  border: 1px solid var(--v4-line-2);
  border-radius: 8px;
  background: #fff;
}
.v4-flow__step {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--v4-muted-2);
}
.v4-flow__name {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}
.v4-flow__desc {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--v4-body);
  line-height: 1.5;
}
.v4-flow__badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 7px;
  border-radius: 2px;
  background: #f2f3f5;
  font-size: 11px;
  font-weight: 600;
  color: var(--v4-muted);
}

/* ---------------------------------------------------------- 8. 푸터 */
.v4-foot {
  background: #ffffff;
  border-top: 1px solid var(--v4-line);
  padding: 34px 0 44px;
}
.v4-foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--v4-line-2);
}
.v4-foot__links a {
  font-size: 13px;
  font-weight: 500;
  color: #444444;
  text-decoration: none;
}
.v4-foot__links a:hover { color: var(--v4-ink); }
.v4-foot__links a.is-privacy { font-weight: 700; color: var(--v4-ink); }
.v4-foot__pending {
  font-size: 13px;
  font-weight: 500;
  color: #9aa0a6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.v4-foot__pending em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 2px;
  background: #f2f3f5;
  color: #8f9198;
}
.v4-foot__body {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
}
.v4-foot__brand strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--v4-ink);
}
.v4-foot__brand p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #666666;
}
.v4-foot__info {
  max-width: 720px;
  font-size: 13px;
  line-height: 1.75;
  color: #666666;
}
.v4-foot__info p { margin: 0; }
.v4-foot__info strong { color: #333333; font-weight: 600; }
.v4-foot__info a { color: #333333; text-decoration: none; font-weight: 600; }
.v4-foot__copy {
  margin-top: 10px !important;
  font-size: 12px;
  color: #9aa0a6;
}
.v4-foot__notice {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--v4-line-2);
  font-size: 12px;
  line-height: 1.7;
  color: #9aa0a6;
}

/* ------------------------------------------- 9. 모바일 메뉴 · 플로팅 도구 */
.v4-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  width: 86%;
  max-width: 380px;
  background: #ffffff;
  border-left: 1px solid var(--v4-line);
  transform: translateX(102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 18px 20px 32px;
  display: none;
}
.v4-drawer.is-open { transform: translateX(0); }
.v4-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--v4-line-2);
}
.v4-drawer__head strong { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.v4-drawer__close {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--v4-ink);
}
.v4-drawer__group { padding: 16px 0; border-bottom: 1px solid var(--v4-line-2); }
.v4-drawer__group > strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--v4-muted-2);
  margin-bottom: 8px;
}
.v4-drawer__group a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--v4-ink);
  text-decoration: none;
}
.v4-drawer__cta {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.v4-drawer__cta a,
.v4-drawer__cta button {
  flex: 1;
  height: 46px;
  border: 1px solid var(--v4-ink);
  border-radius: 4px;
  background: #fff;
  color: var(--v4-ink);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.v4-drawer__cta a.is-solid,
.v4-drawer__cta button.is-solid { background: var(--v4-ink); color: #fff; }

/* (2026-11-27) 우측 고정 상담 도구(sf-helper)를 v4 무채색 톤으로 덮던 규칙은 삭제 —
   shop.css 기본값(파랑 스마트 추천 · 검정 빠른 상담 · 14px 둥근 모서리 · 그림자)을 쓴다. */

/* ------------------------------------------------------ 10. 반응형 */
@media (max-width: 1240px) {
  :root { --v4-pad: 20px; }
  .v4-gnb__link { min-width: 0; padding: 0 16px; font-size: 15px; }
  .v4-search-btn { width: 190px; }
  .v4-phone { font-size: 17px; }
  .v4-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .v4-head__util { display: none; }
  .v4-gnb { display: none; }
  .v4-search-btn,
  .v4-phone { display: none; }
  .v4-drawer { display: block; }
  .v4-head__gnb-in { height: 60px; }
  .v4-burger { display: inline-flex; }
  .v4-head__gnb-in::before {
    content: "태모커머스";
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--v4-ink);
  }
  .v4-search { padding: 16px 0; }
  .v4-search__in { flex-direction: column; align-items: stretch; gap: 16px; }
  .v4-search__label { display: block; }
  .v4-search__label strong { display: block; }
  .v4-search__label span { display: block; margin-top: 4px; font-size: 12px; }
  .v4-search__stats { border-left: 0; padding-left: 0; border-top: 1px solid var(--v4-line-2); padding-top: 14px; }
  .v4-search__stats > div { padding: 0 16px 0 0; }
  .v4-search__stats > div:first-child { padding-left: 0; }
  .v4-search__stats strong { font-size: 14px; }
  .v4-search__stats span { font-size: 11px; }
  .v4-guide { grid-template-columns: 1fr; }
  .v4-flow { grid-template-columns: 1fr 1fr; }
  .v4-foot__body { flex-direction: column; gap: 18px; }
}

@media (max-width: 768px) {
  .v4-hero {
    aspect-ratio: 768 / 1000;
    min-height: 520px;
    max-height: 620px;
  }
  .v4-slide__media { object-position: center top; }
  .v4-slide__inner { align-items: flex-start; padding-top: 40px; }
  .v4-slide__copy { max-width: 100%; }
  .v4-slide__title { font-size: 25px; line-height: 1.38; }
  .v4-slide__sub { font-size: 13.5px; }
  .v4-slide__cta { height: 42px; font-size: 14px; margin-top: 16px; }
  .v4-hero__shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 34%, rgba(255, 255, 255, 0) 62%);
  }
  .v4-hero__arrow { display: none; }
  .v4-hero__ctrl { right: 16px; bottom: 14px; }
  .v4-hero__bar { width: 24px; }
  .sf-sec { padding: 40px 0; }
  .sf-sec-head { align-items: flex-start; }
  .sf-sec-head h2 { font-size: 20px; }
  .v4-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v4-guide__card { padding: 20px 18px; }
  .v4-flow { grid-template-columns: 1fr; }
  .v4-foot { padding: 24px 0 90px; }
  .v4-foot__links { gap: 12px; }
  .v4-foot__links a,
  .v4-foot__pending { font-size: 12px; }
}


/* 버튼 텍스트 색: body.sf-page a 색 상속 규칙보다 우선 (단색 버튼 글씨가 묻히던 문제) */
body.sf-page a.sf-btn-primary,
body.sf-page a.sf-btn-dark,
body.sf-page a.sf-btn-phone,
body.sf-page a.sf-btn-primary:hover,
body.sf-page a.sf-btn-dark:hover,
body.sf-page a.sf-btn-phone:hover,
body.sf-page .v4-slide__cta,
body.sf-page .v4-product__actions > .is-solid,
body.sf-page .v4-detail__actions > .is-solid,
body.sf-page .v4-done__act > .is-solid,
body.sf-page .sf-btn.sf-cta-phone { color: #fff; }
body.sf-page a.sf-btn-ghost,
body.sf-page .v4-product__actions > *:not(.is-solid),
body.sf-page .v4-detail__actions > *:not(.is-solid),
body.sf-page .v4-done__act > *:not(.is-solid) { color: var(--v4-ink); }
body.sf-page button.v4-submit, .v4-submit { color: #fff; }
#orderDone { scroll-margin-top: 110px; }
/* 상품 사진(흰 배경)이 회색 박스 안에서 따로 떠 보이지 않게 */
.v4-product__media { background: #ffffff; }
.v4-detail__media { background: #ffffff; border: 1px solid var(--v4-line-2); }

/* 지원금 비교표 · TOP3 카드: 통신사 색 띠 → 무채색, 그림자 제거 */
.clean-policy-table td.carrier-cell[data-carrier] {
  color: #333 !important;
  border-left: 3px solid #d5d7db !important;
  background: #fafbfc;
  font-weight: 700 !important;
}
.clean-policy-table tr.carrier-group-end td { border-bottom: 1px solid var(--v4-line) !important; box-shadow: none; }
.clean-policy-table td.sup-highlight { color: #111 !important; font-weight: 700 !important; }
.clean-policy-table td.usim-highlight { color: var(--v4-red) !important; font-weight: 800 !important; }
.speed-block-wrap { border-radius: 8px !important; box-shadow: none !important; }
.benefit-rank-card { border-radius: 8px !important; box-shadow: none !important; border: 1px solid var(--v4-line-2) !important; }
.benefit-rank-card.rank-1 { border-color: var(--v4-ink) !important; }
.benefit-rank-card .rank-amount { color: var(--v4-red) !important; }
.top-benefit-cards-grid { gap: 14px; }
/* 사은품 카드: 부담금 체크 줄 정리 */
.gift-card { border-radius: 8px !important; }
.gift-pay-box > div[style*="통신사별 부담금"] { font-size: 12px !important; color: #8f9198 !important; font-weight: 600 !important; }


/* 단색 버튼 글씨(button 태그 포함) — 검정 배경 위 글씨가 묻히지 않게 */
body.sf-page .sf-btn-primary,
body.sf-page .sf-btn-primary:hover,
body.sf-page button.sf-btn-primary { color: #fff; }
body.sf-page .sf-btn-dark,
body.sf-page .sf-btn-phone { color: #fff; }
/* 상담 CTA 밴드: 기업형 그라데이션 → 단색 */
.sf-cta { background: var(--v4-ink) !important; border-radius: 8px !important; }
.sf-cta::after { display: none !important; }
.sf-cta h2 { font-size: 24px !important; font-weight: 700 !important; letter-spacing: -.03em; }
.sf-cta p { font-size: 14px !important; color: rgba(255,255,255,.75) !important; }
.sf-cta .sf-eyebrow { color: rgba(255,255,255,.6) !important; }
.sf-cta-phone { border-radius: 4px !important; }
/* 후기 좌우 화살표: 글자 대신 CSS 화살표 */
.sf-page .review-arrow { font-size: 0 !important; }
.sf-page .review-arrow::after { font-size: 20px; line-height: 1; color: var(--v4-ink); }
.sf-page .review-prev::after { content: '\2039'; }
.sf-page .review-next::after { content: '\203A'; }

/* =============================================================================
   하위 페이지 (가전 / 인터넷·TV·유심 / 특별혜택 / 상세 / 주문)
   ============================================================================= */
.v4-page { padding: 34px 0 64px; }
.v4-crumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #9aa0a6; margin-bottom: 16px;
}
.v4-crumb a { color: #8f9198; text-decoration: none; }
.v4-crumb a:hover { color: var(--v4-ink); }
.v4-crumb span { color: #d5d7db; }
.v4-page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 20px; border-bottom: 1px solid var(--v4-line); margin-bottom: 26px;
}
.v4-page-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.04em; color: var(--v4-ink); margin: 0; }
.v4-page-head p { margin: 8px 0 0; font-size: 14px; color: var(--v4-body); max-width: 720px; line-height: 1.6; }
.v4-page-head .v4-page-head__act { flex: 0 0 auto; display: flex; gap: 8px; }

.v4-tabs { display: flex; gap: 4px; margin-bottom: 20px; }
.v4-tab {
  height: 44px; padding: 0 30px; border: 1px solid var(--v4-line);
  background: #fff; border-radius: 4px; font-size: 15px; font-weight: 600;
  color: #666; letter-spacing: -0.02em;
}
.v4-tab:hover { border-color: var(--v4-ink); color: var(--v4-ink); }
.v4-tab.is-active { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; font-weight: 700; }
.v4-tab-note { font-size: 12.5px; color: var(--v4-muted-2); margin: 0 0 20px; }

.v4-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v4-product {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--v4-line-2); border-radius: 8px; overflow: hidden;
}
.v4-product:hover { border-color: var(--v4-line); }
.v4-product__media {
  display: grid; place-items: center; aspect-ratio: 1 / 1;
  background: #f6f7f9; padding: 16px;
}
.v4-product__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v4-product__body { display: flex; flex-direction: column; gap: 5px; padding: 16px 16px 18px; flex: 1; }
.v4-product__brand { font-size: 11.5px; font-weight: 600; color: #8f9198; letter-spacing: 0.01em; }
.v4-product__name {
  font-size: 14.5px; font-weight: 600; color: var(--v4-ink);
  letter-spacing: -0.025em; line-height: 1.42; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v4-product__model { font-size: 11.5px; color: #9aa0a6; }
.v4-product__price { margin-top: auto; padding-top: 12px; }
.v4-product__price .v4-price { gap: 1px; }
.v4-product__actions { display: flex; gap: 6px; margin-top: 12px; }
.v4-product__actions > * {
  flex: 1; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: 13px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--v4-line); background: #fff; color: var(--v4-ink);
}
.v4-product__actions > .is-solid { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }
.v4-product__actions > *:hover { border-color: var(--v4-ink); }

.v4-empty { padding: 40px 0; text-align: center; color: var(--v4-muted-2); font-size: 14px; }

/* 표 */
.v4-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.v4-table th, .v4-table td { padding: 13px 12px; border-bottom: 1px solid var(--v4-line-2); text-align: left; }
.v4-table thead th { font-size: 12px; font-weight: 600; color: var(--v4-muted-2); background: #fafbfc; border-top: 1px solid var(--v4-line); }
.v4-table td strong { font-weight: 700; }
.v4-table tr:hover td { background: #fcfcfd; }

/* 상세 */
.v4-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.v4-detail__media {
  display: grid; place-items: center; aspect-ratio: 1 / 1; background: #f6f7f9;
  border-radius: 8px; padding: 30px;
}
.v4-detail__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v4-detail__brand { font-size: 12px; font-weight: 600; color: #8f9198; }
.v4-detail__name { font-size: 26px; font-weight: 700; letter-spacing: -0.035em; margin: 8px 0 0; line-height: 1.36; }
.v4-detail__model { font-size: 12.5px; color: #9aa0a6; margin-top: 6px; }
.v4-detail__price { margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--v4-line-2); border-bottom: 1px solid var(--v4-line-2); }
.v4-detail__opts { margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.v4-opt-group__label { font-size: 12px; font-weight: 600; color: var(--v4-muted-2); margin-bottom: 7px; display: block; }
.v4-opt-row { display: flex; gap: 6px; flex-wrap: wrap; }
.v4-opt {
  height: 38px; padding: 0 16px; border: 1px solid var(--v4-line); background: #fff;
  border-radius: 4px; font-size: 13px; font-weight: 600; color: #555;
}
.v4-opt.is-active { border-color: var(--v4-ink); color: var(--v4-ink); font-weight: 700; }
.v4-detail__actions { display: flex; gap: 8px; margin-top: 26px; }
.v4-detail__actions > * {
  flex: 1; height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--v4-line); background: #fff; color: var(--v4-ink);
}
.v4-detail__actions > .is-solid { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }
.v4-detail__actions > *:hover { border-color: var(--v4-ink); }
.v4-detail__meta { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.v4-detail__meta li { font-size: 13px; color: var(--v4-body); display: flex; gap: 8px; }
.v4-detail__meta svg { width: 15px; height: 15px; color: #9aa0a6; flex: 0 0 auto; margin-top: 2px; }

/* 주문서 */
.v4-order { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.v4-form { display: flex; flex-direction: column; gap: 18px; }
.v4-field label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 7px; }
.v4-field label em { font-style: normal; color: var(--v4-red); margin-left: 2px; }
.v4-field input[type="text"], .v4-field input[type="tel"], .v4-field input[type="date"], .v4-field textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--v4-line);
  border-radius: 4px; font-size: 14.5px; font-family: inherit; color: var(--v4-ink); background: #fff;
}
.v4-field textarea { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.v4-field input:focus, .v4-field textarea:focus { outline: none; border-color: var(--v4-ink); }
.v4-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v4-field__hint { font-size: 12px; color: var(--v4-muted-2); margin-top: 6px; }
.v4-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #444; line-height: 1.5; }
.v4-agree input { margin-top: 2px; }
.v4-form__msg { font-size: 13px; color: var(--v4-red); min-height: 18px; }
.v4-summary { border: 1px solid var(--v4-line); border-radius: 8px; padding: 22px 20px; background: #fff; position: sticky; top: 120px; }
.v4-summary h2 { font-size: 15px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.02em; }
.v4-summary__item { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--v4-line-2); }
.v4-summary__item img { width: 64px; height: 64px; object-fit: contain; background: #f6f7f9; border-radius: 4px; }
.v4-summary__name { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--v4-ink); }
.v4-summary__model { font-size: 11.5px; color: #9aa0a6; margin-top: 3px; }
.v4-summary__rows { display: flex; flex-direction: column; gap: 9px; padding: 16px 0; border-bottom: 1px solid var(--v4-line-2); }
.v4-summary__row { display: flex; justify-content: space-between; font-size: 13px; color: #555; }
.v4-summary__row strong { font-weight: 700; color: var(--v4-ink); }
.v4-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.v4-summary__total span { font-size: 13px; color: #555; }
.v4-summary__total strong { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--v4-ink); }
.v4-summary__note { margin-top: 12px; font-size: 11.5px; line-height: 1.6; color: var(--v4-muted-2); }
.v4-submit { width: 100%; height: 54px; margin-top: 18px; border: 0; border-radius: 4px; background: var(--v4-ink); color: #fff; font-size: 16px; font-weight: 700; }

/* 주문 완료 */
.v4-done { max-width: 720px; margin: 0 auto; }
.v4-done__head { text-align: center; padding: 18px 0 26px; }
.v4-done__mark {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  border: 1px solid var(--v4-line); display: grid; place-items: center; color: var(--v4-ink);
}
.v4-done__mark svg { width: 24px; height: 24px; }
.v4-done__head h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.v4-done__head p { margin: 8px 0 0; font-size: 13.5px; color: var(--v4-body); }
.v4-done__no {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border: 1px solid var(--v4-line); border-radius: 6px; background: #fafbfc;
  font-size: 13px; color: #555;
}
.v4-done__no strong { font-size: 16px; font-weight: 800; letter-spacing: 0.02em; color: var(--v4-ink); }
.v4-escrow { margin-top: 16px; border: 1px solid var(--v4-ink); border-radius: 6px; padding: 22px 20px; }
.v4-escrow__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.v4-escrow__title svg { width: 18px; height: 18px; }
.v4-escrow__desc { font-size: 13px; color: var(--v4-body); line-height: 1.6; margin: 0 0 16px; }
.v4-escrow__table { border-top: 1px solid var(--v4-line-2); }
.v4-escrow__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--v4-line-2); font-size: 13.5px; }
.v4-escrow__row span { color: #666; }
.v4-escrow__row strong { font-weight: 700; color: var(--v4-ink); letter-spacing: 0.01em; }
.v4-escrow__row strong i { font-style: normal; color: #b0b4ba; font-weight: 600; }
.v4-escrow__notice { margin: 16px 0 0; padding: 12px 14px; background: #fafbfc; border-radius: 4px; font-size: 12.5px; line-height: 1.7; color: #555; }
.v4-escrow__notice strong { color: var(--v4-ink); }
.v4-done__act { display: flex; gap: 8px; margin-top: 24px; }
.v4-done__act > * {
  flex: 1; height: 50px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--v4-line); background: #fff; color: var(--v4-ink);
}
.v4-done__act > .is-solid { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }
.v4-done__foot { margin-top: 18px; font-size: 12px; line-height: 1.7; color: var(--v4-muted-2); text-align: center; }
.v4-demo-note {
  margin-top: 26px; padding: 14px 16px; border: 1px dashed #d5d7db; border-radius: 6px;
  font-size: 12.5px; line-height: 1.7; color: #8f9198; background: #fcfcfd;
}
.v4-demo-note strong { color: #6b7075; }

@media (max-width: 1080px) {
  .v4-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v4-detail { grid-template-columns: 1fr; gap: 24px; }
  .v4-order { grid-template-columns: 1fr; gap: 24px; }
  .v4-summary { position: static; }
  .v4-page-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 768px) {
  .v4-page { padding: 22px 0 40px; }
  .v4-page-head h1 { font-size: 22px; }
  .v4-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v4-product__body { padding: 12px 12px 14px; }
  .v4-product__name { font-size: 13px; }
  .v4-tab { flex: 1; padding: 0 12px; }
  .v4-field-row { grid-template-columns: 1fr; }
  .v4-detail__name { font-size: 21px; }
  .v4-detail__actions > * { font-size: 14px; height: 48px; }
  .v4-done__act { flex-direction: column; }
  .v4-table { font-size: 12.5px; }
  .v4-table th, .v4-table td { padding: 10px 8px; }
}


.v4-panel::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px;}
.v4-hero__shade{background:linear-gradient(90deg,rgba(255,255,255,.70) 0%,rgba(255,255,255,.55) 26%,rgba(255,255,255,.24) 44%,rgba(255,255,255,0) 64%);}
.v4-search-btn{width:262px;}
.v4-search-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* ===== v4/css/telecom.css (원문 그대로) ===== */
/* ============================================================
   v4/css/telecom.css  (v2 — 2026-11-21 레이아웃 개편)
   통신사별 인터넷·TV·유심 페이지(internet.php) 전용 스타일.
   계산 값·계산식은 루트 계산기가 그대로 담당하고,
   이 파일은 (1) 상단 압축 (2) 왼쪽 옵션 칩 / 오른쪽 결과 패널
   2단 배치 (3) 모바일 하단 요약 바만 정의한다.
   ============================================================ */

/* ----- 계산기 블록이 v4 컨테이너 안에서 double-padding 되지 않게 ----- */
.tncalc .section {
  padding: 6px 0 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.tncalc .calculator-master-box,
.tncalc .final-box-container { max-width: 1200px; margin-left: auto; margin-right: auto; }
/* 페이지 머리·탭·소개·비교표도 같은 1200 폭에 맞춘다 */
main.v4-page .v4-inner > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.tncalc .final-box-container { padding: 0; }

/* ----- 섹션 제목 (01~06) ----- */
.tn-sec,
.tn-sec-head { width: 100%; max-width: 1200px; margin: 0 auto; }
.tn-sec { padding: 8px 0 4px; }
.tn-sec-head { padding: 28px 0 14px; text-align: left; }
.tn-sec-head--in { padding-top: 6px; }
.tn-sec-head h2 {
  margin: 2px 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sf-ink, #0f172a);
}
.tn-sec-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--sf-muted, #5b657a);
}
.tn-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--sf-brand, #2563eb);
}
.tn-sec + .tn-sec-head { padding-top: 18px; }

/* ----- 통신사 소개 (압축) ----- */
.tn-intro { padding-top: 10px; }
.tn-intro .tn-sec-head { padding: 6px 0 5px; }
.tn-intro .tn-sec-head h2 { margin: 0; font-size: 15px; letter-spacing: -0.02em; }
.tn-intro .tn-num { font-size: 11px; }
.tn-intro__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: #5b6472;
  background: #fff;
  border: 1px solid var(--sf-line-soft, #eff0f2);
  border-radius: 10px;
  padding: 11px 14px;
  word-break: keep-all;
}

/* ----- 맨 위 대표 지원금 한 줄 ----- */
.tn-maxline {
  margin: 10px 0 0;
  padding: 9px 14px;
  border-radius: 8px;
  background: #f6f7f9;
  border: 1px solid #eff0f2;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.tn-maxline strong { font-weight: 800; color: #111; }
.tn-maxline .tn-alt { font-weight: 700; color: #5b6472; }
.tn-maxline[hidden] { display: none; }

/* ----- 통신사 탭 ----- */
.tn-carrier-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}
.tn-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--sf-line, #e5e5e5);
  background: #fff;
  color: #555;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.tn-tab i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.tn-tab:hover { border-color: #111; color: #111; }
.tn-tab.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

/* ----- 02 선택 헤드 (한 줄로 압축) ----- */
#tnStep2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 12px 0 8px;
}
#tnStep2 h2 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
#tnStep2 > p { display: none; }
#tnStep2 .tn-num {
  font-size: 11px;
  color: #8f9198;
  letter-spacing: 0.1em;
}

/* ----- 단계 표시 (1 구성 → 2 속도 → 3 요금제 → 4 결과) ----- */
.tn-steps {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.tn-steps li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: #f2f3f5;
  color: #8f9198;
  font-size: 12.5px;
  font-weight: 700;
}
.tn-steps li b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d8dade;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.tn-steps li.is-done { background: #eceef1; color: #444; }
.tn-steps li.is-done b { background: #a9adb4; }
.tn-steps li.is-on { background: #111; color: #fff; }
.tn-steps li.is-on b { background: rgba(255, 255, 255, .35); }

/* ============================================================
   2단 배치 — 왼쪽: 옵션 칩 / 오른쪽: 결과 패널(sticky)
   (구조는 template.php 의 인라인 스크립트가 만든다)
   ============================================================ */

/* 루트 계산기의 큰 흰 카드(마스터 박스) 크롬 제거 — 칩·패널만 남긴다 */
.tncalc .calculator-master-box {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 26px !important;
  max-width: none !important;
}
.tncalc div.calculator-master-box div.option,
.tncalc div.calculator-master-box div.option-container:last-child div.option {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.tn-sec-head--side p { display: none !important; }
/* 2단(본문 1200 + 오른쪽 패널)은 레이아웃 재작업 후 다시 켠다. 지금은 한 열. */
/* 좁은 화면: 패널은 본문 아래로 (폭을 줄여 끼워 넣지 않는다) */
.tn-panel { max-width: 480px; margin: 14px 0 0; }
body.tn-applying .tn-panel { max-height: none; }

.tn-side-sticky {
  position: sticky;
  top: 112px;
  z-index: 30;
  max-height: calc(100vh - 128px);
  overflow: auto;
  overscroll-behavior: contain;
}
.tncalc #inlineApplyBox { max-width: 620px; margin-top: 16px !important; }

/* ----- 왼쪽: 옵션 행 = 라벨 한 줄 + 칩 한 줄 ----- */
.tncalc .option-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 12px !important;
}
.tncalc .option {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.tncalc .option > label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin: 0 0 7px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  color: #111 !important;
  line-height: 1.35;
}
.tn-ico {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #111;
  opacity: .9;
}
.tncalc .option > label input[type="checkbox"] {
  transform: scale(1.05);
  margin: 0 0 0 2px !important;
}
.tncalc .option > label #wifiLabel,
.tncalc .option > label span[id="wifiLabel"] {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #727780 !important;
}

/* 칩 */
.tncalc .card-group,
.tncalc .mobile-sim-group,
.tncalc .disc-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100% !important;
  grid-template-columns: none !important;
}
.tncalc .card,
.tncalc .disc-item {
  position: relative;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 8px !important;
  min-height: 44px !important;
  padding: 10px 17px !important;
  border: 1px solid #e3e5e9 !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: left !important;
  line-height: 1.3 !important;
  transition: border-color .14s ease, background .14s ease, color .14s ease;
}
.tncalc .card:hover,
.tncalc .disc-item:hover {
  border-color: #111 !important;
  background: #fafafa !important;
  transform: none !important;
  box-shadow: none !important;
}
.tncalc .card-title,
.tncalc .disc-title {
  display: inline-block;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin: 0 !important;
  white-space: nowrap;
}
.tncalc .disc-title br { display: none; }
.tncalc .card-price,
.tncalc .card-memo {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #8f9198 !important;
  margin: 0 !important;
  white-space: nowrap;
}
.tncalc .card-price::before,
.tncalc .card-memo::before {
  content: "·";
  margin-right: 5px;
  color: #c9ccd1;
}
/* 유심 카드: 제목·요금 한 줄, 할인 내역은 그 아래 작게 */
.tncalc .mobile-sim-card .card-price {
  flex: 0 0 100%;
  font-size: 12px !important;
  color: #9aa0a8 !important;
  margin-top: 1px !important;
}
.tncalc .mobile-sim-card .card-price::before { content: none; }
.tncalc .card-memo + .card-price { margin-left: 0 !important; }
/* 선택 상태 */
.tncalc .card.selected,
.tncalc .disc-item.selected {
  background: #111 !important;
  border-color: #111 !important;
  box-shadow: none !important;
}
.tncalc .card.selected .card-title,
.tncalc .card.selected .card-price,
.tncalc .card.selected .card-memo,
.tncalc .disc-item.selected .disc-title {
  color: #fff !important;
}
.tncalc .card.selected .card-price::before,
.tncalc .card.selected .card-memo::before { color: rgba(255, 255, 255, .45); }
.tncalc .card.selected .net-discount-text { color: #fff !important; }

/* ----- 오른쪽: 결과 패널 ----- */
.tn-panel .final-box-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tn-sec-head--side {
  padding: 0 0 8px !important;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.tn-sec-head--side h2 { margin: 0 !important; font-size: 13px !important; font-weight: 800; color: #727780; letter-spacing: 0; }
.tn-sec-head--side .tn-num { font-size: 10.5px; color: #b3b7bd; }

.tn-panel .summary-card {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(17, 17, 17, .05);
  padding: 16px 16px 14px;
  margin: 0 0 10px;
}
.tn-panel .summary-header-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.tn-panel .result-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.tn-panel .result-box {
  flex: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #f1f2f4 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: left;
}
.tn-panel .result-box:last-child { border-bottom: 0 !important; }
.tn-panel .result-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #5b6472 !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tn-panel .result-value {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #111 !important;
  letter-spacing: -0.02em;
  text-align: right;
  white-space: nowrap;
}
.tn-panel #result_support .result-value { color: #ea1917 !important; }
.tn-panel .result-box-appliance {
  cursor: default;
  border: 0 !important;
  background: transparent !important;
  padding: 9px 0 2px !important;
}
.tn-panel .result-box-appliance .result-label {
  font-weight: 800 !important;
  color: #111 !important;
  font-size: 13.5px !important;
}
.tn-panel .result-box-appliance .result-value {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #111 !important;
  white-space: normal;
}
.tn-panel .result-box-appliance .tn-ico { color: #111; }

/* 합계 줄 (표시용 합산 — 인터넷 + 휴대폰) */
.tn-side-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 12px -16px -14px;
  padding: 12px 16px 14px;
  border-top: 1px solid #e8eaee;
  border-radius: 0 0 14px 14px;
  background: #f7f8fa;
}
.tn-side-total span {
  font-size: 12px;
  font-weight: 700;
  color: #5b6472;
}
.tn-side-total strong {
  font-size: 23px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.03em;
}
.tn-side-total em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: #9aa0a8;
}

/* 신청·상담 버튼 */
.tn-panel .action-buttons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  margin: 0 0 12px;
}
.tn-panel .action-btn {
  flex: none;
  width: 100%;
  padding: 13px 10px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: none;
  letter-spacing: -0.02em;
}
.tn-panel .btn-apply {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
}
.tn-panel .btn-apply:hover { background: #000 !important; }
.tn-panel .btn-call {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #d8dade !important;
}
.tn-panel .btn-call:hover { border-color: #111 !important; }

/* ----- 오른쪽: 펼쳐지는 신청서 (버튼 바로 아래) ----- */
#inlineApplyBox {
  margin-top: 4px !important;
  padding: 14px !important;
  border: 1px solid #e8eaee !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(17, 17, 17, .05) !important;
}
/* 2026-11-21: 04 상담 신청 제목이 펼칠 때 보이도록 숨김을 주석 처리(원래 규칙은 아래에 그대로 남김) */
/* #inlineApplyBox .tn-sec-head { display: none; } */
#inlineApplyBox > h3 {
  margin: 0 0 8px !important;
  padding: 0 0 8px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #111 !important;
  border-bottom: 1px solid #f1f2f4 !important;
}
#inlineApplyBox #inlineSelectedSummary {
  font-size: 12px;
  line-height: 1.6;
  color: #444;
}
#inlineApplyBox > div[style*="background:#f0fdf4"] {
  margin: 0 0 12px !important;
  padding: 10px 11px !important;
  background: #f7f8fa !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}
#inlineApplyBox label {
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}
#inlineApplyBox input[type="text"],
#inlineApplyBox input[type="tel"],
#inlineApplyBox textarea {
  font-size: 14px !important;
  padding: 8px 10px !important;
  border-radius: 6px !important;
}
#inlineApplyBox textarea { height: 60px !important; }
#inlineApplyBox button[type="submit"] {
  background: #111 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}

/* ----- 왼쪽 열 안으로 옮겨진 가전 사은품 영역 ----- */
.tncalc .appliance-section {
  margin-top: 4px !important;
  padding: 16px !important;
  background: #f7f8fa !important;
  border-radius: 14px !important;
}
.tncalc .appliance-section h3 { font-size: 15px !important; margin-bottom: 10px !important; }
.tncalc .appliance-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }

/* ----- 지원금 비교표 섹션 ----- */
.tn-compare { padding-bottom: 40px; }
.tn-compare .sf-filter-row { align-items: center; }

/* ----- 계산기 로드 실패 ----- */
.tn-error {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid #f3d3d3;
  background: #fff7f7;
  border-radius: 14px;
  color: #8a1c1c;
  font-size: 14.5px;
  line-height: 1.7;
}
.tn-error strong { display: block; margin-bottom: 6px; font-size: 16px; }


/* ----- 지원금 비교표: 이 페이지 통신사 강조 · 유심 없는 곳은 유심 열 숨김 ----- */
#policyDynamicRenderArea td.carrier-cell {
  font-weight: 800 !important;
  color: #111 !important;
  background: #f7f8fa;
  position: sticky;
  left: 0;
  z-index: 2;
}
#policyDynamicRenderArea tr.carrier-group-end > td { border-bottom: 1px solid #dfe3ea !important; }
.tn-hide-usim { display: none !important; }
.tn-tbl-carrier { display: none; }

/* ----- 모바일: 가로 매트릭스 → 세로 카드 ----- */
@media (max-width: 720px) {
  #policyDynamicRenderArea .speed-block-wrap { padding: 14px 12px !important; border-radius: 12px !important; }
  #policyDynamicRenderArea .speed-block-badge { font-size: 12px !important; padding: 5px 12px !important; }
  #policyDynamicRenderArea table,
  #policyDynamicRenderArea tbody,
  #policyDynamicRenderArea tr,
  #policyDynamicRenderArea td { display: block; width: 100%; }
  #policyDynamicRenderArea thead { display: none; }
  #policyDynamicRenderArea tbody tr {
    border: 1px solid #e8eaee;
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    margin: 0 0 10px;
    box-shadow: none;
  }
  #policyDynamicRenderArea tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0 !important;
    border: 0 !important;
    text-align: right !important;
    font-size: 13px !important;
    line-height: 1.45;
  }
  #policyDynamicRenderArea tbody td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 11.5px;
    font-weight: 700;
    color: #8f9198;
    text-align: left;
  }
  #policyDynamicRenderArea tbody td:empty { display: none; }
  #policyDynamicRenderArea td.carrier-cell { display: none !important; }
  #policyDynamicRenderArea .tn-tbl-carrier {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #ea1917;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
  }
  #policyDynamicRenderArea .usim-plan-select { margin-left: auto; }
}

/* ----- 모바일 하단 고정 요약 바 ----- */
.tn-mobar { display: none; }



/* 섹션 헤드·01 소개는 좌측 옵션 열과 같은 기준선에 맞춘다 (가운데로 들여쓰이지 않게) */
.v4-page .tn-sec,
.v4-page .tn-sec-head { max-width: none; }

/* ----- 대표 지원금 한 줄 아래 조건 안내 ----- */
.tn-maxnote {
  margin: 6px 0 0;
  padding: 0 2px;
  font-size: 12px;
  line-height: 1.6;
  color: #727780;
  word-break: keep-all;
}

/* (2026-11-27) 이 페이지에서도 상담 도우미를 쓴다 — v8 의 숨김/z-index 덮어쓰기는 삭제. */

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1199px) {
  .tn-panel { margin-top: 10px; }
  .tn-panel .action-buttons-wrapper { flex-direction: row; }

  .tn-mobar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--tn-helperh, 64px);
    z-index: 700;
    padding: 7px 10px;
    padding-bottom: calc(7px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .07);
    backdrop-filter: blur(8px);
  }
  .tn-mobar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .tn-mobar__col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  .tn-mobar__col em {
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    color: #8f9198;
    letter-spacing: -0.01em;
  }
  .tn-mobar__col strong {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .tn-mobar__col--gift strong { color: #ea1917; }
  .tn-mobar__cta {
    margin-left: auto;
    padding: 9px 14px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }
  body { padding-bottom: calc(64px + var(--tn-helperh, 66px)); }
  body.tn-applying { padding-bottom: var(--tn-helperh, 66px); }
  body.tn-applying .tn-mobar { display: none; }
}

@media (max-width: 720px) {
  .tn-sec-head { padding: 22px 0 12px; }
  .tn-sec-head h2 { font-size: 19px; }
  .tn-maxline { font-size: 12.5px; padding: 8px 12px; }
  .tn-tab { padding: 6px 11px; font-size: 12px; }
  .tn-intro__text { padding: 10px 12px; font-size: 12.5px; }
  #tnStep2 h2 { font-size: 16px; }
  #tnStep2 .tn-steps { margin-left: 0; width: 100%; }
  .tn-steps li { font-size: 10.5px; }
  .tncalc .card-title { font-size: 12.5px !important; }
  .tncalc .card-price { font-size: 11.5px !important; }
  .tncalc .card { padding: 7px 11px !important; }
  .tn-panel .action-btn { padding: 12px 10px; font-size: 14px; }
  .tn-side-total strong { font-size: 19px; }
}

/* 신청 폼 안의 전화 상담 보조 문구 */
.tn-form-call {
  margin: 0 0 10px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #727780;
  word-break: keep-all;
}
.tn-form-call a { color: #111; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

/* ----- 패널 맨 위: 선택하신 상품 요약 ----- */
.tn-pick { border: 1px solid #e8eaee; border-radius: 14px; background: #f7f8fa; padding: 12px 14px; margin: 0 0 10px; }
.tn-pick__t { display: block; font-size: 13.5px; font-weight: 800; color: #111; letter-spacing: -0.01em; margin-bottom: 5px; }
.tn-pick__b { font-size: 14px; line-height: 1.7; color: #444; word-break: keep-all; }
/* 신청서 안의 같은 블록은 위 요약과 중복되므로 숨긴다 (전송 값은 동일하게 유지) */
#inlineApplyBox > div[style*="background:#f0fdf4"] { display: none !important; }

/* ============================================================
   2단 고정 패널 (데스크톱 넓은 화면)
   ------------------------------------------------------------
   · 본문은 1200px 그대로, 패널(344px)은 그 바깥 오른쪽 빈칸으로 나간다.
     캔버스 = 1200 + 24 + 344 = 1568
   · 노드는 옮기지 않는다. .final-box-container 안에서
     .tn-panel(① 선택 요약 ② 결과 요약 ③ 버튼)과
     .tn-left(④ 가전 ⑤ 신청서)를 grid-column 으로 나눠 놓기만 한다.
   · 패널은 화면 오른쪽에 고정(fixed)해서 페이지 끝까지 따라온다.
     (sticky 는 부모 높이 안에서만 따라오므로 계산기 높이가 짧은 이 페이지에서는
      가전·신청서 구간에서 사라진다 → fixed 로 페이지 전체를 따라오게 한다)
   · 창 폭 1760px 미만에서는 2단을 켜지 않는다(본문 1200 + 패널 344 + 여백 +
     우측 도우미 레일이 겹치기 때문). 그 아래는 한 열 + 하단 요약 바.
   ============================================================ */
@media (min-width: 1760px) {
  /* 캔버스 */
  main.v4-page .v4-inner { max-width: 1616px; padding: 0 24px; }
  main.v4-page .v4-inner > * { margin-left: 0; margin-right: auto; }
  main.v4-page .tn-sec,
  main.v4-page .tn-sec-head { margin-left: 0; margin-right: auto; }
  /* 푸터도 같은 1200 기둥에 맞춘다 — 고정 패널이 푸터 글자를 덮지 않게 */
  .v4-foot .v4-inner { max-width: 1616px; padding: 0 24px; }
  .v4-foot .v4-inner > * { max-width: 1200px; margin-right: auto; margin-left: 0; }

  /* 본문: 1200 그대로 */
  .tncalc.v4-inner > .section {
    width: 1568px; max-width: none; display: block;
  }
  .tncalc .calculator-master-box {
    width: 1200px !important; max-width: 1200px !important; margin-left: 0 !important;
  }
  .tncalc .option-container {
    width: 1200px !important; max-width: 1200px !important; margin-left: 0 !important;
  }
  .tncalc .option { width: 1200px !important; max-width: 1200px !important; }

  .tncalc .final-box-container {
    width: 1568px; max-width: 1568px;
    display: grid;
    grid-template-columns: 1200px 344px;
    column-gap: 24px;
    align-items: start;
    margin: 0; padding: 0;
  }
  .tncalc .tn-left { grid-column: 1; grid-row: 1; width: 1200px; min-width: 0; }
  .tncalc .tn-left .tn-sec-head { margin-left: 0; margin-right: auto; }

  /* 오른쪽 패널: 화면 기준 고정, 본문 1200 바깥(가운데 + 440px)에 선다 */
  .tncalc .tn-panel {
    grid-column: 2; grid-row: 1;
    position: fixed;
    top: 112px;
    left: calc(50% + 440px);
    width: 344px; max-width: 344px;
    margin: 0; padding: 0;
    max-height: calc(100vh - 132px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 30;
    scrollbar-width: thin;
  }
  .tncalc #inlineApplyBox { max-width: 620px; }
}

/* ============================================================================
   v5 디자인 수정본 — 2026-11-21
   ----------------------------------------------------------------------------
   · 위쪽(v2) 규칙은 한 줄도 지우지 않았습니다. 여기서 덮어쓰기만 합니다.
   · 이 주석부터 파일 끝까지를 통째로 지우면 v2 화면 그대로 돌아갑니다.
   · 값·계산·id·onclick 은 건드리지 않습니다. 색·모양·배치만 바꿉니다.
   ----------------------------------------------------------------------------
   1) 상품 선택 캡슐 칩 → 카드형 그리드 (한 줄을 꽉 채운다)
   2) 선택 = 검정 채움 + 우상단 흰 체크 배지
   3) 오른쪽 요약 패널 = 흰 카드 톤, 화면 오른쪽 벽 고정, 푸터가 그 위로 올라옴
   4) 본문 1200 가운데 + 패널 우측 (1200px 이상에서 2단)
   5) 지원금 비교표·가전 영역도 같은 14px 흰 카드 톤, 파랑·초록 제거
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. 공통 톤 — 색은 검정(#111)과 회색 두 가지로 모은다
   --------------------------------------------------------------------------- */
:root {
  --tn-ink: #111;
  --tn-line: #e9ebee;
  --tn-line-soft: #eef0f3;
  --tn-muted: #727780;
  --tn-sub: #9aa0a8;
  --tn-radius: 14px;
  --tn-rail: 96px;          /* 오른쪽 벽에서 띄우는 거리(상담 도우미 폭만큼 비워 둔다) */
}

/* 섹션 번호의 파랑 → 회색 */
.tn-num { color: var(--tn-sub) !important; }
.tn-sec-head h2 { color: var(--tn-ink) !important; }
.tn-sec-head p { color: #5b6472 !important; }


/* ---------------------------------------------------------------------------
   2. 상품 선택 = 카드형 그리드
   · 캡슐(999px) 폐지. 카드가 한 줄을 꽉 채우고, 항목 수(3~4)에 따라 칸이 늘어난다.
   · 좁은 화면에서는 2열로 접힌다.
   --------------------------------------------------------------------------- */
.tncalc .card-group,
.tncalc .mobile-sim-group,
.tncalc .disc-group {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  flex-wrap: nowrap !important;
}

.tncalc .card,
.tncalc .disc-item {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 76px !important;
  height: 100% !important;
  padding: 14px 16px !important;
  border: 1px solid #e3e5e9 !important;
  border-radius: var(--tn-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: left !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  cursor: pointer;
  transition: border-color .14s ease, transform .14s ease, background .14s ease;
}
.tncalc .card:hover,
.tncalc .disc-item:hover {
  border-color: var(--tn-ink) !important;
  background: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

/* 카드 안 글자 */
.tncalc .card-title,
.tncalc .disc-title {
  display: block !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--tn-ink) !important;
  white-space: normal !important;
  word-break: keep-all;
}
/* 두 줄 라벨(B TV POP / 184개 채널)의 줄바꿈을 되살린다 */
.tncalc .disc-title br { display: inline !important; }

.tncalc .card-price,
.tncalc .card-memo {
  display: block !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--tn-muted) !important;
  white-space: normal !important;
  word-break: keep-all;
}
.tncalc .card-price::before,
.tncalc .card-memo::before { content: none !important; }

/* 요금이 그 카드의 주 정보이면 크게 (금액만 있는 줄) */
.tncalc .card-memo {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--tn-ink) !important;
  letter-spacing: -.02em;
}
.tncalc .card:not(:has(.card-memo)) .card-price {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--tn-ink) !important;
  letter-spacing: -.02em;
}

/* 선택 상태 — 검정 채움 유지 + 우상단 흰 체크 배지 */
.tncalc .card.selected,
.tncalc .disc-item.selected {
  background: var(--tn-ink) !important;
  border-color: var(--tn-ink) !important;
  box-shadow: none !important;
}
.tncalc .card.selected:hover,
.tncalc .disc-item.selected:hover {
  background: #000 !important;
  border-color: #000 !important;
}
.tncalc .card.selected .card-title,
.tncalc .card.selected .card-memo,
.tncalc .card.selected .card-price,
.tncalc .disc-item.selected .disc-title { color: #fff !important; }
/* 유심 카드의 '할인 내역' 줄만 살짝 흐리게 */
.tncalc .card.selected:has(.card-memo) .card-price { color: rgba(255, 255, 255, .72) !important; }
.tncalc .card.selected .card-price::before,
.tncalc .card.selected .card-memo::before { color: rgba(255, 255, 255, .45) !important; }
.tncalc .card.selected .net-discount-text { color: #fff !important; }

.tncalc .card.selected::after,
.tncalc .disc-item.selected::after {
  content: "✓";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--tn-ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
}
/* 배지가 제목 첫 줄을 가리지 않게 */
.tncalc .card.selected .card-title,
.tncalc .disc-item.selected .disc-title { padding-right: 18px; }


/* ---------------------------------------------------------------------------
   3. 오른쪽 요약 패널 — 회색 바탕 폐지, 흰 카드로
   --------------------------------------------------------------------------- */
.tn-pick {
  background: #fff !important;
  border: 1px solid var(--tn-line-soft) !important;
  border-radius: var(--tn-radius) !important;
  padding: 13px 15px !important;
  margin: 0 0 10px !important;
}
.tn-pick__t {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--tn-ink) !important;
  margin-bottom: 6px !important;
}
.tn-pick__b {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #444 !important;
}
.tn-panel .summary-card {
  border: 1px solid var(--tn-line-soft) !important;
  border-radius: var(--tn-radius) !important;
  box-shadow: none !important;
}
.tn-panel .summary-header-title { font-size: 14.5px !important; color: var(--tn-ink) !important; }

/* 가전 사은품 줄 = 상태 표시 전용 (누를 수 없음) */
.tn-panel #result_appliance { pointer-events: none !important; cursor: default !important; }
.tn-panel .result-box-appliance {
  border-top: 1px dashed var(--tn-line-soft) !important;
  padding-top: 11px !important;
}
.tn-panel .result-box-appliance .result-label { color: #444 !important; font-weight: 700 !important; }
.tn-panel .result-box-appliance .result-value {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--tn-muted) !important;
}

/* ---------------------------------------------------------------------------
   4. 04 가전 사은품 선택 — 제목 줄에 실제 버튼을 둔다
   --------------------------------------------------------------------------- */
.tn-sec-head--row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-bottom: 8px !important;
}
.tn-sec-head--row h2 { margin: 0 !important; }
.tn-head-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #d8dade;
  border-radius: 10px;
  background: #fff;
  color: var(--tn-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease;
}
.tn-head-btn:hover { border-color: var(--tn-ink); background: #fafbfc; }
.tn-head-btn svg { width: 15px; height: 15px; }
.tn-sec-sub {
  margin: 0 0 12px !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #5b6472 !important;
}

/* 가전 영역도 흰 카드로 */
.tncalc .appliance-section {
  margin: 0 !important;
  padding: 18px !important;
  background: #fff !important;
  border: 1px solid var(--tn-line) !important;
  border-radius: var(--tn-radius) !important;
}
.tncalc .appliance-section h3 { margin: 0 0 10px !important; font-size: 15px !important; color: var(--tn-ink) !important; }
.tncalc .appliance-grid { gap: 10px !important; }
/* 가전 영역의 파랑 안내박스·파랑 가격·파랑 선택 테두리 → 무채색 */
.tncalc .appliance-notice {
  color: #5b6472 !important;
  background: #f7f8fa !important;
  border: 1px solid var(--tn-line-soft) !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
}
.tncalc .app-item-card {
  border: 1px solid var(--tn-line) !important;
  border-radius: var(--tn-radius) !important;
}
.tncalc .app-item-card:hover { border-color: var(--tn-ink) !important; box-shadow: none !important; }
.tncalc .app-item-card.picked { border: 1px solid var(--tn-ink) !important; background: #fafbfc !important; }
.tncalc .app-item-pay { color: var(--tn-ink) !important; font-weight: 800 !important; }
.tncalc .app-item-model { color: var(--tn-muted) !important; }
.tncalc .appliance-more-btn {
  border: 1px solid #d8dade !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  color: var(--tn-ink) !important;
}
.tncalc .appliance-more-btn:hover { border-color: var(--tn-ink) !important; }
.tncalc .appliance-loading { color: var(--tn-muted) !important; }

/* ---------------------------------------------------------------------------
   5. 지원금 비교표 — 위 카드와 같은 톤, 파랑·초록(필터) 제거
   --------------------------------------------------------------------------- */
.tn-maxline {
  margin: 12px 0 0 !important;
  padding: 12px 16px !important;
  background: #fff !important;
  border: 1px solid var(--tn-line) !important;
  border-radius: var(--tn-radius) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #333 !important;
}
.tn-maxline strong { font-size: 15px !important; color: var(--tn-ink) !important; }
.tn-intro__text { border-radius: var(--tn-radius) !important; border-color: var(--tn-line) !important; }

.tn-compare .policy-table-responsive {
  border: 1px solid var(--tn-line) !important;
  border-radius: var(--tn-radius) !important;
  box-shadow: none !important;
}
.tn-compare .speed-block-wrap { border-radius: var(--tn-radius) !important; }
.tn-compare .speed-block-badge {
  background: var(--tn-ink) !important;
  border-radius: 10px 10px 0 0 !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
.tn-compare .clean-policy-table th {
  background: #f7f8fa !important;
  color: #444 !important;
  border-bottom: 1px solid var(--tn-line) !important;
}
.tn-compare .clean-policy-table td { border-bottom: 1px solid #f1f2f4 !important; }

/* 비교표 안의 초록[가입신청]·파랑[상담문의]·하늘색 유심 선택 → 검정/회색 */
#policyDynamicRenderArea td button[onclick*="openPolicyInlineApply"] {
  background: var(--tn-ink) !important;
  border: 1px solid var(--tn-ink) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
}
#policyDynamicRenderArea td a[href^="tel:"] {
  background: #fff !important;
  color: var(--tn-ink) !important;
  border: 1px solid #d8dade !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
}
#policyDynamicRenderArea .usim-plan-select {
  border: 1px solid #e3e5e9 !important;
  background: #fff !important;
  color: var(--tn-ink) !important;
}
#policyDynamicRenderArea td span[style*="#0284c7"] { color: var(--tn-ink) !important; }

/* 속도·통신사 필터: 주황 그라데이션 → 검정 */
.tn-compare .filter-btn {
  height: 34px;
  padding: 0 14px;
  border: 1px solid #e3e5e9 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #555 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.tn-compare .filter-btn:hover {
  border-color: var(--tn-ink) !important;
  background: #fff !important;
  color: var(--tn-ink) !important;
}
.tn-compare .filter-btn.active {
  background: var(--tn-ink) !important;
  border-color: var(--tn-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------------------------
   6. 신청서(#inlineApplyBox) — 오른쪽 패널 안으로 들어온 상태
   --------------------------------------------------------------------------- */
.tn-panel #inlineApplyBox {
  max-width: none !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid var(--tn-line-soft) !important;
  border-radius: var(--tn-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.tn-panel #inlineApplyBox > h3 {
  color: var(--tn-ink) !important;
  border-bottom: 1px solid var(--tn-line-soft) !important;
}
.tn-panel #inlineApplyBox .tn-form-call { font-size: 11px !important; }
.tn-panel #inlineApplyBox button[type="submit"] { background: var(--tn-ink) !important; color: #fff !important; }


/* ---------------------------------------------------------------------------
   7. 배치 — 본문 1200 + 오른쪽 벽에 붙는 요약 패널
   · 1200px 미만: 지금처럼 한 열(패널은 본문 아래) + 하단 요약 바
   · 1200~1439px: 패널 300px
   · 1440px 이상: 패널 344px
   · 2140px 이상: 본문이 화면 정중앙, 패널은 오른쪽 벽
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  /* 패널 폭 + 오른쪽 벽 여백 + 숨통만큼 오른쪽을 비우고, 남는 폭에서 본문을 가운데 둔다 */
  main.v4-page .v4-inner {
    max-width: none;
    padding-left: 24px;
    padding-right: 420px;
  }
  main.v4-page .v4-inner > * { margin-left: auto !important; margin-right: auto !important; }
  main.v4-page .tn-sec,
  main.v4-page .tn-sec-head { margin-left: auto !important; margin-right: auto !important; }

  .tncalc.v4-inner > .section {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
  .tncalc .calculator-master-box,
  .tncalc .option-container,
  .tncalc .option {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .tncalc .final-box-container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .tncalc .tn-left { width: 100% !important; }
  .tncalc #inlineApplyBox { max-width: none !important; }

  /* 패널: 화면 오른쪽 벽에 고정, 위아래로 넘치면 패널 안에서 스크롤 */
  .tncalc .tn-panel {
    position: fixed !important;
    top: 96px;
    right: var(--tn-rail);
    left: auto !important;
    width: 300px !important;
    max-width: 300px !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: calc(100vh - 116px) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 30;
    scrollbar-width: thin;
  }
  /* 신청서를 펼쳐도 패널은 화면 밖으로 나가지 않고 안에서 스크롤한다 */
  body.tn-applying .tncalc .tn-panel { max-height: calc(100vh - 116px) !important; }

  /* 푸터가 고정 패널을 덮는다 (패널이 푸터 글자를 가리지 않게) */
  .v4-foot { position: relative; z-index: 60; }
}

@media (min-width: 1440px) {
  main.v4-page .v4-inner {
    max-width: 1920px;
    padding-left: 24px;
    padding-right: 464px;
  }
  .tncalc .tn-panel {
    top: 104px;
    width: 344px !important;
    max-width: 344px !important;
    max-height: calc(100vh - 124px) !important;
  }
  body.tn-applying .tncalc .tn-panel { max-height: calc(100vh - 124px) !important; }
}

/* 아주 넓은 화면: 본문 1200을 화면 정중앙에 두고 패널만 오른쪽 벽에 남긴다 */
@media (min-width: 2140px) {
  main.v4-page .v4-inner {
    max-width: 1400px;
    padding-left: 32px;
    padding-right: 32px;
  }
}


/* ---------------------------------------------------------------------------
   8. 좁은 화면 보정 (카드가 답답하지 않게)
   --------------------------------------------------------------------------- */
@media (max-width: 719px) {
  .tncalc .card-group,
  .tncalc .mobile-sim-group,
  .tncalc .disc-group {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 8px !important;
  }
  .tncalc .card,
  .tncalc .disc-item {
    min-height: 66px !important;
    padding: 12px 13px !important;
  }
  .tncalc .card-title,
  .tncalc .disc-title { font-size: 14px !important; }
  .tncalc .card-memo { font-size: 15.5px !important; }
  .tncalc .card:not(:has(.card-memo)) .card-price { font-size: 15.5px !important; }
  .tn-head-btn { height: 32px; padding: 0 12px; font-size: 12px; }
}

/* ============================================================================
   v6 — 로고 · 헤더 메뉴 · 페이지 타이포 개편 (2026-11-21)
   ----------------------------------------------------------------------------
   · 위쪽 v2·v5 규칙은 한 줄도 지우지 않았습니다. 여기서 덮어쓰기만 합니다.
   · 이 주석부터 파일 끝까지를 통째로 지우면 v5 화면 그대로 돌아갑니다.
   · id·onclick·계산 로직은 건드리지 않습니다. 글자·색·모양·배치만 바꿉니다.
   · 글자 크기는 12 / 13.5 / 15 / 18 / 24 / 34px 여섯 단계만 씁니다.
     무게는 400 / 600 / 700 / 800, 회색은 #111(제목) / #444(본문) / #8a8f98(보조).
     강조색은 현금 사은품 금액의 빨강(#ea1917) 하나만 남깁니다.
   · new-main.css 는 사이트 공통이라 손대지 않고, 이 페이지에서만 덮어씁니다.
   ----------------------------------------------------------------------------
   1) 로고 = 파도 심볼 이미지(assets/temo-logo.png) + '태모커머스' 글자
   2) 헤더 유틸 줄 = 회색 메뉴 + '상담 신청' 검정 버튼 + '파트너 센터' 맨 뒤
   3) GNB 4개 = 가전 렌탈·구매 / 인터넷·TV·유심 / 쇼핑몰 분양 / 제휴 문의
   4) 페이지 제목 34px + KT 레드 포인트, 지원금 배너 숫자 24px
   5) 통신사 탭 = 카드형 6등분, 풀네임 15px
   6) 페이지 전체 글자 크기 6단계 정리
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. 로고 · 헤더 유틸 줄
   --------------------------------------------------------------------------- */
.v4-head__util-in { height: 40px !important; }
.v4-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #111 !important;
}
.v4-logo__img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}
.v4-logo__mark {
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
  line-height: 1 !important;
  color: #111 !important;
}
/* 서브카피('인터넷·TV·렌탈·가전 비교센터')는 사용자 확정으로 삭제 */
.v4-logo__sub { display: none !important; }

.v4-util { gap: 20px !important; }
.v4-util a {
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: #444 !important;
  letter-spacing: -0.02em;
}
.v4-util a:hover { color: #111 !important; }
/* 유틸 줄의 유일한 CTA — '상담 신청'만 검정 버튼 */
.v4-util a.is-strong {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: #111 !important;
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}
.v4-util a.is-strong:hover { background: #000 !important; color: #fff !important; }

/* ---------------------------------------------------------------------------
   2. GNB — 4개 메뉴
   --------------------------------------------------------------------------- */
.v4-gnb__link {
  min-width: 152px !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}
.v4-panel__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: #111 !important;
}
.v4-panel__title span {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #8a8f98 !important;
}
.v4-panel__all {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #444 !important;
}
.v4-panel__all:hover { color: #111 !important; }

/* 타일은 4열로 — 8칸(4×2)·4칸(4×1) 모두 빈칸 없이 떨어진다 */
.v4-panel .v4-tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.v4-tile > a { padding: 14px 14px 16px !important; }
.v4-tile__name {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.4;
}
.v4-tile__desc {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #8a8f98 !important;
  line-height: 1.45;
}
.v4-tile__ico { color: #444; }

/* ---------------------------------------------------------------------------
   3. 쇼핑몰 분양 패널 — 3종 비교 + 무료 부업 파트너
   --------------------------------------------------------------------------- */
.v4-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.v4-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 18px;
  border: 1px solid #e9ebee;
  border-radius: 14px;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: border-color .14s ease;
}
.v4-tier:hover { border-color: #111; }
.v4-tier__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.v4-tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.v4-tier__price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #8a8f98;
}
.v4-tier__price strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111;
}
.v4-tier__desc {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: #444;
  word-break: keep-all;
}
.v4-tier--free { background: #f7f8fa; }
.v4-tier--free .v4-tier__price strong { font-size: 24px; }
.v4-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.v4-panel__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
  text-align: right;
}
.v4-panel__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
}

/* ---------------------------------------------------------------------------
   4. 모바일 드로어 (같은 4개 구조 + 파트너 센터)
   --------------------------------------------------------------------------- */
.v4-drawer__head strong { font-size: 18px !important; font-weight: 800 !important; }
.v4-drawer__group > strong {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #8a8f98 !important;
  letter-spacing: 0.06em !important;
}
.v4-drawer__group a {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111 !important;
}
.v4-drawer__cta a,
.v4-drawer__cta button { font-size: 15px !important; font-weight: 700 !important; }

/* mobile header logo: 글자 '태모커머스' + 심볼 이미지 (util 줄이 숨는 폭) */
@media (max-width: 1080px) {
  .v4-head__gnb-in::before {
    content: "태모커머스";
    display: inline-flex !important;
    align-items: center;
    min-height: 34px;
    padding-left: 44px;
    background: url(assets/temo-logo.png) left center / 34px 34px no-repeat;  /* 이 파일 기준 css/assets/ */
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: -0.05em !important;
    color: #111 !important;
  }
}

/* ---------------------------------------------------------------------------
   5. 브레드크럼 · 페이지 제목
   --------------------------------------------------------------------------- */
.v4-crumb {
  font-size: 12px !important;
  color: #8a8f98 !important;
}
.v4-crumb a { color: #444 !important; }
.v4-crumb span { color: #c9ccd1 !important; }

.v4-page-head {
  align-items: flex-end !important;
  padding-bottom: 18px !important;
}
.v4-page-head h1 {
  position: relative;
  padding-left: 18px;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.04em !important;
  color: #111 !important;
}
/* KT 브랜드 컬러 포인트 — 왼쪽 얇은 바 하나 (절제) */
.v4-page-head h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.14em;
  width: 5px;
  height: 0.78em;
  border-radius: 3px;
  background: #e60012;
}
.v4-page-head p {
  margin-top: 10px !important;
  max-width: 760px !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #444 !important;
}
.v4-page-head__act .sf-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* ---------------------------------------------------------------------------
   6. 대표 지원금 배너 · 조건 안내 · 통신사 탭
   --------------------------------------------------------------------------- */
.tn-maxline {
  margin: 14px 0 0 !important;
  padding: 13px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: #444 !important;
  border: 1px solid #e9ebee !important;
  border-radius: 14px !important;
  background: #f7f8fa !important;
}
.tn-maxline strong {
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: #111 !important;
  vertical-align: -0.06em;
  margin: 0 2px;
}
.tn-maxline .tn-alt {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #8a8f98 !important;
}
.tn-maxnote {
  margin: 8px 0 0 !important;
  padding: 0 2px !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #444 !important;
}

/* 통신사 탭 — 카드형 한 줄 6등분 */
.tn-carrier-tabs {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}
.tn-tab {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px !important;
  padding: 0 8px !important;
  border: 1px solid #e3e5e9 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #444 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-decoration: none;
}
.tn-tab i {
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 auto;
  border-radius: 50%;
}
.tn-tab:hover {
  border-color: #111 !important;
  color: #111 !important;
  background: #fff !important;
}
.tn-tab.is-active {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* 01 상품 안내 */
.tn-intro .tn-sec-head h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111 !important;
}
.tn-intro__text {
  margin: 0 !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #444 !important;
  background: #fff !important;
  border: 1px solid #e9ebee !important;
  border-radius: 14px !important;
}

/* ---------------------------------------------------------------------------
   7. 섹션 제목 · 계산기 · 패널 · 비교표 — 6단계 매핑
   --------------------------------------------------------------------------- */
.tn-sec-head h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111 !important;
}
.tn-sec-head p {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #444 !important;
}
.tn-num {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  letter-spacing: 0.1em !important;
}
#tnStep2 h2 { font-size: 20px !important; font-weight: 700 !important; color: #111 !important; }
#tnStep2 .tn-num { font-size: 12px !important; }
.tn-steps li,
.tn-steps li b { font-size: 12px !important; }
.tncalc .option > label { font-size: 13.5px !important; color: #444 !important; }
.tncalc .option > label #wifiLabel,
.tncalc .option > label span[id="wifiLabel"] { font-size: 12px !important; }

/* 옵션 카드 */
.tncalc .card-title,
.tncalc .disc-title { font-size: 15px !important; font-weight: 700 !important; }
.tncalc .card-price { font-size: 13.5px !important; font-weight: 600 !important; color: #8a8f98 !important; }
.tncalc .card-memo { font-size: 18px !important; font-weight: 800 !important; color: #111 !important; }
.tncalc .card:not(:has(.card-memo)) .card-price {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111 !important;
}
.tncalc .mobile-sim-card .card-price { font-size: 13.5px !important; }

/* 오른쪽 요약 패널 */
.tn-pick__t { font-size: 13.5px !important; font-weight: 700 !important; color: #111 !important; }
.tn-pick__b { font-size: 15px !important; line-height: 1.7 !important; color: #444 !important; }
.tn-panel .summary-header-title { font-size: 15px !important; font-weight: 700 !important; color: #111 !important; }
.tn-panel .result-label { font-size: 13.5px !important; color: #444 !important; }
.tn-panel .result-value { font-size: 18px; font-weight: 800 !important; }
.tn-panel .result-box-appliance .result-label { font-size: 13.5px !important; color: #444 !important; }
.tn-panel .result-box-appliance .result-value { font-size: 13.5px !important; font-weight: 600 !important; color: #444 !important; }
.tn-side-total span { font-size: 13.5px !important; color: #444 !important; }
.tn-side-total strong { font-size: 24px; font-weight: 800 !important; letter-spacing: -0.02em; }
.tn-side-total em { font-size: 12px !important; color: #8a8f98 !important; }
.tn-panel .action-btn { font-size: 15px !important; font-weight: 700 !important; }
.tn-sec-head--side h2 { font-size: 20px !important; font-weight: 700 !important; color: #111 !important; }
.tn-sec-head--side .tn-num { font-size: 12px !important; }

/* 가전 사은품 */
.tncalc .appliance-section h3 { font-size: 15px !important; font-weight: 700 !important; color: #111 !important; }
.tncalc .appliance-notice { font-size: 13.5px !important; }
.tncalc .app-item-model { font-size: 12px !important; }
.tncalc .app-item-pay { font-size: 15px !important; font-weight: 800 !important; }
.tn-head-btn { font-size: 13.5px !important; font-weight: 700 !important; }
.tn-sec-sub { font-size: 13.5px !important; color: #444 !important; }

/* 신청서 */
#inlineApplyBox > h3 { font-size: 15px !important; font-weight: 700 !important; }
#inlineApplyBox label { font-size: 13.5px !important; color: #444 !important; }
#inlineApplyBox input[type="text"],
#inlineApplyBox input[type="tel"],
#inlineApplyBox textarea { font-size: 15px !important; }
#inlineApplyBox #inlineSelectedSummary { font-size: 12px !important; }
#inlineApplyBox .tn-form-call,
.tn-panel #inlineApplyBox .tn-form-call { font-size: 12px !important; line-height: 1.55 !important; }
#inlineApplyBox button[type="submit"] { font-size: 15px !important; font-weight: 700 !important; }
#inlineApplyBox select { font-size: 15px !important; }

/* 지원금 비교표 */
.tn-compare .speed-block-badge { font-size: 13.5px !important; }
.tn-compare .filter-btn { font-size: 13.5px !important; font-weight: 600 !important; }
#policyDynamicRenderArea .speed-block-badge { font-size: 13.5px !important; }
#policyDynamicRenderArea tbody td { font-size: 13.5px !important; }
#policyDynamicRenderArea tbody td::before { font-size: 12px !important; }
#policyDynamicRenderArea .tn-tbl-carrier { font-size: 12px !important; }
#policyDynamicRenderArea td button,
#policyDynamicRenderArea td a { font-size: 13.5px !important; }
.sf-note,
.tn-caption { font-size: 12px !important; line-height: 1.7 !important; color: #8a8f98 !important; }
.sf-note strong { color: #444 !important; }
.sf-filter-label { font-size: 13.5px !important; color: #444 !important; }

/* 오류 · 모바일 요약 바 */
.tn-error { font-size: 15px !important; color: #444 !important; }
.tn-error strong { font-size: 18px !important; color: #111 !important; }
.tn-mobar__col em { font-size: 12px !important; color: #8a8f98 !important; }
.tn-mobar__col strong { font-size: 18px !important; font-weight: 800 !important; }
.tn-mobar__cta { font-size: 13.5px !important; font-weight: 700 !important; }

/* ---------------------------------------------------------------------------
   8. 푸터 · 우측 상담 도우미
   --------------------------------------------------------------------------- */
.v4-foot__links a,
.v4-foot__pending { font-size: 13.5px !important; color: #444 !important; }
.v4-foot__pending em { font-size: 12px !important; color: #8a8f98 !important; }
.v4-foot__brand strong { font-size: 18px !important; font-weight: 800 !important; }
.v4-foot__brand p { font-size: 13.5px !important; line-height: 1.7 !important; color: #444 !important; }
.v4-foot__info { font-size: 13.5px !important; line-height: 1.75 !important; color: #444 !important; }
.v4-foot__info strong,
.v4-foot__info a { font-size: 13.5px !important; color: #111 !important; }
.v4-foot__copy { font-size: 12px !important; color: #8a8f98 !important; }
.v4-foot__notice { font-size: 12px !important; line-height: 1.7 !important; color: #8a8f98 !important; }


/* ---------------------------------------------------------------------------
   9. 좁은 화면 보정 (6단계 유지 · 탭 3개씩 두 줄)
   --------------------------------------------------------------------------- */
@media (max-width: 1439px) {
  .tn-carrier-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 1240px) {
  .v4-panel .v4-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .v4-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v4-gnb__link { font-size: 15px !important; min-width: 0 !important; padding: 0 14px !important; }
}
@media (max-width: 768px) {
  .v4-page-head h1 { font-size: 24px !important; padding-left: 14px; }
  .v4-page-head h1::before { width: 4px; }
  .v4-page-head p { font-size: 15px !important; }
  .v4-page-head__act .sf-btn { height: 40px; font-size: 13.5px !important; }
  .tn-sec-head h2 { font-size: 18px !important; }
  .tn-sec-head p { font-size: 13.5px !important; }
  .tn-maxline { padding: 12px 14px !important; font-size: 12px !important; }
  .tn-maxline strong { font-size: 24px !important; }
  .tn-maxline .tn-alt { font-size: 12px !important; }
  .tn-maxnote { font-size: 12px !important; }
  .tn-tab { height: 44px !important; font-size: 13.5px !important; gap: 6px; }
  .tn-carrier-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
  .tn-intro__text { padding: 12px 14px !important; font-size: 13.5px !important; }
  .v4-panel .v4-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .v4-tiers { grid-template-columns: 1fr; }
  .v4-tier__price strong { font-size: 24px; }
  .v4-foot__links a, .v4-foot__pending { font-size: 12px !important; }
  .v4-foot__info, .v4-foot__brand p { font-size: 12px !important; }
}

/* ---------------------------------------------------------------------------
   10. 계산기 생성 HTML(인라인 스타일) 보정 — 6단계·3색 안으로
   · 루트 계산기(kt.php 등)가 인라인 style로 내보내는 글자 크기·색을 이 페이지에서만 덮습니다.
   · 값·계산에는 손대지 않습니다(표시만).
   --------------------------------------------------------------------------- */
.v4-search-btn { font-size: 13.5px !important; color: #444 !important; }
.v4-phone { font-size: 18px !important; }
.v4-crumb span { color: #8a8f98 !important; }

/* 03 결과 요약 값 — 패널 폭(300/344px)에 맞춰 18px, 인라인 24px도 같은 단계로 */
.tn-panel .result-value { font-size: 18px !important; font-weight: 800 !important; }

/* 비교표 위 '현재 최대 혜택 TOP 3' 카드 (인라인 스타일) */
.top-benefit-title { font-size: 18px !important; font-weight: 700 !important; color: #111 !important; }
.top-benefit-cards-grid { color: #111 !important; }
.benefit-rank-card { color: #111 !important; }
.top-benefit-cards-grid .rank-carrier { font-size: 18px !important; color: #111 !important; }
.top-benefit-cards-grid .rank-product-sub { font-size: 13.5px !important; font-weight: 600 !important; color: #8a8f98 !important; }
.top-benefit-cards-grid .rank-amount { font-size: 24px !important; font-weight: 800 !important; color: #ea1917 !important; letter-spacing: -0.02em !important; }
.top-benefit-cards-grid div[style*="font-size: 13px"] { font-size: 13.5px !important; color: #444 !important; }

/* 비교표 머리글·셀·필터 */
.tn-compare .clean-policy-table th { font-size: 13.5px !important; color: #444 !important; }
#policyDynamicRenderArea td { color: #444 !important; }
#policyDynamicRenderArea tbody td { font-size: 13.5px !important; color: #444 !important; }
.tn-compare .filter-btn { color: #444 !important; }

/* 기타 회색 잔재 */
.tncalc .option > label span[id="wifiLabel"] { color: #8a8f98 !important; }
.tncalc .appliance-notice { color: #444 !important; }
.tn-sec-sub { color: #444 !important; }
/* 2026-11-27 — 우측 상담 도우미(#sfHelper) '빠른 상담' 버튼 글자색 복구.
   여기 있던 `.sf-helper-label { color: #444 !important; }` 가 검정 배경 위의
   흰 라벨까지 어둡게 덮어 '빠른 상담' 글씨가 보이지 않았다. 라벨 색은
   각 페이지 CSS(.sf-helper-item--consult)가 정하게 두고 이 규칙은 뺀다. */

/* ============================================================================
   v7 — 2026-11-21
   우측 패널 2단 재배치 · 모바일 비교표 잘림 수정 · 스마트추천/비교함 숨김
   ----------------------------------------------------------------------------
   · 위쪽 v2·v5·v6 규칙은 한 줄도 지우지 않는다. 여기서 덮어쓰기만 한다.
   · 값·계산·id·onclick·전송 로직은 건드리지 않는다. 배치와 표시만 바꾼다.
   ----------------------------------------------------------------------------
   1) 1720px 이상 — 본문 1200은 지금 폭·자리 그대로 두고,
      그 오른쪽 경계에서 16px 옆에 신청 패널(344)이 sticky로 따라온다.
      (화면 중앙이 아니라 본문 1200의 오른쪽 경계가 기준)
   2) 1719px 이하 — 패널 자리가 350px도 안 나오므로 한 열.
      패널은 본문 아래로 내려와 그대로 보인다 (가로 잘림·가로 스크롤 없음).
   3) 03 결과 요약 — '선택하신 상품 요약'을 따로 띄우지 않고 카드 하나로 합쳤다.
      카드 안 순서: 우리 집 가입 혜택 → 구성 항목 줄 → 월 총 요금 → 현금 사은품
   4) 스마트 추천 검색 모달 · 비교함 — 이 페이지에서는 열지 않는다(비노출).
      두 기능을 여는 버튼도 함께 숨긴다. 신청서·상담 흐름은 그대로 쓴다.
   5) 모바일 비교표 — 카드로 바뀌든 표로 남든 폭을 넘지 않는다.
      카드 변환이 안 된 경우에도 좌우로 밀어 금액을 볼 수 있게 안전장치를 둔다.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. (v12) 헤더 공용 검색을 이 페이지에서도 그대로 쓴다 — 숨김 규칙 삭제
   --------------------------------------------------------------------------- */

/* (2026-11-27) v8 의 `#sfHelper { display: none !important; }` 는 삭제했다.
   이제 상담 도우미 표시는 css/shop.css(1500px↑ 레일 / 861~1499px 숨김 / 860px↓ 하단 바)와
   css/internet-landing-20261123.css 가 정한다. */

/* ---------------------------------------------------------------------------
   2. 1719px 이하 — 한 열. 본문 아래로 내려오는 패널
   --------------------------------------------------------------------------- */
@media (max-width: 1823px) {
  main.v4-page .v4-inner {
    max-width: none !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  main.v4-page .v4-inner > * { max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; }
  main.v4-page .tn-sec,
  main.v4-page .tn-sec-head { margin-left: auto !important; margin-right: auto !important; }

  /* 본문 1200 (화면이 좁으면 화면 폭 그대로 — 줄여서 끼워 넣지 않는다) */
  .tncalc.v4-inner > .section {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
  .tncalc .calculator-master-box,
  .tncalc .option-container,
  .tncalc .option {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .tncalc .final-box-container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .tncalc .tn-left { width: 100% !important; }
  .tncalc #inlineApplyBox { max-width: none !important; }

  /* 패널: 화면에 고정하지 않는다. 본문 바로 아래에 놓고 그대로 보여 준다. */
  .tncalc .tn-panel {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 640px !important;
    margin: 16px auto 0 !important;
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: auto;
  }
  body.tn-applying .tncalc .tn-panel { max-height: none !important; }

  /* 버튼 두 개를 한 줄에 반씩 — 예전에는 100% 폭 두 개가 가로로 붙어
     문서 폭을 2배로 늘렸다(모바일 가로 스크롤의 원인). */
  .tn-panel .action-buttons-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 7px !important;
  }
  .tn-panel .action-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 12px 6px !important;
  }
}

/* ---------------------------------------------------------------------------
   3. 1824px 이상 — 본문 1200은 화면 정중앙 그대로, 패널만 오른쪽 빈칸에
   ---------------------------------------------------------------------------
   · v7 은 본문을 왼쪽 칸에 넣느라 격자를 만들었고, 그래서 1200 기둥이
     화면 중앙에서 왼쪽으로 밀렸다. v8 은 격자를 버리고 본문을 정중앙에 둔다.
   · 패널은 화면에서 빼내(fixed) 본문 1200의 오른쪽 경계 + 16px 자리에 세운다.
     오른쪽 끝은 벽에서 16px. 폭은 남는 칸에 맞춰 280~344 사이로 줄어든다.
     (1824px 미만이면 패널이 본문을 덮게 되므로 아래 한 열로 내려간다)
   · 값·계산·id·전송 로직은 손대지 않는다. 배치와 표시만 바꾼다.
   --------------------------------------------------------------------------- */
@media (min-width: 1824px) {
  main.v4-page .v4-inner.tncalc {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  /* v11 — 정렬 복구.
     빵·h1·01·06이 든 .v4-inner 에는 v5 시절 오른쪽 여백 464px 가 남아 있어
     계산기(02·04·05)보다 왼쪽으로 220px 밀려 있었다. 좌우 24px 로 맞춘다. */
  main.v4-page .v4-inner:not(.tncalc) {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .tncalc.v4-inner > .section {
    width: 1200px !important;
    max-width: 1200px !important;
    display: block !important;
    margin: 0 auto !important;
  }
  .tncalc .calculator-master-box,
  .tncalc .final-box-container { display: block !important; }

  .tncalc .tn-left { min-width: 0; }
  .tncalc .tn-left .tn-sec-head { margin-left: 0; margin-right: auto; }

  /* 오른쪽 빈칸: 본문 1200 오른쪽 경계 + 16px, 오른쪽 끝은 벽에서 16px */
  .tncalc .tn-panel {
    position: fixed !important;
    top: 104px;
    left: auto !important;
    right: 16px !important;
    width: clamp(280px, calc(50vw - 640px), 344px) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: calc(100vh - 124px) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 30;
    /* v11 — 넘칠 때만 얇은 스크롤바가 보이게 (v9 의 '막대 숨김'을 되돌린다).
       막대가 없으면 약관까지 펼쳤을 때 더 있다는 걸 알 수 없다. */
    scrollbar-width: thin !important;
    scrollbar-color: #c9ccd2 transparent !important;
    -ms-overflow-style: auto !important;
  }
  .tncalc .tn-panel::-webkit-scrollbar { width: 6px !important; height: 6px !important; display: block !important; }
  .tncalc .tn-panel::-webkit-scrollbar-thumb { background: #c9ccd2; border-radius: 3px; }
  .tncalc .tn-panel::-webkit-scrollbar-track { background: transparent; }

  /* v11 — 신청서를 펼쳐도 패널을 위로 올리지 않는다.
     v9 는 top 을 16px 로 올렸는데, 사이트 헤더가 101px(sticky, z 900)라
     패널 위 85px 가 헤더에 영구히 가려져 03 결과 요약 제목이 사라졌다.
     헤더 바로 아래(101 + 8)에 두고, 넘치는 만큼만 패널 안에서 스크롤한다. */
  body.tn-applying .tncalc .tn-panel {
    top: 109px !important;
    max-height: calc(100vh - 125px) !important;
  }

  /* 푸터·아래 섹션도 같은 1200 기둥에 맞춘다 */
  .v4-foot .v4-inner { max-width: none; padding-left: 24px; padding-right: 24px; }
  .v4-foot .v4-inner > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
}

/* ---------------------------------------------------------------------------
   4. 03 결과 요약 카드 하나로 통합
   ---------------------------------------------------------------------------
   구성 항목 줄(인터넷 / TV / 휴대폰 기본 요금 / 집 전화 / 가전)
   → 월 총 요금 → 현금 사은품 순서. PC·모바일 모두 같은 카드 하나다.
   (v6 의 별도 '선택하신 상품 요약' 블록은 없애고 이 카드로 합쳤다)
   --------------------------------------------------------------------------- */
.summary-card .summary-header-title { margin-bottom: 6px !important; }

.tn-pick-list { display: block; margin: 0; }
.tn-pick-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.45;
}
.tn-pick-row__l {
  flex: 0 0 auto;
  /* v10 — 우리 집 가입 혜택 밑 항목 이름이 흐리고 작아 보이던 것.
     같은 카드의 '현금 사은품' 라벨과 같은 글씨(13.5px / 700 / #444)로 맞춤다. */
  color: #444;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.tn-pick-row__v {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  color: #444;
  font-weight: 600;
  word-break: keep-all;
}
.tn-pick-row__v b { color: #111; font-weight: 800; }

/* 월 총 요금 — 항목 줄과 현금 사은품 사이 */
.summary-card .tn-side-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 0 !important;
  padding: 10px 0 8px !important;
  border: 0 !important;
  border-top: 1px solid #e8eaee !important;
  border-bottom: 1px solid #e8eaee !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.summary-card .tn-side-total span {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #111 !important;
}
.summary-card .tn-side-total em { display: none !important; }
.summary-card .tn-side-total strong {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #111 !important;
  letter-spacing: -0.02em;
}

/* 인터넷 요금·휴대폰 기본요금 결과 줄은 위 항목 줄과 같은 내용이라 감춘다.
   (값은 지금처럼 이 노드에서 읽어 합계를 만든다 — 감춰도 글자는 남아 있다) */
.summary-card #result_internet,
.summary-card #result_mobile { display: none !important; }
.summary-card .result-wrapper { margin-top: 2px; }

/* v10 — 가전 사은품 줄: 월 총 요금 아래 · 현금 사은품 바로 위.
   가전을 고르지 않으면(해제하면) 이 줄 자체가 사라진다. */
.summary-card .tn-appl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 !important;
  padding: 8px 0 7px !important;
  font-size: 13px;
  line-height: 1.45;
}
.summary-card .tn-appl[hidden] { display: none !important; }
.summary-card .tn-appl__l {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: #444;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.summary-card .tn-appl__l svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #5b6069;
}
.summary-card .tn-appl__v {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  color: #111;
  font-weight: 700;
  word-break: keep-all;
}

/* ---------------------------------------------------------------------------
   5. 모바일 비교표 — 카드든 표든 폭을 넘지 않게 + 가로 스크롤 안전장치
   ---------------------------------------------------------------------------
   · main.css 의 모바일 규칙이 .clean-policy-table 에 min-width: 580px 를 걸어서
     카드로 바뀌어도 표 폭은 580px로 남았다 → 금액이 화면 오른쪽 밖으로 나갔다.
     여기서 min-width 를 0으로 풀어 카드가 화면 폭 안에 들어오게 한다.
   · 카드 변환이 실패해 표로 남아도, 감싸는 .policy-table-responsive 가
     좌우로 밀 수 있어 금액이 잘린 채 사라지지 않는다.
   --------------------------------------------------------------------------- */
#policyDynamicRenderArea .policy-table-responsive {
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}
#policyDynamicRenderArea .speed-block-wrap {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  #policyDynamicRenderArea .speed-block-wrap {
    padding: 12px 10px !important;
    margin-bottom: 18px !important;
  }
  #policyDynamicRenderArea table.clean-policy-table {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }
  #policyDynamicRenderArea table,
  #policyDynamicRenderArea tbody,
  #policyDynamicRenderArea thead,
  #policyDynamicRenderArea tr,
  #policyDynamicRenderArea td,
  #policyDynamicRenderArea th {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #policyDynamicRenderArea tbody td {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  /* 카드 안에서 금액은 오른쪽, 라벨은 왼쪽 — 한 줄에 들어오게 */
  #policyDynamicRenderArea tbody td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }
  /* 마지막 칸(총사은품 + 신청 버튼)은 flex 로 두면 글씨가 쪼개진다 → 블록으로 되돌린다 */
  #policyDynamicRenderArea tbody tr td:last-child {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    border-top: 1px dashed #cbd5e1 !important;
    border-bottom: 0 !important;
    margin-top: 6px !important;
    padding-top: 12px !important;
  }
  #policyDynamicRenderArea tbody tr td:last-child::before {
    display: block;
    margin: 0 0 6px;
    text-align: center;
  }
  #policyDynamicRenderArea tbody tr td:last-child > * {
    margin-left: auto;
    margin-right: auto;
  }
  #policyDynamicRenderArea tbody td::before {
    flex: 0 1 auto;
    min-width: 0;
  }
  #policyDynamicRenderArea tbody td > * { min-width: 0; }
}


/* ===========================================================================
   v12 — 1600·1440 에서도 신청서를 펼치면 03 결과 요약이 헤더에 가리던 것
   ---------------------------------------------------------------------------
   사이트 기본 JS 가 신청서를 열 때 applyBox.scrollIntoView({block:'nearest'})
   를 부르면서 패널 윗변이 화면 37px 까지 올라오고, sticky 헤더(높이 101px,
   z-index 900)가 그 위를 덮어 03 제목이 사라졌다. (1824px 이상은 v11 의
   top:109 가 잡아 주지만, 그 아래 폭은 패널이 흐름 배치라 그대로 남아 있었다.)
   scroll-margin-top 은 브라우저의 scrollIntoView 가 '보이는 영역'을 계산할 때
   같이 빼 주는 값이라, 헤더 높이 + 8px 만큼 여유를 두면 헤더 아래에서 멈춘다.
   =========================================================================== */
#inlineApplyBox,
#applyBox,
.tncalc .tn-left {
  scroll-margin-top: 109px !important;
}

.tn-sec-head:not(.tn-sec-head--row) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}
.tn-sec-head:not(.tn-sec-head--row) h2 { margin: 0 !important; }
.tn-sec-head > p { flex: 1 1 100%; margin-top: 4px !important; }

/* ===========================================================================
   v13 — 05 사은품 선택: 현금 / 가전 전환 버튼 (2026-11-22 ③)
   ---------------------------------------------------------------------------
   · 가전 카드 목록 아래에 라디오형 버튼 2개를 나란히 둔다. 기본값은 현금.
   · 버튼 안쪽 동작은 기존 selectBenefitMode() 를 그대로 쓰고, 여기서는 모양만 준다.
   · 조건(인터넷 500메가 + TV 이상) 미충족이면 가전 버튼은 회색이지만 눌린다.
     (누르면 바로 아래 한 줄로 이유를 알린다 — 팝업 없음)
   · 모바일 390px 에서도 2열 유지(가로 스크롤 없음), 터치 타깃 48px.
   =========================================================================== */
.tn-benefit-toggle {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  margin: 14px 0 0 !important;
}
.tn-benefit-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #d8dade;
  border-radius: 12px;
  background: #fff;
  color: var(--tn-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease, color .14s ease;
}
.tn-benefit-btn .tn-ico {
  width: 17px;
  height: 17px;
  color: currentColor !important;
}
.tn-benefit-btn:hover { border-color: var(--tn-ink); }
.tn-benefit-btn[aria-checked="true"],
.tn-benefit-btn.is-on {
  border-color: var(--tn-ink);
  background: var(--tn-ink);
  color: #fff;
}
.tn-benefit-btn[aria-checked="true"]:hover,
.tn-benefit-btn.is-on:hover { background: #000; }
.tn-benefit-btn.is-locked {
  color: var(--tn-muted);
  background: #f7f8fa;
  border-color: var(--tn-line);
}
.tn-benefit-btn.is-locked:hover { border-color: #c8ccd2; }
.tn-benefit-notice {
  margin: 8px 0 0 !important;
  padding: 9px 12px !important;
  background: #f7f8fa;
  border: 1px solid var(--tn-line-soft);
  border-radius: 10px;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.5 !important;
  color: #5b6472 !important;
  text-align: left;
}
.tn-benefit-notice[hidden] { display: none !important; }

@media (max-width: 719px) {
  .tn-benefit-toggle { gap: 6px; margin-top: 12px !important; }
  .tn-benefit-btn {
    min-height: 48px;
    padding: 0 6px;
    gap: 5px;
    font-size: 13px;
  }
  .tn-benefit-btn .tn-ico { width: 15px; height: 15px; }
  .tn-benefit-notice { font-size: 12.5px !important; padding: 8px 10px !important; }
}

/* ==========================================================================
   2026-11-24 · 랜딩 06번 '지원금 비교표' 섹션 전용 조정  (#tnCompareSection 스코프)
   1) TOP3 '자세히 보기' 버튼 hover/focus 글씨 흰색
   2) 순위를 메인과 같은 메달(🥇🥈🥉)로 복원 — 랜딩의 이모지 정리 스크립트가 1·2·3으로 바꿈
   3) 카드 구조·1등 테두리·금액 크기 / 표 헤더·금액 강조 / 섹션 제목 크기
   기존 규칙은 삭제하지 않고 뒤에서 덮어쓴다.
   ========================================================================== */

/* 1) TOP3 카드 버튼 hover · focus : 파란 바탕 + 흰 글씨 */
.top-benefit-cards-grid .benefit-rank-card div[onmouseover]:hover,
.top-benefit-cards-grid .benefit-rank-card div[onmouseover]:focus { color: #fff !important; }
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card div[onmouseover]:hover,
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card div[onmouseover]:focus {
  color: #fff !important; background-color: #2563eb !important; border-color: #2563eb !important;
}

/* 2) 순위 = 메달 (화면의 1·2·3 텍스트는 숨기고 CSS로 메달을 그린다) */
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card > div:first-child > div:first-child {
  font-size: 0 !important; line-height: 1.3 !important;
}
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card:nth-child(1) > div:first-child > div:first-child::before { content: '🥇'; font-size: 24px; }
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card:nth-child(2) > div:first-child > div:first-child::before { content: '🥈'; font-size: 24px; }
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card:nth-child(3) > div:first-child > div:first-child::before { content: '🥉'; font-size: 24px; }

/* 3) 카드 구조: 메달 → 통신사명 → 상품 설명 → 가는 구분선 → 금액 → 버튼 (전부 중앙 정렬, 3개 높이 동일) */
#tnCompareSection .top-benefit-cards-grid { align-items: stretch !important; }
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card {
  display: flex !important; flex-direction: column !important; justify-content: space-between !important;
  text-align: center !important; background-color: #fff !important;
}
#tnCompareSection .top-benefit-cards-grid .rank-carrier { text-align: center !important; color: #0f172a !important; }
#tnCompareSection .top-benefit-cards-grid .rank-product-sub {
  text-align: center !important; font-size: 13px !important; font-weight: 600 !important; color: #64748b !important;
}
#tnCompareSection .top-benefit-cards-grid .rank-amount {
  text-align: center !important; font-size: 26px !important; font-weight: 800 !important; color: #ea1917 !important;
  border-top: 1px dashed #e5e7eb !important; padding-top: 14px !important;
  margin-top: 4px !important; margin-bottom: 16px !important;
}
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card div[onmouseover] {
  background: #f8fafc !important; border: 1.5px solid #e2e8f0 !important; border-radius: 10px !important;
  color: #334155 !important; font-size: 13px !important; font-weight: 800 !important;
  padding: 10px 0 !important; text-align: center !important;
}

/* 4) 1등만 2px 파란 테두리, 2·3등은 옅은 테두리 유지 */
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card.rank-1 { border: 2px solid #2563eb !important; }
#tnCompareSection .top-benefit-cards-grid .benefit-rank-card:not(.rank-1) { border: 1px solid #e2e8f0 !important; }

/* 5) 표: 헤더 14.5px, 지원금·총 사은품 금액은 진한 남색 강조 (초록 사용 안 함) */
#tnCompareSection #policyDynamicRenderArea th { font-size: 14.5px !important; color: #334155 !important; }
#tnCompareSection #policyDynamicRenderArea td.sup-highlight,
#tnCompareSection #policyDynamicRenderArea td.sup-highlight strong,
#tnCompareSection #policyDynamicRenderArea .total-benefit-cell { color: #0b1220 !important; font-weight: 800 !important; }
#tnCompareSection #policyDynamicRenderArea td.usim-highlight { color: #0b1220 !important; font-weight: 800 !important; }

/* 6) 06번 섹션 제목 크기 (문구는 소스에서 '통신사별 인터넷 가입 지원금 비교표'로 변경) */
#tnCompareSection .tn-sec-head h2 { font-size: 22px !important; }
#tnCompareSection .tn-sec-head .tn-num { font-size: 13px !important; }

/* 7) 모바일: 1열 배치, 금액만 축소 */
@media (max-width: 768px) {
  #tnCompareSection .top-benefit-cards-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  #tnCompareSection .top-benefit-cards-grid .benefit-rank-card { padding: 18px 14px !important; }
  #tnCompareSection .top-benefit-cards-grid .rank-amount { font-size: 24px !important; }
  #tnCompareSection .tn-sec-head h2 { font-size: 22px !important; }
}

/* ===== v4/css/v4-width-1200.css (원문 그대로) ===== */
/* ============================================================================
   v4 폭 통일 — 1200  (2026-11-21 · 실화면 검증 후 수정본 v2)
   ----------------------------------------------------------------------------
   목적: 헤더(로고 줄·메뉴 줄)·본문·푸터를 하나의 1200 콘텐츠 폭으로 맞춘다.
   기준은 인터넷·TV·유심 계산기 화면의 1200.

   계산
   · new-main.css  : --v4-wrap 1400 / --v4-pad 32  → 본문 1336
   · shop.css      : --sf-wrap 1200 인데 new-main.css 가 1400 으로 덮고 있음
   · 1200 콘텐츠 = max-width 1248px − 좌우 24px
     → 1920 화면(스크롤바 15px)에서 로고·본문·푸터가 모두 352.5px 에서 시작

   붙이는 곳
   · 각 페이지 <head> 에서 기존 CSS 다음, 인터넷 페이지는 telecom.css 다음에.

   v1 → v2 수정 3가지 (실화면 검증 결과)
   1) 1824px 블록 삭제 — .tncalc .tn-sec-head 가 패널 안 '03 결과 요약'
      (.tn-sec-head--side, 320px)까지 잡아 패널에 가로 스크롤바를 만들었다.
      .section 은 원래도 1200 중앙정렬이라 그 블록이 바꾸는 것이 없었다.
   2) 메뉴 줄이 1200 을 80px 넘치던 것 — 링크 최소 폭을 154px 로 잡아 1200 에 맞춤.
   3) index.php 홈 섹션(.sf-wrap / .wrap)이 따라오지 않던 것 — --sf-wrap 을 1248px 로.
   ============================================================================ */

:root {
  --v4-wrap: 1248px;
  --v4-pad: 24px;
  --sf-wrap: 1248px;   /* 홈 섹션이 쓰는 wrap 폭 (인라인 max-width:var(--sf-wrap)) */
}

/* 헤더(유틸 줄·메뉴 줄·드롭다운 패널)·본문·푸터 공통 */
.v4-inner {
  max-width: 1248px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 메뉴 5개 페이지에서도 한 줄이 1200 안에 들어오게 (5×154 + 간격 + 검색·전화 = 1200) */
@media (min-width: 1248px) {
  .v4-head__gnb-in .v4-gnb__link {
    min-width: 154px;
  }
}

/* 좁은 화면에서는 화면 폭을 그대로 쓴다 */
@media (max-width: 1247px) {
  .v4-inner {
    max-width: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* =========================================================================
   [2026-11-28] 03 결과 요약(우리 집 가입 혜택) — 항목 줄 다듬기
   · 할인 안내는 금액과 같은 줄에 붙이지 않고, 금액 아래 다음 줄에 작고 은은하게
   · 고객이 실제로 봐야 하는 '인터넷·TV 합계'와 '휴대폰 월 요금'만 옅은 틴트로 강조
   ========================================================================= */
.summary-card .tn-pick-note {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #8b929c;
  letter-spacing: -0.01em;
}
.summary-card .tn-pick-row--sum,
.summary-card .tn-pick-row--mob {
  align-items: center;
  margin: 4px 0;
  padding: 8px 11px;
  border: 1px solid #e6edf8;
  border-radius: 10px;
  background: #f5f8fd;
}
.summary-card .tn-pick-row--sum .tn-pick-row__l,
.summary-card .tn-pick-row--mob .tn-pick-row__l { color: #1f2a44; }
.summary-card .tn-pick-row--sum .tn-pick-row__v,
.summary-card .tn-pick-row--mob .tn-pick-row__v { color: #1f2a44; }
.summary-card .tn-pick-row--sum .tn-pick-row__v b,
.summary-card .tn-pick-row--mob .tn-pick-row__v b { color: #1d4ed8; }
.summary-card .tn-pick-row--sum .tn-pick-note,
.summary-card .tn-pick-row--mob .tn-pick-note { color: #7c8698; }
/* 마지막 항목 줄과 월 총 요금 사이 숨통 */
.summary-card .tn-pick-list .tn-pick-row:last-child { margin-bottom: 6px; }
@media (max-width: 420px) {
  .summary-card .tn-pick-row--sum,
  .summary-card .tn-pick-row--mob { padding: 7px 9px; }
  .summary-card .tn-pick-note { font-size: 11px; }
}
