/* ============================================================
   kt초이스 — 홈(메인) 전용 스타일 (home.css)
   ⚠ 로드 순서: common.css → header.css → footer.css → home.css
   ⚠ 헤더/검색/푸터 chrome 규칙은 header.css / footer.css 소관.
     여기에는 본문 섹션(hero·shortcuts·consult·상품·요금제·기획전·CEO·FAQ)만.
   원본: kt_itda_main.html 목업의 <style> 본문 영역 그대로.
   ============================================================ */

/* ---- HERO 배너 슬라이드(신규): 목업은 자리표시자였고, 실제 배너 이미지를 순환시킨다 ---- */
.hero-main, .hero-side { position:relative; }
.hero-slides { position:absolute; inset:0; z-index:0; }
.hero-slide { position:absolute; inset:0; opacity:0; transition:opacity .6s ease; background-size:cover; background-position:center; }
.hero-slide.on { opacity:1; }
.hero-slide.solid { background:linear-gradient(135deg,#e8e2d8,#cfcabf); }
/* 배너 PC/모바일 이미지 전환 — 기본(>600px)은 PC 이미지, 화면 폭 ≤600px 는 모바일 이미지.
   이미지 URL 은 뷰에서 인라인 CSS 변수(--bg-pc/--bg-mo)로 주입한다. (600px 전환은 아래 미디어쿼리) */
.hero-slide.has-bg { background-image:var(--bg-pc); }
.hero-main .hero-nav, .hero-side .hero-nav { z-index:3; }
.hero-main .hero-ph, .hero-side .side-img { z-index:1; }
.hero-link { position:absolute; inset:0; z-index:2; }

/* ---- HERO ---- */
.hero { padding:40px 0 19px; }
.hero-grid { display:grid; grid-template-columns:3fr 1fr; gap:16px; align-items:stretch; }
/* 좌측 메인 비주얼 (캐러셀) */
.hero-main { position:relative; border-radius:var(--r-12); overflow:hidden; min-height:480px; background:linear-gradient(135deg,#e8e2d8,#cfcabf); color:var(--white); display:flex; flex-direction:column; justify-content:flex-end; padding:40px; }
.hero-main .hero-ph { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:var(--fw-medium); color:rgba(0,0,0,.28); }
.hero-caption { position:relative; }
.hero-main h2 { font-size:26px; font-weight:var(--fw-bold); text-shadow:0 1px 8px rgba(0,0,0,.25); }
.hero-main .author { margin-top:14px; font-size:13px; opacity:.85; display:flex; align-items:center; gap:7px; }
.hero-main .author .av { width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.4); }
.hero-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.9); color:var(--gray-700); font-size:22px; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 10px rgba(0,0,0,.12); transition:background .15s; }
.hero-arrow:hover { background:var(--white); }
.hero-arrow.prev { left:14px; }
.hero-arrow.next { right:14px; }
.hero-page { position:absolute; right:14px; bottom:14px; background:rgba(0,0,0,.5); color:var(--white); font-size:12px; font-weight:var(--fw-semibold); padding:4px 12px; border-radius:var(--r-full); z-index:2; }
/* 우측 초록 이벤트 배너 */
.hero-side { position:relative; border-radius:var(--r-12); overflow:hidden; background:var(--gray-200); display:flex; }
.hero-side .side-img { flex:1; display:flex; align-items:center; justify-content:center; color:var(--gray-500); font-size:13px; font-weight:var(--fw-semibold); }
.hero-side .side-page { position:absolute; right:14px; bottom:14px; background:rgba(0,0,0,.5); color:var(--white); font-size:12px; font-weight:var(--fw-semibold); padding:4px 12px; border-radius:var(--r-full); }
.hero-nav { position:absolute; right:14px; bottom:14px; z-index:3; display:flex; align-items:center; gap:6px; }
.hn-group { display:flex; align-items:center; gap:2px; background:rgba(255,255,255,.92); border-radius:var(--r-full); padding:4px 8px; }
.hn-btn { display:flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; color:var(--gray-500); }
.hn-btn svg { width:15px; height:15px; }
.hn-btn:hover { background:rgba(0,0,0,.06); color:var(--gray-900); }
.hn-page { display:inline-flex; align-items:center; justify-content:center; line-height:1; font-size:12px; font-weight:var(--fw-medium); min-width:32px; text-align:center; color:var(--gray-500); letter-spacing:0.4px; }
.hn-page .hn-cur { color:var(--gray-900); font-weight:var(--fw-medium); }
.hn-play { display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--gray-500); }
.hn-play svg { width:13px; height:13px; }
.hn-play:hover { background:var(--white); }

