/* 온결 피부관리실 — 1인 피부관리실 디자인 샘플 (디코랩)
   구성: 제품 라벨·전성분표. 섹션 = 화장품 용기 하나(뚜껑 + 유리 몸통 + 라벨).
   라벨 앞면(큰 이름·용량) → 섹션이 들어오면 용기 곡면을 따라 돌아가며 뒷면(관리 순서·주의사항 표)이 앞으로.
   메뉴 = 헤더 선반의 작은 병 줄(지금 섹션 병이 앞으로), 모바일은 헤더 아래 가로 띠.
   색은 화장품 용기 실물에서: 더스티 로즈 유리, 장밋빛 반투명 몸통, 매트 라벨 종이, 라벨 인쇄 잉크, 아크릴 선반 */
:root {
  --color-rose-glass: #9C5464;    /* 더스티 로즈 유리 — 주 버튼(전화 예약)·지금 병 (theme-color) */
  --color-rose-deep: #84424F;
  --color-rose-mist: #E8CFCF;     /* 장밋빛 반투명 몸통 */
  --color-label: #FCF9F6;         /* 라벨 종이 (매트) */
  --color-blush: #F4E4E2;         /* 분홍 라벨 종이 */
  --color-kraft: #EFE6DA;         /* 크라프트 라벨 종이 */
  --color-powder: #F3ECEA;        /* 파우더 배경 */
  --color-ink: #2B2326;           /* 라벨 인쇄 잉크 — 본문 */
  --color-ink-soft: #66585C;      /* 보조 글자 */
  --color-rule: #DDD1CD;          /* 라벨 가는 실선 */
  --color-shelf: #D8CCC8;         /* 아크릴 선반 */
  --color-warn: #7E3E4C;          /* 관리 전 확인 글자 */
  --color-kakao: #FEE500;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
          "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-label: "Hahmlet", "Nanum Myeongjo", serif;

  --fs-body: 1rem;
  --head-h: 124px;               /* 모바일: 로고 줄 + 선반 띠 */
  --gutter: 16px;
  --ease-turn: cubic-bezier(.62, 0, .24, 1);
}
@media (min-width: 960px) {
  :root { --head-h: 84px; --gutter: 32px; --fs-body: 1.03rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--color-ink);
  background: var(--color-powder);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(62px + env(safe-area-inset-bottom));
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
svg { display: block; max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--color-ink); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-rose-glass); outline-offset: 3px; }
.container { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* 실제 정보 자리 */
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed currentColor; border-radius: 3px; opacity: .8; font-size: .92em; line-height: 1.5; }

