/* 품목 목록 · 업체 상세 — style.css(변수·머리글·바닥글·카드) 위에 얹는다 */
.hd { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line); }
.gnb a[aria-current] { position: relative; }
.gnb a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--ink); }

.sub { min-height: 72vh; padding-bottom: 120px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding-top: 28px; font-size: 14px; color: var(--sub); line-height: 20px; }
.crumb svg { font-size: 11px; color: #a8a29c; }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumb [aria-current] { color: var(--ink); font-weight: 600; }

.lt-head { padding-top: 36px; }
.lt-head h1 { font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.lt-head p { margin-top: 10px; max-width: 760px; font-size: 16px; color: var(--sub); line-height: 1.55; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.chips a { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid #ddd9d4; background: #fff; font-size: 16px; color: #333; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.chips a:hover { border-color: #9a948e; }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.pd-sec .chips { margin-top: 0; padding-bottom: 0; border-bottom: 0; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gap); margin-top: 40px; }
.vc a { height: 100%; }
.vc .pc-img { transition: background-color .3s, box-shadow .3s; }
.vc-wide .pc-img { aspect-ratio: 3 / 2; padding: 0; }
.vc-wide .pc-img img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.vc-tall .pc-word, .vc-tall .pc-logo { aspect-ratio: 4 / 5; }
.vc .pc-word { background: #fff; box-shadow: inset 0 0 0 1px #e6e3df; padding: 16px; }
.vc .pc-word b { line-height: 1.3; }
.vc-wide .pc-logo { aspect-ratio: 3 / 2; }
.vc .pc-logo img { width: 58%; height: auto; aspect-ratio: auto; object-fit: contain; }
.vc .pc-name { font-size: 17px; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .25s; }
.vc .pc-floor { min-height: 0; }
.vc .pc-meta + .pc-floor, .vc .pc-name + .pc-floor { margin-top: 0; }
@media (hover: hover) {
  .vc a:hover .pc-img img { opacity: 1; }
  .vc-wide a:hover .pc-img:not(.pc-logo) img { transform: scale(1.045); }
  .vc-tall a:hover .pc-img { background: #ebe7e2; }
  .vc a:hover .pc-word { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
  .vc a:hover .pc-name { text-decoration-color: currentColor; }
}
.grid .mk-wide { min-height: 100%; }
.grid .mk-wide a { text-decoration: underline; text-underline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #cfcac4; }
@media (hover: hover) {
  .btn-dark:hover { background: #3d3530; }
  .btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
}
.visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 80px; padding: 36px 44px; border-radius: var(--r); background: var(--band); }
.visit b { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.visit p { margin-top: 6px; font-size: 16px; color: var(--sub); line-height: 1.5; }
.visit .btn { flex: none; min-width: 168px; }

.pd { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 28px; }
.pd-stage { display: grid; place-items: center; min-height: 520px; padding: 40px; border-radius: var(--r); background: var(--box); }
.pd-stage img { width: 100%; height: auto; border-radius: 10px; }
.pd-stage.is-logo img { border-radius: 0; }
.pd-stage.is-word { background: #fff; box-shadow: inset 0 0 0 1px #e6e3df; }
.pd-stage.is-word b { font-size: 44px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: #2a2623; text-align: center; }
.pd-info { display: flex; flex-direction: column; align-items: flex-start; padding-top: 16px; }
.pd-cat { transition: background-color .25s; }
.pd-name { margin-top: 18px; font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.pd-en { margin-top: 6px; font-size: 16px; color: var(--sub); line-height: 1.5; }
.pd-line { margin-top: 20px; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; }
.pd-spec { align-self: stretch; margin: 32px 0 0; border-top: 1px solid var(--ink); }
.pd-spec > div { display: flex; align-items: baseline; gap: 20px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.pd-spec dt { flex: none; width: 64px; font-size: 15px; color: var(--sub); }
.pd-spec dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 16px; line-height: 1.5; }
.pd-spec dd span { font-size: 14px; color: var(--sub); }
.pd-floor { font-size: 19px; font-weight: 600; color: var(--accent); }
.pd-tel { font-size: 19px; font-weight: 700; }
.pd-btns { align-self: stretch; display: flex; gap: 10px; margin-top: 32px; }
.pd-btns .btn { flex: 1; height: 56px; }

.pd-sec { margin-top: 96px; }
.pd-sec .sec-head { margin-bottom: 28px; }
.info { margin: 0; border-top: 1px solid #dcd7d1; }
.info > div { display: flex; gap: 24px; padding: 20px 4px; border-bottom: 1px solid #dcd7d1; }
.info dt { flex: none; width: 132px; font-size: 15px; color: #5a5551; line-height: 1.6; }
.info dd { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.5; }
.bens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.bens-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bens-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bens-5 .ben { grid-column: span 2; }
.bens-5 .ben:nth-child(-n+2) { grid-column: span 3; }
.ben { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid #e7e4e0; border-radius: var(--r); background: #fff; }
.ben b { margin-top: 18px; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.ben-d { margin-top: 6px; font-size: 15px; color: var(--sub); line-height: 1.5; }
.tag-soft { background: var(--dn-accent-soft); color: #6f5331; }
.grid-rel { margin-top: 0; }
.pd-bar { display: none; }
.nf { padding: 96px 0 24px; display: flex; flex-direction: column; align-items: flex-start; }
.nf h1 { font-size: 30px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.nf p { margin: 10px 0 28px; font-size: 16px; color: var(--sub); }

@media (prefers-reduced-motion: no-preference) {
  .rv { animation: rv .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
  @keyframes rv { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
}

@media (max-width: 1279px) {
  .pd { gap: 44px; }
  .bens-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-rel > li:nth-child(n+4) { display: none; }
  .bens, .bens-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bens-5 .ben, .bens-5 .ben:nth-child(-n+2) { grid-column: auto; }
}
@media (max-width: 899px) {
  .pd { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pd-stage { min-height: 0; }
  .pd-stage.is-word, .pd-stage.is-logo { min-height: 260px; }
  .pd-info { padding-top: 0; }
}
@media (max-width: 767px) {
  .sub { padding-bottom: 72px; }
  .crumb { padding-top: 16px; font-size: 13px; }
  .lt-head { padding-top: 20px; }
  .lt-head h1 { font-size: 26px; }
  .lt-head p { margin-top: 8px; font-size: 15px; }
  .chips { flex-wrap: nowrap; margin: 20px -20px 0; padding: 0 20px 16px; overflow-x: auto; scrollbar-width: none; border-bottom: 0; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { height: 40px; padding: 0 16px; font-size: 15px; }
  .pd-sec .chips { margin: 0 -20px; padding: 0 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 8px; }
  .grid-rel { margin-top: 0; }
  .grid-rel > li:nth-child(n+4) { display: block; }
  .vc .pc-name { font-size: 15px; }
  .vc .pc-word { padding: 10px; }
  .grid .mk-wide { grid-column: span 2; min-height: 0; padding: 22px 20px; }
  .visit { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 48px; padding: 24px 20px; border-radius: 14px; }
  .visit b { font-size: 18px; }
  .visit p { font-size: 15px; }
  .btn { height: 50px; font-size: 16px; }
  .pd { margin-top: 14px; gap: 22px; }
  .pd-stage { padding: 20px; border-radius: 14px; }
  .pd-stage.is-word, .pd-stage.is-logo { min-height: 220px; }
  .pd-stage.is-word b { font-size: 30px; }
  .pd-stage.is-logo img { width: 72%; }
  .pd-name { margin-top: 14px; font-size: 26px; }
  .pd-en { font-size: 15px; }
  .pd-line { margin-top: 14px; font-size: 17px; }
  .pd-spec { margin-top: 22px; }
  .pd-spec > div { gap: 14px; padding: 15px 0; }
  .pd-spec dt { width: 44px; font-size: 14px; }
  .pd-spec dd { font-size: 15px; }
  .pd-floor, .pd-tel { font-size: 17px; }
  .pd-btns { display: none; }
  .pd-sec { margin-top: 56px; }
  .pd-sec .sec-head { margin-bottom: 18px; }
  .pd-sec .sec-head h2 { padding-right: 0; }
  .pd-sec .sec-head .more { position: static; margin-top: 2px; height: 40px; }
  .info > div { gap: 12px; padding: 15px 0; }
  .info dt { width: 76px; font-size: 14px; }
  .info dd { font-size: 15px; }
  .bens, .bens-4, .bens-5 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ben { padding: 20px; border-radius: 14px; }
  .ben b { margin-top: 12px; font-size: 17px; }
  .ben-d { font-size: 14px; }
  .nf { padding: 56px 0 8px; }
  .nf h1 { font-size: 22px; }
  .nf p { font-size: 15px; }
  .pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -1px 0 var(--line); }
  .pd-bar[hidden] { display: none; }
  .pd-bar .btn { height: 48px; }
  .pd-bar .btn-line { flex: none; padding: 0 20px; }
  .pd-bar .btn-dark { flex: 1; }
  .has-bar .ft { padding-bottom: 104px; }
}
