/* =========================================================
   기능 추가분 스타일 — 템플릿(css/style.css)은 건드리지 않고 여기서만 더한다.
   템플릿 토큰(--brand · --brand-d · --brand-soft · --hot · --ink · --text · --text-sub · --line · --soft · --mint · --danger · --radius)만 쓴다.
   방문자 화면의 글꼴·여백은 템플릿 그대로 — 새로 만든 기능 화면(예약 결과·결제·마이페이지·팝업)에 필요한 것만.
   ========================================================= */

/* ── 페이지 내용 · 로고 ── */
.cms-hidden{display:none!important}
[hidden]{display:none!important}
.logo img.hk-cms-logo,.ftr__logo img.hk-cms-logo{display:block;height:40px;width:auto;max-width:220px;object-fit:contain}
.mmenu__bar img.hk-cms-logo{display:block;height:32px;width:auto;max-width:180px;object-fit:contain}
.hk-cms-logo-text{font-size:19px;font-weight:800;letter-spacing:-.04em;line-height:1.1;color:#fff}
.ftr__logo .hk-cms-logo-text{color:var(--brand)}
.hk-logo-wrap{display:inline-flex;align-items:center}
.logos__item img.hk-partner-logo{display:block;max-height:32px;max-width:80%;width:auto;margin:0 auto;object-fit:contain}
.logos__item a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:inherit}

/* ── 지도 (오시는길 자리표시 → 구글 지도 · 같은 상자 크기) ── */
.mapbox--map{padding:0;overflow:hidden;display:block}
.mapbox--map .hk-map{display:block;width:100%;height:100%;border:0}