/* 샘플 안내 띠 */
.sample-banner { background: var(--color-ink); color: #EADFDC; font-size: .8rem; line-height: 1.6; }
.sample-banner__inner { display: flex; gap: 10px; align-items: baseline; max-width: 1240px; margin-inline: auto; padding: 8px var(--gutter); }
.sample-banner__tag { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--color-rose-mist); color: var(--color-ink); font-weight: 700; font-size: .74rem; }
.sample-banner a { color: #F2C9CF; font-weight: 600; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--rose { background: var(--color-rose-glass); color: #fff; }
.btn--rose:hover { background: var(--color-rose-deep); }
.btn--line { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--line:hover { background: var(--color-ink); color: var(--color-label); }
.btn--kakao { background: var(--color-kakao); color: #191919; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .92rem; }

/* ---------- 헤더 + 선반 메뉴 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-powder);
  border-bottom: 1px solid var(--color-rule);
}
.site-header__inner {
  max-width: 1320px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo call" "shelf shelf";
  align-items: center;
  padding: 0 var(--gutter);
}
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; height: 54px; color: var(--color-ink); --cap: var(--color-ink); }
.logo__mark { width: 20px; height: 34px; color: var(--color-rose-mist); }
.logo b { font-family: var(--font-label); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; }
.logo span { font-size: .82rem; color: var(--color-ink-soft); font-weight: 600; }
.header-call {
  grid-area: call; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--color-rose-glass); color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem;
  transition: background-color .2s;
}
.header-call:hover { background: var(--color-rose-deep); }
.header-call svg { width: 17px; height: 17px; }

.shelf {
  grid-area: shelf;
  display: flex; align-items: flex-end;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 0;
  overflow-x: auto; scrollbar-width: none;
  scroll-behavior: smooth;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf__item {
  flex: none; width: 74px;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--color-ink-soft);
  --cap: var(--color-ink); --lab: var(--color-label);
}
.shelf__item svg {
  width: 22px; height: 38px; color: var(--glass, var(--color-rose-mist));
  transform-origin: 50% 100%;
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.shelf__item span {
  align-self: stretch; text-align: center;
  border-top: 5px solid var(--color-shelf);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  padding: 3px 2px 6px;
  font-size: .74rem; line-height: 1.3; font-weight: 600; white-space: nowrap;
  transition: color .2s;
}
.shelf__item:hover svg { transform: translateY(-2px); }
.shelf__item.is-active { color: var(--color-rose-glass); --lab: var(--color-rose-glass); }
.shelf__item.is-active svg { transform: translateY(3px) scale(1.28); }
.shelf__item.is-active span { font-weight: 800; }

@media (min-width: 960px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo shelf call"; gap: 24px; }
  .logo { height: auto; }
  .shelf { justify-content: center; margin: 0; padding: 12px 0 0; overflow: visible; }
  .shelf__item { width: 78px; }
  .shelf__item svg { width: 24px; height: 42px; }
  .header-call { min-height: 46px; padding: 0 20px; font-size: .95rem; }
}
@media (min-width: 960px) and (max-width: 1140px) {
  .shelf__item { width: 66px; }
  .logo span { display: none; }
}

/* ---------- 히어로: 관리실 앞면 라벨 ---------- */
.hero { padding: 22px 0 40px; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__label {
  background: var(--color-label);
  border: 1.5px solid var(--color-ink);
  box-shadow: inset 0 0 0 7px var(--color-label), inset 0 0 0 8px var(--color-ink);
  border-radius: 6px;
  padding: 24px 22px 22px;
}
.hero__kind { font-size: .86rem; font-weight: 700; color: var(--color-ink-soft); display: flex; gap: 8px; align-items: center; }
.hero__kind span { padding: 0 10px; border-radius: 999px; border: 1px solid currentColor; font-size: .76rem; }
.hero__title {
  font-family: var(--font-label); font-weight: 500;
  font-size: clamp(2.6rem, 1.7rem + 4vw, 4.6rem); line-height: 1.08; letter-spacing: -.03em;
  margin: 10px 0 12px;
}
.hero__title span { display: block; font-weight: 300; font-size: .52em; letter-spacing: -.01em; margin-top: 4px; }
.hero__lead { font-size: 1.02rem; color: var(--color-ink); max-width: 26em; }
.hero__vol {
  display: flex; align-items: baseline; gap: 10px;
  margin: 16px 0 18px; padding-top: 10px; border-top: 1px solid var(--color-ink);
  font-family: var(--font-label); font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums;
}
.hero__vol span { font-family: var(--font); font-size: .76rem; font-weight: 700; color: var(--color-ink-soft); }
.hero__vol small { margin-left: auto; font-family: var(--font); font-size: .82rem; color: var(--color-ink-soft); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__note { margin-top: 12px; font-size: .84rem; color: var(--color-ink-soft); }
.hero__art { max-width: 300px; margin-inline: auto; width: 100%; }
.hero-bottle .hb-small { font: 600 13px var(--font); fill: var(--color-ink-soft); }
.hero-bottle .hb-name { font: 500 54px var(--font-label); fill: var(--color-ink); letter-spacing: -1px; }
.hero-bottle .hb-vol { font: 500 22px var(--font-label); fill: var(--color-ink); }
.hero__scroll { margin-top: 18px; font-size: .84rem; color: var(--color-ink-soft); text-align: center; }

@media (min-width: 960px) {
  .hero { padding: 36px 0 56px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero__label { padding: 46px 48px 40px; box-shadow: inset 0 0 0 10px var(--color-label), inset 0 0 0 11px var(--color-ink); }
  .hero__lead { font-size: 1.12rem; }
  .hero__actions .btn { flex: 0 1 auto; }
  .hero__art { max-width: 470px; }
}

/* ---------- 용기 (섹션) ---------- */
.sec { padding-top: clamp(48px, 7vw, 100px); }
.sec:last-of-type { padding-bottom: clamp(56px, 7vw, 100px); }
.vessel { --cap: var(--color-ink); --lab: var(--color-label); }
.vessel__cap {
  height: clamp(60px, 7.5vw, 100px); width: auto;
  margin: 0 auto -1.5px; color: var(--glass);
  position: relative; z-index: 1;
}
.vessel__cap--tube { width: 82%; height: 28px; }
.vessel__lid {
  display: block; height: 40px; margin: 0 14px -1px;
  background: repeating-linear-gradient(90deg, var(--color-ink) 0 10px, #3B3135 10px 13px);
  border-radius: 16px 16px 4px 4px;
}
.vessel__body {
  position: relative;
  border: 1.5px solid var(--color-ink);
  border-radius: clamp(22px, 3vw, 44px);
  padding: clamp(10px, 2.2vw, 30px) clamp(10px, 3.4vw, 48px);
  /* 유리 곡면: 왼쪽 반사광, 양 끝 음영 */
  background:
    linear-gradient(90deg, rgba(43, 35, 38, .12), rgba(255, 255, 255, .6) 6%, rgba(255, 255, 255, 0) 17%, rgba(255, 255, 255, 0) 82%, rgba(43, 35, 38, .14)),
    var(--glass);
}

/* ---------- 라벨 (앞면 + 뒷면) ---------- */
.label {
  position: relative; overflow: hidden;
  border-radius: 6px;
  background: var(--color-label);
  box-shadow: 0 1px 0 rgba(43, 35, 38, .18);
}
.label__track { display: grid; }
.label__front {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 20px 18px;
  background: var(--color-label);
  border-bottom: 1.5px dashed var(--color-rule);
  box-shadow: inset 0 0 0 6px var(--front-bg, var(--color-label)), inset 0 0 0 7px currentColor;
}
.label__front--blush { --front-bg: var(--color-blush); background: var(--color-blush); }
.label__front--kraft { --front-bg: var(--color-kraft); background: var(--color-kraft); }
.label__front--ink { --front-bg: var(--color-ink); background: var(--color-ink); color: var(--color-label); --cap: var(--color-label); }
.label__front--ink .lf__brand, .label__front--ink .lf__sub, .label__front--ink .lf__vol span { color: #D8CCC8; }
.lf__brand { font-size: .8rem; font-weight: 600; color: var(--color-ink-soft); padding-right: 52px; }
.lf__icon { position: absolute; top: 16px; right: 18px; width: 34px; height: 58px; color: var(--glass); }
.lf__name { font-family: var(--font-label); font-weight: 500; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); line-height: 1.12; margin: 6px 0 6px; padding-right: 48px; }
.lf__sub { font-size: .92rem; color: var(--color-ink-soft); }
.lf__vol {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding-top: 8px; border-top: 1px solid currentColor;
  font-family: var(--font-label); font-size: 1.3rem; font-weight: 500; font-variant-numeric: tabular-nums;
}
.lf__vol span { font-family: var(--font); font-size: .74rem; font-weight: 700; color: var(--color-ink-soft); }

.label__back { position: relative; padding: 20px 18px 18px; font-size: .95rem; background: var(--color-label); }
.lb__title { font-size: 1rem; font-weight: 800; padding-bottom: 8px; border-bottom: 2px solid var(--color-ink); margin-bottom: 12px; }
.lb__intro { font-size: .9rem; color: var(--color-ink-soft); margin-bottom: 8px; }
.lb__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--color-rule); }
.lb__fine { font-size: .8rem; color: var(--color-ink-soft); line-height: 1.6; }
.barcode {
  flex: none; width: 86px; height: 32px; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--color-ink) 0 2px, transparent 2px 4px, var(--color-ink) 4px 5px, transparent 5px 8px, var(--color-ink) 8px 11px, transparent 11px 12px, var(--color-ink) 12px 13px, transparent 13px 16px);
}

@media (min-width: 960px) {
  .label__track { grid-template-columns: minmax(250px, 31%) 1fr; }
  .label__front { padding: 34px 30px 28px; border-bottom: 0; border-right: 1.5px dashed var(--color-rule); box-shadow: inset 0 0 0 10px var(--front-bg, var(--color-label)), inset 0 0 0 11px currentColor; }
  .lf__brand { padding-right: 0; }
  .lf__icon { position: static; width: 48px; height: 82px; margin: 26px 0 18px; }
  .lf__name { padding-right: 0; }
  .lf__vol { margin-top: auto; padding-top: 12px; font-size: 1.6rem; }
  .label__front > .lf__vol { margin-top: auto; }
  .lf__sub { margin-bottom: 26px; }
  .label__back { padding: 32px 36px 26px; }
}

/* 라벨이 용기를 따라 돌아간다 — JS 가 turn-ready 를 붙인 뒤에만, 아직 안 들어온 라벨에서만 숨긴다 */
.label__shine { display: none; }
.has-motion.turn-ready .label__back { transform-origin: 0 50%; transition: transform 1.1s var(--ease-turn), opacity .8s ease; }
.has-motion.turn-ready .label:not(.is-turned) .label__back { transform: perspective(1400px) rotateY(72deg); opacity: .3; }
.has-motion.turn-ready .label.is-turned .label__shine {
  display: block; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-110%);
  animation: shine 1.3s .15s var(--ease-turn) forwards;
}
@keyframes shine { to { transform: translateX(110%); } }
@media (min-width: 960px) {
  .has-motion.turn-ready .label__track { transition: transform 1.1s var(--ease-turn); }
  .has-motion.turn-ready .label:not(.is-turned) .label__track { transform: translateX(34%); }
  .has-motion.turn-ready .label__front { transform-origin: 100% 50%; }
  .has-motion.turn-ready .label.is-turned .label__front { animation: wrap-left 1.1s var(--ease-turn); }
  .has-motion.turn-ready .label__front::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, rgba(43, 35, 38, .45), rgba(43, 35, 38, 0) 70%);
  }
  .has-motion.turn-ready .label.is-turned .label__front::after { animation: wrap-shade 1.1s var(--ease-turn); }
}
@keyframes wrap-left {
  0% { transform: none; }
  50% { transform: perspective(1400px) rotateY(-26deg); }
  100% { transform: none; }
}
@keyframes wrap-shade { 50% { opacity: 1; } }

