.shop-container {
  max-width: 860px;
}

/* 상세는 사실(왼쪽)과 신청 카드(오른쪽) 두 열이라 넓게 쓴다. */
body[data-shop-view="offer"] .shop-container {
  max-width: var(--land-max-width, 1280px);
}

/* 머리: 제목 왼쪽, 상가 메뉴 오른쪽. 현재 위치는 중립 채움(Horizon 2026-11-18). */
.shop-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
}

.shop-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-lg);
  background: var(--muted);
}

.shop-tabs a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 34px;
  padding: 0 var(--space-3);
  border-radius: 9px;
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--land-motion-state, 150ms) var(--land-easing, ease-out), color var(--land-motion-state, 150ms) var(--land-easing, ease-out);
}

.shop-tabs a:hover { color: var(--foreground); }

.shop-tabs a[aria-current="page"] {
  background: var(--card);
  color: var(--foreground);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.shop-tabs a:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: -2px;
}

:root:is([data-theme="hc-light"], [data-theme="hc-dark"]) .shop-tabs a[aria-current="page"] {
  background: var(--foreground);
  color: var(--background);
  box-shadow: none;
}

/* 상태 배지: 문구가 상태를 말하고 색은 보조한다. */
.shop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: var(--fs-2xs);
  font-weight: 600;
  white-space: nowrap;
}

.shop-badge--info { background: var(--land-info-surface); color: var(--land-primary-text); }
.shop-badge--ok { background: var(--land-success-surface); color: var(--land-success-text); }
.shop-badge--warn { background: var(--land-warning-surface); color: var(--land-warning-text); }
.shop-badge--accent { background: var(--land-accent-surface); color: var(--land-accent-text); }

.shop-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.shop-mono {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-variant-numeric: tabular-nums;
}

.shop-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-4);
}

.shop-context p { margin: 0; }

.shop-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-sm);
}

.shop-back::before {
  content: '‹';
  font-size: 1.2em;
  line-height: 1;
}

/* 상세 두 열 */
.shop-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
  gap: var(--space-8);
}

.shop-detail-main { min-width: 0; }