/* ---- SHORTCUT ICONS ---- */
.shortcuts { padding:19px 0 16px; }
.shortcut-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:6px; }
.sc { display:flex; flex-direction:column; align-items:center; gap:12px; padding:8px 2px; text-align:center; }
.sc .ico { width:64px; height:64px; border-radius:var(--r-16); background:var(--gray-100); display:flex; align-items:center; justify-content:center; font-size:30px; }
.sc span { font-size:12px; font-weight:var(--fw-medium); color:var(--gray-700); line-height:1.3; word-break:keep-all; }
.b1{background:#ede9fe}.b2{background:var(--blue-100)}.b3{background:#cffafe}.b4{background:#fee2e2}.b5{background:#fce7f3}.b6{background:#e0e7ff}.b7{background:#fef3c7}.b8{background:#fae8ff}.b9{background:#d1fae5}.b10{background:var(--blue-100)}

/* ---- TRUST: 조건 없음 3대 약속 ---- */
.trust { padding:24px 0; }
.trust-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.trust-card { background:var(--blue-50); border:1px solid var(--blue-100); border-radius:var(--r-16); padding:24px; text-align:center; }
.trust-card .t-ico { font-size:30px; display:block; margin-bottom:12px; }
.trust-card h4 { font-size:16px; font-weight:var(--fw-bold); color:var(--blue-700); margin-bottom:8px; }
.trust-card p { font-size:13px; color:var(--gray-600); }

/* ---- CONSULT: 전문 상담원 배너 ---- */
.consult { margin:22px 0 56px; border-radius:var(--r-16); background:var(--gray-900); color:var(--white); padding:24px 44px; display:flex; align-items:center; justify-content:space-between; gap:24px; position:relative; overflow:hidden; }
/* 홈미들 배너 이미지 — 기본(>600px)은 PC, ≤600px 는 모바일 (아래 미디어쿼리에서 전환) */
.consult.has-bg { background:#171719 center/cover var(--bg-pc); }
.consult-sec { margin-bottom:0; }
.consult-sec .consult { margin-bottom:0; }
.consult .c-txt { position:relative; }
.consult .c-tag { font-size:12px; font-weight:var(--fw-bold); color:var(--blue-400); }
.consult h3 { font-size:var(--fs-title2); font-weight:800; margin:8px 0 8px; }
.consult p { font-size:14px; color:rgba(255,255,255,.7); }
.consult .c-btn { position:relative; flex-shrink:0; background:var(--blue-600); color:var(--white); font-weight:var(--fw-bold); font-size:15px; padding:15px 28px; border-radius:var(--r-full); white-space:nowrap; transition:background .15s; }
.consult .c-btn:hover { background:var(--blue-700); }

/* ---- FLOATING CONSULT ---- */
/* 기본 위치는 맨 위로(to-top) 버튼 자리(bottom:24px) — to-top 버튼이 아직 없을 때는 상담 버튼이 그 자리를 대신 차지 */
/* 다시 나타날 때는 은은하고 느리게(0.6s, ease-out), 스크롤 시작되어 숨을 때는 빠르게(아래 .is-scroll-hidden에서 오버라이드) */
.float-consult { position:fixed; right:24px; bottom:24px; z-index:180; width:60px; height:60px; border-radius:var(--r-full); background:var(--blue-600); color:var(--white); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; box-shadow:0 6px 20px rgba(37,99,235,.4); transition:transform .15s, background .15s, opacity .6s ease-out, visibility .6s ease-out, bottom .2s ease; }
.float-consult:hover { background:var(--blue-700); transform:scale(1.06); }
/* 스크롤이 일정 구간을 넘어 to-top 버튼이 나타나면, 그 자리를 피해 위로 올라옴 */
.float-consult.is-raised { bottom:96px; }
/* 스크롤 중에는 빠르게 숨기고(0.15s), 스크롤이 멈추면 위 기본 규칙(0.6s)에 따라 천천히 다시 표시 */
.float-consult.is-scroll-hidden { opacity:0; visibility:hidden; pointer-events:none; transition:opacity .15s ease-in, visibility .15s ease-in; }
.float-consult svg { width:22px; height:22px; }
.float-consult span { font-size:12px; font-weight:var(--fw-bold); }
/* ---- BACK TO TOP: 맨 위로 퀵버튼 ---- */
.to-top { position:fixed; right:24px; bottom:24px; z-index:181; width:60px; height:60px; border-radius:var(--r-full); background:var(--white); color:var(--gray-700); border:1px solid var(--gray-200); display:flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(15,23,42,.16); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .2s ease, transform .2s ease, visibility .2s ease, color .15s, border-color .15s; }
.to-top.show { opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover { color:var(--blue-600); border-color:var(--blue-200); }
.to-top svg { width:24px; height:24px; }

/* ---- SECTION ---- */
.sec { padding:56px 0; }
.sec-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.sec-head:has(+ .sec-sub) { margin-bottom:4px; }
.sec-head h3 { font-size:var(--fs-title3); font-weight:800; line-height:1.4; letter-spacing:-.4px; }
/* 부제(.sec-sub)가 뒤따르는 섹션은 제목을 부제와 가깝게 */
.sec-head:has(+ .sec-sub) { margin-bottom:6px; }
.sec-head .more { font-size:13px; color:var(--gray-400); display:flex; align-items:center; gap:2px; }
.sec-more { display:flex; align-items:center; justify-content:center; gap:4px; width:100%; max-width:340px; margin:28px auto 0; padding:13px; font-size:15px; font-weight:var(--fw-semibold); color:var(--gray-400); transition:all .15s; }
.sec-more svg { width:15px; height:15px; }
.video-embed { position:relative; width:100%; aspect-ratio:16/9; border-radius:var(--r-16); overflow:hidden; background:#000; }
.video-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.sec-more:hover { color:var(--gray-600); }
.sec-sub { font-size:13px; color:var(--gray-500); margin-bottom:24px; }

/* "이런 폰 찾고 있나요" — 연보라 카드 + 중앙 이미지 + 모델명·가격 */
.mag-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.mag { position:relative; display:block; border-radius:var(--r-16); background:var(--gray-100); padding:20px 16px 22px; text-align:center; }
.mag .ph { display:block; width:100%; aspect-ratio:1/1; border-radius:var(--r-12); background:var(--gray-100); margin-bottom:12px; }
.mag .name { display:block; font-size:15px; font-weight:var(--fw-regular); color:var(--gray-900); line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mag .price { display:block; font-size:15px; font-weight:var(--fw-bold); color:var(--gray-700); margin-top:4px; white-space:nowrap; }
.mag-toggle { position:relative; z-index:2; margin-top:14px; width:100%; display:inline-flex; align-items:center; justify-content:center; gap:5px; font-size:13px; font-weight:var(--fw-bold); color:var(--gray-700); background:var(--white); border:1px solid var(--gray-200); padding:9px; border-radius:var(--r-8); cursor:pointer; transition:all .15s; }
.mag-toggle:hover { border-color:var(--gray-400); }
.mag-toggle, .cc-plus, .cc-close, .mag-close, .hn-play { touch-action:manipulation; }
.mag-toggle .arr { font-size:11px; transition:transform .2s; }
.mag-toggle[aria-expanded="true"] .arr { transform:rotate(180deg); }
.mag-detail[hidden] { display:none; }
@keyframes magUp { from { transform:translateY(14px); opacity:0; } to { transform:translateY(0); opacity:1; } }
@keyframes magPop { from { opacity:0; transform:translate(-50%,-48%) scale(.98); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
.mag-detail { position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); width:360px; max-width:calc(100vw - 32px); max-height:calc(100vh - 48px); overflow:auto; z-index:301; display:flex; flex-direction:column; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r-16); padding:22px 22px 18px; text-align:left; box-shadow:0 16px 48px rgba(15,23,42,.28); animation:magPop .2s ease; }
.mag-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:300; }
.mag-backdrop[hidden] { display:none; }
.mag-close { align-self:flex-end; flex:0 0 auto; margin:0 0 8px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-full); background:none; border:none; color:var(--gray-900); cursor:pointer; transition:background .15s; }
.mag-close[hidden] { display:none; }
.mag-close:hover { background:var(--gray-100); }
.mag-close svg { width:20px; height:20px; }
/* 바텀시트 그래버 바 — 기본(PC)은 숨김, 모바일에서만 표시 */
.mag-detail::before, .cc-pop-scroll::before { content:''; display:none; flex:0 0 auto; align-self:center; width:40px; height:4px; margin:2px auto 12px; border-radius:999px; background:var(--gray-300); }
.md-row { display:flex; justify-content:space-between; align-items:baseline; gap:12px; font-size:13px; padding:6px 0; line-height:1.5; }
.md-row .md-l { color:var(--gray-500); line-height:1.4; font-weight:var(--fw-semibold); }
.md-row .md-v { font-weight:var(--fw-semibold); color:var(--gray-900); white-space:nowrap; }
.md-row .md-v.minus { color:var(--gray-500); font-weight:var(--fw-semibold); }
.md-group { display:flex; flex-direction:column; gap:0; }
.md-divider { flex:0 0 1px; height:1px; min-height:1px; background:var(--gray-200); margin:12px 0; }
.md-divider.tight { margin:6px 0; }
.md-divider.end { margin:6px 0; }
.md-title { font-size:17px; font-weight:var(--fw-semibold); color:var(--gray-900); margin-bottom:4px; }
.md-basis { margin-bottom:16px; font-size:13px; color:var(--gray-400); line-height:1.5; }
.md-box { background:var(--gray-50); border-radius:var(--r-12); padding:14px 16px 12px; }
.md-total { display:flex; justify-content:flex-end; align-items:baseline; }
.md-total .md-v { font-size:16px; font-weight:var(--fw-semibold); color:var(--gray-900); white-space:nowrap; }
.md-row.gap { margin-top:4px; }
.md-row.hi .md-l { color:var(--blue-600); font-weight:var(--fw-semibold); }
.md-row.hi .md-v.minus { color:var(--blue-600); font-weight:var(--fw-semibold); }
.mag-go { display:block; margin-top:20px; text-align:center; font-size:13px; font-weight:var(--fw-bold); color:var(--white); background:var(--blue-600); padding:11px; border-radius:var(--r-8); transition:background .15s; }
.mag-go:hover { background:var(--blue-700); }

/* recommend cards (4열 이미지+캡션) */
.rec-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.rec .img { aspect-ratio:1/1; border-radius:var(--r-12); background:var(--gray-100); display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:900; color:var(--gray-300); margin-bottom:10px; position:relative; }
.rec .img .save { position:absolute; right:10px; bottom:10px; width:26px; height:26px; }
.rec h4 { font-size:14px; font-weight:var(--fw-semibold); color:var(--gray-800); line-height:1.5; }

/* ---- RECOMMEND: 가구별 맞춤 추천 ---- */
.sec-combo { background:var(--gray-100); }
.combo { display:grid; grid-template-columns:1fr 1.15fr; gap:32px; align-items:stretch; background:transparent; }
.combo-promo { padding:8px 0; min-width:0; display:flex; flex-direction:column; color:var(--gray-900); }
.combo-tag { align-self:flex-start; font-size:13px; font-weight:var(--fw-semibold); color:var(--gray-600); background:var(--gray-100); border:1px solid var(--gray-200); padding:6px 13px; border-radius:var(--r-full); margin-bottom:16px; }
.combo-promo h3 { font-size:var(--fs-title2); font-weight:800; color:var(--gray-900); line-height:1.4; letter-spacing:-.5px; }
.combo-desc { margin-top:13px; font-size:14px; color:var(--gray-500); line-height:1.65; }
.combo-visual { margin-top:auto; padding-top:28px; display:flex; flex-wrap:wrap; gap:8px; }
.combo-visual .chip { font-size:13px; font-weight:var(--fw-semibold); color:var(--gray-700); background:var(--white); border:1px solid transparent; padding:7px 15px; border-radius:var(--r-full); cursor:pointer; transition:all .15s; text-align:center; white-space:nowrap; }
.combo-visual .chip:hover { color:var(--gray-900); }
.chip-break { flex-basis:100%; width:0; height:0; }
.combo-visual .chip.active { background:var(--gray-900); color:var(--white); }
.combo-box { position:relative; margin:0; min-width:0; display:flex; flex-direction:column; }
.combo-arrow { position:absolute; top:42%; transform:translateY(-50%); z-index:3; width:36px; height:36px; border-radius:50%; background:var(--white); color:var(--gray-600); font-size:18px; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 10px rgba(0,0,0,.18); transition:background .15s; }
.combo-arrow:hover { background:var(--gray-50); }
.combo-arrow.prev { left:-12px; }
.combo-arrow.next { right:-12px; }
.combo-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 12px) / 1.15); gap:12px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x mandatory; width:100%; min-width:0; padding:2px; }
.combo-dots { display:flex; justify-content:center; align-items:center; gap:7px; margin-top:18px; }
.combo-dot { flex:0 0 auto; width:8px; height:8px; box-sizing:border-box; border:none; border-radius:var(--r-full); background:var(--gray-300); padding:0; cursor:pointer; transition:width .2s, background .2s; }
.combo-dot.active { width:22px; background:var(--gray-900); }
.combo-track::-webkit-scrollbar { display:none; }
.combo-card { position:relative; scroll-snap-align:start; padding:26px 24px; display:flex; flex-direction:column; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r-12); box-shadow:0 2px 10px rgba(15,23,42,.05); }
.cc-title { font-size:var(--fs-title3); font-weight:800; color:var(--gray-900); letter-spacing:-.4px; margin-bottom:14px; }
.cc-icon { display:block; width:44px; height:44px; border-radius:50%; background:var(--blue-50); margin-bottom:12px; flex:0 0 auto; overflow:hidden; }
.cc-icon img { width:100%; height:100%; object-fit:cover; display:block; }
.cc-specs { display:flex; align-items:center; flex-wrap:wrap; padding-bottom:18px; border-bottom:1px solid var(--gray-100); margin-bottom:18px; }
.cc-specs span { font-size:12px; font-weight:var(--fw-regular); color:var(--gray-500); line-height:1.4; }
.cc-specs span:not(:last-child)::after { content:'·'; margin:0 8px; color:var(--gray-300); }
.cc-rows { display:flex; flex-direction:column; gap:11px; }
.cc-row { display:flex; align-items:center; justify-content:space-between; }
.cc-row .lbl { font-size:14px; color:var(--gray-600); }
.cc-row .val { font-size:15px; font-weight:var(--fw-bold); color:var(--gray-900); }
.cc-row .val.minus { color:var(--gray-900); }
.cc-row .val.faint { color:var(--gray-500); font-weight:var(--fw-medium); }
.cc-row .val.gift { font-size:15px; color:var(--gray-600); font-weight:var(--fw-medium); }
.cc-row .val.gift b { font-size:20px; font-weight:900; color:var(--blue-600); margin-left:2px; }
.cc-row.save { justify-content:flex-end; margin-top:2px; }
.cc-amt { display:inline-flex; align-items:center; }
.cc-plus { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; margin-left:7px; border-radius:50%; background:var(--gray-200); color:var(--gray-500); font-size:13px; line-height:1; cursor:pointer; transition:background .15s; }
.cc-plus:hover { background:var(--gray-300); color:var(--gray-700); }
.combo-card .mag-detail { border-radius:14px 14px 0 0; border-bottom:none; bottom:80px; box-shadow:0 -8px 22px rgba(15,23,42,.10); }
.cc-close { align-self:flex-end; flex:0 0 auto; margin:0 0 8px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:none; border:none; color:var(--gray-900); cursor:pointer; transition:background .15s; }
.cc-close:hover { background:var(--gray-100); }
.cc-close svg { width:20px; height:20px; }
.cc-pop { position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); width:360px; max-width:calc(100vw - 32px); overflow:visible; z-index:301; display:flex; flex-direction:column; animation:magPop .2s ease; }
.cc-pop-scroll { display:flex; flex-direction:column; overflow:auto; max-height:calc(100vh - 120px); background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r-16); padding:18px 20px 20px; box-shadow:0 16px 48px rgba(15,23,42,.28); }
.cc-pop[hidden] { display:none; }
.cc-pop-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:14px; }
.cc-pop-lbl { font-size:15px; font-weight:var(--fw-bold); color:var(--gray-900); }
.cc-pop-total { font-size:18px; font-weight:900; color:var(--gray-900); white-space:nowrap; }
.cc-pop-total.minus { color:var(--blue-600); }
.cc-pop-head2 { margin-top:16px; }
.cc-pop-final { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:16px; padding-top:14px; border-top:1px solid var(--gray-200); }
.cc-pop-final span:first-child { font-size:14px; font-weight:var(--fw-bold); color:var(--gray-900); }
.cc-pop-final span:last-child { font-size:18px; font-weight:900; color:var(--gray-900); white-space:nowrap; }
.cc-pop-gift { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:10px; font-size:13px; color:var(--gray-600); }
.cc-pop-gift span:last-child { font-weight:var(--fw-bold); color:var(--blue-600); white-space:nowrap; }
.cc-pop-install { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:8px; font-size:13px; color:var(--gray-600); }
.cc-pop-install span:last-child { font-weight:var(--fw-bold); color:var(--gray-700); white-space:nowrap; }
.cc-pop-cta { display:block; margin-top:16px; text-align:center; padding:14px; border-radius:var(--r-10); background:var(--blue-600); color:var(--white); font-size:15px; font-weight:var(--fw-bold); transition:background .15s; }
.cc-pop-cta:hover { background:var(--blue-700); }
.cc-pop-box { background:var(--gray-50); border-radius:var(--r-10); padding:12px 14px; }
.cc-pop-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:5px 0; font-size:13px; }
.cc-pop-row span:first-child { color:var(--gray-600); position:relative; padding-left:12px; }
.cc-pop-row span:first-child::before { content:"•"; position:absolute; left:0; color:var(--gray-400); }
.cc-pop-row span:last-child { color:var(--gray-700); font-weight:var(--fw-medium); white-space:nowrap; }
.cc-divider.tight { margin:12px 0; }
.cc-row.cc-total .lbl { font-size:14px; font-weight:var(--fw-bold); color:var(--gray-900); }
.cc-final { font-size:14px; color:var(--gray-700); white-space:nowrap; }
.cc-final .cc-was { text-decoration:line-through; color:var(--gray-400); font-size:13px; margin-right:4px; }
.cc-final b { font-size:19px; font-weight:800; color:var(--gray-900); }
.cc-row .save-tag { font-size:13px; font-weight:var(--fw-bold); color:var(--gold-700); background:rgba(212,160,23,.14); padding:5px 11px; border-radius:var(--r-full); }
.cc-divider { height:1px; background:var(--gray-100); margin:18px 0; }
.cc-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.cc-btn-line { text-align:center; font-size:14px; font-weight:var(--fw-bold); color:var(--blue-600); padding:13px; border-radius:var(--r-10); border:1.5px solid var(--blue-200); background:var(--white); transition:all .15s; }
.cc-btn-line:hover { background:var(--blue-50); border-color:var(--blue-600); }
.cc-btn-fill { text-align:center; font-size:14px; font-weight:var(--fw-bold); color:var(--white); padding:13px; border-radius:var(--r-10); background:var(--blue-600); transition:background .15s; }
.cc-btn-fill:hover { background:var(--blue-700); }