/* ---------- 전성분 표 ---------- */
.ingr { font-size: .9rem; }
.ingr thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ingr tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--color-rule); }
.ingr th, .ingr td { display: block; padding: 1px 0; text-align: left; }
.ingr tbody th { font-weight: 800; font-size: .98rem; }
.ingr tbody th small { display: block; font-weight: 500; font-size: .8rem; color: var(--color-ink-soft); }
.ingr td::before { content: attr(data-th); display: inline-block; min-width: 5.4em; font-size: .76rem; font-weight: 700; color: var(--color-ink-soft); }
.ingr td { font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .ingr thead { position: static; width: auto; height: auto; clip: auto; display: table-header-group; }
  .ingr tr { display: table-row; padding: 0; }
  .ingr th, .ingr td { display: table-cell; padding: 11px 10px; vertical-align: top; border-bottom: 1px solid var(--color-rule); }
  .ingr th:first-child, .ingr td:first-child { padding-left: 0; }
  .ingr thead th { font-size: .76rem; font-weight: 700; color: var(--color-ink-soft); border-bottom: 1.5px solid var(--color-ink); padding-top: 0; }
  .ingr td::before { content: none; }
  .ingr tbody th { min-width: 10.5em; }
  .ingr td:nth-child(2) { white-space: nowrap; }
  .ingr td:last-child { white-space: nowrap; text-align: right; padding-right: 0; font-weight: 700; }
  .ingr thead th:last-child { text-align: right; padding-right: 0; }
  .ingr--price td { text-align: right; font-weight: 600; }
  .ingr--price thead th { text-align: right; }
  .ingr--price thead th:first-child { text-align: left; }
}

