@charset "utf-8";

/* CityGuide light theme: header, city hero, profile cards, profile page. */

:root {
	--cg-accent: #e8456b;
	--cg-accent-dark: #c9304f;
	--cg-accent-soft: #fdecf0;
	--cg-ink: #1f2430;
	--cg-muted: #6b7280;
	--cg-line: #e7e9ee;
	--cg-bg: #f6f7fb;
	--cg-card: #ffffff;
	--cg-radius: 14px;
	--cg-shadow: 0 6px 20px rgba(31, 36, 48, .08);
	--cg-shadow-hover: 0 12px 28px rgba(31, 36, 48, .14);
}

body {
	background: var(--cg-bg);
	color: var(--cg-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

a { color: inherit; }
a:hover { color: var(--cg-accent); text-decoration: none; }

/* ---------- Header ---------- */
.cg-header-wrap { background: #fff; border-bottom: 1px solid var(--cg-line); position: relative; z-index: 20; }

.cg-topbar { font-size: 13px; color: var(--cg-muted); }
.cg-topbar .nt-container { min-height: 36px; }
.cg-topbar-links { display: flex; margin: 0; padding: 0; list-style: none; }
.cg-topbar-links li + li { border-left: 1px solid var(--cg-line); }
.cg-topbar-links a, .cg-topbar-links span { display: block; padding: 0 12px; line-height: 36px; }
.cg-topbar-links li:first-child a, .cg-topbar-links li:first-child span { padding-left: 0; }
.cg-topbar-links.ml-auto li:last-child a { padding-right: 0; }

/* Logo centred, account icons on the right */
.cg-header-row { position: relative; display: flex; align-items: center; justify-content: center; min-height: 72px; }
.cg-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; letter-spacing: -.3px; color: var(--cg-ink); }
.cg-logo img { max-height: 52px; }
.cg-logo-mark { width: 40px; height: 40px; flex: none; }
.cg-header-icons { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; }
.cg-header-icons a { width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 22px; color: var(--cg-ink); }
.cg-header-icons a:hover { color: var(--cg-accent); }

/* Text menu row with hover dropdowns */
.cg-nav { position: relative; z-index: 2; border-top: 1px solid var(--cg-line); }
.cg-nav-row { position: relative; display: flex; justify-content: center; }
.cg-nav-row > ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.cg-nav-row > ul > li { position: relative; }
.cg-nav-row > ul > li > a { display: block; line-height: 56px; font-size: 16px; font-weight: 500; color: var(--cg-ink); white-space: nowrap; }
.cg-nav-row > ul > li:hover > a, .cg-nav-row > ul > li.on > a { color: var(--cg-accent); }
.cg-search-btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--cg-ink); }
.cg-sub { display: none; position: absolute; top: 100%; left: -20px; min-width: 173px; padding: 16px 20px 8px; background: #fff; border: 1px solid #c6c6c6; box-shadow: 0 7px 6px rgba(0, 0, 0, .05); }
.cg-nav li.has-sub:hover .cg-sub, .cg-nav li.has-sub:focus-within .cg-sub { display: block; }
.cg-sub ul { margin: 0; padding: 0; list-style: none; }
.cg-sub a { display: block; padding: 0 0 8px; font-size: 15px; line-height: 22.5px; color: var(--cg-ink); white-space: nowrap; }
.cg-sub li.on a, .cg-sub a:hover { color: var(--cg-accent); }
.cg-sub-places { margin-top: 4px !important; padding-top: 10px !important; border-top: 1px solid var(--cg-line); }

/* Mobile drawer */
.cg-drawer-open { display: inline-flex; align-items: flex-end; gap: 1px; padding: 6px; border: 0; background: none; font-size: 22px; color: var(--cg-ink); }
.cg-drawer-open .fa-search { font-size: 13px; margin-left: -4px; }
.cg-drawer { position: fixed; inset: 0; z-index: 1050; visibility: hidden; }
.cg-drawer.is-open { visibility: visible; }
.cg-drawer-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s; }
.cg-drawer.is-open .cg-drawer-dim { opacity: 1; }
.cg-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 85%; max-width: 420px; overflow-y: auto; padding: 52px 16px 40px; background: #fff; transform: translateX(100%); transition: transform .25s; }
.cg-drawer.is-open .cg-drawer-panel { transform: none; }
.cg-drawer-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; color: var(--cg-ink); }
.cg-drawer-user p { margin: 0 0 4px; font-size: 14px; color: var(--cg-muted); }
.cg-drawer-user a { font-size: 17px; font-weight: 700; color: var(--cg-accent); }
.cg-drawer-search { position: relative; margin: 16px 0 20px; }
.cg-drawer-search .fa { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 17px; color: var(--cg-ink); }
.cg-drawer-search input[type=search] { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 0; border-radius: 12px; background: #f2f3f6; font-size: 15px; }
.cg-drawer-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; margin: 0 -16px; padding: 0 16px 20px; list-style: none; border-bottom: 1px solid var(--cg-line); }
.cg-drawer-quick a { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cg-drawer-quick .fa { width: 20px; font-size: 18px; text-align: center; }
.cg-drawer-group { margin-top: 22px; }
.cg-drawer-title { display: block; padding-bottom: 10px; border-bottom: 1px solid var(--cg-ink); font-size: 17px; font-weight: 500; }
.cg-drawer-title .fa { font-size: 13px; color: var(--cg-muted); }
.cg-drawer-group.on .cg-drawer-title { color: var(--cg-accent); }
.cg-drawer-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.cg-drawer-group li { border-bottom: 1px solid var(--cg-line); }
.cg-drawer-group li a { display: block; padding: 11px 0 11px 18px; position: relative; font-size: 14px; }
.cg-drawer-group li a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #c6c6c6; }
.cg-drawer-group li.on a { color: var(--cg-accent); font-weight: 700; }
html.cg-drawer-lock, html.cg-drawer-lock body { overflow: hidden; }

/* Page title bar */
#nt_title { background: #fff; border-top: 1px solid var(--cg-line); border-bottom: 0; }
#nt_title .nt-container { height: auto; padding-top: 18px; padding-bottom: 6px; }
#nt_title .page-title { font-size: 22px; font-weight: 800; color: var(--cg-ink); }

/* ---------- Home ---------- */
.cg-hero { background: linear-gradient(135deg, #fff5f7 0%, #eef4ff 100%); padding: 56px 0 48px; border-bottom: 1px solid var(--cg-line); }
.cg-hero-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--cg-accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; box-shadow: var(--cg-shadow); }
.cg-hero h1 { margin: 14px 0 8px; font-size: 40px; font-weight: 800; letter-spacing: -.5px; }
.cg-hero p { color: var(--cg-muted); font-size: 16px; margin-bottom: 28px; }
.cg-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cg-city-btn { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--cg-radius); background: #fff; box-shadow: var(--cg-shadow); transition: transform .15s, box-shadow .15s; }
.cg-city-btn:hover { transform: translateY(-2px); box-shadow: var(--cg-shadow-hover); }
.cg-city-name { font-size: 18px; font-weight: 800; color: var(--cg-ink); }
.cg-city-go { font-size: 13px; color: var(--cg-accent); font-weight: 600; }

.cg-home-body { padding-top: 36px; padding-bottom: 48px; }
.cg-section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; }
.cg-section-head h2 { font-size: 22px; font-weight: 800; margin: 0; }
.cg-section-head span { color: var(--cg-accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.cg-section-head + * { margin-bottom: 36px; }
.cg-empty { padding: 60px 16px; text-align: center; color: var(--cg-muted); background: #fff; border-radius: var(--cg-radius); }

/* ---------- Today's Pick ---------- */
.cg-pick-list { display: grid; gap: 14px; margin-bottom: 24px; }
.cg-pick { display: flex; overflow: hidden; border-radius: var(--cg-radius); background: #fff; box-shadow: var(--cg-shadow); border: 1px solid #f7c6d2; }
.cg-pick-thumb { position: relative; flex: none; width: 240px; min-height: 170px; background: var(--cg-bg); }
.cg-pick-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cg-pick-label { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--cg-accent); color: #fff; font-size: 12px; font-weight: 700; }
.cg-pick-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 18px 22px; }
.cg-pick-title { font-size: 19px; font-weight: 800; }
.cg-pick-meta { display: flex; gap: 14px; color: var(--cg-muted); font-size: 14px; }

/* ---------- Contact channels ---------- */
.cg-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.cg-ch { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.cg-ch:hover { filter: brightness(.95); }
.cg-ch-phone { background: var(--cg-accent); color: #fff !important; }
.cg-ch-kakao { background: #fee500; color: #191919 !important; }
.cg-ch-telegram { background: #2aabee; color: #fff !important; }
.cg-ch-zalo { background: #0068ff; color: #fff !important; }
.cg-channels-lg .cg-ch { padding: 10px 22px; font-size: 15px; }

/* ---------- Cards ---------- */
.cg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cg-grid-item { position: relative; }
.cg-chk { position: absolute; z-index: 3; top: 10px; right: 10px; }

.cg-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--cg-radius); background: var(--cg-card); box-shadow: var(--cg-shadow); transition: transform .15s, box-shadow .15s; }
.cg-card:hover { transform: translateY(-3px); box-shadow: var(--cg-shadow-hover); }
.cg-card-thumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--cg-bg); overflow: hidden; }
.cg-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cg-card:hover .cg-card-thumb img { transform: scale(1.03); }
.cg-card-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #cfd3dc; }
.cg-city-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--cg-ink); font-size: 12px; font-weight: 700; }
.cg-card-thumb .cg-city-badge { position: absolute; z-index: 2; top: 10px; left: 10px; }
.cg-pick-badge { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 3px 10px; border-radius: 999px; background: var(--cg-accent); color: #fff; font-size: 12px; font-weight: 700; }

.cg-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 14px 16px; }
.cg-card-title { width: 100%; margin: 4px 0 2px; font-size: 16px; font-weight: 800; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-card-row { display: flex; gap: 8px; width: 100%; color: var(--cg-muted); font-size: 13px; line-height: 1.5; }
.cg-card-row .fa { width: 14px; margin-top: 3px; text-align: center; color: var(--cg-accent); }
.cg-card-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-card-btn { display: block; width: 100%; margin-top: auto; padding: 9px 0; border-radius: 10px; background: var(--cg-accent); color: #fff !important; text-align: center; font-weight: 700; font-size: 14px; }
.cg-card-row:last-of-type { margin-bottom: 12px; }
.cg-card-btn:hover { background: var(--cg-accent-dark); }

.cg-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.cg-chip-blue { background: #e7f0ff; color: #2563eb; }
.cg-chip-green { background: #e5f7ec; color: #15803d; }
.cg-chip-orange { background: #fff1e0; color: #c2410c; }
.cg-chip-purple { background: #f1eaff; color: #7c3aed; }
.cg-chip-teal { background: #e0f7f5; color: #0f766e; }
.cg-chip-pink { background: var(--cg-accent-soft); color: var(--cg-accent-dark); }

/* ---------- City list: service tags ---------- */
.cg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cg-tag { padding: 7px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--cg-line); font-size: 14px; font-weight: 700; color: var(--cg-ink); }
.cg-tag:hover { border-color: var(--cg-accent); }
.cg-tag.on { background: var(--cg-accent); border-color: var(--cg-accent); color: #fff !important; }

#bo_list_wrap #bo_btn_top { color: var(--cg-muted); }

/* ---------- Service filters ---------- */
.cg-filter { padding: 6px 18px; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); background: #fff; box-shadow: var(--cg-shadow); }
.cg-filter-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--cg-line); }
.cg-filter-label { flex: none; width: 92px; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--cg-muted); line-height: 1.3; }
.cg-filter-label small { display: block; font-size: 11px; font-weight: 500; }
.cg-filter-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cg-filter-opt { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--cg-line); border-radius: 999px; background: var(--cg-bg); font-size: 14px; font-weight: 600; color: var(--cg-ink); }
.cg-filter-opt span { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #e9ebf1; color: var(--cg-muted); font-size: 11px; font-weight: 700; text-align: center; line-height: 18px; }
.cg-filter-opt:hover { border-color: var(--cg-accent); color: var(--cg-accent-dark); }
.cg-filter-opt.on { background: var(--cg-accent); border-color: var(--cg-accent); color: #fff !important; }
.cg-filter-opt.on span { background: rgba(255, 255, 255, .25); color: #fff; }
.cg-filter-opt.is-empty { opacity: .45; }
.cg-filter-foot { display: flex; align-items: center; gap: 12px; padding: 10px 0 6px; font-size: 13px; color: var(--cg-muted); }
.cg-filter-foot b { color: var(--cg-ink); }
.cg-filter-reset { margin-left: auto; color: var(--cg-accent) !important; font-weight: 700; }
.cg-card-facts { position: absolute; z-index: 2; right: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 3px 10px; border-radius: 999px; background: rgba(20, 22, 30, .72); color: #fff; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-card-price { margin-left: auto; padding-left: 8px; color: var(--cg-accent); font-size: 15px; font-weight: 800; white-space: nowrap; }
@media (max-width: 767.98px) {
	.cg-filter { padding: 4px 12px; }
	.cg-filter-row { flex-direction: column; gap: 6px; }
	.cg-filter-label { width: auto; padding-top: 0; }
	.cg-filter-label small { display: inline; margin-left: 6px; }
	.cg-filter-opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.cg-filter-opts::-webkit-scrollbar { display: none; }
	.cg-filter-opt { flex: none; }
}

/* ---------- Profile page ---------- */
#bo_v { background: #fff; border-radius: var(--cg-radius); box-shadow: var(--cg-shadow); padding: 24px 20px 8px; }
#bo_v_info > div { border-radius: 10px; }
#bo_v_title { font-size: 26px; font-weight: 800; }

.cg-profile-hero { position: relative; overflow: hidden; padding: 22px 24px; border-radius: var(--cg-radius); background: linear-gradient(120deg, var(--cg-accent) 0%, #ff8a6b 100%); color: #fff; }
.cg-profile-hero h2 { margin: 10px 0 4px; font-size: 26px; font-weight: 800; color: #fff; }
.cg-profile-hero p { margin: 0; opacity: .9; }
.cg-profile-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.cg-profile-facts li { padding: 5px 14px; border-radius: 999px; background: var(--cg-bg); font-size: 14px; color: var(--cg-ink); }
.cg-profile-facts .fa { color: var(--cg-accent); margin-right: 4px; }

#bo_v_img { text-align: center; }
#bo_v_img img { max-width: 100%; height: auto; border-radius: var(--cg-radius); margin-bottom: 14px; }

.cg-contact-bar { position: sticky; bottom: 12px; z-index: 30; display: flex; justify-content: center; margin-top: 16px; pointer-events: none; }
.cg-contact-bar-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 22px 14px; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px rgba(31, 36, 48, .18); pointer-events: auto; }
.cg-contact-bar-inner small { color: var(--cg-accent); font-weight: 700; letter-spacing: 1px; font-size: 11px; }
.cg-contact-bar-inner strong { margin-bottom: 6px; font-size: 15px; }

/* ---------- Profile gallery (Instagram-style) ---------- */
.cg-gallery { position: relative; max-width: 560px; margin: 0 auto 22px; border-radius: var(--cg-radius); overflow: hidden; background: #000; outline: none; }
.cg-gallery:focus-visible { box-shadow: 0 0 0 3px var(--cg-accent); }
.cg-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cg-gallery-track::-webkit-scrollbar { display: none; }
.cg-gallery-slide { position: relative; flex: 0 0 100%; aspect-ratio: 1 / 1; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.cg-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-gallery-slide figcaption { position: absolute; left: 10px; bottom: 30px; max-width: calc(100% - 20px); padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .9); font-size: 11px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-gallery-count { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(18, 18, 18, .7); color: #fff; font-size: 12px; font-weight: 600; }
.cg-gallery-count b { font-weight: 600; }
.cg-gallery-nav { position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #262626; font-size: 18px; line-height: 30px; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; }
.cg-gallery-nav.prev { left: 10px; }
.cg-gallery-nav.next { right: 10px; }
.cg-gallery-nav[hidden] { display: none; }
.cg-gallery-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.cg-gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: background .2s; }
.cg-gallery-dots i.on { background: #fff; }
@media (hover: none) { .cg-gallery-nav { display: none; } }

/* ---------- Footer ---------- */
.cg-footer { margin-top: 0; background: #fff; border-top: 1px solid var(--cg-line); color: var(--cg-muted); font-size: 13px; }
.cg-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 12px; }
.cg-footer-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--cg-ink); }
.cg-footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.cg-footer-copy { padding: 0 0 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
	.cg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cg-nav-row > ul { gap: 18px; }
	.cg-nav-row > ul > li > a { font-size: 15px; }
}
@media (max-width: 767.98px) {
	.cg-header-row { justify-content: flex-start; min-height: 60px; }
	.cg-logo { font-size: 18px; }
	.cg-logo-mark { width: 34px; height: 34px; }
	.cg-hero { padding: 32px 0 28px; }
	.cg-hero h1 { font-size: 28px; }
	.cg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cg-card-body { padding: 10px 10px 12px; }
	.cg-card-title { font-size: 14px; }
	.cg-pick { flex-direction: column; }
	.cg-pick-thumb { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
	#bo_v { border-radius: 0; box-shadow: none; padding: 16px 0 8px; }
}
