/* =====================================================================
 * 푸터 개편 (2026-10-26 · GEO/AEO) — templates/layout.js 의 footer()/storeFooter() 짝.
 *
 * ★원본 common.css 의 #footer 규칙은 그대로 둔다(네트워크 블록 f_network 은 계속 그 규칙을 쓴다).
 *   새 구조는 hf_* 이름만 쓰므로 원본 .f_contents 규칙과 겹치지 않는다.
 * ★되돌리려면 layout.js 와 이 파일을 함께 되돌린다.
 * ===================================================================== */
#footer.hf { background: #fff; word-break: keep-all; }

/* ── 사이트 안내 + 상담 ───────────────────────────────── */
#footer .hf_main { padding: 50px 0 40px; border-bottom: 1px solid #e5e5e5; }
#footer .hf_main .layout { display: flex; gap: 40px; justify-content: space-between; }
#footer .hf_cols { display: flex; gap: 60px; flex: 1 1 auto; }
#footer .hf_tit { display: block; margin-bottom: 14px; font-size: 16px; line-height: 24px; font-weight: 700; color: #222; letter-spacing: -0.03em; }
#footer .hf_col ul li { margin-bottom: 8px; }
#footer .hf_col ul li a { font-size: 14px; line-height: 22px; color: #666; letter-spacing: -0.03em; }
#footer .hf_col ul li a:hover { color: #0071bb; text-decoration: underline; }

#footer .hf_contact { flex: 0 0 340px; }
#footer .hf_tel { display: block; margin-bottom: 14px; font-size: 28px; line-height: 34px; font-weight: 800; color: #0071bb; letter-spacing: -0.02em; }
#footer .hf_btns { display: flex; gap: 8px; margin-bottom: 16px; }
#footer .hf_btn { flex: 1 1 0; display: block; padding: 11px 0; border: 1px solid #0071bb; border-radius: 6px; text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; color: #0071bb; }
#footer .hf_btn.primary { background: #0071bb; color: #fff; }
#footer .hf_btn:hover { opacity: .85; }

#footer .hf_hours { margin-bottom: 14px; font-size: 13px; line-height: 22px; color: #555; }
#footer .hf_hours div { display: flex; gap: 12px; }
#footer .hf_hours dt { flex: 0 0 64px; font-weight: 600; color: #333; }
#footer .hf_hours dd { flex: 1 1 auto; }
#footer .hf_hours dd.off { color: #d33; }

#footer .hf_maps { display: flex; gap: 12px; margin-bottom: 12px; }
#footer .hf_maps a { font-size: 13px; color: #555; text-decoration: underline; }

#footer .hf_sns { display: flex; gap: 8px; }
#footer .hf_sns a { display: inline-block; padding: 5px 12px; border: 1px solid #ddd; border-radius: 16px; font-size: 13px; line-height: 18px; color: #555; }
#footer .hf_sns a:hover { border-color: #0071bb; color: #0071bb; }

/* 전체 푸터 — 네트워크 안내 */
#footer .hf_net .hf_desc { margin-bottom: 16px; font-size: 14px; line-height: 22px; color: #555; letter-spacing: -0.03em; }
#footer .hf_net .hf_btns { flex-wrap: wrap; }
#footer .hf_net .hf_btn.primary { flex-basis: 100%; }
#footer .hf_note { margin-bottom: 14px; font-size: 13px; line-height: 20px; color: #777; }
#footer .hf_note a { color: #0071bb; text-decoration: underline; }
#footer .f_biz .biz_role { padding: 1px 6px; margin-right: 8px; border: 1px solid #ccc; border-radius: 3px; font-size: 12px; color: #777; }

/* 지점 푸터 — 로고 + 소속 */
#footer .hf_brand { flex: 1 1 auto; }
#footer .hf_brand .hf_logo img { display: block; width: 180px; height: auto; }
#footer .hf_member { margin-top: 14px; font-size: 15px; line-height: 24px; color: #444; letter-spacing: -0.03em; }
#footer .hf_member strong { color: #0071bb; }

/* ── 법적 고지 + 사업자정보 ─────────────────────────────── */
#footer .hf_bottom { padding: 24px 0 40px; }
#footer .hf_bottom .layout { position: relative; }
#footer .hf_legal_links { display: flex; gap: 20px; margin-bottom: 12px; }
#footer .hf_legal_links a { font-size: 14px; line-height: 22px; color: #444; }
#footer .hf_legal_links a.strong { font-weight: 700; color: #0071bb; }
#footer .hf_bottom .f_biz { padding-right: 300px; }
#footer .hf_bottom > .layout > .hf_logo { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
#footer .hf_bottom > .layout > .hf_logo img { display: block; width: 260px; height: auto; }
#footer .hf_bottom .copy { margin-top: 14px; font-size: 13px; line-height: 20px; color: #888; letter-spacing: -0.02em; }

/* ── 태블릿·모바일 ──────────────────────────────────────── */
@media (max-width: 1024px) {
	#footer.hf { padding-top: 0; }
	#footer .hf_main { padding: 32px 0 24px; }
	#footer .hf_main .layout { flex-direction: column; gap: 28px; }
	#footer .hf_cols { gap: 24px; flex-wrap: wrap; }
	#footer .hf_col { flex: 1 1 28%; min-width: 120px; }
	#footer .hf_contact { flex: none; width: 100%; }
}
@media (max-width: 768px) {
	#footer .hf_cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
	#footer .hf_tit { margin-bottom: 8px; font-size: 15px; }
	#footer .hf_col ul li { margin-bottom: 4px; }
	#footer .hf_col ul li a { font-size: 13px; }
	#footer .hf_tel { font-size: 24px; }
	#footer .hf_bottom { padding: 20px 0 24px; }
	#footer .hf_bottom .f_biz { padding-right: 0; }
	#footer .hf_bottom > .layout > .hf_logo { position: static; margin: 14px 0 0; transform: none; }
	#footer .hf_bottom > .layout > .hf_logo img { width: 150px; }
}

/* ── 전체 푸터 사이트 지도 (2026-10-26 2차 — 주메뉴 그대로) ── */
#footer .hf_sitemap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; width: 100%; }
#footer .hf_sitemap .hf_tit { display: block; }
#footer .hf_sitemap .hf_tit:hover { color: #0071bb; }
#footer .hf_sitemap .hf_col ul li a { font-size: 13px; line-height: 20px; }
@media (max-width: 1024px) {
	#footer .hf_sitemap { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (max-width: 768px) {
	#footer .hf_sitemap { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
}
#footer .hf_col_branch { display: none; }
@media (max-width: 1024px) {
	#footer .hf_col_branch { display: block; }
	#footer .f_biz .biz_role { display: inline-block; width: auto; margin-bottom: 4px; }
}