/* ---------- 나의 관리 라벨 ---------- */
.maker { display: grid; gap: 26px; }
@media (min-width: 1180px) { .maker { grid-template-columns: .85fr 1.15fr; gap: 32px; } }
.pick { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pick legend { width: 100%; font-weight: 700; font-size: .9rem; margin-bottom: 8px; float: left; }
.pick legend small { font-weight: 500; color: var(--color-ink-soft); margin-left: 4px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--color-ink); border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: var(--color-label);
  transition: background-color .2s, color .2s;
}
.chip span small { font-weight: 500; font-size: .76rem; opacity: .8; }
.chip input:checked + span { background: var(--color-ink); color: var(--color-label); }
.chip input:focus-visible + span { outline: 3px solid var(--color-rose-glass); outline-offset: 2px; }

.printer__slot {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 38px; padding: 0 16px;
  background: var(--color-ink); color: #D8CCC8; font-size: .74rem; font-weight: 600;
  border-radius: 12px 12px 4px 4px;
}
.printer__slot i { flex: 0 1 62%; height: 4px; border-radius: 2px; background: #0E0B0C; }
.printer__out { overflow: hidden; margin: 0 12px; padding-bottom: 10px; }
.tag {
  background: #fff; border: 1px solid var(--color-rule); border-top: 0;
  padding: 14px 16px 16px; font-size: .88rem; line-height: 1.6;
  box-shadow: 0 10px 16px -12px rgba(43, 35, 38, .45);
  background-image: linear-gradient(rgba(43, 35, 38, .12), rgba(43, 35, 38, 0) 10px);
}
.tag__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--color-ink); padding-bottom: 6px; }
.tag__head b { font-family: var(--font-label); font-weight: 700; font-size: 1.05rem; }
.tag__head span { font-size: .74rem; color: var(--color-ink-soft); font-variant-numeric: tabular-nums; }
.tag__name { font-family: var(--font-label); font-weight: 500; font-size: 1.25rem; line-height: 1.3; margin: 10px 0 6px; }
.tag__row { display: grid; grid-template-columns: 5.6em 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--color-rule); }
.tag__row dt { font-size: .76rem; font-weight: 800; padding-top: 2px; }
.tag__row--ingr dd { font-size: .86rem; }
.tag__row--warn dd { color: var(--color-warn); font-weight: 600; }
.tag__fine { margin-top: 8px; font-size: .74rem; color: var(--color-ink-soft); }
.printer__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.printer__memo { margin-top: 10px; padding: 10px 12px; border-radius: 6px; background: var(--color-blush); font-size: .84rem; }