.shop-detail-aside {
  position: sticky;
  top: calc(var(--block-site-header-height, 56px) + var(--space-4));
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.shop-detail-aside:empty { display: none; }
.shop-detail-aside > p { margin: 0; }

.shop-detail-aside .shop-form,
.shop-detail-aside section + section {
  margin: 0;
  padding: 0;
  border: 0;
}

.shop-detail-aside .shop-form + .shop-mine,
.shop-detail-aside .shop-mine + .shop-form {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.shop-detail-aside h2 { font-size: var(--fs-h4); }

.shop-block-button {
  width: 100%;
  min-height: var(--control-h-m);
}

.shop-detail-main > section,
.shop-detail-main .shop-steps-section {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.shop-steps {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-steps li {
  display: grid;
  gap: var(--space-2);
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
}

.shop-steps li::before {
  content: '';
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.shop-steps li.is-done::before { background: var(--success); }
.shop-steps li.is-current { color: var(--foreground); font-weight: 600; }
.shop-steps li.is-current::before { background: var(--foreground); }

.shop-actions,
.shop-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-xs);
}

.shop-search {
  align-items: end;
}

.shop-search .hz-field {
  flex: 1 1 15rem;
}

.shop-fields,
[data-shop-unit-fields] {
  display: grid;
  gap: var(--gap-md);
  min-width: 0;
}

.shop-fields {
  margin: 0;
  padding: 0;
  border: 0;
}

.shop-container [hidden] {
  display: none;
}

.shop-container h1,
.shop-container h2,
.shop-container h3,
.shop-container p {
  overflow-wrap: anywhere;
}

.shop-container h1 {
  margin-top: var(--space-2);
}

.shop-container h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.shop-container section + section,
.shop-form {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-strong);
}

.shop-container :is(input, textarea, select) {
  width: 100%;
  min-width: 0;
}

.shop-container textarea {
  min-height: 6rem;
  resize: vertical;
}

.shop-container .shop-check {
  display: flex;
  align-items: start;
  gap: var(--gap-xs);
}

.shop-container .shop-check input {
  width: auto;
}

.shop-note {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.shop-error {
  font-weight: 700;
}

.shop-description {
  white-space: pre-wrap;
}

.shop-offer-details {
  margin: 0;
  border-top: 1px solid var(--border);
}

.shop-offer-details > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.shop-offer-details dt {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.shop-offer-details dd {
  display: grid;
  gap: 2px;
  margin: 0;
  overflow-wrap: anywhere;
}

.shop-dd-note { font-size: var(--fs-sm); }

.shop-draft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  align-items: start;
  gap: var(--gap-md);
  margin-block: var(--space-4);
}

.shop-draft {
  min-width: 0;
  margin: 0;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.shop-draft-remove {
  display: flex;
  margin: 0 0 var(--space-2) auto;
}

.shop-draft-settings {
  margin-top: var(--space-3);
}

.shop-draft-settings summary {
  cursor: pointer;
  min-height: var(--control-h-s);
  overflow-wrap: anywhere;
}

.shop-draft-settings .shop-fields {
  margin-top: var(--space-2);
}

.shop-draft-grid .shop-add-card {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 8rem;
  height: auto;
  gap: var(--gap-2xs);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--foreground);
}

.shop-add-card:not(:disabled):hover {
  background: var(--muted);
}

.shop-add-card span:first-child {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.shop-draft-actions {
  justify-content: end;
}

.shop-zone-filter {
  max-width: 18rem;
  margin-bottom: var(--space-3);
}

.shop-rows {
  display: grid;
  padding: 0;
  margin: var(--space-3) 0;
  list-style: none;
}

.shop-rows {
  border-top: 1px solid var(--border);
}

.shop-rows > li {
  min-width: 0;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}

.shop-rows .shop-meta { margin-block: var(--space-1) 0; }

.shop-rows :is(h2, h3, h4) {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
}

.shop-rows p {
  margin-block: var(--space-1);
}

.shop-rows .shop-actions {
  margin-top: var(--space-2);
}

@media (max-width: 1024px) {
  .shop-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .shop-detail-aside { position: static; }
}

@media (max-width: 640px) {
  .shop-tabs { width: 100%; }
  .shop-tabs a { flex: 1 1 auto; justify-content: center; padding-inline: var(--space-2); }
  .shop-offer-details > div { grid-template-columns: 6rem minmax(0, 1fr); gap: var(--space-3); }
  .shop-steps { grid-auto-flow: row; }
  .shop-detail-aside { padding: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  .shop-tabs a { transition: none; }
}

.shop-offer-details + .shop-note { margin-top: var(--space-3); }

#shop-content > .shop-offer-details ~ section,
#shop-content > .shop-offer-details ~ .shop-form {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

/* 상세 머리: 위치 경로, 상태 배지, 제목, 도시·대상 업종 */
.shop-hero-text {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.shop-hero-text h1 { margin: 0; }

.shop-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.shop-crumbs a { color: var(--muted-foreground); }
.shop-crumbs a:hover { color: var(--foreground); }
.shop-crumbs [aria-current="page"] { color: var(--foreground); }
.shop-crumbs .hz-icon { font-size: 16px; }

.shop-hero-text .shop-badges { margin: 0; }

.shop-subtitle {
  margin: 0;
  color: var(--muted-foreground);
}

.shop-hero-text [hidden] { display: none; }

/* 호실 위치 카드 */
.shop-location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.shop-location-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--land-info-surface);
  color: var(--land-primary-text);
}

body.land-page main .shop-location-icon { font-size: 22px; }

.shop-location-text p { margin: 0; }

.shop-location-coords {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}

.shop-location .btn { gap: var(--space-1); text-decoration: none; }

.shop-detail-aside > .shop-note { font-size: var(--fs-xs); }

/* 접힌 탐색: 하단 고정 신청 막대 */
.shop-mobile-bar { display: none; }

@media (max-width: 1024px) {
  .shop-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-header, 40);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--card);
  }

  .shop-mobile-bar p { margin: 0; }
  .shop-mobile-bar .shop-note { font-size: var(--fs-2xs); }
  .shop-mobile-bar .btn { min-height: var(--control-h-l); padding-inline: var(--space-6); }
  body.has-shop-mobile-bar main { padding-bottom: 96px; }

  .shop-detail-aside { scroll-margin-top: calc(var(--block-site-header-height, 56px) + var(--space-3)); }
}

@media (max-width: 640px) {
  .shop-location {
    grid-template-columns: auto minmax(0, 1fr);
    padding: var(--space-4);
  }

  .shop-location .shop-actions { grid-column: 1 / -1; }
  .shop-location-coords { font-size: var(--fs-h4); }
}

/* 호실 위치 평면: 호실이 속한 필지 경계와 호실 칸 */
.shop-location.has-plan { grid-template-columns: auto minmax(0, 1fr) auto; }
.shop-plan {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--space-2);
  margin: 0;
}
.shop-plan svg {
  display: block;
  width: 100%;
  height: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background-subtle);
}
.shop-plan-lot {
  fill: color-mix(in srgb, var(--primary) 12%, var(--background));
  stroke: color-mix(in srgb, var(--primary) 62%, var(--background));
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}
.shop-plan-unit {
  fill: var(--primary);
  stroke: var(--foreground);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}
