.hero-stats--store { grid-template-columns: 1fr 1.4fr; align-items: center; }
.hero-stats--store .btn { width: calc(100% - 24px); border-color: var(--c-gold-bright); color: var(--c-gold-bright); background: transparent; }

.stores { display: grid; gap: var(--s-4); }
.store-card { background: #fff; border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.store-card.is-done { opacity: .72; }
.store-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-alt); position: relative; }
.store-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.store-card:hover .store-img img { transform: scale(1.03); }
.store-img .badge { position: absolute; left: 12px; top: 12px; }
.store-body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.store-name { font-family: var(--f-serif); font-size: 19px; font-weight: 700; margin: 0; }
.store-note { margin: 0; color: var(--c-text-muted); font-size: 14px; }
.store-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.store-facts dt { color: var(--c-text-muted); }
.store-facts dd { margin: 0; font-weight: 600; }
.store-price { font-size: 18px; font-weight: 800; color: var(--c-gold); font-variant-numeric: tabular-nums; }
.store-body .btn { margin-top: auto; }

@media (min-width: 768px) { .stores { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stores { grid-template-columns: repeat(3, 1fr); } }

/* ── 건물별 상가 안내 (store-info.js) ─────────────────── */
.bld-tabs { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: 4px; margin: var(--s-4) 0 var(--s-5); scrollbar-width: none; }
.bld-tabs::-webkit-scrollbar { display: none; }
.bld-tab { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 10px 18px; cursor: pointer;
  border: 1.5px solid var(--c-border); border-radius: 8px; background: #fff; color: var(--c-text); font: inherit; text-align: left; transition: all var(--dur-fast) var(--ease-out); }
.bld-tab-name { font-family: var(--f-serif); font-size: 17px; font-weight: 700; }
.bld-tab-status { font-size: 12px; font-weight: 700; color: var(--c-gold); }
.bld-tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 8px 20px rgba(27,36,51,.25); }
.bld-tab[aria-selected="true"] .bld-tab-status { color: var(--c-gold-bright); }
.bld-tab:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.bld-hero { display: grid; gap: var(--s-4); background: #fff; border: 1px solid var(--c-border); border-radius: 10px; overflow: hidden; }
.bld-cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.bld-cover img { width: 100%; height: 100%; object-fit: cover; }
.bld-intro { padding: 0 var(--s-4) var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
.bld-name { margin: 4px 0 0; font-family: var(--f-serif); font-size: clamp(24px, 6.4vw, 32px); }
.bld-tagline { margin: 0; font-weight: 800; color: var(--c-gold); }
.bld-summary { margin: 0; color: var(--c-text-muted); font-size: 14.5px; line-height: 1.7; }
.bld-facts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin: var(--s-2) 0 var(--s-3); }
.bld-facts div { padding: 10px 12px; background: var(--c-gold-soft); border-radius: 6px; }
.bld-facts dt { font-size: 12px; color: var(--c-text-muted); }
.bld-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
@media (min-width: 900px) {
  .bld-hero { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .bld-intro { padding: var(--s-6) var(--s-6) var(--s-6) 0; }
  .bld-cover { aspect-ratio: auto; height: 100%; }
}

.bld-sec { margin-top: var(--s-8); }
.bld-sec-title { margin: 6px 0 var(--s-3); font-family: var(--f-serif); font-size: clamp(22px, 5.6vw, 28px); }
.bld-sec-title em { font-style: normal; color: var(--c-gold); }
.bld-sec-lead { margin: 0 0 var(--s-4); color: var(--c-text-muted); }

.prem { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
@media (min-width: 700px) { .prem { grid-template-columns: 1fr 1fr; } }
.prem li { display: flex; gap: var(--s-3); padding: var(--s-4); background: #fff; border: 1px solid var(--c-border); border-radius: 8px; }
.prem-no { flex: none; font-family: var(--f-latin); font-size: 26px; font-weight: 600; line-height: 1; color: var(--c-gold-mid); }
.prem b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.prem p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--c-text-muted); }

.demand { list-style: none; margin: 0 0 var(--s-3); padding: var(--s-2) var(--s-4); background: var(--c-primary); border-radius: 8px; color: #E6EAF0; }
.demand li { display: grid; grid-template-columns: 1fr auto; gap: 0 var(--s-3); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.demand li:last-child { border-bottom: 0; }
.demand-name { font-weight: 600; }
.demand b { color: var(--c-gold-bright); font-variant-numeric: tabular-nums; text-align: right; }
.demand small { grid-column: 1 / -1; font-size: 12px; color: #9AA4B2; }
.anchors { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.anchors li { padding: 6px 12px; border-radius: 999px; background: var(--c-gold-soft); border: 1px solid var(--c-border); font-size: 13px; font-weight: 600; }
.bld-gallery { display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .bld-gallery { grid-template-columns: 1fr 1fr; } }
.bld-gallery figure { margin: 0; }
.bld-gallery img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--c-border); display: block; }
.bld-gallery figcaption { margin-top: 6px; font-size: 12.5px; color: var(--c-text-muted); }

.flr-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: var(--s-3); }
.flr-tab { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer;
  border: 1.5px solid var(--c-border); border-radius: 8px; background: #fff; font: inherit; color: var(--c-text); }
.flr-tab b { font-family: var(--f-sans); font-size: 18px; font-weight: 800; line-height: 1; }
.flr-tab span { font-size: 11.5px; font-weight: 700; color: var(--c-text-muted); }
.flr-tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-gold-bright); }
.flr-tab[aria-selected="true"] span { color: #E6EAF0; }
.flr-tab:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.flr-body { padding: var(--s-4); background: #fff; border: 1px solid var(--c-border); border-radius: 8px; animation: fade var(--dur-mid) var(--ease-out); }
.flr-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.flr-head .flr-no { flex: none; font-family: var(--f-sans); font-size: 30px; font-weight: 800; color: var(--c-gold); line-height: 1; }
.flr-head b { display: block; font-size: 16px; }
.flr-head div span { font-size: 13px; color: var(--c-text-muted); }
.flr-uses-title { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--c-text-muted); }
.flr-uses { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.flr-uses li { padding: 6px 12px; border-radius: 999px; background: var(--c-primary); color: #F3EDE2; font-size: 13.5px; font-weight: 600; }

.bld-ov { margin-top: 0; }
.bld-ov dd { text-align: right; }
.bld-cta { margin-top: var(--s-7); padding: var(--s-5) var(--s-4); border-radius: 10px; text-align: center; background: linear-gradient(160deg, #1B2433, #26324A); color: #E6EAF0; }
.bld-cta p { margin: 0 0 var(--s-3); }
.bld-cta b { color: var(--c-gold-bright); }
.bld-note { margin: var(--s-3) 0 0; font-size: 12px; color: var(--c-text-muted); }

/* 호실별 분양·임대 표 */
.units { margin-top: var(--s-4); overflow-x: auto; }
.units table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.units caption { text-align: left; margin-bottom: var(--s-2); font-weight: 800; font-size: 15px; }
.units caption small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--c-text-muted); }
.units thead th { padding: 8px 6px; background: var(--c-primary); color: #F3EDE2; font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; }
.units thead th:first-child { text-align: left; border-radius: 6px 0 0 6px; }
.units thead th:last-child { border-radius: 0 6px 6px 0; }
.units tbody th, .units td { padding: 9px 6px; border-bottom: 1px solid var(--c-border); text-align: right; vertical-align: top; }
.units tbody th { text-align: left; font-weight: 800; white-space: nowrap; }
.units td b { color: var(--c-gold); font-weight: 800; white-space: nowrap; }
.units td small { display: block; font-size: 12px; color: var(--c-text-muted); white-space: nowrap; }
.units td { white-space: nowrap; }
.unit-note { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; color: #8A2E1F; }
.unit-done { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--c-bg-alt); color: var(--c-text-muted); font-size: 12px; font-weight: 700; }
.units tr.is-sold th, .units tr.is-sold td { color: var(--c-text-muted); }
@media (max-width: 420px) {
  .flr-body { padding: var(--s-3); }
  .units table { font-size: 12.5px; }
  .units thead th { padding: 7px 4px; font-size: 11px; }
  .units tbody th, .units td { padding: 8px 4px; }
  .units td small { font-size: 11px; }
}

/* 평면도: 원본 크기로 선명하게, 좁은 화면에서는 좌우로 밀어서 보기 + 호실 칸마다 가격표 */
.plan-legend { margin: 0 0 6px; font-size: 12.5px; color: var(--c-text-muted); }
.plan-legend b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: var(--c-primary); color: var(--c-gold-bright); font-size: 11px; }
.plan-scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--c-border); border-radius: 6px; background: #fff; -webkit-overflow-scrolling: touch; }
.plan-scroll:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.plan-canvas { position: relative; margin: 0 auto; }
.plan-canvas img { display: block; width: 100%; height: auto; }
.ptag {
  position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center;
  padding: 1px 5px; border-radius: 5px; white-space: nowrap; pointer-events: none;
  background: rgba(27,36,51,.92); color: #E6EAF0; font-size: 10px; line-height: 1.25; font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(27,36,51,.25);
}
.ptag b { color: var(--c-gold-bright); font-weight: 800; }
.ptag .done { font-style: normal; color: #9AA4B2; }
.ptag.is-sold { background: rgba(95,107,122,.85); }
.plan-hint { margin: 6px 0 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--c-gold); }
