/* =========================================================
   휴대폰성지 휴맛집 v2 — 사이트 디자인 (플랫폼형 레이아웃)
   색을 바꾸고 싶으면 아래 :root 의 --brand 만 바꾸면 됩니다.
   ========================================================= */
:root {
  --brand: #0a7cff;
  --brand-dark: #0063d6;
  --brand-soft: #eef5ff;
  --ink: #1a1d23;
  --ink-2: #3c4049;
  --muted: #80858f;
  --line: #e9ebef;
  --gray-bg: #f6f7f9;
  --red: #f0443a;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  word-break: keep-all;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.3; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; width: 100%; grid-column: 1 / -1; }

/* ---------- 머리말 ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.hd-top { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; letter-spacing: -0.04em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.hd-links { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); }
.hd-links a:hover { color: var(--brand); }
.hd-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: #fff; cursor: pointer; white-space: nowrap; }
.pill-btn.fill { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill-btn.fill:hover { background: var(--brand-dark); }
.hd-cat { display: flex; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hd-cat::-webkit-scrollbar { display: none; }
.hd-cat a, .hd-cat button { flex: 1 0 auto; text-align: center; padding: 10px 12px 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.hd-cat a:hover, .hd-cat button:hover { color: var(--brand); }
.hd-cat .on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }
@media (max-width: 760px) {
  .hd-top { height: 56px; gap: 10px; }
  .hd-links { display: none; }
  .hd-tel { display: none; }
  .hd-cat { justify-content: flex-start; gap: 0; margin: 0 -8px; }
  .hd-cat a, .hd-cat button { flex: 0 0 auto; padding: 8px 10px 11px; font-size: 16px; }
}

.notice { background: var(--brand-soft); color: var(--brand-dark); font-size: 13px; }
.notice .wrap { display: flex; gap: 8px; padding-top: 9px; padding-bottom: 9px; }
.notice b { flex: none; font-weight: 800; }

/* ---------- 띠(섹션) ---------- */
.band { padding: 56px 0; }
.band.gray { background: var(--gray-bg); }
.band.center { text-align: center; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sec-head h2 { font-size: 24px; font-weight: 800; }
.sec-desc { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.sec-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.more { font-size: 13px; color: var(--muted); white-space: nowrap; }
.more:hover { color: var(--brand); }
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--brand); }
@media (max-width: 640px) {
  .band { padding: 40px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head h2 { font-size: 22px; }
}

/* 알약 토글 */
.toggles { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tg { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid #dfe2e7; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tg:hover { border-color: #c7ccd4; }
.tg.on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 0.5px var(--brand); }

/* ---------- 메인 배너 ---------- */
.hero { padding: 24px 0 8px; }
.slider { position: relative; overflow: hidden; border-radius: 22px; background: var(--gray-bg); }
.slides { display: flex; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.slide { flex: 0 0 100%; }
.slide img { width: 100%; height: auto; }
.slide-count { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(30,32,38,.35); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; font-size: 18px; opacity: 0; transition: opacity .2s; }
.slider:hover .slide-nav { opacity: 1; }
.slide-nav.prev { left: 14px; } .slide-nav.next { right: 14px; }
.hero-text { padding: 48px 32px; border-radius: 22px; background: linear-gradient(135deg, #eaf3ff, #f5f9ff); }
.hero-text h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -0.05em; }
.hero-text p { color: var(--ink-2); margin: 10px 0 20px; }
@media (max-width: 640px) { .hero { padding-top: 16px; } .slider { border-radius: 16px; } .slide-nav { display: none; } }

/* ---------- 아이콘 퀵메뉴 ---------- */
.quick { padding: 28px 0 44px; }
.quick-grid { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 8px; max-width: 760px; margin: 0 auto; }
.qi { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 0; border-radius: 16px; background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.qi:hover { background: var(--gray-bg); }
.qi-ico { width: 52px; height: 52px; display: grid; place-items: center; }
.qi-ico img { width: 46px; height: 46px; object-fit: contain; }
.qi-ico svg { width: 44px; height: 44px; }
@media (max-width: 760px) { .quick { padding: 20px 0 28px; } .quick-grid { grid-template-columns: repeat(var(--n, 5), 1fr); gap: 2px; } .qi { font-size: 12px; gap: 6px; padding: 8px 0; } .qi-ico { width: 46px; height: 46px; } .qi-ico svg { width: 38px; height: 38px; } }

/* ---------- 가로 넘김 목록 ---------- */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; margin: -2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.rail-arrow { position: absolute; top: 42%; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.rail-arrow.prev { right: auto; left: -18px; }
.rail-arrow svg { width: 16px; height: 16px; }
.rail-arrow[hidden] { display: none; }
@media (max-width: 760px) { .rail-arrow { display: none; } .rail { margin: 0 -20px; padding: 2px 20px; scroll-padding: 0 20px; } }

/* ---------- 휴대폰 카드 ---------- */
.pcard { position: relative; display: flex; flex-direction: column; width: 216px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
a.pcard:hover { border-color: #cfd6e0; box-shadow: 0 8px 22px -14px rgba(20,30,50,.35); }
.pc-img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 12px; }
.pc-img img { max-height: 100%; object-fit: contain; }
/* 색상 사진이 여러 장이면 한 장씩 옆으로 넘어감 */
.pc-img.multi { position: relative; overflow: hidden; }
.pc-img.multi img { position: absolute; inset: 0; margin: auto; max-width: 100%; opacity: 0; transform: translateX(40%); transition: transform .7s cubic-bezier(.3,.7,.2,1), opacity .7s ease; }
.pc-img.multi img.on { opacity: 1; transform: none; }
.pc-img.multi img.out { opacity: 0; transform: translateX(-40%); }
.pc-dots { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; gap: 5px; }
.pc-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d3d8df; transition: background .3s, width .3s; }
.pc-dots i.on { width: 14px; border-radius: 3px; background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .pc-img.multi img { transition: none; } }
.pc-name { margin: 0; font-size: 15px; font-weight: 700; }
.pc-name small { font-weight: 500; color: var(--muted); font-size: 13px; }
.pc-price { margin: 3px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.pc-price .pct { color: var(--brand); margin-right: 4px; }
.pc-org { margin: 1px 0 0; font-size: 12px; color: var(--muted); }
.pc-org s { color: #a3a8b0; }
.pc-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--gray-bg); color: var(--ink-2); }
.badge.SK { background: #fff0ee; color: #e5402b; }
.badge.KT { background: #eef4ff; color: #2563eb; }
.badge.LG { background: #fdedf5; color: #d1287a; }
.badge.hot { background: #fff4e5; color: #e07400; }
.pc-flag { position: absolute; top: 12px; left: 12px; }
@media (max-width: 760px) { .rail .pcard { width: 43vw; min-width: 156px; padding: 12px; } .pc-price { font-size: 17px; } }

/* ---------- 요금제 카드 ---------- */
.plan-card { width: 260px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.plan-card .pl-name { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.plan-card .pl-fee { margin: 14px 0 2px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.plan-card .pl-fee span { color: var(--brand); }
.plan-card .pl-sub { margin: 0; font-size: 12px; color: var(--muted); }
.plan-card .pl-best { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-2); }
.plan-card .pl-best b { color: var(--brand); }
@media (max-width: 760px) { .plan-card { width: 74vw; } }

/* ---------- 알뜰유심 카드 ---------- */
.usim-card { width: 250px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.usim-top { display: flex; align-items: center; gap: 6px; }
.usim-brand { font-size: 12px; color: var(--muted); font-weight: 600; }
.usim-name { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); min-height: 21px; }
.usim-data { margin: 10px 0 0; font-size: 26px; font-weight: 900; letter-spacing: -0.04em; }
.usim-call { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.usim-price { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; font-weight: 700; }
.usim-price b { font-size: 22px; color: var(--brand); letter-spacing: -0.03em; }
.usim-after { margin: 2px 0 14px; font-size: 12px; color: var(--muted); }
.usim-memo { margin: -6px 0 14px; font-size: 12px; color: var(--ink-2); background: var(--gray-bg); border-radius: 8px; padding: 6px 8px; }
.usim-ask { margin-top: auto; height: 42px; font-size: 14px; border-radius: 10px; }
.usim-card .usim-ask { margin-top: auto; }
@media (max-width: 760px) { .usim-card { width: 66vw; min-width: 220px; } }

/* ---------- 매장안내 (왼쪽 지역 목록 + 오른쪽 매장 목록) ---------- */
.stores-sec { background: #fff; }
.stores-head { text-align: center; margin-bottom: 36px; }
.stores-head .eyebrow { font-size: 13px; letter-spacing: .02em; }
.stores-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.3; letter-spacing: -0.04em; }
.stores-head h2 span { display: block; color: var(--brand); }
.stores-head p { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.stores-head p b { color: var(--ink); }
.store-panel { display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.store-side { background: var(--gray-bg); padding: 20px; border-right: 1px solid var(--line); min-width: 0; }
.store-search { position: relative; margin-bottom: 14px; }
.store-search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px 0 36px; background: #fff; font-size: 14px; outline: none; }
.store-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.store-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.region-list { display: flex; flex-direction: column; gap: 4px; }
.region-list button { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: none; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; }
.region-list button:hover { background: rgba(10,124,255,.06); }
.region-list button b { min-width: 24px; height: 20px; padding: 0 7px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--ink-2); display: grid; place-items: center; }
.region-list button.on { background: var(--brand); color: #fff; }
.region-list button.on b { background: rgba(255,255,255,.22); color: #fff; }
.store-main { padding: 22px 24px 24px; min-width: 0; }
.store-main-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.store-main-head h3 { font-size: 19px; font-weight: 800; }
.store-main-head span { font-size: 14px; color: var(--muted); }
.store-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.store-row { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.store-info { flex: 1; min-width: 0; }
.store-info h4 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.store-info p { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); }
.store-info .hours { color: var(--muted); font-size: 12px; }
.store-acts { display: flex; flex-direction: column; gap: 6px; flex: none; }
.chip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.chip-btn:hover { border-color: #c9cfd9; color: var(--ink); }
.chip-btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-btn.primary:hover { background: var(--brand-dark); }
.chip-btn.kakao { background: #fee500; border-color: #fee500; color: #3c1e1e; }
.store-empty { padding: 40px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }
@media (max-width: 860px) {
  .store-panel { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .stores-head { margin-bottom: 24px; }
  .stores-head h2 { font-size: 26px; }
  .store-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; }
  .store-search { margin-bottom: 10px; }
  .region-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .region-list::-webkit-scrollbar { display: none; }
  .region-list button { flex: none; height: 38px; gap: 6px; padding: 0 12px; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
  .region-list button.on { border-color: var(--brand); }
  .store-main { padding: 16px; }
  .store-list { grid-template-columns: 1fr; }
  .store-acts { flex-direction: column; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; transition: background .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-line { background: #fff; border: 1px solid var(--line); color: var(--ink-2); height: 38px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-kakao { background: #fee500; color: #3c1e1e; height: 38px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-round { height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; }

/* ---------- 약속(하단 안내) ---------- */
.promise h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; }
.promise h2 em { font-style: normal; color: var(--brand); }
.promise .sec-desc { margin-bottom: 28px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.promise-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.promise-card b { display: block; font-size: 16px; margin: 10px 0 4px; }
.promise-card p { margin: 0; color: var(--muted); font-size: 14px; }
.promise-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 13px; }
.promise-cta { display: flex; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.promise-cta .btn-line { height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; }
@media (max-width: 760px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- 시세표 페이지 ---------- */
.page-head { padding: 32px 0 0; }
.page-head h1 { font-size: 26px; font-weight: 800; }
.filters { position: sticky; top: 108px; z-index: 20; background: var(--gray-bg); padding: 14px 0; }
.filters-in { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.filters .toggles + .toggles { padding-left: 16px; border-left: 1px solid #dde0e5; }
.plan-line { margin: 4px 0 16px; font-size: 13px; color: var(--muted); }
.plan-line b { color: var(--ink); }
.phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.phone-grid .pcard { width: auto; }
.phone-grid .pcard.focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.calc { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #f0f1f4; font-size: 13px; }
.calc div { display: flex; justify-content: space-between; padding: 2px 0; }
.calc dt { color: var(--muted); }
.calc dd { margin: 0; font-weight: 600; }
.calc .minus dd { color: var(--red); }
.calc .sum { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 6px; }
.calc .sum dt { color: var(--ink); font-weight: 600; }
.calc .sum dd { font-weight: 800; }
.month { margin: 10px 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--gray-bg); }
.month span { display: block; font-size: 12px; color: var(--muted); }
.month strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.month small { font-size: 11px; color: var(--muted); }
.pcard .btn { margin-top: auto; height: 42px; font-size: 14px; border-radius: 10px; }
.tiny { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 1000px) { .phone-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .filters { top: 101px; padding: 10px 0; }
  .filters-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters-in::-webkit-scrollbar { display: none; }
  .filters .toggles { flex-wrap: nowrap; }
  .filters .toggles + .toggles { padding-left: 10px; }
  .tg { height: 34px; padding: 0 13px; font-size: 13px; }
  .phone-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .phone-grid .pcard { padding: 12px; }
  .month strong { font-size: 18px; }
}

/* ---------- 상담 폼 ---------- */
.consult-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; text-align: left; }
.consult-form label em { font-style: normal; color: var(--muted); font-weight: 400; }
.consult-form input:not([type=checkbox]), .consult-form select, .consult-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
/* 선택 칸: 사파리 기본 회색 버튼 모양 없애고 입력칸과 똑같이 + 화살표 */
.consult-form select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  height: 48px; padding: 0 40px 0 14px; line-height: 1.2; cursor: pointer;
  font-weight: 500; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2380858f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  text-overflow: ellipsis; white-space: nowrap; text-align: left; text-align-last: left;
}
.consult-form select:hover { border-color: #cfd5de; }
.consult-form select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230a7cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.consult-form select:invalid, .consult-form select.empty { color: var(--muted); }
.consult-form input:not([type=checkbox]) { height: 48px; }
.consult-form textarea { height: auto; }
.consult-form input::placeholder, .consult-form textarea::placeholder { color: #a9aeb7; }
/* 동의 체크박스 */
.consult-form .agree input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid #cdd2da; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.consult-form .agree input:checked { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--brand); }
.consult-form .agree { align-items: center; cursor: pointer; }
.consult-form textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consult-form .agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: 13px; color: var(--muted); }
.consult-form .agree input { margin-top: 3px; accent-color: var(--brand); }
.store-hint { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--brand); }
.store-hint:empty { display: none; }
.consult-form .agree input { margin: 0; box-shadow: none; }
.consult-form .agree input:focus-visible { box-shadow: 0 0 0 3px var(--brand-soft); }
.form-msg { min-height: 20px; margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: #12a150; }

/* ---------- 상담 창 ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(17,20,26,.5); }
.modal-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 26px; animation: pop .22s ease-out; }
.modal-box h3 { font-size: 22px; }
.modal-sub { margin: 4px 0 18px; color: var(--muted); font-size: 14px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--gray-bg); font-size: 22px; line-height: 1; cursor: pointer; }
.q-summary { background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .modal { align-items: end; padding: 0; } .modal-box { border-radius: 22px 22px 0 0; max-height: 92vh; } }

/* ---------- 꼬리말 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 90px; font-size: 12px; color: var(--muted); }
.ft-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ft-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.ft-logo img { width: 28px; height: 28px; border-radius: 7px; }
.ft-links { display: flex; gap: 16px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.site-footer p { margin: 2px 0; }
.ft-stores b { display: block; color: var(--ink-2); font-size: 13px; margin-bottom: 8px; }
.ft-stores div { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 14px; }
.ft-stores a:hover { color: var(--brand); }

/* ---------- 떠 있는 버튼 ---------- */
.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px -6px rgba(0,0,0,.25); cursor: pointer; }
.fab svg { width: 18px; height: 18px; }
.fab.kakao { background: #fee500; border-color: #fee500; width: 54px; height: 54px; }
.fab.kakao svg { width: 26px; height: 26px; }
.fab[hidden] { display: none; }
.preview-tag { position: fixed; left: 12px; bottom: 12px; z-index: 50; background: #ffb020; color: #111; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