.shop-plan figcaption { color: var(--muted-foreground); font-size: var(--fs-xs); }
.shop-location [data-land-move], .shop-location .btn { white-space: nowrap; }

/* 2026-11-25 상가 공급 관리(시안 ShopManage·ShopReview·ShopManageMobile) */
body[data-shop-view="manage"] .shop-container { max-width: var(--land-max-width, 1280px); }
.shop-hero-side { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.shop-hero-actions { display: flex; gap: var(--space-2); }
.shop-hero-actions[hidden] { display: none; }
.shop-hero-actions .btn { gap: var(--space-1); text-decoration: none; }

.shop-manage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: start;
  gap: var(--space-8);
}
.shop-manage.shop-review { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); }
.shop-manage-main { min-width: 0; }
.shop-manage-aside {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.shop-manage-aside .shop-form,
#shop-content .shop-manage-aside > .shop-form { margin: 0; padding: 0; border: 0; }
.shop-manage-aside h2 { margin: 0; font-size: var(--fs-h4); }

.shop-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
}
.shop-section-head h2 { margin: 0; }
.shop-count { color: var(--muted-foreground); font-family: var(--font-mono, ui-monospace, monospace); font-size: var(--fs-sm); font-weight: 500; }
.shop-section-head .shop-zone-filter { display: flex; flex-direction: row; align-items: center; gap: var(--space-2); max-width: none; margin: 0; }
.shop-section-head .shop-zone-filter .hz-field-label { color: var(--muted-foreground); font-size: var(--fs-sm); font-weight: 400; }
.shop-section-head .shop-zone-filter select { width: 11rem; min-height: var(--control-h-s); height: var(--control-h-s); }