.has-motion .tag.is-printing { animation: tag-print .95s cubic-bezier(.3, .7, .25, 1) both; }
.has-motion .tag.is-printing .tag__name,
.has-motion .tag.is-printing .tag__row { animation: row-in .32s ease both; }
.has-motion .tag.is-printing .tag__name { animation-delay: .45s; }
.has-motion .tag.is-printing .tag__row:nth-child(1) { animation-delay: .55s; }
.has-motion .tag.is-printing .tag__row:nth-child(2) { animation-delay: .65s; }
.has-motion .tag.is-printing .tag__row:nth-child(3) { animation-delay: .75s; }
.has-motion .tag.is-printing .tag__row:nth-child(4) { animation-delay: .85s; }
.has-motion .tag.is-printing .tag__row:nth-child(5) { animation-delay: .95s; }
@keyframes tag-print { from { transform: translateY(-101%); } to { transform: none; } }
@keyframes row-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 사용법·주의사항 ---------- */
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 12px 0 12px 46px; border-bottom: 1px solid var(--color-rule); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 12px;
  width: 32px; height: 32px; border: 1.5px solid var(--color-ink); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-label); font-weight: 500; font-size: 1rem;
}
.steps b { font-size: 1.02rem; }
.steps__t { margin-left: 8px; padding: 1px 9px; border-radius: 999px; background: var(--color-powder); font-size: .76rem; font-weight: 700; color: var(--color-ink-soft); }
.steps p { margin-top: 2px; font-size: .92rem; color: var(--color-ink-soft); }
.warns { counter-reset: w; }
.warns li { counter-increment: w; position: relative; padding: 8px 0 8px 2.2em; border-bottom: 1px dotted var(--color-rule); font-size: .94rem; }
.warns li::before { content: counter(w) ")"; position: absolute; left: 0; top: 8px; font-weight: 800; font-variant-numeric: tabular-nums; }
.notice { margin-top: 16px; padding: 14px 16px; border: 1.5px solid var(--color-ink); border-radius: 4px; background: #F8EFED; font-size: .92rem; }

/* ---------- 관리실 ---------- */
.room { display: grid; gap: 22px; }
.room__art svg { border-radius: 8px; width: 100%; height: auto; }
.person { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.person__ph { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--color-powder); overflow: hidden; border: 1px solid var(--color-rule); }
.person p { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; font-size: .9rem; }
.spec > div { display: grid; grid-template-columns: 5.4em 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--color-rule); font-size: .92rem; }
.spec dt { font-weight: 800; font-size: .84rem; padding-top: 1px; }
@media (min-width: 1180px) { .room { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 32px; } }

