:root {
  --bg: #f5f7f6;
  --panel: #ffffff;
  --text: #17202a;
  --muted: #667085;
  --line: #d7e0dc;
  --primary: #0f766e;
  --accent: #9a3412;
  --shadow: 0 18px 48px rgba(18, 38, 48, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

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

.merchant-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(215, 224, 220, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.merchant-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.merchant-brand span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.merchant-brand strong {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.merchant-header nav {
  display: flex;
  gap: 18px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.merchant-phone,
.merchant-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.merchant-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: calc(100vh - 72px);
  background: #0f2524;
}

.merchant-hero-media {
  min-height: 420px;
}

.merchant-hero-media img,
.merchant-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merchant-hero-content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(32px, 6vw, 76px);
  color: #fff;
}

.merchant-hero-content p,
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.merchant-hero-content h1,
.merchant-section h2,
.merchant-intro h2 {
  margin: 0;
  letter-spacing: 0;
}

.merchant-hero-content h1 {
  max-width: 680px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
}

.merchant-hero-content strong {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
}

.merchant-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.merchant-actions a + a {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
}

.merchant-intro,
.merchant-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 0;
}

.merchant-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
}

.merchant-intro > div,
.merchant-intro aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.merchant-intro p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.merchant-intro dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.merchant-intro dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.merchant-intro dd {
  margin: 4px 0 0;
  font-weight: 900;
  line-height: 1.5;
}

.merchant-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.merchant-section h2,
.merchant-intro h2 {
  font-size: clamp(26px, 4vw, 42px);
}

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

.merchant-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(18, 38, 48, 0.08);
}

.merchant-card > img,
.merchant-card > .merchant-visual {
  display: block;
  width: 100%;
  height: 210px;
}

.merchant-card div:last-child {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.merchant-card h3,
.merchant-card p {
  margin: 0;
}

.merchant-card h3 {
  font-size: 18px;
}

.merchant-card p {
  color: var(--muted);
  line-height: 1.7;
}

.merchant-card strong {
  color: var(--accent);
  font-size: 18px;
}

.merchant-visual {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.84), rgba(154, 52, 18, 0.7)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.12) 0 12px, transparent 12px 24px);
}

.merchant-visual.room {
  background: linear-gradient(135deg, #123c69, #0f766e);
}

.merchant-visual.dish {
  background: linear-gradient(135deg, #9a3412, #0f766e);
}

.merchant-visual.package {
  background: linear-gradient(135deg, #4f46e5, #0f766e);
}

.merchant-list-header {
  position: sticky;
}

.merchant-list-hero {
  display: grid;
  align-items: end;
  min-height: 360px;
  padding: 92px clamp(18px, 6vw, 72px) 48px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 37, 36, 0.9), rgba(15, 37, 36, 0.56)),
    url('/assets/home-hero.png') center / cover;
}

.merchant-list-hero div {
  max-width: 760px;
}

.merchant-list-hero h1,
.merchant-list-hero p {
  margin: 0;
}

.merchant-list-hero h1 {
  margin-top: 10px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1;
}

.merchant-list-hero p:last-child {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.merchant-list-section {
  padding-bottom: 72px;
}

.merchant-list-card .eyebrow {
  color: var(--primary);
}

.merchant-list-meta {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.merchant-list-meta div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
}

.merchant-list-meta dt,
.merchant-list-meta dd {
  margin: 0;
}

.merchant-list-meta dt {
  color: var(--text);
  font-weight: 900;
}

.merchant-list-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.merchant-list-empty {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .merchant-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 18px;
  }

  .merchant-header nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .merchant-hero,
  .merchant-intro,
  .merchant-card-grid {
    grid-template-columns: 1fr;
  }

  .merchant-hero {
    min-height: auto;
  }

  .merchant-hero-media {
    min-height: 320px;
  }
}