/* 공급 내역 표 */
.shop-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.shop-table-head,
.shop-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}
.shop-table-head {
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--border);
  background: var(--background-subtle);
  color: var(--muted-foreground);
  font-size: var(--fs-2xs);
  font-weight: 600;
}
.shop-table .shop-rows { margin: 0; border-top: 0; }
.shop-table .shop-rows > li.shop-table-row { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.shop-table .shop-rows > li.shop-table-row:last-child { border-bottom: 0; }
.shop-table-row :is(h3, h4) { margin: 0; font-size: var(--fs-sm); font-weight: 600; }
.shop-table-row :is(h3, h4) a { color: var(--foreground); }
.shop-muted { color: var(--muted-foreground); }
.shop-table-group {
  margin: 0;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: var(--background-subtle);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.shop-container .shop-table h3.shop-table-group { font-size: var(--fs-xs); line-height: 1.5; }
.shop-table-empty { margin: 0; padding: var(--space-6) var(--space-4); color: var(--muted-foreground); text-align: center; }
.shop-manage-main > .shop-note { margin-top: var(--space-3); }

/* 새 상가 카드 */
.shop-manage-aside .shop-draft-grid { grid-template-columns: minmax(0, 1fr); margin-block: 0; counter-reset: shop-draft; }
.shop-draft { counter-increment: shop-draft; border-color: var(--border); }
.shop-draft-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.shop-draft-title::before { content: '새 상가 ' counter(shop-draft); font-size: var(--fs-sm); }
.shop-draft-head .shop-draft-remove { margin: 0; gap: var(--space-1); }
.shop-add-card .hz-icon { font-size: 20px; }
.shop-manage-aside .shop-draft-actions { justify-content: stretch; }
.shop-manage-aside .shop-draft-actions .btn { width: 100%; min-height: var(--control-h-l); }

/* 신청 대기열 */
.shop-queue .shop-rows { margin: 0; }
.shop-queue-row { display: grid; gap: var(--space-2); }
.shop-queue-row h3 { margin: 0; font-size: var(--fs-body); }
.shop-queue-row .shop-meta { margin: 0; font-size: var(--fs-xs); }
.shop-queue-row .shop-actions { margin-top: var(--space-1); }
.shop-sealed {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--land-info-surface);
}
.shop-sealed .hz-icon { color: var(--land-primary-text); }
.shop-sealed p { margin: 0; font-size: var(--fs-sm); }
.shop-queue-actions { padding-top: var(--space-3); border-top: 1px solid var(--border); }

/* 호실 정보 수정: 카드 안 세 칸 */
.shop-review #shop-edit-form {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.shop-review #shop-edit-form h2 { font-size: var(--fs-h4); }
.shop-review #shop-edit-form .shop-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.shop-review #shop-edit-form .shop-fields > p,
.shop-review #shop-edit-form .shop-fields > .shop-edit-actions { grid-column: 1 / -1; }
.shop-review #shop-edit-form [data-shop-unit-fields] { display: contents; }
.shop-edit-actions { justify-content: flex-end; }

/* 건물 고르기: 카드 격자 */
.shop-building-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: var(--space-3); border-top: 0; }
.shop-container .shop-building-grid > li.shop-building-card {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.shop-building-card h3 { margin: 0; font-size: var(--fs-h4); }
.shop-building-card p { margin: 0; }
.shop-building-icon { color: var(--muted-foreground); }

@media (max-width: 1024px) {
  .shop-manage, .shop-manage.shop-review { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .shop-manage:not(.shop-review) .shop-manage-aside { order: -1; }
}
@media (max-width: 760px) {
  .shop-table-head { display: none; }
  .shop-table .shop-rows > li.shop-table-row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-2); }
  .shop-table-row > :is(h3, h4) { grid-column: 1; grid-row: 1; }
  .shop-table-row > .shop-badge { grid-column: 2; grid-row: 1; }
  .shop-table-row > span:not(.shop-badge) { grid-column: 1 / -1; color: var(--muted-foreground); font-size: var(--fs-xs); }
  .shop-review #shop-edit-form .shop-fields { grid-template-columns: minmax(0, 1fr); }
  .shop-manage-aside { padding: var(--space-4); }
}

