:root {
  --primary: #2563eb;
  --secondary: #3b82f6;
  --background: #f8fafc;
  --text: #111827;
  --border: #e5e7eb;
  --white: #ffffff;
  --muted: #64748b;
  --soft-blue: #eff6ff;
  --soft-red: #fff1f2;
  --red: #e11d48;
  --green: #059669;
  --amber: #d97706;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 28px 70px rgba(37, 99, 235, 0.18);
  --radius: 8px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover {
  color: var(--primary);
  background: var(--soft-blue);
  transform: translateY(-1px);
}

.nav-menu .nav-register {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.nav-menu .nav-register:hover {
  color: #fff;
  background: #1d4ed8;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.button-primary:hover {
  background: #1d4ed8;
}

.button-light {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.88) 48%, rgba(248, 250, 252, 0.58) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: #334155;
  font-size: 1.14rem;
  font-weight: 500;
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  max-width: 840px;
  margin-top: 36px;
  padding: 14px;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.search-panel label {
  display: grid;
  gap: 6px;
}

.search-panel span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.search-panel select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  outline: none;
}

.search-panel select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.search-result {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: riseIn 0.7s ease both;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-body {
  padding: 22px;
}

.hero-card h2 {
  margin: 12px 0 18px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.listing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.badge.premium {
  color: var(--primary);
  background: var(--soft-blue);
}

.badge.urgent {
  color: var(--red);
  background: var(--soft-red);
}

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

.mini-specs div {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--background);
}

.mini-specs dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.mini-specs dd {
  margin: 3px 0 0;
  font-size: 0.92rem;
  font-weight: 900;
}

.stats-section {
  padding: 28px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stats-grid article {
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stats-grid strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.marketplace-section {
  background: #fff;
}

.urgent-section {
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.2;
}

.section-head p:not(.eyebrow),
.section-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.text-button,
.sort-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  background: #fff;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.text-button:hover,
.sort-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  min-height: 132px;
  padding: 18px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-md);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--soft-blue);
  font-size: 1.1rem;
  font-weight: 900;
}

.category-card h3 {
  margin: 14px 0 2px;
  font-size: 1rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.business-card,
.latest-card,
.feature-grid article,
.insight-cards article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.business-card:hover,
.latest-card:hover,
.feature-grid article:hover,
.insight-cards article:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: var(--shadow-md);
}

.business-card {
  overflow: hidden;
  animation: riseIn 0.45s ease both;
}

.business-card-media {
  position: relative;
}

.business-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.business-card-media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  backdrop-filter: blur(12px);
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.card-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--background);
}

.business-card h3,
.latest-card h3 {
  margin: 12px 0 14px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.spec-grid div {
  padding: 10px;
  border-radius: var(--radius);
  background: var(--background);
}

.spec-grid dt,
.latest-detail dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.spec-grid dd,
.latest-detail dd {
  margin: 2px 0 0;
  font-size: 0.9rem;
  font-weight: 900;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.price-row strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.detail-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--text);
  font-size: 0.84rem;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.detail-button:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.latest-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  overflow: hidden;
}

.latest-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.latest-card-body {
  padding: 16px;
}

.latest-detail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.latest-detail div {
  min-width: 0;
}

.insights {
  background: #fff;
}

.insight-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.insight-cards {
  display: grid;
  gap: 14px;
}

.insight-cards article {
  padding: 22px;
}

.insight-cards strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.insight-cards span {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  padding: 24px;
}

.feature-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--soft-blue);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.cta-section {
  padding: 20px 0 90px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(59, 130, 246, 0.92)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1500&q=85") center / cover;
  box-shadow: var(--shadow-lg);
}

.cta-card .eyebrow,
.cta-card p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-card h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}

.cta-card p:not(.eyebrow) {
  max-width: 640px;
  margin: 12px 0 0;
}

.site-footer {
  padding: 58px 0 26px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}

.footer-brand {
  color: #fff;
}

.footer-about p {
  max-width: 360px;
  margin: 16px 0 0;
  color: #94a3b8;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.site-footer strong {
  color: #fff;
}