/* category scroll (가로 스크롤 아이콘) */
.cat-scroll { display:flex; gap:8px; padding-bottom:4px; }
.cat { flex:0 0 auto; width:84px; display:flex; flex-direction:column; align-items:center; gap:8px; }
.cat .ico { width:64px; height:64px; border-radius:var(--r-12); background:var(--gray-50); display:flex; align-items:center; justify-content:center; font-size:30px; }
.cat span { font-size:13px; font-weight:var(--fw-medium); color:var(--gray-700); }

/* deal cards (타이머+할인율) */
.deal-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.deal .img { aspect-ratio:1/1; border-radius:var(--r-12); background:var(--gray-100); position:relative; display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:900; color:var(--gray-300); margin-bottom:10px; overflow:hidden; }
.deal .timer { position:absolute; top:10px; left:10px; background:rgba(0,0,0,.7); color:var(--white); font-size:11px; font-weight:var(--fw-bold); padding:4px 9px; border-radius:var(--r-6); }
.deal .brand { font-size:12px; color:var(--gray-400); margin-bottom:3px; }
.deal h4 { font-size:13px; font-weight:var(--fw-medium); color:var(--gray-700); margin-bottom:7px; }
.deal .price { display:flex; align-items:baseline; gap:6px; }
.deal .price .pct { font-size:18px; font-weight:900; color:var(--blue-600); }
.deal .price .won { font-size:18px; font-weight:900; color:var(--gray-900); }
.deal .price .etc { font-size:13px; color:var(--gray-500); font-weight:var(--fw-medium); }
.deal .rate { font-size:12px; color:var(--gray-400); margin-top:6px; }
.deal .rate b { color:var(--gray-700); }
.deal .free { display:inline-block; font-size:11px; color:var(--blue-600); font-weight:var(--fw-semibold); margin-top:6px; }

