/* Components shared by the search, place and booking surfaces.
   Loaded on every page so a block looks the same wherever it appears. */

.style-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 22px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: #444;
}

.g-badge {
  position: absolute;
  left: 6px;
  bottom: 26px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11px;
  font-style: normal;
}

.g-label {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  color: #fff;
  font-size: 11px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── coupon ───────────────────────────────────────────────────── */
.coupon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 12px 14px;
  border: 1px solid #e6f4ec;
  border-radius: 10px;
  background: #f6fdf9;
}

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

.cp-lede {
  display: block;
  font-size: 12px;
  color: #6f8b7c;
}

.cp-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #1f5c3b;
}

.cp-btn {
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--naver-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ── info rows ────────────────────────────────────────────────── */
.place-info {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pi-row {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: #333;
  line-height: 1.55;
}

.pi-row dt {
  flex: 0 0 18px;
  padding-top: 2px;
}

.pi-row dd {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.open-now {
  color: #067a3a;
  font-weight: 700;
}

.row-link {
  margin-left: 8px;
  color: #767676;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.row-link.ext {
  color: var(--link);
  text-decoration: none;
}

.row-more {
  margin-left: 6px;
  color: #767676;
  font-size: 12px;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid #f4f4f4;
}

.pl-group {
  flex: 0 0 54px;
  color: #767676;
}

.pl-name {
  flex: 1;
  min-width: 0;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pl-price {
  font-weight: 700;
}

.price-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.kw-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kw-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: #444;
}

.kw-list b {
  color: #8e8e8e;
  font-weight: 500;
}

/* ── blog results ─────────────────────────────────────────────── */
.blog-item {
  padding: 14px 0;
  border-bottom: 1px solid #f2f2f2;
}

.bi-src {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #767676;
  margin-bottom: 6px;
}

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

.bi-title {
  display: block;
  font-size: 16px;
  color: #1a4fa0;
  line-height: 1.4;
  margin-bottom: 5px;
}

.bi-desc {
  font-size: 13.5px;
  color: #555;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bi-date {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.related-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

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

.related-list,
.trend-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.trend-list {
  grid-template-columns: 1fr;
}

.related-list a,
.trend-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #333;
  overflow: hidden;
}

.related-list span,
.trend-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-card {
  padding: 40px 20px;
  text-align: center;
}

.empty-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.empty-hint {
  color: var(--text-sub);
  font-size: 13px;
  margin-bottom: 18px;
}

.empty-suggest {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.empty-suggest a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--link);
}

.cp-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.info-sub {
  color: var(--text-muted);
  font-size: 12.5px;
}

.hours-list {
  margin-top: 8px;
}

.hours-list li {
  display: flex;
  gap: 14px;
  padding: 2px 0;
  font-size: 13px;
  color: #555;
}

.hours-list b {
  width: 20px;
  font-weight: 600;
  color: #333;
}

.price-list .pl-name {
  flex: 1;
  min-width: 0;
  color: #444;
}

.price-list .pl-price {
  font-weight: 700;
}

/* ── Self-hosted MapLibre basemap (과천, Protomaps/OSM) ───────── */
.ml-map { position: relative; width: 100%; height: 100%; min-height: 200px; background: #e9e6e0; overflow: hidden; }
.ml-map .maplibregl-canvas { outline: none; }
.ml-map .maplibregl-ctrl-attrib { font-size: 10px; }