/* 2026-11-25 세밀 정렬: 시안(land.css)과 같은 필드·탭·간격 */
.shop-container .hz-field { display: grid; gap: 6px; min-width: 0; }
.shop-container .hz-field-label { color: var(--foreground); font-size: var(--fs-sm); font-weight: 500; }
.shop-container .hz-field-message { color: var(--muted-foreground); font-size: var(--fs-xs); }
.shop-container :is(.input, .select) {
  min-height: var(--control-h-m);
  border-color: var(--input);
  background-color: var(--muted);
  box-shadow: none;
}
.shop-container :is(.input, .select):focus { background-color: var(--background); }
.shop-container textarea.input { min-height: 6rem; padding-block: var(--space-2); }
/* 펼침 표시: 글자색을 따르는 두 줄 꺾쇠(테마마다 따로 그리지 않음) */
.shop-container .select {
  padding-right: var(--space-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right var(--space-3) center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
}
:root:is([data-theme="dark"], [data-theme="hc-dark"]) .shop-container .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5bac3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.shop-container .shop-section-head .shop-zone-filter { display: flex; align-items: center; gap: var(--space-2); }
.shop-container .shop-section-head .shop-zone-filter .select { width: 11rem; min-height: var(--control-h-s); height: var(--control-h-s); font-size: var(--fs-sm); }
.shop-container .shop-check {
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--surface);
  font-size: var(--fs-sm);
  cursor: pointer;
}
.shop-container .shop-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); }
.shop-container .shop-block-button { min-height: var(--control-h-l); font-size: var(--fs-body); font-weight: 600; }
.shop-detail-aside .shop-fields { gap: var(--space-4); }
.shop-coords { color: var(--land-primary-text); }

/* 머리: 위치 경로가 있으면 헤더 바로 아래에서 시작 */
.land-hero:has(.shop-crumbs:not([hidden])) .land-container { padding-top: var(--space-6); }
.shop-hero-text .shop-crumbs:has(+ .shop-badges:not([hidden])) { margin-bottom: var(--space-2); }
.shop-location-icon .hz-icon { font-size: 20px; }

/* 새 상가 등록 카드: 제목·설명·카드 사이 간격 */
.shop-manage-aside #shop-publish-form { display: grid; gap: var(--space-4); }
.shop-manage-aside #shop-publish-form > h2 + .shop-note { margin-top: calc(var(--space-1) - var(--space-4)); font-size: var(--fs-xs); }
.shop-manage-aside .shop-draft-grid .shop-add-card {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  gap: var(--space-2);
}
.shop-draft-settings summary { display: list-item; font-size: var(--fs-sm); font-weight: 600; }
.shop-draft-settings summary .shop-note { margin-left: var(--space-1); }
.shop-draft-settings summary .shop-note { font-weight: 400; }
.shop-draft .shop-fields, .shop-draft [data-shop-unit-fields] { gap: var(--space-3); }

/* 대기열: 머리 간격, 마지막 행과 동작 줄 사이 선은 하나 */
.shop-queue .shop-section-head { margin: 0; }
.shop-queue .shop-section-head h2 { font-size: var(--fs-h4); }
.shop-queue .shop-rows > li:last-child { border-bottom: 0; }
.shop-queue .shop-rows:empty { display: none; }
.shop-queue .shop-rows > li { padding-block: var(--space-3); }
.shop-queue-actions { justify-content: flex-start; }

@media (max-width: 640px) {
  .shop-tabs { display: flex; }
  .shop-tabs a { flex: 1 1 0; }
  .shop-location-icon { display: none; }
  .shop-location, .shop-location.has-plan { grid-template-columns: minmax(0, 1fr); }
  .shop-steps { grid-auto-flow: column; }
}
#shop-status:empty { display: none; }

@media (max-width: 640px) {
  .shop-hero-side { width: 100%; }
  .shop-hero-side .shop-tabs { flex: 1 1 100%; }
  .shop-container .shop-section-head .shop-zone-filter .hz-field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .shop-container .shop-section-head .shop-zone-filter .select { width: 9.5rem; }
}
@media (max-width: 760px) {
  /* 좁은 표: 이름과 상태가 한 줄, 호실·업종·방식은 그 아래 한 줄로 이어 쓴다 */
  .shop-table .shop-rows > li.shop-table-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) 0; }
  .shop-table-row > :is(h3, h4) { order: 0; flex: 1 1 0; min-width: 0; margin-right: var(--space-2); }
  .shop-table-row > .shop-badge { order: 1; }
  .shop-table-row::after { content: ''; order: 2; flex-basis: 100%; }
  .shop-table-row > span:not(.shop-badge) { order: 3; }
  .shop-table-row > span:not(.shop-badge) + span:not(.shop-badge)::before { content: '·'; margin-inline: var(--space-1); }
}