/* ---------- 회원권 ---------- */
.dots { margin-top: 14px; }
.dots li { position: relative; padding: 4px 0 4px 14px; font-size: .9rem; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .9em; width: 5px; height: 5px; border-radius: 50%; background: var(--color-ink); }

/* ---------- 묻고 답하기 ---------- */
.qna { display: grid; }
.qna > div { padding: 12px 0; border-top: 1px solid var(--color-rule); }
.qna > div:first-child { border-top: 0; padding-top: 2px; }
.qna dt { font-weight: 800; }
.qna dt::before { content: "문"; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 8px; border: 1.5px solid var(--color-ink); border-radius: 50%; font-size: .74rem; vertical-align: .1em; }
.qna dd { margin-top: 4px; padding-left: 26px; font-size: .92rem; color: var(--color-ink-soft); }
@media (min-width: 1180px) {
  .qna { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .qna > div:nth-child(2) { border-top: 0; padding-top: 2px; }
}

/* ---------- 오시는 길 ---------- */
.visit { display: grid; gap: 22px; }
.hours { margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 8px; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: top; }
.hours th { width: 5.4em; padding-left: 0; }
.hours td small { display: block; font-size: .78rem; color: var(--color-ink-soft); }
.hours__off td { color: var(--color-ink-soft); }
.hours tr.is-today { background: var(--color-blush); }
.hours tr.is-today th::after { content: "오늘"; display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--color-ink); color: var(--color-label); font-size: .7rem; vertical-align: .15em; }
.hours tr.is-today th { padding-left: 8px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.visit__actions .btn { flex: 1 1 auto; }
.visit__map svg { width: 100%; height: auto; border-radius: 8px; }
.visit__map .map__label { font: 500 24px var(--font-label); fill: var(--color-ink); }
.visit__map .map__sub { font: 600 13px var(--font); fill: var(--color-ink-soft); }
.visit__map .map__mark { font: 800 15px var(--font); fill: var(--color-ink); }
.visit__map .map__p { font: 800 22px var(--font); fill: #fff; }
@media (min-width: 1180px) { .visit { grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; } }

/* ---------- 푸터·하단 바 ---------- */
.site-footer { background: var(--color-ink); color: #CFC3BF; font-size: .84rem; padding: 40px 0; line-height: 1.8; }
.site-footer__inner { display: grid; gap: 18px; }
.site-footer__logo { font-family: var(--font-label); font-weight: 700; font-size: 1.15rem; color: var(--color-label); margin-bottom: 6px; }
.site-footer__links { margin-top: 8px; display: flex; gap: 14px; }
.site-footer__links .strong { font-weight: 800; color: var(--color-label); }
.site-footer__credit { color: #B3A6A2; }
.site-footer__credit a { color: #F2C9CF; }
@media (min-width: 960px) { .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; } }

.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  background: var(--color-ink); padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid #000;
  --cap: var(--color-label); --lab: var(--color-ink);
}
.quickbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 62px; color: var(--color-label); text-decoration: none; font-size: .8rem; font-weight: 700;
}
.quickbar a + a { border-left: 1px solid #3E3438; }
.quickbar svg { width: 20px; height: 20px; color: var(--color-rose-mist); }
.quickbar a[href="#mylabel"] svg { width: 13px; height: 22px; }
.quickbar__cta { background: var(--color-rose-glass); }
.quickbar__cta svg { color: #fff; }
@media (min-width: 960px) { .quickbar { display: none; } }

/* ---------- 히어로 등장 (CSS 만 — JS 실패와 상관없이 끝 상태로 간다) ---------- */
.has-motion .hero__label { animation: rise .8s .1s cubic-bezier(.2, .7, .2, 1) both; }
.has-motion .hero__art { animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
.has-motion .hero-pump { animation: pump 1.1s 1s ease-in-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pump { 0%, 100% { transform: none; } 40% { transform: translateY(14px); } }

/* ---------- 동작 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn, .chip span, .shelf__item span, .header-call { transition-duration: .2s !important; }
  .label__back, .label__track, .label__front { transform: none !important; opacity: 1 !important; }
  .label__shine { display: none !important; }
}
