/* ══════════════════════════════════
   BLOOM — MATCHING CSS  (v4 — Design-A 컴팩트카드)
   히어로 검색 + A시안 사이드바 + A시안 컴팩트 카드
══════════════════════════════════ */

/* ═══ HERO SEARCH (Design-A) ═══ */
.hero-search {
  background: linear-gradient(135deg, #fdf8f5 0%, #f8ede4 40%, #eef5f0 100%);
  padding: 48px 32px 40px;
  padding-top: calc(var(--nav-h) + 48px);
  position: relative; overflow: hidden;
}
.hero-search::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(183,107,80,.12), transparent 70%);
  border-radius: 50%;
}
.hero-search::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(107,161,135,.1), transparent 70%);
  border-radius: 50%;
}
.hero-inner { max-width: 1200px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-title {
  font-family: var(--serif, 'DM Serif Display', serif);
  font-size: 32px; letter-spacing: -0.5px; margin-bottom: 8px;
  color: var(--ink);
}
.hero-sub { font-size: 15px; color: var(--ink-60); margin-bottom: 24px; }
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-search-wrap { max-width: 580px; margin: 0 auto; position: relative; }
.hero-search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-30);
  display: flex; align-items: center;
}
.hero-search-icon svg { width: 18px; height: 18px; }
.hero-search-input {
  width: 100%; padding: 14px 120px 14px 48px;
  border: none; border-radius: 16px; font-size: 15px;
  background: white; box-shadow: 0 4px 20px rgba(26,20,16,.06);
  outline: none; font-family: inherit; color: var(--ink);
}
.hero-search-input::placeholder { color: var(--ink-30); }
.hero-search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 10px 22px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--terracotta, #b76b50), var(--terra-dk, #a05a42));
  color: white; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: opacity .2s;
}
.hero-search-btn:hover { opacity: .9; }

.hero-quick-tags {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px; margin-top: 16px;
}
.hero-qtag {
  padding: 7px 16px; border-radius: var(--r-full, 999px);
  font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.04);
  color: var(--ink-60); cursor: pointer; transition: all .2s;
  backdrop-filter: blur(4px);
}
.hero-qtag:hover {
  background: white;
  color: var(--terracotta, #b76b50);
  border-color: var(--terracotta, #b76b50);
}

/* ═══ LAYOUT ═══ */
.matching-layout {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 28px 32px 60px;
}

/* ─── FILTER SIDEBAR (Design-A) ─── */
.filter-sidebar {
  background: white; border-radius: 20px; padding: 24px;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(26,20,16,.06));
  position: sticky; top: calc(var(--nav-h) + 16px);
  height: fit-content;
}
.filter-title {
  font-size: 15px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
}

.filter-group { margin-bottom: 20px; }
.fg-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-30); margin-bottom: 8px;
}
.fg-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fg-chip {
  padding: 7px 14px; border-radius: var(--r-full);
  border: 1.5px solid var(--ink-10);
  font-size: 13px; font-weight: 500; color: var(--ink-60);
  cursor: pointer; transition: all .2s var(--ease); background: white;
  user-select: none;
}
.fg-chip:hover  { border-color: var(--terracotta); color: var(--terracotta); }
.fg-chip.active {
  background: linear-gradient(135deg, var(--terracotta, #b76b50), var(--terra-dk, #a05a42));
  color: white; border-color: transparent; font-weight: 600;
}

input[type=range] { width: 100%; accent-color: var(--terracotta); cursor: pointer; margin-top: 4px; }
.range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-30); margin-top: 4px; }

.filter-reset-link {
  display: block; text-align: center; margin-top: 10px;
  font-size: 11px; color: var(--ink-30); cursor: pointer;
  text-decoration: none; padding: 6px;
  border-radius: var(--r-full);
  transition: all .2s var(--ease);
}
.filter-reset-link:hover { color: red; }

/* ─── MATCHING MAIN ─── */
.matching-main { padding: 0; }

.matching-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.match-count { font-size: 14px; color: var(--ink-60); }
.match-count strong { color: var(--ink); font-weight: 700; }