/* ── 폼 · 알림 ── */
.form-err.is-ok{color:var(--mint)}
.hk-toast{position:fixed;left:50%;bottom:32px;transform:translate(-50%,16px);z-index:1400;max-width:calc(100vw - 32px);padding:14px 20px;border-radius:var(--radius);background:var(--ink);color:#fff;font-size:14px;font-weight:600;line-height:1.5;box-shadow:0 10px 30px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.hk-toast.is-on{opacity:1;transform:translate(-50%,0)}
body.has-mbar .hk-toast{bottom:88px}
/* 휴대폰에서 입력칸 글꼴이 16px 미만이면 iOS 가 화면을 확대한다 — 입력칸에만 16px */
@media (max-width:767px){ .input,.select,.textarea,input,select,textarea{font-size:16px} }
.btn[disabled],.btn[aria-busy="true"]{opacity:.6;cursor:not-allowed}
/* 빈 목록 안내(격자 안에서 한 줄 전체) · 안내 속 링크 */
.hk-empty-cell{grid-column:1/-1;text-align:center;padding:32px 0}
.sec-head__desc a{color:var(--brand);text-decoration:underline}

/* ── 예약 결과 · 조회 결과 · 결제 상자 ── */
.hk-paybox{margin-top:var(--s-5,20px)}
.hk-paybox .panel__title{display:flex;align-items:center;gap:8px}
.hk-pay-note{margin-top:8px;font-size:14px;line-height:1.7;color:var(--text-sub)}
.hk-vbank{margin-top:12px;padding:12px 14px;border:1px dashed var(--brand);border-radius:var(--radius);background:var(--brand-soft);font-size:14px;line-height:1.8;color:var(--ink)}
.hk-copy{margin-left:6px;font-size:12px;font-weight:700;color:var(--brand);text-decoration:underline}
.hk-result + .hk-result{margin-top:var(--s-5,20px)}
.hk-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.cal-day.is-full{text-decoration:line-through}
.cal-day.is-today:not(.is-sel){border-color:var(--brand)}
.slot small{display:block;font-size:11px;font-weight:600;color:var(--hot);margin-left:4px}

/* ── 공용 대화상자(취소 요청·후기 작성) — 템플릿 panel 모양 ── */
.hk-modal{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(12,25,50,.55)}
.hk-modal__box{width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:var(--radius);box-shadow:0 20px 48px rgba(0,0,0,.3);padding:24px}
.hk-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.hk-modal__close{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius);font-size:22px;line-height:1;color:var(--text-sub)}
.hk-stars-pick{display:flex;gap:6px}
.hk-stars-pick button{width:44px;height:44px;border:1px solid var(--line);border-radius:var(--radius);font-size:20px;color:#C9CED8;background:#fff}
.hk-stars-pick button.is-on{color:#B5680D;border-color:#B5680D}

/* ── 마이페이지 ── */
.hk-mp-list{display:grid;gap:var(--s-4,16px)}
.hk-mp-item .sum__row{padding:10px 0}
.hk-mp-empty{text-align:center;padding:32px 16px;color:var(--text-sub)}

/* ── 편집기(관리자)가 만드는 본문 요소 — 공지·정책·FAQ 답변 ── */
.prose ol{padding-left:20px;list-style:decimal}
.prose li>p{margin:0}
.prose blockquote{margin:0 0 16px;padding:12px 18px;border-left:3px solid var(--brand);background:var(--soft)}
.prose hr{border:0;border-top:1px solid var(--line);margin:24px 0}
.prose img{max-width:100%;height:auto;border-radius:var(--radius);margin:6px 0 16px}
.prose a{color:var(--brand);text-decoration:underline}
.prose table{width:100%;border-collapse:collapse;font-size:14px;margin:0 0 16px}
.prose th,.prose td{padding:10px 12px;border:1px solid var(--line);text-align:left;vertical-align:top}
.prose th{background:var(--soft);color:var(--ink);font-weight:700}
.acc__panel ul{margin:8px 0;padding-left:18px;list-style:disc}
.acc__panel ol{margin:8px 0;padding-left:18px;list-style:decimal}
.acc__panel a{color:var(--brand);text-decoration:underline}
@media (max-width:767px){ .prose table{display:block;overflow-x:auto;white-space:nowrap} }

/* ── 카카오 상담 버튼 ── */
.kakao-float{position:fixed;right:24px;bottom:96px;z-index:180;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;border-radius:999px;background:#FEE500;color:#191919;font-size:14px;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,.18);opacity:0;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease}
.kakao-float.show{opacity:1;transform:none}
.kakao-float svg{width:20px;height:20px}
@media (max-width:1023px){ .kakao-float{right:16px;bottom:84px;padding:0 14px} }

/* ── 팝업 (본사 사양: 딤 없음 · 9개 위치 · 이미지 원본 크기 · 하단 버튼 2개) ── */
.hk-popup{position:fixed;z-index:1200;width:max-content;max-width:calc(100vw - 32px);background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 20px 48px rgba(0,0,0,.25);overflow:hidden;animation:hkPopIn .2s ease}
@keyframes hkPopIn{from{opacity:0}to{opacity:1}}
.hk-popup.isX-left{left:24px}
.hk-popup.isX-center{left:50%}
.hk-popup.isX-right{right:24px}
.hk-popup.isY-top{top:calc(var(--header-h) + 16px)}
.hk-popup.isY-middle{top:50%}
.hk-popup.isY-bottom{bottom:24px}
.hk-popup{transform:translate(var(--tx,0),var(--ty,0)) translate(var(--cx,0),var(--cy,0))}
.hk-popup.isX-center{--tx:-50%}
.hk-popup.isY-middle{--ty:-50%}
.hk-popup__img{display:block;width:auto;height:auto;max-width:calc(100vw - 32px);max-height:calc(80vh - 52px)}
.hk-popup__imglink{display:block;line-height:0;cursor:pointer}
.hk-popup__body{padding:24px;max-width:100%}
.hk-popup__body h3{font-size:17px;font-weight:800;line-height:1.5;color:var(--ink)}
.hk-popup__text{margin-top:8px;font-size:14px;line-height:1.75;color:var(--text-sub);overflow-wrap:anywhere}
.hk-popup__text p{margin:0}.hk-popup__text p+p,.hk-popup__text ul,.hk-popup__text ol{margin-top:8px}
.hk-popup__text ul{padding-left:18px;list-style:disc}
.hk-popup__text a{color:var(--brand);text-decoration:underline}
.hk-popup__foot{display:flex;border-top:1px solid var(--line);background:var(--soft)}
.hk-popup__foot button{flex:1;min-height:44px;padding:12px;font-size:13px;font-weight:700;color:var(--text-sub)}
.hk-popup__foot button+button{border-left:1px solid var(--line)}
@media (max-width:768px){
  .hk-popup.isX-left,.hk-popup.isX-right,.hk-popup.isX-center{left:50%;right:auto;--tx:-50%}
  .hk-popup.isY-top{top:calc(var(--header-h) + 8px)}
  .hk-popup.isY-bottom{bottom:84px}
}

/* ── 디자인 모드 — 안내 핀 자리 · 편집 중 템플릿 효과 끄기 ── */
html.hk-design .reveal{opacity:1!important;transform:none!important}
html.hk-design [data-hk-manage]{position:relative}
