/* ── areas.html styles ── */

.areas-hero {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
}
.areas-hero .areas-hero-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.areas-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.areas-hero > .wrap > p {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* 검색 */
.areas-search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto 28px;
}
.areas-search {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.areas-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 100;
  display: none;
}
.areas-suggest.show { display: block; }
.areas-suggest li {
  padding: 10px 18px;
  color: #111827;
  cursor: pointer;
  font-size: .95rem;
}
.areas-suggest li:hover { background: #eff4ff; }

/* 제품 탭 */
.areas-prod-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.areas-ptab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.4);
  background: transparent;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.areas-ptab:hover { border-color: #fff; color: #fff; }
.areas-ptab.on {
  background: #fff;
  border-color: #fff;
  color: #052e16;
}

/* ── 3단계 선택기 ── */
.areas-picker { padding: 60px 0; }

.step-block {
  margin-bottom: 48px;
}
.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 시·도 */
.sido-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sido-pill {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--line);
  background: #fff;
  color: #374151;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
}
.sido-pill:hover { border-color: var(--blue); color: var(--blue); }
.sido-pill.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* 시·군·구 */
.city-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.city-pill {
  padding: 7px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: #374151;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
}
.city-pill:hover { border-color: var(--blue); color: var(--blue); }
.city-pill.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
}

/* 동·읍·면 */
.dong-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dong-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--bg-gray);
  border: 1.5px solid var(--line);
  color: #374151;
  font-size: .85rem;
  text-decoration: none;
  transition: all .15s;
}
.dong-tag:hover {
  background: #eff4ff;
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 600;
}
.dong-empty {
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  color: #6b7280;
  font-size: .95rem;
  line-height: 1.8;
}
.dong-empty a { color: var(--blue); }

/* ── 전체 지역 목록 (SEO) ── */
.areas-all { padding: 80px 0; }

.all-sido-block {
  margin-bottom: 56px;
}
.all-sido-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.all-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.all-city-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.all-city-title {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.all-city-title:hover { color: var(--blue); }
.all-dong-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.all-dong-wrap a {
  font-size: .78rem;
  color: #6b7280;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all .15s;
}
.all-dong-wrap a:hover {
  background: #eff4ff;
  color: var(--blue);
}

/* ── 반응형 ── */
@media (max-width: 600px) {
  .areas-hero { padding: 90px 0 48px; }
  .step-label { font-size: .95rem; }
  .all-city-grid { grid-template-columns: 1fr; }
}