.site-footer a,
.site-footer span {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-layout,
  .insight-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 12px;
  }

  .hero {
    padding: 56px 0 48px;
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.88) 100%),
      url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1100&q=85") center / cover;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .search-panel,
  .stats-grid,
  .latest-grid,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .search-panel .button {
    width: 100%;
  }

  .stats-section {
    padding-top: 18px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head-row {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .card-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .latest-card {
    grid-template-columns: 1fr;
  }

  .latest-card img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .latest-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-card {
    align-items: stretch;
    flex-direction: column;
    padding: 30px 24px;
  }

  .cta-card .button {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 1rem;
  }

  .mini-specs,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .card-body,
  .latest-card-body,
  .feature-grid article {
    padding: 16px;
  }
}

.nav-menu a[aria-current="page"] {
  color: var(--primary);
  background: var(--soft-blue);
}

.badge.new {
  color: var(--green);
  background: #ecfdf5;
}

.listings-page {
  background: var(--background);
}

.listings-hero {
  padding: 72px 0 34px;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.92) 100%),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1600&q=85") center / cover;
}

.listings-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: end;
}

.listings-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
}

.listings-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: #334155;
  font-size: 1.08rem;
  font-weight: 600;
}

.listings-summary {
  padding: 24px;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.listings-summary strong {
  display: block;
  color: var(--primary);
  font-size: 2.5rem;
  line-height: 1;
}

.listings-summary span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.listing-search-section {
  position: relative;
  z-index: 2;
  margin-top: -10px;
}

.listing-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto auto auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.listing-filters label:not(.check-filter) {
  display: grid;
  gap: 6px;
}

.listing-filters label > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.listing-filters select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
}

.check-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  font-weight: 900;
  white-space: nowrap;
}

.check-filter input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.reset-button {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
  font-weight: 900;
}

.compact-head {
  margin-bottom: 22px;
}

.result-count {
  margin: 0;
  color: var(--primary);
  font-weight: 900;
}

.listing-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.listing-page-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  animation: riseIn 0.45s ease both;
}

.listing-page-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: var(--shadow-md);
}

.listing-page-media {
  position: relative;
}

.listing-page-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.listing-page-media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.listing-page-body {
  padding: 18px;
}

.listing-page-body h3 {
  margin: 12px 0 14px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.listing-page-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.listing-page-specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--background);
}

.listing-page-specs dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.listing-page-specs dd {
  margin: 0;
  font-weight: 900;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
}

.empty-state {
  margin: 24px 0 0;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .listing-filters {
    grid-template-columns: 1fr 1fr;
  }

  .listing-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .listings-hero {
    padding: 52px 0 28px;
  }

  .listings-hero-grid,
  .listing-filters,
  .listing-page-grid {
    grid-template-columns: 1fr;
  }

  .listings-summary {
    padding: 20px;
  }

  .listing-filters .button,
  .reset-button {
    width: 100%;
  }
}

.detail-page {
  background: var(--background);
}

.detail-shell {
  padding: 64px 0 90px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.9) 0%, rgba(248, 250, 252, 1) 360px),
    url("https://images.unsplash.com/photo-1604719312566-8912e9227c6a?auto=format&fit=crop&w=1600&q=85") center top / cover;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 28px;
  align-items: start;
}

.detail-media-panel,
.detail-info-panel,
.detail-empty {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.detail-media-panel {
  overflow: hidden;
}

.detail-main-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.detail-info-panel {
  padding: 30px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.category-badge {
  color: #334155;
  background: var(--background);
}

.detail-info-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.14;
}

.detail-region {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 900;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
}

.detail-specs div {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--background);
}

.detail-specs dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-specs dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 900;
}

.detail-description {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #334155;
  font-size: 1.02rem;
  font-weight: 600;
}

.detail-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.detail-contact span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.detail-contact a {
  color: var(--primary);
  font-size: 1.16rem;
  font-weight: 900;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.kakao-button {
  color: #111827;
  background: #fee500;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.12);
}

.kakao-button:hover {
  background: #f6da00;
}

.detail-empty {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 30px;
  text-align: center;
}

.detail-empty h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.detail-empty p:not(.eyebrow) {
  margin: 12px 0 24px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-info-panel {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .detail-shell {
    padding: 36px 0 64px;
  }

  .detail-main-image {
    aspect-ratio: 4 / 3;
  }

  .detail-info-panel {
    padding: 20px;
  }

  .detail-specs,
  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}