.filter-badge {
  display: inline-block; padding: 3px 9px; border-radius: var(--r-full);
  background: var(--terra-lt); color: var(--terracotta);
  font-size: 12px; font-weight: 600; margin-left: 8px;
}

.sort-select {
  padding: 9px 16px; border-radius: var(--r-full);
  border: 1.5px solid var(--ink-10); font-size: 13px;
  color: var(--ink); background: white; cursor: pointer; outline: none;
  font-family: inherit;
}

/* ─── VIEW TOGGLE ─── */
.view-toggle {
  display: inline-flex; background: white; border: 1.5px solid var(--ink-10);
  border-radius: var(--r-sm, 8px); overflow: hidden;
}
.vt-btn {
  padding: 7px 12px; color: var(--ink-30); transition: all .2s;
  display: flex; align-items: center; cursor: pointer; border: none; background: none;
}
.vt-btn:hover { color: var(--ink-60); }
.vt-btn.active { background: var(--terracotta); color: white; }

/* ═══════════════════════════════════
   추천 플래너 슬라이더 (Design-A)
═══════════════════════════════════ */
.featured-section {
  background: linear-gradient(135deg, #fff9f6 0%, #fef5ef 50%, #f2f8f4 100%);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(183,107,80,.08);
  position: relative;
}
.featured-header { margin-bottom: 14px; }
.featured-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.featured-sub { font-size: 14px; color: var(--ink-60); margin-top: 4px; }

.featured-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; scrollbar-width: none;
}
.featured-scroll::-webkit-scrollbar { display: none; }

.featured-card {
  flex: 0 0 220px; scroll-snap-align: start;
  background: white; border-radius: 16px;
  padding: 16px; cursor: pointer;
  border: 1.5px solid rgba(183,107,80,.1);
  transition: all .3s var(--ease); position: relative;
}
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta);
}

.fc-badge-premium {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #d4a574, #b76b50);
  color: white; font-size: 9px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 8px; border-radius: var(--r-full);
}
.fc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  overflow: hidden; flex-shrink: 0;
  background: var(--ink-10); border: 2px solid white;
  box-shadow: var(--shadow-sm);
}
.fc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fc-avatar-default { display: flex; align-items: center; justify-content: center; font-size: 28px; }
.fc-info { flex: 1; min-width: 0; }
.fc-name { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-meta { font-size: 12px; color: var(--ink-60); margin-top: 1px; }
.fc-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.fc-tag { font-size: 12px; color: var(--terracotta); background: var(--terra-lt); padding: 3px 9px; border-radius: var(--r-full); }
.fc-bottom { display: flex; align-items: center; justify-content: space-between; }
.fc-rating { font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 3px; }
.fc-review { font-size: 12px; color: var(--ink-30); font-weight: 400; }
.fc-price { font-size: 13px; font-weight: 700; color: var(--terracotta); }

.featured-nav { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); display: flex; gap: 6px; }
.fn-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink-10);
  background: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s; box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-60);
}
.fn-btn:hover { background: var(--terracotta); color: white; border-color: var(--terracotta); }

/* ═══════════════════════════════════
   PLANNER GRID — Design-A 컴팩트 카드
═══════════════════════════════════ */
.planner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ─── CARD (Design-A) ─── */
.pgrid-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,.05);
  transition: all .3s var(--ease); cursor: pointer;
  position: relative;
}
.pgrid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 8px 32px rgba(26,20,16,.12));
  border-color: var(--terracotta);
}
.pgrid-card--premium { border-color: rgba(183,107,80,.18); }
.pgrid-card--premium:hover { box-shadow: 0 8px 28px rgba(183,107,80,.15); }
.pgrid-card--pro { border-color: rgba(107,161,135,.18); }
.pgrid-card--pro:hover { border-color: var(--sage); }