/* review (3열 이미지+텍스트) */
.rev-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.rev .img { aspect-ratio:16/10; border-radius:var(--r-12); background:var(--gray-100); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:900; color:var(--gray-300); margin-bottom:14px; }
.rev .who { font-size:14px; font-weight:var(--fw-bold); margin-bottom:6px; }
.rev p { font-size:13px; color:var(--gray-500); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* exhibition (4열 배너 / 가로 슬라이딩) */
.exh-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.exh-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 12px) / 2); gap:12px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; padding:2px; }
.exh-scroller { position:relative; }
.exh-arrow { position:absolute; top:38%; right:-14px; transform:translateY(-50%); z-index:3; width:44px; height:44px; border-radius:50%; background:var(--white); color:var(--gray-700); font-size:24px; font-weight:var(--fw-regular); display:flex; align-items:center; justify-content:center; box-shadow:0 3px 14px rgba(0,0,0,.18); transition:background .15s; }
.exh-arrow:hover { background:var(--gray-50); }
.exh-arrow-prev { right:auto; left:-14px; display:none; }
.exh-scroller.scrolled .exh-arrow-prev { display:flex; }
.exh-scroller.at-end .exh-arrow:not(.exh-arrow-prev) { display:none; }
.exh-track::-webkit-scrollbar { display:none; }
.exh-track .exh { scroll-snap-align:start; }
.exh-dots { display:flex; justify-content:center; align-items:center; gap:7px; margin-top:20px; }
.exh-dot { flex:0 0 auto; width:8px; height:8px; box-sizing:border-box; border:none; border-radius:var(--r-full); background:var(--gray-300); padding:0; cursor:pointer; transition:width .2s, background .2s; }
.exh-dot.active { width:22px; background:var(--blue-600); }
.exh .img { aspect-ratio:2/1; border-radius:var(--r-12); display:flex; align-items:center; justify-content:center; color:var(--white); font-size:18px; font-weight:800; text-align:center; padding:16px; margin-bottom:10px; }
.exh .e1{background:linear-gradient(135deg,#1e3a8a,var(--blue-600))} .exh .e2{background:linear-gradient(135deg,var(--blue-600),var(--blue-400))} .exh .e3{background:linear-gradient(135deg,var(--gold-600),#fbbf24)} .exh .e4{background:var(--navy)}
.exh .cap { font-size:13px; color:var(--gray-500); }
.exh .cap b { display:block; color:var(--gray-900); font-size:14px; font-weight:var(--fw-bold); margin-top:2px; }

/* ---- PROMO BLOCKS (자리만) ---- */
.sec-pbk { background:var(--white); }
.pbk-grid { display:grid; grid-template-columns:1.9fr 2fr; gap:16px; }
/* PC: 고객센터 카드는 호버/클릭 효과 없이 정보 표시만(비인터랙티브) */
.pbk-big { position:relative; display:flex; flex-direction:column; justify-content:center; padding:30px 32px; border-radius:var(--r-16); background:var(--white); border:1px solid var(--gray-200); min-height:240px; color:inherit; text-decoration:none; pointer-events:none; }
.pbk-cs-label { font-size:14px; font-weight:var(--fw-semibold); color:var(--gray-500); }
.pbk-cs-num { font-size:34px; font-weight:800; color:var(--gray-900); letter-spacing:-1px; margin:8px 0 16px; }
.pbk-cs-hours li { font-size:13px; color:var(--gray-500); line-height:1.75; }
.pbk-cs-arrow { display:none; }
.pbk-small-grid { display:grid; grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(3,1fr); gap:16px; }
.pbk-small { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:10px; border-radius:var(--r-12); background:var(--white); border:1px solid var(--gray-200); min-height:84px; transition:box-shadow .15s; }
.pbk-small .ico { flex:0 0 auto; width:28px; height:28px; border-radius:var(--r-6); background:var(--gray-100); display:flex; align-items:center; justify-content:center; }
.pbk-small .ico svg { width:16px; height:16px; }
.pbk-small .ico-kakao { background:#FEE500; color:#391B1B; }
.pbk-small .ico-blog { background:#4CAF50; }
.pbk-small .ico-phone { background:var(--blue-600); }
.pbk-small .ico-youtube { background:#FF0000; }
.pbk-small .ico-tiktok { background:#000; }
.pbk-small .ico-instagram { background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7); }
.pbk-small .ico-naverplace { background:#fff; }
.pbk-small .ico img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
}
.pbk-small .lbl { font-size:13px; font-weight:var(--fw-semibold); color:var(--gray-700); }
.pbk-small:hover { box-shadow:0 6px 22px rgba(0,0,0,.08); }
.pbk-list { margin-top:28px; }
.pbk-list-row { display:flex; align-items:center; gap:14px; padding:0 4px; border-bottom:1px solid var(--gray-200); }
.pbk-tag { flex:0 0 auto; font-size:12px; font-weight:var(--fw-bold); color:var(--gray-600); background:var(--gray-100); padding:5px 11px; border-radius:var(--r-full); }
.roller { flex:1; min-width:0; height:56px; overflow:hidden; }
.roller-track { display:flex; flex-direction:column; }
.roller-item { display:flex; align-items:center; height:56px; font-size:15px; font-weight:var(--fw-medium); color:var(--gray-700); }
.roller-item .r-title { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.roller-item .r-date { flex:0 0 auto; margin-left:12px; font-size:13px; font-weight:var(--fw-regular); color:var(--gray-400); }
.roller-item:hover { color:var(--gray-900); }

/* ---- USIM/eSIM 요금제 (혜택 중심) ---- */
.usim-scroller { position:relative; }
.usim-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.usim-card { position:relative; display:flex; flex-direction:column; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r-16); padding:26px 22px; box-shadow:0 2px 14px rgba(0,0,0,.05); }
/* 화살표 */
.usim-arrow { display:none; }
.usim-arrow-prev { right:auto; left:-14px; }
/* 상단 */
.u-top { padding-bottom:16px; }
.u-cat { font-size:13px; color:var(--gray-400); }
.u-data-title { font-size:19px; font-weight:800; color:var(--gray-900); letter-spacing:-.5px; margin:6px 0 8px; }
.u-call { font-size:13px; color:var(--gray-500); }
.u-call span { color:var(--gray-300); margin:0 2px; }
/* 혜택 박스 */
.u-benefits { background:var(--gray-50); border-radius:var(--r-12); padding:16px; margin-bottom:18px; }
.u-benefits ul { display:flex; flex-direction:column; gap:12px; }
.u-benefits li { display:flex; align-items:center; gap:9px; font-size:13px; color:var(--gray-700); }
.u-benefits li i { flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:var(--blue-50); display:flex; align-items:center; justify-content:center; font-size:12px; font-style:normal; }
/* 가격 */
.u-pay { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.u-badge { font-size:12px; font-weight:var(--fw-bold); color:var(--gray-500); background:var(--gray-100); padding:4px 9px; border-radius:var(--r-full); margin-left:auto; }
.u-free { font-size:26px; font-weight:900; color:var(--blue-600); letter-spacing:-.8px; }
.u-after { width:100%; font-size:12.5px; color:var(--gray-400); text-align:right; }
/* 버튼 */
.u-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:auto; }
.u-btn-line { text-align:center; font-size:14px; font-weight:var(--fw-bold); color:var(--blue-600); padding:13px; border-radius:var(--r-10); border:1.5px solid var(--blue-600); background:var(--white); transition:all .15s; }
.u-btn-line:hover { background:var(--blue-50); }
.u-btn-fill { text-align:center; font-size:14px; font-weight:var(--fw-bold); color:var(--white); padding:13px; border-radius:var(--r-10); background:var(--blue-600); transition:background .15s; }
.u-btn-fill:hover { background:var(--blue-700); }
.u-btn-line:focus-visible, .u-btn-fill:focus-visible { outline:2px solid var(--blue-600); outline-offset:2px; }

/* subsidy: 지금 지원금이 가장 높아요 */

/* subsidy: 지금 지원금이 가장 높아요 */
.sec-subsidy { background:var(--gray-100); }
.sec-subsidy .sub-card { background:var(--white); }
/* 회색 배경 구역 (섹션 시각적 구분) */
.sec-gray { background:var(--gray-50); }
/* 연속된 회색 섹션을 한 구역처럼 잇기 */
.zone-start { padding-bottom:0; }
.zone-end { padding-top:56px; }
/* 섹션 구분 디바이더 (풀폭 옅은 회색 띠) */
.sec-divider { height:10px; background:#F7F9FA; }
/* 대표 인사말 — 건물 사진 풀(full-bleed) 배경 */
.ceo-sec { position:relative; overflow:hidden;
  background-color:var(--gray-50);
  /* ▼▼▼ 건물 사진 들어갈 자리 — url()의 주석만 풀어 넣으세요. 밝은 배경이라 오버레이는 옅게 ▼▼▼
     예) background-image:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.65)), url('건물사진.jpg'); */
  background-size:cover; background-position:center; background-repeat:no-repeat; }
.ceo-inner { padding-top:80px; padding-bottom:80px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:center; }
.ceo-body { position:relative; max-width:560px; }
.ceo-video { position:relative; width:100%; }
/* 기업소개 영상 슬라이더 (위 영상 영역과 동일한 16:9 .video-embed 재사용) */
.cvid-scroller { position:relative; }
.cvid-track { display:grid; grid-auto-flow:column; grid-auto-columns:100%; gap:12px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x mandatory; padding:10px 12px 16px; }
.cvid-track::-webkit-scrollbar { display:none; }
.cvid-card { scroll-snap-align:start; min-width:0; }
.cvid-card .video-embed { border:1px solid var(--gray-200); }
.cvid-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:40px; height:40px; border-radius:50%; background:var(--white); color:var(--gray-700); font-size:22px; display:flex; align-items:center; justify-content:center; box-shadow:0 3px 14px rgba(0,0,0,.28); transition:background .15s; }
.cvid-arrow:hover { background:var(--gray-50); }
.cvid-next { right:-12px; }
.cvid-prev { left:-12px; display:none; }
.cvid-scroller.scrolled .cvid-prev { display:flex; }
.cvid-scroller.at-end .cvid-next { display:none; }
/* 실제 영상으로 교체 시: .ceo-video-ph 대신 .video-embed 안에 <iframe>/<video> 삽입 */
.ceo-video-ph { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; color:var(--gray-500); background:var(--gray-200); cursor:pointer; }
.ceo-video-ph .play { width:60px; height:60px; border-radius:50%; background:var(--gray-300); color:var(--white); display:flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(0,0,0,.12); transition:transform .15s, background .15s; }
.ceo-video-ph:hover .play { transform:scale(1.06); background:var(--gray-400); }
.ceo-video-ph .play svg { width:24px; height:24px; margin-left:3px; }
.ceo-video-ph .v-label { font-size:13px; font-weight:var(--fw-semibold); letter-spacing:-.2px; }
.ceo-tag { font-size:13px; font-weight:var(--fw-bold); color:var(--blue-300); }
.ceo-quote { font-size:var(--fs-title3); font-weight:800; color:var(--gray-900); line-height:1.5; letter-spacing:-.4px; margin:10px 0 14px; }
.ceo-text { font-size:15px; color:var(--gray-600); line-height:1.75; }
.ceo-sign { margin-top:20px; font-size:15px; color:var(--gray-700); }
.ceo-sign b { font-weight:var(--fw-bold); color:var(--gray-900); }
.ceo-signature { display:inline-block; width:88px; height:34px; margin-left:10px; vertical-align:middle; border:1px solid rgba(255,255,255,.35); border-radius:var(--r-6); background:rgba(255,255,255,.12); background-size:contain; background-position:center; background-repeat:no-repeat; color:rgba(255,255,255,.7); font-size:11px; text-align:center; line-height:34px; }
.sub-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.sub-card { display:flex; flex-direction:column; background:var(--gray-50); border:1px solid var(--gray-100); border-radius:var(--r-16); padding:16px; overflow:hidden; }
.sub-card .ph { width:calc(100% + 32px); aspect-ratio:1/1; background:var(--gray-200); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:var(--fw-regular); color:var(--gray-400); margin:-16px -16px 14px; position:relative; }
.sub-badge { position:absolute; left:0; bottom:0; z-index:2; display:inline-flex; align-items:center; gap:4px; background:var(--gray-900); color:var(--white); font-size:11px; font-weight:var(--fw-medium); line-height:1; padding:7px 10px; border-radius:0; letter-spacing:-.2px; }
.sub-badge b { font-weight:var(--fw-medium); }
.sub-card .info { display:flex; flex-direction:column; }
.sub-card .name { font-size:15px; font-weight:var(--fw-regular); color:var(--gray-900); line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sub-card .desc { font-size:12px; color:var(--gray-500); line-height:1.4; margin:5px 0 12px; word-break:keep-all; }
.sub-sup { font-size:13px; font-weight:var(--fw-bold); color:#DC2626; margin-bottom:2px; }
.sub-sup b { color:#DC2626; font-weight:var(--fw-bold); }
.sub-final { display:flex; align-items:baseline; gap:6px; }
.sub-final .pct { color:var(--blue-600); font-size:19px; font-weight:800; letter-spacing:-.5px; }
.sub-final .fval { font-size:19px; font-weight:800; color:var(--gray-900); letter-spacing:-.5px; }
.sub-card .apply { display:block; width:100%; margin-top:12px; background:var(--blue-600); color:var(--white); font-size:15px; font-weight:var(--fw-bold); text-align:center; padding:13px; border-radius:var(--r-8); transition:background .15s; }
.sub-card .apply:hover { background:var(--blue-700); }

/* best ranking */
.best-tabs { display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.best-tab { font-size:14px; font-weight:var(--fw-medium); color:var(--gray-500); background:var(--gray-50); padding:9px 18px; border-radius:var(--r-full); border:none; cursor:pointer; transition:background .15s, color .15s; }
.best-tab:hover { background:var(--gray-100); }
.best-tab.on { background:var(--gray-900); color:var(--white); }
@keyframes bestSwap { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.best-grid { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 48px) / 5); gap:12px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; padding-bottom:2px; }
.best-grid::-webkit-scrollbar { display:none; }
.best { scroll-snap-align:start; }
.best-scroller { position:relative; }
.best-arrow { position:absolute; top:32%; right:-14px; transform:translateY(-50%); z-index:3; width:44px; height:44px; border-radius:50%; background:var(--white); color:var(--gray-700); font-size:24px; font-weight:var(--fw-regular); display:flex; align-items:center; justify-content:center; box-shadow:0 3px 14px rgba(0,0,0,.18); transition:background .15s; }
.best-arrow:hover { background:var(--gray-50); }
.best-arrow-prev { right:auto; left:-14px; display:none; }
.best-scroller.scrolled .best-arrow-prev { display:flex; }
.best-scroller.at-end .best-arrow:not(.best-arrow-prev) { display:none; }
.best .img { aspect-ratio:1/1; border-radius:var(--r-12); background:var(--gray-100); position:relative; display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:900; color:var(--gray-300); margin-bottom:10px; overflow:hidden; }
.best .rank { position:absolute; top:8px; left:8px; height:22px; padding:0 9px; background:rgba(17,24,39,.92); color:var(--white); font-weight:800; font-size:11px; letter-spacing:.2px; display:inline-flex; align-items:center; justify-content:center; border-radius:var(--r-6); }
.best .brand { font-size:12px; font-weight:var(--fw-medium); color:var(--gray-400); margin-bottom:4px; }
.best h4 { font-size:16px; font-weight:var(--fw-semibold); color:var(--gray-900); line-height:1.4; margin-bottom:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.best-cap { font-size:12px; font-weight:var(--fw-regular); color:var(--gray-400); margin-bottom:7px; }
.best .price { display:flex; flex-direction:column; gap:2px; line-height:1.2; }
.best .p-line { display:flex; align-items:baseline; gap:6px; white-space:nowrap; }
.best .p-lbl { font-size:12px; color:var(--gray-400); flex:0 0 auto; }
.best .p-orig { font-size:13px; color:var(--gray-400); text-decoration:line-through; }
.best .p-pct { font-size:17px; font-weight:var(--fw-bold); color:var(--blue-600); }
.best .p-deal { font-size:17px; font-weight:var(--fw-bold); color:var(--gray-900); }
.best .benefit { display:inline-flex; align-items:center; gap:2px; font-size:13px; font-weight:var(--fw-bold); color:var(--blue-600); margin-top:6px; }
.best .free { display:inline-block; font-size:12px; color:var(--gray-400); margin-top:6px; }

/* popular keywords */
.kw-wrap { display:grid; grid-template-columns:1fr 1fr; gap:0 48px; }
.kw { display:flex; align-items:center; gap:14px; padding:11px 0; border-bottom:1px solid var(--gray-100); }
.kw .rank { font-size:15px; font-weight:800; color:var(--blue-600); width:20px; }
.kw .name { font-size:14px; font-weight:var(--fw-medium); flex:1; }
.kw .badge { font-size:9px; font-weight:800; color:var(--blue-600); }


/* ---- MOBILE TAB BAR ---- */
.tabbar { display:none; position:fixed; bottom:0; left:0; right:0; z-index:200; background:var(--white); border-top:1px solid var(--gray-200); padding:var(--sp-8) 0 max(var(--sp-8),env(safe-area-inset-bottom)); }
.tabbar ul { display:flex; }
.tabbar li { flex:1; }
.tabbar a { display:flex; flex-direction:column; align-items:center; gap:var(--sp-4); font-size:var(--fs-caption2); color:var(--gray-400); padding:6px 0; }
.tabbar a.on { color:var(--blue-600); font-weight:var(--fw-bold); }
.tabbar svg { width:var(--sp-24); height:var(--sp-24); }

/* ============ RESPONSIVE ============ */
/* PC·태블릿(≥769px): 본문/라벨/캡션 텍스트 한 단계 크게 (가격·대형 헤딩 제외) */
@media (min-width:769px){
  .sc span { font-size:14px; }
  .header-util a { font-size:14px; }
  .gnb a { font-size:16px; }
  .subnav li a { font-size:16px; }
  .sec-head .more { font-size:14px; }
  .sec-sub { font-size:14px; }
  .mag .name { font-size:16px; }
  .mag-toggle { font-size:14px; }
  .rec h4 { font-size:15px; }
  .trust-card h4 { font-size:17px; }
  .trust-card p { font-size:14px; }
  .consult p { font-size:15px; }
  .combo-tag { font-size:14px; }
  .combo-desc { font-size:15px; }
  .combo-visual .chip { font-size:14px; }
  .cc-row .lbl { font-size:15px; }
  .cc-specs span { font-size:13px; }
  .sub-card .name { font-size:16px; }
  .sub-card .desc { font-size:13px; }
  .pbk-cs-hours li { font-size:14px; }
  .pbk-small .lbl { font-size:14px; }
}

/* 태블릿(~1199px) 좌우 패딩 32px — 핸드오프 기준 */
@media (max-width:1199px) {
  .wrap { padding-left:32px; padding-right:32px; }
}
@media (max-width:1024px) {
  .shortcut-grid { grid-template-columns:repeat(3,1fr); }
  .mag-grid, .rec-grid, .deal-grid { grid-template-columns:repeat(2,1fr); }
  .best-grid { grid-template-columns:none; grid-auto-columns:calc((100% - 50px) / 3.5); }
  .sub-grid { grid-template-columns:repeat(2,1fr); }
  .usim-grid { grid-template-columns:repeat(2,1fr); }
  .exh-track { grid-auto-columns:calc((100% - 12px) / 2); gap:12px; }
  .combo-promo { padding:8px 0; }
  .combo-card { padding:22px 20px; }
  .combo-track { grid-auto-columns:calc((100% - 16px) / 1.15); }
}
@media (max-width:768px) {
  .mag-detail { left:0; right:0; bottom:0; top:auto; transform:none; width:auto; max-width:none; max-height:82vh; border-radius:var(--r-20) var(--r-20) 0 0; padding:18px 18px 22px; animation:magUp .25s ease; }
  .pbk-grid { grid-template-columns:1fr; gap:12px; }
  .pbk-small-grid { gap:12px; }
  .pbk-list { margin-top:12px; }
  .pbk-big { min-height:160px; }
  .wrap { padding:0 16px; }
  .promobar .inner { padding:9px 34px; }
  .search, .header-util, .mega-menu { display:none; }
  .header-main { column-gap:12px; row-gap:0; height:auto; flex-wrap:wrap; align-items:center; padding-top:12px; }
  .hamburger { display:flex; width:24px; height:24px; flex-direction:column; justify-content:center; gap:5px; }
  .hamburger span { display:block; height:2px; background:var(--gray-900); border-radius:2px; }
  .m-search { display:flex; order:2; margin-left:auto; align-items:center; justify-content:center; width:24px; height:24px; color:var(--gray-900); }
  .m-search svg { width:22px; height:22px; }
  .so-sheet { flex:1; max-height:none; box-shadow:none; }
  .so-backdrop { display:none; }
  .search-overlay { z-index:250; background:#fff; }  /* 모바일: 헤더 위로 → 전체화면 검색 모드(로고 숨김). 불투명 배경으로 뒤 화면 비침 방지 */
  .so-backdrop { display:none; }
  /* 키보드 올라올 때 실제 보이는 영역(--so-vh)에 시트를 맞춰 iOS에서 뒤 홈화면이 비치는 현상 방지 */
  .so-sheet { top:0; bottom:0; left:0; right:0; height:var(--so-vh,100%); width:auto; max-height:none; border:0; border-radius:0; box-shadow:none; padding:0; margin-top:0; background:#fff; overflow:hidden; display:flex; flex-direction:column; }
  .so-sheet .wrap { padding-left:16px; padding-right:16px; }
  .so-x { display:none; }
  .so-back { display:flex; }
  .so-cancel { display:none; }
  .so-bar { height:auto; min-height:56px; gap:8px; padding-top:max(10px,env(safe-area-inset-top)); padding-bottom:10px; flex:0 0 auto; background:#fff; border-bottom:1px solid var(--gray-100); }
  .so-content { padding-bottom:calc(30px + env(safe-area-inset-bottom)); flex:1 1 auto; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; }
  .so-clear { width:26px; height:26px; }
  .so-form input { font-size:16px; }
  .so-rank { display:flex; flex-direction:column; }
  .header-main .logo { order:1; margin:0; }
  .header-main .hamburger { order:3; }
  .gnb { display:flex; order:4; flex-basis:100%; width:100%; gap:6px; margin:0; padding:6px 0 10px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .gnb::-webkit-scrollbar { display:none; }
  .gnb a { white-space:nowrap; flex:0 0 auto; letter-spacing:-0.02em; }
  /* 배너 네비: 모바일에선 페이지+재생/정지를 하나의 알약으로 (디자인은 PC와 동일) */
  .hero-nav { gap:2px; background:rgba(255,255,255,.92); border-radius:var(--r-full); padding:3px 7px; }
  .hn-group { background:transparent; padding:0; }
  /* 모바일에서도 좌우로 넘길 화살표를 보이게 (기존엔 숨겨져 있었음) */
  .hn-group .hn-btn { display:flex; width:24px; height:24px; color:var(--gray-700); }
  .hn-group .hn-btn svg { width:16px; height:16px; }
  .hn-play { background:transparent; width:22px; height:22px; }
  .subnav ul { gap:16px; }
  /* 섹션 세로 여백 축소 (태블릿) */
  .sec { padding:40px 0; }
  .sec-head { margin-bottom:20px; }
  .sec-sub { margin-bottom:20px; }
  .trust { padding:20px 0; }
  .trust-grid { gap:12px; }
  .trust-card { padding:18px 12px; }
  .trust-card .t-ico { font-size:26px; margin-bottom:8px; }
  .trust-card h4 { font-size:14px; margin-bottom:6px; }
  .trust-card p { font-size:12px; }
  .shortcuts { padding:14px 0; }
  .consult { margin:14px 0 40px; }
  .hero-grid { grid-template-columns:1fr; }
  /* 태블릿 거터 16px (가이드) */
  .hero-grid, .mag-grid, .rec-grid, .deal-grid { gap:12px; }
  .hero-main { min-height:300px; padding:26px; }
  .hero-main h2 { font-size:20px; }
  .hero-side { display:flex; min-height:160px; }
  .hero { padding-top:16px; padding-bottom:14px; }
  .best-grid { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:calc((100% - 25.2px) / 2.1); gap:12px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; margin:0 -16px; padding:0 16px 2px; scroll-padding-left:16px; }
  .recent-scroll { margin:0 -16px; padding:0 16px 2px; scroll-padding-left:16px; }
  .usim-grid { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:calc((100% - 12px) / 1.1); gap:12px; overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity; margin:0 -16px; padding:0 16px 2px; scroll-padding-left:16px; }
  .usim-grid::-webkit-scrollbar { display:none; }
  .usim-card { scroll-snap-align:start; opacity:1; padding:18px; }
  .u-top { padding-bottom:13px; }
  .u-cat { font-size:12px; }
  .u-data-title { font-size:17px; margin:5px 0 6px; }
  .u-call { font-size:12px; }
  .u-benefits { padding:13px; margin-bottom:14px; }
  .u-benefits ul { gap:9px; }
  .u-benefits li { font-size:12.5px; gap:8px; }
  .u-benefits li i { width:21px; height:21px; font-size:11px; }
  .u-pay { margin-bottom:14px; }
  .u-free { font-size:21px; }
  .u-after { font-size:12px; }
  .u-btn-line, .u-btn-fill { font-size:13px; padding:12px; }
  .best-grid::-webkit-scrollbar { display:none; }
  .best { scroll-snap-align:start; }
  .best .p-lbl { font-size:12px; }
  .best .p-orig { font-size:13px; }
  .best .p-pct { font-size:16px; }
  .best .p-deal { font-size:16px; }
  .best .p-line { gap:4px; }
  .best-arrow { display:none; }
  .best-scroller.scrolled .best-arrow-prev { display:none; }
  .sub-grid { grid-template-columns:repeat(2,1fr); }
  .consult { flex-direction:column; align-items:flex-start; padding:20px 22px; gap:12px; }
  .consult h3 { font-size:var(--fs-heading1); margin:6px 0 6px; }
  .consult .c-btn { width:100%; text-align:center; padding:12px 20px; font-size:14px; }
  .float-consult { right:16px; bottom:86px; width:54px; height:54px; }
  .float-consult.is-raised { bottom:152px; }
  .to-top { right:16px; bottom:86px; width:54px; height:54px; }
  /* 상담 버튼(공통 footer의 .fcq-wrap)이 '맨 위로'(.to-top, bottom:86px·높이 54px) 버튼과
     겹치지 않도록, 모바일에서도 그 위로 확실히 올린다. (기본 is-raised 96px 는 to-top 과 거의 겹침)
     ⚠ footer.php 인라인 <style>(.fcq-wrap.is-raised:96px)가 home.css 보다 나중에 로드되어
       같은 특이도면 그 값이 이긴다. 클래스를 한 번 더 붙여 특이도를 올려 확실히 덮어쓴다. */
  .fcq-wrap.is-raised.is-raised { bottom:152px; }
  /* 가구별 맞춤 추천: 모바일 세로 스택 + 카드 peek */
  .combo { grid-template-columns:1fr; gap:22px; }
  .combo-promo { padding:0 0 4px; }
  .combo-desc { margin-top:11px; font-size:13.5px; }
  .combo-visual { padding-top:18px; gap:7px; }
  .combo-box { margin:0; }
  .combo-track { grid-auto-columns:calc((100% - 12px) / 1.1); gap:12px; width:auto; margin:0 -16px; padding:0 16px; scroll-padding-left:16px; }
  .combo-dots { width:100%; justify-content:center; }
  .combo-arrow { display:none; }
  /* 모바일 카드 텍스트 축소 */
  .combo-card { padding:20px 18px; min-width:0; }
  .cc-pop { left:0; right:0; bottom:0; top:auto; transform:none; width:auto; max-width:none; animation:magUp .25s ease; }
  .cc-pop-scroll { max-height:82vh; border-radius:var(--r-20) var(--r-20) 0 0; }
  /* 모바일: 상단 회색 그래버 바도 함께 표시 (X 버튼은 데스크톱과 동일하게 유지) */
  .mag-detail::before, .cc-pop-scroll::before { display:block; }
  .cc-plus { width:22px; height:22px; font-size:15px; margin-left:8px; }
  .cc-title { margin-bottom:12px; }
  .cc-specs { padding-bottom:14px; margin-bottom:14px; }
  .cc-specs span { font-size:12px; }
  .cc-rows { gap:9px; }
  .cc-row .lbl { font-size:12.5px; }
  .cc-row .val { font-size:13px; }
  .cc-row .val.gift { font-size:12.5px; }
  .cc-row .val.gift b { font-size:16px; }
  .cc-row .save-tag { font-size:12px; }
  .cc-divider { margin:14px 0; }
  .cc-actions { margin-top:16px; }
  .cc-btn-line, .cc-btn-fill { font-size:13px; padding:12px; }
  /* 기획전: 모바일 2열 + 가로 슬라이딩 */
  .exh-track { grid-auto-columns:calc((100% - 25.2px) / 2.1); gap:12px; margin:0 -16px; padding:0 16px; scroll-padding-left:16px; }
  .exh-arrow { display:none; }
  .exh-scroller.scrolled .exh-arrow-prev { display:none; }
  .usim-arrow { display:none; }
  .kw-wrap { grid-template-columns:1fr; gap:0; }
  .tabbar { display:block; }
  body { padding-bottom:74px; }
  .footer { margin-bottom:0; }
  .ceo-inner { padding-top:48px; padding-bottom:24px; grid-template-columns:1fr; gap:28px; }
  .ceo-body { max-width:none; }
  .cvid-arrow, .cvid-scroller.scrolled .cvid-prev { display:none; }
  /* 위 '20만 구독자' 슬라이더와 동일: 카드 1개 + 다음 카드 일부 노출(peek) */
  .cvid-track { grid-auto-columns:calc((100% - 12px) / 1.1); gap:12px; margin:0 -16px; padding:10px 16px 16px; scroll-padding-left:16px; }
  .ceo-text { font-size:13px; }
  .ceo-tag { font-size:12px; }
  .ceo-sign { font-size:13px; }
}
@media (max-width:600px) {
  /* 좁은 단일 컬럼: 이미지 46% 유지 + 가격 텍스트가 패딩 밖으로 튀어나오지 않게 축소 */
  .sub-card .name, .best h4, .mag .name { font-size:14px; }
  .best h4 { font-size:15px; }
  .sub-card .desc { font-size:12px; margin:5px 0 10px; }
  /* 배너: 화면 폭 600px 이하에서는 관리자에서 모바일로 등록한 이미지를 사용 */
  .hero-slide.has-bg { background-image:var(--bg-mo); }
  .consult.has-bg { background:#171719 center/cover var(--bg-mo); }
}
@media (max-width:480px) {
  .footer { text-align:left; padding:36px 0 44px; }
  .footer-biz-head { display:inline-flex; align-items:center; justify-content:flex-start; gap:7px; font-size:14px; font-weight:var(--fw-bold); color:var(--gray-800); margin-bottom:20px; cursor:pointer; }
  .footer-biz-head::after { content:''; width:8px; height:8px; border-right:1.6px solid var(--gray-400); border-bottom:1.6px solid var(--gray-400); transform:rotate(-135deg); transition:transform .25s; margin-top:3px; }
  .footer-biz-head[aria-expanded="false"]::after { transform:rotate(45deg); margin-top:-2px; }
  .footer-biz-body { display:grid; grid-template-rows:1fr; transition:grid-template-rows .28s ease; overflow:hidden; }
  .footer-biz-body.collapsed { grid-template-rows:0fr; }
  .footer-biz-body > .footer-biz { min-height:0; overflow:hidden; }
  .footer-logo { display:none; }
  .footer-biz { font-size:12.5px; line-height:1.95; color:var(--gray-400); }
  .footer-links { justify-content:flex-start; gap:10px; padding:0; margin-top:22px; border-top:none; }
  .footer-certs { display:grid; grid-template-columns:1fr 1fr; gap:16px 12px; margin:22px 0 0; justify-items:start; align-items:center; }
  .footer-cert { flex-direction:row; align-items:center; gap:8px; text-align:left; line-height:1.35; }
  .footer-links a { font-size:12px; font-weight:var(--fw-semibold); color:var(--gray-600); background:var(--gray-50); padding:8px 12px; border-radius:var(--r-8); }
  .footer-copy { margin-top:20px; font-size:12px; }
  .shortcut-grid { grid-template-columns:repeat(3,1fr); }
  .mag-grid, .rec-grid, .deal-grid { grid-template-columns:repeat(2,1fr); }
  /* 섹션 세로 여백 축소 (모바일) */
  .sec { padding:32px 0; }
  .trust { padding:16px 0; }
  .trust-grid { gap:12px; }
  .trust-card { padding:14px 8px; }
  .trust-card .t-ico { font-size:22px; margin-bottom:6px; }
  .trust-card h4 { font-size:13px; line-height:1.3; margin-bottom:4px; }
  .trust-card p { font-size:12px; line-height:1.4; }
  .shortcuts { padding:14px 0; }
  .consult { margin:14px 0 32px; }
  .sec-sub { margin-bottom:20px; }
  /* 모바일 거터 12px (가이드) */
  .mag-grid, .rec-grid, .deal-grid { gap:12px; }
  .shortcut-grid { gap:4px; }
  .sc { padding:8px 1px; gap:6px; }
  .sc .ico { width:46px; height:46px; font-size:21px; }
  .sc span { font-size:12px; }
  .combo-promo { padding:0 0 4px; }
  .combo-desc { font-size:13px; }
  .combo-card { padding:18px 16px; }
  /* 좁은 화면: 이미지 비율(46%) 유지 + 모든 텍스트 줄바꿈 없이 한 줄 */
  .sub-card { padding:12px; }
  .sub-card .name, .best h4, .mag .name { font-size:14px; }
  .best h4 { font-size:15px; }
  .sub-card .desc { font-size:12px; margin:4px 0 9px; }
  .sub-final .fval, .sub-final .pct { font-size:17px; }
  .sub-badge { font-size:11px; padding:6px 9px; }
  /* 상세시트: 모바일에서 스크롤 없이 비율 유지 축소 */
  .mag-detail { padding:14px 14px 18px; }
  .md-title { font-size:17px; margin-bottom:4px; }
  .md-basis { font-size:13px; margin-bottom:16px; line-height:1.5; }
  .md-box { padding:14px 16px 12px; }
  .md-row { font-size:12px; padding:5px 0; line-height:1.5; }
  .md-row.gap { margin-top:3px; }
  .md-divider { margin:7px 0; }
  .md-divider.tight { margin:4px 0; }
  .md-divider.end { margin:4px 0; }
  .md-total .md-v { font-size:14px; }
  .mag-go { font-size:13px; padding:9px; margin-top:16px; }
  .mag-close { width:24px; height:24px; }
  .mag-close svg { width:18px; height:18px; }
  .ceo-inner { padding-bottom:16px; }
}

/* PC·태블릿(≥769px): 헤딩·푸터 웹 표준 타입 스케일 (마지막 적용으로 태블릿까지 일관) */
@media (min-width:769px){
  .hero-main h2 { font-size:30px; }
  .footer-biz-head { font-size:16px; }
  .footer-biz { font-size:14px; }
  .footer-copy { font-size:13px; }
  .footer-links a { font-size:14px; }
  .footer-cert { font-size:13px; }
}
/* SIDE MENU DRAWER (전체메뉴) */
.menu-overlay { position:fixed; inset:0; z-index:400; }
.menu-overlay[hidden] { display:none; }
.menu-dim { position:absolute; inset:0; background:rgba(0,0,0,.45); opacity:0; transition:opacity .28s ease; }
.menu-panel { position:absolute; top:0; left:auto; right:0; height:100%; width:340px; max-width:86vw; background:var(--white); box-shadow:-2px 0 30px rgba(0,0,0,.14); display:flex; flex-direction:column; transform:translateX(100%); transition:transform .28s cubic-bezier(.4,0,.2,1); overflow-y:auto; -webkit-overflow-scrolling:touch; }
.menu-overlay.open .menu-dim { opacity:1; }
.menu-overlay.open .menu-panel { transform:translateX(0); }
.menu-top { display:flex; align-items:center; justify-content:space-between; padding:16px 18px 16px 20px; }
.menu-logo { display:flex; align-items:center; gap:6px; font-size:20px; font-weight:800; color:var(--blue-600); }
.menu-logo span { font-size:20px; font-weight:800; color:var(--blue-600); }
.menu-close { background:none; border:none; padding:4px; cursor:pointer; color:var(--gray-700); display:flex; }
.menu-close svg { width:26px; height:26px; }
.menu-account { padding:0 20px 18px; border-bottom:8px solid var(--gray-50); }
.menu-join { display:block; background:var(--gray-50); border:1px solid var(--gray-200); border-radius:var(--r-10); padding:14px 16px; font-size:14px; font-weight:var(--fw-bold); color:var(--gray-900); }
.menu-auth { display:flex; align-items:center; gap:14px; margin-top:14px; padding:0 2px; font-size:14px; color:var(--gray-700); }
.menu-auth a { color:var(--gray-700); font-weight:var(--fw-semibold); }
.menu-auth-div { width:1px; height:12px; background:var(--gray-300); }
.menu-nav { padding:6px 0; }
.menu-link { display:flex; align-items:center; justify-content:space-between; width:100%; padding:15px 20px; font-size:16px; font-weight:var(--fw-semibold); color:var(--gray-900); background:none; border:none; cursor:pointer; text-align:left; transition:background .15s; }
.menu-link:hover { background:var(--gray-50); }
.menu-acc svg { width:18px; height:18px; color:var(--gray-400); transition:transform .2s; }
.menu-group.open > .menu-acc svg { transform:rotate(180deg); }
.menu-sub { display:none; padding:2px 0 8px; background:var(--gray-50); }
.menu-group.open .menu-sub { display:block; }
.menu-sub a { display:block; padding:11px 20px 11px 34px; font-size:14px; color:var(--gray-600); }
.menu-sub a:hover { color:var(--blue-600); }
.menu-foot { margin-top:auto; padding:22px 20px 26px; border-top:1px solid var(--gray-100); }
.menu-cs-label { font-size:12px; font-weight:var(--fw-bold); color:var(--gray-400); }
.menu-cs-num { font-size:22px; font-weight:800; color:var(--gray-900); letter-spacing:-.5px; margin:5px 0; }
.menu-cs-hours { font-size:12px; color:var(--gray-500); }

/* 스크롤 시 섹션 단위 등장 애니메이션 */
.reveal-init { opacity:0; transform:translateY(28px); transition:opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal-init.reveal-in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal-init { opacity:1 !important; transform:none !important; transition:none !important; } }
/* 상품명 텍스트 크기 통일 (전 섹션) */
.best h4, .mag .name, .sub-card .name, .deal h4, .rec h4, .recent .r-name { font-size:16px; font-weight:var(--fw-semibold); }
@media (max-width:768px){
  .best h4, .mag .name, .sub-card .name, .deal h4, .rec h4, .recent .r-name { font-size:15px; }
}
.pcard-meta { margin:0 0 12px; }
.pcard-cap { font-size:12px; font-weight:var(--fw-medium); color:var(--gray-500); }
.pcard-cap .bar { color:var(--gray-300); margin:0 5px; }
@media (max-width:768px){ .pcard-cap { font-size:11px; } }

/* ---- 최근 본 페이지 (localStorage 기반, home.js 가 채운다) ---- */
.recent-scroll { display:grid; grid-auto-flow:column; grid-auto-columns:220px; gap:12px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.recent-scroll::-webkit-scrollbar { display:none; }
.recent { display:flex; align-items:center; gap:12px; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r-12); padding:12px 14px; }
.recent .r-thumb { flex:0 0 auto; width:48px; height:48px; border-radius:var(--r-10); background:var(--gray-100) center/contain no-repeat; border:1px solid var(--gray-200); }
.recent .r-name { font-size:13px; font-weight:var(--fw-medium); color:var(--gray-800); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ============================================================
   모바일: '가장 인기 있는 핸드폰' · '지금 지원금이 가장 높아요'
   → 가로 슬라이드(스크롤). 파일 맨 끝에 두어 위의 2열 규칙을 덮어씀.
   ============================================================ */
@media (max-width:768px){
  .mag-grid, .sub-grid {
    display:grid;
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 25.2px) / 2.1);   /* 약 2.1개 노출 */
    gap:12px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
    margin:0 -16px;               /* 화면 좌우 끝까지 붙임 */
    padding:0 16px 2px;
    scroll-padding-left:16px;
  }
  .mag-grid::-webkit-scrollbar, .sub-grid::-webkit-scrollbar { display:none; }
  .mag, .sub-card { scroll-snap-align:start; }
}

/* 모바일: 고객센터 카드 → 탭하면 전화(tel:1533-3364) + 우측 화살표 */
@media (max-width:768px){
  .pbk-big { pointer-events:auto; cursor:pointer; padding-right:44px; -webkit-tap-highlight-color:transparent; }
  .pbk-big:active { background:var(--gray-50); }
  .pbk-cs-arrow {
    display:flex; position:absolute; right:14px; top:50%; transform:translateY(-50%);
    width:24px; height:24px; align-items:center; justify-content:center; color:var(--gray-400);
  }
  .pbk-cs-arrow svg { width:20px; height:20px; }
}
