/* Place panel — used by pcmap.place.naver.com and, with mobile overrides,
   by m.place.naver.com. */

.page-pcmap {
  min-width: 0;
  background: #fff;
}

.pp-root {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* ── header ───────────────────────────────────────────────────── */
.pp-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.pp-back {
  display: inline-flex;
}

.pp-head-title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

/* ── summary ──────────────────────────────────────────────────── */
.pp-summary {
  padding: 16px 16px 0;
}

.pp-title {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.pp-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}

.pp-rating {
  color: #333;
  font-weight: 600;
}

.pp-rating svg {
  vertical-align: -2px;
}

.pp-hours {
  margin-top: 5px;
  font-size: 13px;
  color: #555;
}

.pp-style {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* ── action row ───────────────────────────────────────────────── */
.pp-actions {
  display: flex;
  gap: 6px;
  padding: 14px 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pp-actions::-webkit-scrollbar {
  display: none;
}

.ppa {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #333;
  background: #fff;
}

.ppa.primary {
  border-color: #b7e8cb;
  background: #f0fbf4;
  color: #067a3a;
  font-weight: 700;
}

/* ── gallery ──────────────────────────────────────────────────── */
.pp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 150px;
  padding: 0 16px;
}

.pp-gallery li {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.pp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--fill);
}

/* ── tabs ─────────────────────────────────────────────────────── */
.pp-tabs {
  position: sticky;
  top: 52px;
  z-index: 20;
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.pp-tabs::-webkit-scrollbar {
  display: none;
}

.pp-tabs a {
  flex: 0 0 auto;
  padding: 12px 0 11px;
  font-size: 15px;
  color: #8e8e8e;
  border-bottom: 2px solid transparent;
}

.pp-tabs a.on {
  color: var(--text-strong);
  font-weight: 700;
  border-bottom-color: #333;
}

/* ── tab bodies ───────────────────────────────────────────────── */
.tab-body {
  padding: 16px;
}

.rt-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f9f5;
  color: #35704c;
  font-size: 13px;
}

.date-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 46px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 14px;
  color: #444;
  background: #fff;
}

.ds-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Date/time search panel */
.date-search-wrap { margin-top: 12px; }
.date-search-wrap .date-search { margin-top: 0; cursor: pointer; }
.date-search[aria-expanded="true"] { border-color: var(--naver-green); color: #067a3a; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ds-panel { border: 1px solid var(--naver-green); border-top: 0; border-radius: 0 0 8px 8px; padding: 14px; }
.ds-heading { font-size: 12.5px; font-weight: 700; color: #555; margin: 4px 0 8px; }
.ds-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.ds-row::-webkit-scrollbar { display: none; }
.ds-chip { flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff; color: #444; cursor: pointer; }
.ds-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 10px; gap: 2px; }
.ds-date b { font-size: 14px; font-weight: 700; }
.ds-date span { font-size: 11px; color: #999; }
.ds-date.today b::after { content: '·오늘'; font-size: 10px; color: var(--naver-green); font-weight: 400; }
.ds-time { height: 34px; padding: 0 13px; font-size: 13px; }
.ds-chip.on { border-color: var(--naver-green); background: #f0fbf4; color: #067a3a; font-weight: 700; }
.ds-actions { display: flex; gap: 8px; margin-top: 6px; }
.ds-reset { flex: 0 0 auto; height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: #444; font-size: 14px; cursor: pointer; }
.ds-go { flex: 1; height: 44px; border: 0; border-radius: 8px; background: var(--naver-green); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.ds-result { margin-top: 12px; font-size: 13px; color: #067a3a; font-weight: 600; }

/* Designer list */
.stylist-list {
  margin-top: 6px;
}

.stylist-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.st-main {
  display: flex;
  gap: 12px;
}

.st-text {
  flex: 1;
  min-width: 0;
}

.st-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.st-name a {
  color: #1a4fa0;
}

.st-name .npay-badge {
  margin-left: 5px;
}

.st-desc {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-meta {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 12.5px;
  color: #767676;
}

.st-tags {
  margin-top: 8px;
}

.st-thumb img {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--fill);
}

.st-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  background: #fff;
}

.st-book:hover {
  border-color: #9e9e9e;
}

/* Blocks reused across tabs */
.pc-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pc-block:first-child {
  padding-top: 0;
}

.pc-block h3 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

.pc-block h3 b {
  color: #767676;
  font-weight: 500;
}

.block-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 38px;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 13px;
  color: #444;
}

.mini-book-list li + li {
  border-top: 1px solid #f4f4f4;
}

.mini-book-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.mini-book-list img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--fill);
}

.mb-text {
  flex: 1;
  min-width: 0;
}

.mb-text b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-text em {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-style: normal;
  color: #767676;
}

/* Price tab */
.price-groups > li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.pg-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

/* Review tab */
.rv-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
}

.rv-score {
  font-size: 20px;
  font-weight: 700;
}

.rv-count {
  font-size: 13px;
  color: #767676;
}

.rv-list {
  margin-top: 14px;
}

.rv-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.rv-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rv-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.rv-author {
  font-size: 13px;
  font-weight: 600;
}

.rv-date {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.rv-body {
  font-size: 13.5px;
  color: #333;
  line-height: 1.6;
}

.rv-tags {
  margin-top: 8px;
}

/* Style / photo grids */
.style-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #444;
  background: #fff;
}

.chip.on {
  border-color: #333;
  background: #333;
  color: #fff;
  font-weight: 600;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.style-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  background: var(--fill);
}

.sg-name {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #333;
}

.sg-by {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--fill);
}

/* News tab */
.news-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.nw-text {
  flex: 1;
  min-width: 0;
}

.nw-flag {
  display: inline-block;
  padding: 1px 6px;
  margin-bottom: 6px;
  border-radius: 3px;
  background: #ffeaea;
  color: #d1453b;
  font-size: 11px;
  font-weight: 700;
}

.nw-text b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.nw-text p {
  margin-top: 5px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.nw-text em {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-style: normal;
  color: var(--text-muted);
}

.news-item img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--fill);
}

.intro-copy {
  font-size: 13.5px;
  color: #444;
  line-height: 1.7;
}

/* Phone-only salons (map-list fillers): a real "no online booking" state. */
.phone-only {
  padding: 16px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--fill-soft);
  text-align: center;
}
.po-title { font-size: 15px; font-weight: 700; }
.po-body { margin-top: 6px; font-size: 13px; color: #666; line-height: 1.5; }
.po-call {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; height: 42px; padding: 0 20px;
  border-radius: 8px; background: var(--naver-green); color: #fff;
  font-size: 14px; font-weight: 700;
}
.cp-claim { display: inline-flex; }
.cp-claimed { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #067a3a; font-weight: 600; }