/* ─── 카드 헤더 (배경색 그라디언트 + 아바타 + 정보) ─── */
.pcard-header {
  padding: 16px 16px 14px; position: relative;
}
.pgrid-card--premium .pcard-header {
  background: linear-gradient(135deg, #fef8f3, #fdf3ec);
}
.pgrid-card--pro .pcard-header {
  background: linear-gradient(135deg, #f2f8f5, #edf6f0);
}

/* 우상단 뱃지 */
.pcard-badges-top {
  position: absolute; top: 10px; right: 10px;
  display: flex; gap: 3px;
}
.badge-sm {
  font-size: 9px; font-weight: 800; letter-spacing: .6px;
  padding: 3px 8px; border-radius: var(--r-full); color: white;
}
.badge-premium { background: linear-gradient(135deg, #d4a574, #b76b50); }
.badge-pro { background: linear-gradient(135deg, #8bc5a7, #5fa87c); }
.badge-boost { background: linear-gradient(135deg, #f59e0b, #ef4444); animation: pulse 2s ease-in-out infinite; }
.badge-new { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.badge-verified { background: var(--sage-lt, #eef6f1); color: var(--sage, #6ba187); font-weight: 700; }
@keyframes pulse { 0%,100%{opacity:1;}50%{opacity:.75;} }

/* 업체/프리랜서 타입 태그 */
.pcard-type { margin-bottom: 8px; }
.type-tag {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: var(--r-full);
}
.type-company { background: #eff6ff; color: #3b82f6; }
.type-freelance { background: #faf5ff; color: #8b5cf6; }

/* 프로필 (아바타 + 이름 + 스펙) */
.pcard-profile { display: flex; align-items: center; gap: 12px; }
.pcard-avatar {
  width: 52px; height: 52px; border-radius: 14px;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid white; box-shadow: var(--shadow-sm);
  position: relative;
}
.pcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pcard-avatar-default {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink-10); display: flex; align-items: center; justify-content: center;
}
.pcard-avatar-default span {
  font-size: 22px; font-weight: 700; color: var(--ink-60);
}
.pcard-match-score {
  position: absolute; bottom: -4px; right: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: white; box-shadow: 0 1px 4px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: var(--terracotta, #b76b50);
}
.pcard-info { flex: 1; min-width: 0; }
.pcard-name {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard-spec { font-size: 12px; color: var(--ink-60); line-height: 1.5; }
.pcard-response-tag {
  display: inline-flex; align-items: center; gap: 3px;
  margin-top: 4px; font-size: 11px; font-weight: 600;
  color: var(--gold, #d4a574); background: var(--gold-lt, #fef7f0);
  padding: 2px 8px; border-radius: var(--r-full);
}

/* 통계 미니바 (응답률 + 웨딩 건수) */
.pcard-stats {
  display: flex; gap: 10px; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid rgba(0,0,0,.04);
}
.pstat { flex: 1; }
.pstat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 3px;
}
.pstat-label {
  font-size: 10px; font-weight: 600; color: var(--ink-30);
  text-transform: uppercase; letter-spacing: .5px;
}
.pstat-val { font-size: 11px; font-weight: 700; }
.pstat-bar { height: 3px; background: var(--ink-10); border-radius: 2px; overflow: hidden; }
.pstat-fill { height: 100%; border-radius: 2px; transition: width .6s var(--ease); }
.pstat-fill--green { background: linear-gradient(90deg, #8bc5a7, #6ba187); }
.pstat-fill--gold { background: linear-gradient(90deg, #d4a574, #b76b50); }

.pcard-wedding-count {
  text-align: center; padding: 4px 10px;
  background: rgba(183,107,80,.05); border-radius: 8px;
}
.pcard-wedding-num { font-size: 14px; font-weight: 800; color: var(--terracotta, #b76b50); }
.pcard-wedding-label { font-size: 9px; color: var(--ink-30); font-weight: 600; }

/* ─── 카드 하단 (태그 + 가격 + 평점 + 액션) ─── */
.pcard-body { padding: 12px 16px 14px; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.pcard-tag {
  font-size: 11px; font-weight: 500; color: var(--ink-60);
  background: var(--ink-10); padding: 4px 9px; border-radius: var(--r-full);
}

.pcard-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pcard-price { font-size: 15px; font-weight: 700; color: var(--ink); }
.pcard-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--ink-60);
}
.pcard-rating svg { width: 14px; height: 14px; fill: #f59e0b; color: #f59e0b; }
.pcard-rating strong { color: var(--ink); font-weight: 700; }

.pcard-actions { display: flex; gap: 6px; }
.btn-consult {
  flex: 1; padding: 10px; border-radius: 12px; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all .2s;
  background: linear-gradient(135deg, var(--terracotta, #b76b50), var(--terra-dk, #a05a42));
  color: white;
}
.btn-consult:hover { opacity: .9; }
.btn-wish {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1.5px solid var(--ink-10); background: white;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.btn-wish:hover { border-color: #fca5a5; background: #fef2f2; }
.btn-wish svg { width: 15px; height: 15px; color: var(--ink-30); }
.btn-wish.wished { border-color: var(--terracotta); background: var(--terra-lt); }
.btn-wish.wished svg { color: var(--terracotta); fill: var(--terracotta); }
.btn-more {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1.5px solid var(--ink-10); background: white;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-30); transition: all .2s;
  position: relative;
}
.btn-more:hover { background: var(--ink-10); }

/* ─── ... 메뉴 드롭다운 ─── */
.pgca-dropdown {
  display: none; position: absolute; right: 0; bottom: calc(100% + 6px);
  background: white; border: 1px solid #e2e8f0; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12); width: 150px;
  overflow: hidden; z-index: 50;
}
.pgca-dropdown.show { display: block; }

/* ─── 빈 상태 ─── */
.matching-empty {
  text-align: center; padding: 80px 24px;
  background: white; border-radius: 20px;
  border: 1px solid rgba(26,20,16,.06);
}

/* ─── 페이지네이션 ─── */
.pagination {
  display: flex; justify-content: center; gap: 6px; margin-top: 32px;
}
.pg-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1.5px solid var(--ink-10); background: white;
  font-size: 14px; font-weight: 500; color: var(--ink-60);
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.pg-btn:hover { background: var(--ink-10); }
.pg-btn.active {
  background: var(--ink); color: white;
  border-color: var(--ink); font-weight: 700;
}

/* ─── FORM LABEL (모달 내) ─── */
.form-label {
  font-size: 14px; font-weight: 600; color: var(--ink-60);
  display: block; margin-bottom: 8px;
}

/* ─── MOBILE FILTER TOGGLE ─── */
.mobile-filter-toggle {
  display: none; padding: 9px 18px; border-radius: var(--r-full);
  border: 1.5px solid var(--ink-10); font-size: 14px; font-weight: 600;
  color: var(--ink); background: white; cursor: pointer;
  transition: all .2s var(--ease);
}
.mobile-filter-toggle:hover { background: var(--ink-10); }

/* ──────────────────────────────────
   RESPONSIVE — MATCHING
────────────────────────────────── */

/* ── 중간 데스크톱 ── */
@media (max-width: 1100px) {
  .matching-layout { grid-template-columns: 200px 1fr; gap: 20px; }
  .planner-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .featured-card { flex: 0 0 200px; }
  .featured-nav { display: none; }
}

/* ── 태블릿 ── */
@media (max-width: 900px) {
  .hero-search { padding: 32px 20px; padding-top: calc(var(--nav-h) + 32px); }
  .hero-title { font-size: 24px; }
  .matching-layout { grid-template-columns: 1fr; padding: 20px; }
  .mobile-filter-toggle { display: inline-flex; }

  .filter-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: min(300px, 80vw); z-index: 700;
    transform: translateX(-100%);
    transition: transform .3s var(--ease);
    box-shadow: none; border-radius: 0;
    padding-top: calc(var(--nav-h) + 20px);
    height: 100vh; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .filter-sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .planner-grid { grid-template-columns: repeat(2, 1fr); }
  .matching-toolbar { gap: 10px; }
  .sort-select { font-size: 12px; padding: 8px 12px; }
}

/* ── 모바일 ── */
@media (max-width: 640px) {
  .hero-search {
    padding: 24px 16px;
    padding-top: calc(var(--nav-h) + 24px);
    overflow: hidden;
  }
  .hero-inner { padding: 0; }
  .hero-title { font-size: 22px; word-break: keep-all; }
  .hero-sub { font-size: 13px; word-break: keep-all; padding: 0 4px; }

  .hero-search-wrap { max-width: 100%; }
  .hero-search-input {
    padding: 12px 90px 12px 40px;
    font-size: 13px;
    border-radius: 12px;
  }
  .hero-search-icon { left: 14px; }
  .hero-search-icon svg { width: 16px; height: 16px; }
  .hero-search-btn {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 10px;
    right: 5px;
  }

  .hero-quick-tags {
    gap: 6px;
    margin-top: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-quick-tags::-webkit-scrollbar { display: none; }
  .hero-qtag {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .matching-layout {
    padding: 16px;
    overflow-x: hidden;
  }
  .matching-main { overflow-x: hidden; min-width: 0; }
  .planner-grid { grid-template-columns: 1fr; }

  .featured-section {
    padding: 18px 14px 14px;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
  }
  .featured-title { font-size: 14px; }
  .featured-sub { font-size: 12px; }
  .featured-scroll {
    margin: 0 -14px;
    padding: 0 14px 8px;
  }
  .featured-card {
    flex: 0 0 170px;
    padding: 12px;
    border-radius: 12px;
  }
  .fc-name { font-size: 14px; }
  .fc-meta { font-size: 11px; }
  .fc-tag { font-size: 10px; padding: 2px 7px; }
  .fc-rating { font-size: 12px; }
  .fc-price { font-size: 12px; }
  .fc-avatar { width: 38px; height: 38px; border-radius: 10px; }
  .featured-nav { display: none; }

  .matching-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .match-count { font-size: 13px; flex: 1; }
  .mobile-filter-toggle { font-size: 13px; padding: 8px 14px; }
  .sort-select { width: auto; flex: 1; font-size: 12px; padding: 8px 12px; }
  .filter-sidebar { width: min(320px, 90vw); }

  .pgrid-card { border-radius: 14px; }
  .pcard-header { padding: 14px; }
  .pcard-body { padding: 10px 14px 14px; }
  .pcard-name { font-size: 15px; }
  .pcard-spec { font-size: 11px; }
  .pcard-avatar { width: 48px; height: 48px; border-radius: 12px; }
  .pcard-avatar-default { width: 48px; height: 48px; border-radius: 12px; }
  .pcard-tags { gap: 4px; margin-bottom: 8px; }
  .pcard-tag { font-size: 11px; padding: 3px 8px; }
  .pcard-footer { margin-bottom: 8px; }
  .pcard-price { font-size: 14px; }
  .pcard-rating { font-size: 12px; }
  .pcard-actions { gap: 6px; }
  .btn-consult { padding: 10px; font-size: 13px; border-radius: 10px; }
  .btn-wish { width: 36px; height: 36px; border-radius: 10px; }
  .btn-more { width: 36px; height: 36px; border-radius: 10px; }

  .matching-empty { padding: 40px 20px; }
  .pagination { gap: 4px; margin-top: 24px; }
  .pg-btn { width: 36px; height: 36px; font-size: 13px; border-radius: 10px; }
}

/* ── 초소형 모바일 ── */
@media (max-width: 360px) {
  .hero-search { padding: 20px 12px; padding-top: calc(var(--nav-h) + 20px); }
  .hero-title { font-size: 20px; }
  .hero-sub { font-size: 12px; }
  .hero-search-input { padding: 11px 80px 11px 36px; font-size: 12px; }
  .hero-search-btn { padding: 7px 12px; font-size: 11px; }

  .matching-layout { padding: 12px; }
  .planner-grid { grid-template-columns: 1fr; }
  .featured-card { flex: 0 0 155px; padding: 10px; }
  .fg-chip { padding: 5px 10px; font-size: 11px; }

  .pcard-header { padding: 12px; }
  .pcard-body { padding: 8px 12px 12px; }
  .pcard-avatar { width: 44px; height: 44px; }
  .pcard-avatar-default { width: 44px; height: 44px; }
}
