/* 다림골 세탁소 — 세탁소 디자인 샘플 (디코랩)
   구성: 옷걸이 레일. 데스크톱에서는 섹션이 천장 레일의 옷걸이처럼 가로로 걸리고(native 가로 스크롤),
   아래 접수대가 고정된다. 모바일·낮은 화면에서는 옷걸이가 세로 목록으로 풀린다. */

:root {
  /* 색 — 세탁소 실물에서 */
  --color-steam: #F2F5F5;        /* 배경: 스팀 김 서린 흰 벽 */
  --color-wall: #E7EDED;         /* 레일 뒤 벽 */
  --color-ink: #1E2930;          /* 본문: 꼬리표 볼펜 잉크 */
  --color-ink-soft: #4C5962;
  --color-wire: #8D979E;         /* 레일·옷걸이 철사 */
  --color-wire-dark: #6E7980;
  --color-vinyl: rgba(214, 233, 238, .58);   /* 비닐 커버 */
  --color-vinyl-line: rgba(28, 110, 125, .24);
  --color-vinyl-edge: #1C6E7D;   /* 주색: 두꺼운 비닐 가장자리의 청록빛 */
  --color-tag: #FF7A59;          /* 꼬리표 살구: 전화·수거 신청 버튼에만 */
  --color-tag-dark: #D9573A;
  --color-counter: #2F383E;      /* 접수대 앞판 */
  --color-counter-top: #E4DED3;  /* 접수대 상판 */
  --color-paper: #FFFDF8;

  /* 요일 꼬리표 색 */
  --day-1: #F7B8C8;  /* 월 분홍 */
  --day-2: #F8E08E;  /* 화 노랑 */
  --day-3: #BFE3A6;  /* 수 연두 */
  --day-4: #A9D8F0;  /* 목 하늘 */
  --day-5: #CDB8EE;  /* 금 보라 */
  --day-6: #FFC9A3;  /* 토 살구 */

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-hand: "Gamja Flower", "Pretendard Variable", Pretendard, sans-serif;

  --fs-h1: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.2vw, 2.6rem);

  --header-h: 56px;
  --counter-h: 64px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-steam);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  padding-bottom: calc(var(--counter-h) + env(safe-area-inset-bottom));
}
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
img, svg { max-width: 100%; }
a { color: var(--color-vinyl-edge); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-vinyl-edge); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.ph { display: inline-block; border: 1.5px dashed rgba(30, 41, 48, .45); border-radius: 6px; padding: 0 6px; font-size: .92em; color: var(--color-ink-soft); background: rgba(255, 255, 255, .55); line-height: 1.5; }

/* ---------- 샘플 안내 띠 ---------- */
.sample-banner { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--color-ink); color: #E3EAEC; font-size: .8rem; line-height: 1.5; }
.sample-banner p { margin: 0; }
.sample-banner a { color: #fff; font-weight: 700; }
.sample-banner__tag { flex: none; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 1px 8px; font-weight: 700; }

/* ---------- 머리줄 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h); padding: 0 16px;
  background: rgba(242, 245, 245, .97);
  border-bottom: 1px solid #D9E1E2;
}
.logo { display: flex; align-items: center; gap: 8px; margin-right: auto; color: var(--color-ink); text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { font-family: var(--font-hand); font-weight: 400; font-size: 1.65rem; line-height: 1; letter-spacing: -.01em; }
.site-header__hours { display: none; margin: 0; font-size: .86rem; color: var(--color-ink-soft); }
.site-header__hours b { color: var(--color-ink); }
.site-header__tel { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 1.5px solid var(--color-ink); border-radius: 999px; color: var(--color-ink); text-decoration: none; font-weight: 700; }
.site-header__tel svg { width: 18px; height: 18px; }
.site-header__tel span { display: none; }
.menu-toggle { position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--color-ink); cursor: pointer; }
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { position: absolute; left: 12px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle__bar { top: 21px; }
.menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; left: 0; }
.menu-toggle__bar::before { transform: translateY(-6px); }
.menu-toggle__bar::after { transform: translateY(6px); }
.is-open .menu-toggle__bar { background: transparent; }
.is-open .menu-toggle__bar::before { transform: rotate(45deg); }
.is-open .menu-toggle__bar::after { transform: rotate(-45deg); }

@media (min-width: 768px) {
  .site-header { padding: 0 24px; gap: 20px; }
  .site-header__hours { display: block; }
  .site-header__tel { width: auto; padding: 0 16px; }
  .site-header__tel span { display: inline; }
}

/* 모바일 메뉴: 번호표 목록 (헤더 밖에 둔다 — 헤더 효과에 잘리지 않게) */
.mnav { display: none; position: fixed; z-index: 45; top: var(--menu-top, 56px); left: 0; right: 0; bottom: 0; overflow: auto; padding: 18px 20px 40px; background: var(--color-steam); }
body.nav-open .mnav { display: block; }
.mnav__title { margin: 0 0 6px; font-family: var(--font-hand); font-size: 1.5rem; color: var(--color-vinyl-edge); }
.mnav a { display: flex; align-items: center; gap: 14px; padding: 12px 2px; border-bottom: 1px dashed #C3CCD0; color: var(--color-ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mnav a b { flex: none; display: grid; place-items: center; width: 52px; height: 36px; font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.mnav a:nth-of-type(1) b { background: var(--day-2); }
.mnav a:nth-of-type(2) b { background: var(--day-3); }
.mnav a:nth-of-type(3) b { background: var(--day-4); }
.mnav a:nth-of-type(4) b { background: var(--day-5); }
.mnav a:nth-of-type(5) b { background: var(--day-6); }
.mnav a:nth-of-type(6) b { background: var(--day-1); }
.mnav a.is-active { color: var(--color-vinyl-edge); }
.mnav a.is-active b { box-shadow: inset 0 0 0 2px var(--color-ink); }

/* ---------- 레일과 옷걸이 (기본: 세로 목록) ---------- */
.rail { position: relative; padding: 8px 0 0; }
.rail:focus-visible { outline-offset: -4px; }
.rail__mount, .rail__end { display: none; }

.hanger { position: relative; padding: 0 14px 34px; scroll-margin-top: calc(var(--header-h) + 4px); }
/* 철제 파이프 */
.hanger::before {
  content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 14px;
  background: linear-gradient(to bottom, #D5DCE0 0, #A2ACB2 40%, #7D878E 80%, #6A747A 100%);
  box-shadow: 0 3px 4px -2px rgba(30, 41, 48, .3);
}
.hanger__swing {
  position: relative; display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 21px;
  rotate: calc(var(--sway, 0deg) * var(--k, 1));
}
.rail.is-swaying .hanger__swing { will-change: rotate; }
.hook { position: relative; z-index: 2; display: block; flex: none; width: 120px; height: 96px; margin-bottom: -10px; overflow: visible; }

/* 번호 꼬리표: 옷걸이 목에 실로 매단다 */
.ntag {
  position: absolute; z-index: 3; top: 40px; left: calc(50% + 24px); margin: 0;
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 20px;
  background: var(--tagc, var(--day-1)); color: var(--color-ink);
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%);
  transform-origin: 0 50%;
  rotate: calc(8deg + var(--sway, 0deg) * -2.4);
}
.ntag::before { content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--color-steam); box-shadow: inset 0 0 0 1.5px rgba(30, 41, 48, .35); }
.ntag b { font-weight: 800; font-size: 1.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hanger__swing::after { content: ""; position: absolute; z-index: 2; top: 68px; left: 50%; width: 38px; height: 1.5px; background: #8B949A; transform-origin: 0 0; rotate: -15deg; translate: 1px 0; }
.ntag--1 { --tagc: var(--day-1); }
.ntag--2 { --tagc: var(--day-2); }
.ntag--3 { --tagc: var(--day-3); }
.ntag--4 { --tagc: var(--day-4); }
.ntag--5 { --tagc: var(--day-5); }
.ntag--6 { --tagc: var(--day-6); }
.ntag--7 { --tagc: var(--day-1); }

/* 비닐 커버 */
.bag {
  position: relative; width: 100%; max-width: 760px;
  padding: 16px 10px 10px;
  background: var(--color-vinyl);
  border: 1px solid var(--color-vinyl-line);
  border-radius: 46% 46% 16px 16px / 54px 54px 16px 16px;
  box-shadow: 0 22px 30px -24px rgba(30, 41, 48, .55);
}
.bag::before { content: ""; position: absolute; top: 5px; left: 50%; width: 12px; height: 5px; margin-left: -6px; border-radius: 50%; background: rgba(30, 41, 48, .22); }
.bag::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(102deg, transparent 0 12%, rgba(255, 255, 255, .42) 14%, transparent 19% 71%, rgba(255, 255, 255, .26) 73%, transparent 77%);
}
.bag__print { margin: 8px 0 0; text-align: center; font-size: .72rem; color: rgba(28, 110, 125, .8); }
.bag--clip, .bag--sack { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.bag--clip::after, .bag--sack::after, .bag--sack::before { display: none; }
/* 집게 옷걸이: 막대 + 집게 둘 */
.bag--clip { margin-top: 2px; }
.bag--clip::before { top: -12px; left: 5%; width: 90%; height: 9px; margin: 0; border-radius: 5px; background: linear-gradient(#A6B0B6, #6E7980); z-index: 3; }
.bag--clip .garment::after {
  content: ""; position: absolute; z-index: 3; top: -4px; left: 8%; right: 8%; height: 30px; pointer-events: none;
  background: linear-gradient(#8D979E, #6E7980) left / 18px 100% no-repeat, linear-gradient(#8D979E, #6E7980) right / 18px 100% no-repeat;
}

/* 옷 판 */
.garment {
  position: relative;
  container-type: inline-size;
  background-color: var(--g, #fff);
  border-radius: 42% 42% 12px 12px / 46px 46px 12px 12px;
  padding: 50px 18px 24px;
  box-shadow: inset 0 0 0 1px rgba(30, 41, 48, .07);
}
.collar { position: absolute; top: 0; left: 50%; width: 132px; height: auto; translate: -50% 0; pointer-events: none; }
.garment__body { position: relative; }

.garment--shirt { --g: #FFFFFF; }
.garment--coat { --g: #EFE5D6; padding-top: 56px; }
.garment--coat .collar { width: 128px; }
@container (min-width: 520px) {
  .garment--coat .hand-note { position: absolute; right: 2px; top: 8px; margin: 0; }
}
@media (max-width: 560px) {
  .garment--coat { padding-top: 76px; }
}
.price-table__add th, .price-table__add td { color: var(--color-vinyl-edge); }
.garment--padding {
  --g: #DCE8E1;
  /* 누빔: 양옆 가장자리에만 박음질 줄 */
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 64px, rgba(95, 130, 112, .32) 64px 66px),
    repeating-linear-gradient(to bottom, transparent 0 64px, rgba(95, 130, 112, .32) 64px 66px);
  background-size: 18px 100%;
  background-position: left top, right top;
  background-repeat: no-repeat;
}
.garment--padding .collar { width: 170px; }
.garment--trousers {
  --g: #E2E6EE;
  border-radius: 4px 4px 0 0;
  padding: 44px 18px 48px;
  background-image: linear-gradient(to bottom, #CCD3DE 0 24px, transparent 24px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 52% 100%, 50% calc(100% - 34px), 48% 100%, 0 100%);
}
.garment--sack { --g: #D8E4E9; border-radius: 34px 34px 46px 46px; padding-top: 52px; border: 2px solid #B9CAD1; box-shadow: none; }
.garment--sack .collar { width: 220px; top: 6px; }
.garment--blouse { --g: #FBEFF1; }
.garment--knit {
  --g: #F3ECDD;
  padding-bottom: 46px;
  background-image: repeating-linear-gradient(90deg, rgba(150, 125, 80, .2) 0 3px, transparent 3px 8px);
  background-size: 100% 26px; background-repeat: no-repeat; background-position: bottom;
}
.garment--knit .collar { width: 150px; }

/* ---------- 공통 글자·버튼 ---------- */
.h2 { margin: 0 0 6px; font-family: var(--font-hand); font-weight: 400; font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.01em; -webkit-text-stroke: .35px currentColor; }
.lead { margin: 0 0 16px; color: var(--color-ink-soft); max-width: 34em; }
h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.35; }
.hand-note { width: fit-content; margin: 8px 0 0 auto; font-family: var(--font-hand); font-size: 1.45rem; line-height: 1.2; color: var(--color-vinyl-edge); text-align: right; rotate: -2deg; }
.notes, .notes-line { margin: 12px 0 0; padding-left: 1.1em; font-size: .86rem; color: var(--color-ink-soft); }
.notes-line { padding: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--tag { background: var(--color-tag); color: var(--color-ink); box-shadow: 0 3px 0 var(--color-tag-dark); }
.btn--tag:hover { background: #FF6943; }
.btn--tag:active { transform: translateY(2px); }
.btn--line { border: 1.5px solid var(--color-ink); background: rgba(255, 255, 255, .7); color: var(--color-ink); }
.btn--line:hover { background: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- 01 첫 화면 ---------- */
.hero__kicker { margin: 0 0 4px; font-size: .86rem; font-weight: 700; color: var(--color-vinyl-edge); }
.hero__title { margin: 0 0 10px; font-family: var(--font-hand); font-weight: 400; font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -.015em; -webkit-text-stroke: .5px currentColor; }
.hero__lead { margin: 0; max-width: 30em; color: var(--color-ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 18px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 22px; margin: 0; padding-top: 12px; border-top: 1.5px dashed #C9D2D6; font-size: .86rem; line-height: 1.5; }
.hero__facts dt { color: var(--color-ink-soft); font-size: .78rem; }
.hero__facts dd { margin: 0; font-weight: 600; }
.hero__facts small { display: block; font-weight: 400; color: var(--color-ink-soft); font-size: .74rem; }
.hero__next { display: none; }
.stain-doodle { display: none; position: absolute; right: 12px; bottom: 6px; width: 150px; pointer-events: none; }
.doodle-text { font-family: var(--font-hand); font-size: 19px; fill: var(--color-ink); }
@container (min-width: 600px) {
  .hero { padding-right: 120px; }
}
@media (min-width: 640px) { .stain-doodle { display: block; } }
@media (max-width: 400px) { .hero__facts { grid-template-columns: 1fr 1fr; } .hero__facts div:last-child { grid-column: 1 / -1; } }

/* 첫 화면 등장 (보이는 상태가 기본 — JS 가 has-motion 일 때만 숨겼다 보여 준다) */
.has-motion .hero [data-hero-item] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.has-motion .hero [data-hero-item]:nth-child(2) { transition-delay: .08s; }
.has-motion .hero [data-hero-item]:nth-child(3) { transition-delay: .16s; }
.has-motion .hero [data-hero-item]:nth-child(4) { transition-delay: .24s; }
.has-motion .hero [data-hero-item]:nth-child(5) { transition-delay: .32s; }
.has-motion .hero.is-ready [data-hero-item] { opacity: 1; transform: none; }
.has-motion .hero:not(.is-ready) [data-hero-item] { animation: hero-safety .4s ease 2.5s forwards; }
@keyframes hero-safety { to { opacity: 1; transform: none; } }

/* ---------- 02 가격표 ---------- */
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 6px 4px; border-bottom: 1px dashed #C8B79C; text-align: left; vertical-align: top; }
.price-table thead th { font-size: .78rem; color: var(--color-ink-soft); font-weight: 600; border-bottom: 1.5px solid #B9A385; }
.price-table tbody th { font-weight: 600; }
.price-table th small { display: block; font-weight: 400; color: var(--color-ink-soft); font-size: .76rem; }
.price-table td:nth-child(2) { text-align: right; font-weight: 700; white-space: nowrap; }
.price-table td:nth-child(3) { text-align: right; color: var(--color-ink-soft); white-space: nowrap; width: 5.5em; }
.price-table thead th:nth-child(n+2) { text-align: right; }
@container (max-width: 480px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 7px 0; border-bottom: 1px dashed #C8B79C; }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table tbody th { grid-row: span 2; }
  .price-table td:nth-child(3) { width: auto; font-size: .8rem; }
  .price-table td:nth-child(3)::before { content: "찾는 날 "; }
}

/* ---------- 03 꼬리표 미리 뽑기 ---------- */
.tagger { display: grid; gap: 18px; }
@container (min-width: 720px) {
  .tagger { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "head head" "form out" "aside out"; column-gap: 30px; align-items: start; }
}
@container (min-width: 1000px) {
  .tagger { grid-template-columns: minmax(0, 1.2fr) 290px minmax(0, 1fr); grid-template-areas: "head out aside" "form out aside"; column-gap: 26px; row-gap: 14px; }
}
@container (min-width: 720px) {
  .tagger__head { grid-area: head; }
  .tagger__form { grid-area: form; }
  .tagger__out { grid-area: out; }
  .tagger__aside { grid-area: aside; }
}
.tagger__aside { display: flex; flex-direction: column; gap: 12px; }
.tagger__aside .tagger__note { max-width: none; }
.tagger__aside .btn { max-width: none; }
.tagger__head .lead { margin-bottom: 0; }
.pick { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.pick legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.pick legend small { margin-left: 6px; font-weight: 400; font-size: .8rem; color: var(--color-ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid #93AC9E; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: .94rem; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip input:hover + span { border-color: var(--color-ink); }
.chip input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.chip--stain input:checked + span { background: var(--color-vinyl-edge); border-color: var(--color-vinyl-edge); }
.chip input:focus-visible + span { outline: 3px solid var(--color-vinyl-edge); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.before { margin-top: 4px; padding: 14px 16px; border: 1.5px dashed #93AC9E; border-radius: var(--radius); background: rgba(255, 255, 255, .72); }
.before h3 { font-size: 1rem; }
.before__list { margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.6; }
.before__list li { position: relative; padding: 4px 0 4px 26px; }
.before__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border: 1.8px solid var(--color-ink); border-radius: 3px; }
.before__list b { font-weight: 700; }

.tagger__out { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.printer { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 320px; height: 42px; padding: 0 14px 6px; border-radius: 10px 10px 4px 4px; background: #3A454B; color: #C6D0D5; font-size: .74rem; }
.printer__led { width: 8px; height: 8px; border-radius: 50%; background: #7BD88F; }
.printer__slot { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 4px; border-radius: 2px; background: #141A1E; }
.is-printing .printer__led { animation: led 0.35s steps(2) 3; }
@keyframes led { 50% { opacity: .2; } }
.ptag-wrap { width: 100%; max-width: 290px; margin-top: -18px; padding-top: 8px; overflow: hidden; }
.ptag {
  --tday: var(--day-5);
  position: relative; padding: 32px 16px 14px;
  background: var(--tday); color: var(--color-ink);
  font-size: .86rem; line-height: 1.5;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
  box-shadow: inset 0 -3px 0 rgba(30, 41, 48, .1);
}
.ptag[data-day="1"] { --tday: var(--day-1); }
.ptag[data-day="2"] { --tday: var(--day-2); }
.ptag[data-day="3"] { --tday: var(--day-3); }
.ptag[data-day="4"] { --tday: var(--day-4); }
.ptag[data-day="5"] { --tday: var(--day-5); }
.ptag[data-day="6"] { --tday: var(--day-6); }
.ptag::before { content: ""; position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--color-paper); box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), inset 0 0 0 1.5px rgba(30, 41, 48, .3); }
.ptag__head { position: absolute; inset: 0; opacity: 0; transform: translateY(-100%); border-bottom: 3px solid rgba(30, 41, 48, .45); background: linear-gradient(to bottom, transparent 70%, rgba(255, 255, 255, .45)); pointer-events: none; }
.ptag__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1.5px dashed rgba(30, 41, 48, .45); font-weight: 700; }
.ptag__shop { font-size: .82rem; }
.ptag__no { font-size: .78rem; }
.ptag__no b { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ptag dl { margin: 0; }
.ptag dt { font-size: .74rem; color: rgba(30, 41, 48, .72); }
.ptag dd { margin: 0; }
.ptag__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px !important; }
.ptag__dates dd { font-weight: 700; font-size: 1rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ptag__ready dd { display: inline-block; padding: 0 8px; border: 2px solid var(--color-ink); border-radius: 50%; rotate: -3deg; }
.ptag__rows > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px dotted rgba(30, 41, 48, .35); }
.ptag__rows dd b { display: block; font-size: .95rem; }
.ptag__rows ul { margin: 0; padding-left: 1em; }
.care { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.care__i { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: .64rem; line-height: 1.2; }
.care__i svg { width: 36px; height: 27px; }
.ptag__sum { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px !important; padding-top: 8px; border-top: 1.5px dashed rgba(30, 41, 48, .45); }
.ptag__sum dd { font-weight: 800; font-size: 1.12rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.ptag__foot { margin: 8px 0 0; font-size: .72rem; color: rgba(30, 41, 48, .75); }
.tagger__note { max-width: 320px; margin: 0; padding: 10px 12px; border-left: 4px solid var(--color-vinyl-edge); border-radius: 4px; background: #fff; font-size: .86rem; line-height: 1.6; }
.tagger__out .btn { max-width: 320px; }

/* 인쇄: 동작 줄이기면 짧은 페이드만, 아니면 꼬리표가 인쇄기에서 밀려 나오며 줄마다 찍힌다 */
.is-printing .ptag { animation: tag-fade .2s ease both; }
@keyframes tag-fade { from { opacity: .3; } to { opacity: 1; } }
.has-motion .is-printing .ptag { animation: tag-feed .7s cubic-bezier(.25, .8, .25, 1) both; }
.has-motion .is-printing .ptag__head { animation: head-pass 1.1s .15s linear both; }
.has-motion .is-printing .ptag__line { animation: ink-in .32s steps(5) both; animation-delay: calc(var(--i, 0) * 95ms + 220ms); }
@keyframes tag-feed { from { transform: translateY(-62%); } to { transform: none; } }
@keyframes head-pass { 0% { opacity: 1; transform: translateY(-100%); } 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes ink-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- 04 수선 ---------- */
.menu-list { margin: 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.menu-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "days price"; column-gap: 12px; padding: 7px 0; border-bottom: 1px dashed #AEB6C4; }
.menu-list li > span { grid-area: name; font-weight: 600; }
.menu-list li > span small { font-weight: 400; color: var(--color-ink-soft); font-size: .8rem; }
.menu-list li > b { grid-area: price; align-self: center; text-align: right; white-space: nowrap; }
.menu-list li > small { grid-area: days; font-size: .78rem; color: var(--color-ink-soft); }
.tape { margin: 12px 0 0; rotate: -2deg; }
.tape svg { display: block; width: 100%; max-width: 380px; height: auto; }
@container (min-width: 560px) {
  .garment--trousers .tape svg { max-width: 330px; }
  .garment--trousers .hand-note { margin-top: -26px; padding-bottom: 14px; font-size: 1.3rem; }
}

/* ---------- 05 수거·배달 ---------- */
.pickup { display: grid; gap: 20px; }
@container (min-width: 760px) {
  .pickup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; align-items: start; }
}
.steps { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 14px 46px; counter-increment: step; font-size: .94rem; color: var(--color-ink-soft); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 30px; background: var(--color-paper); font-weight: 800; font-size: .95rem; color: var(--color-ink); clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%); }
.steps li::after { content: ""; position: absolute; left: 21px; top: 34px; bottom: 4px; border-left: 1.5px dashed #8AA2AD; }
.steps li:last-child::after { display: none; }
.steps b { display: block; color: var(--color-ink); font-size: 1rem; }
.pickup__facts { margin: 6px 0 0; padding: 12px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .6); font-size: .9rem; }
.pickup__facts div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 3px 0; }
.pickup__facts dt { color: var(--color-ink-soft); }
.pickup__facts dd { margin: 0; }
.pickup__facts small { color: var(--color-ink-soft); }
.pform { padding: 18px; border: 1px solid rgba(30, 41, 48, .12); border-radius: 16px; background: #fff; }
.pform h3 { font-size: 1.1rem; }
.field { margin-bottom: 10px; }
.field label { display: block; margin-bottom: 4px; font-size: .88rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--color-ink-soft); }
.field input, .field select, .field textarea { display: block; width: 100%; padding: 9px 12px; border: 1.5px solid #B8C3C9; border-radius: 10px; background: #FAFCFC; font-size: 16px; line-height: 1.4; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(28, 110, 125, .35); border-color: var(--color-vinyl-edge); }
.consent { margin: 12px 0; font-size: .88rem; }
.consent label { display: flex; align-items: flex-start; gap: 8px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--color-vinyl-edge); }
.consent details { margin: 4px 0 0 26px; }
.consent summary { cursor: pointer; color: var(--color-vinyl-edge); font-size: .82rem; }
.consent details p { margin: 4px 0 0; font-size: .82rem; color: var(--color-ink-soft); }
.pform__msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #E1EFF1; font-size: .9rem; }

/* ---------- 06 자주 묻는 질문 ---------- */
.faq details { border-bottom: 1.5px dashed #DDB3BE; }
.faq summary { position: relative; padding: 13px 34px 13px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 8px; font-size: 1.5rem; line-height: 1.2; color: var(--color-vinyl-edge); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--color-ink-soft); }

/* ---------- 07 오시는 길 ---------- */
.location { display: grid; gap: 20px; }
@container (min-width: 720px) {
  .location { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .location__info { padding-top: 54px; }
}
.map { display: block; width: 100%; height: auto; margin-top: 8px; }
.map__label { font-size: 12px; fill: #66737B; font-family: var(--font); }
.map__shop { font-size: 14px; font-weight: 700; fill: var(--color-ink); font-family: var(--font); }
.location__addr { margin: 8px 0 0; font-size: .92rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.hours th, .hours td { padding: 8px 10px; border-bottom: 1px dashed #CDBE9F; text-align: left; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.is-today { background: rgba(28, 110, 125, .1); }
.hours tr.is-today th::after { content: "오늘"; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--color-vinyl-edge); color: #fff; font-size: .72rem; font-weight: 700; vertical-align: 1px; }
.visit { margin: 14px 0 0; font-size: .9rem; }
.visit div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 4px 0; }
.visit dt { color: var(--color-ink-soft); }
.visit dd { margin: 0; }
.location__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- 푸터 ---------- */
.site-footer { padding: 28px 16px 30px; background: #E2E8E9; color: var(--color-ink-soft); font-size: .82rem; line-height: 1.7; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.site-footer p { margin: 0; }
.site-footer__logo { font-family: var(--font-hand); font-size: 1.5rem; color: var(--color-ink); }
.site-footer__links { margin-top: 6px !important; display: flex; gap: 14px; }
.site-footer__links a { color: var(--color-ink-soft); }
.site-footer__links .strong { font-weight: 800; color: var(--color-ink); }
.site-footer__credit { align-self: flex-end; }

/* ---------- 접수대 (모바일: 하단 고정 바) ---------- */
.counter {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--color-counter);
  border-top: 6px solid var(--color-counter-top);
}
.counter__ctl, .counter__tags { display: none; }
.counter__act { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; width: 100%; }
.cbtn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background-color .2s ease; }
.cbtn svg { width: 18px; height: 18px; flex: none; }
.cbtn:hover { background: rgba(255, 255, 255, .18); }
.cbtn--go { background: var(--color-tag); color: var(--color-ink); }
.cbtn--go:hover { background: #FF6943; }
.cbtn__num { display: none; }
body.nav-open .counter { visibility: hidden; }

/* =========================================================
   데스크톱: 옷걸이 레일 (가로)
   ========================================================= */
@media (min-width: 1024px) and (min-height: 620px) {
  :root { --counter-h: 92px; }
  .stage { display: flex; flex-direction: column; height: 100vh; height: 100svh; }
  .sample-banner { flex: none; padding: 8px 24px; }
  .site-header { position: relative; flex: none; }
  .menu-toggle, .mnav { display: none !important; }
  main { position: relative; flex: 1 1 auto; min-height: 0; display: flex; padding-bottom: var(--counter-h); }

  .rail {
    flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch;
    padding: 0; overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin; scrollbar-color: #AEB9BE transparent;
    background:
      linear-gradient(to bottom, transparent calc(100% - 40px), rgba(30, 41, 48, .05) calc(100% - 40px)),
      linear-gradient(to bottom, #EEF3F3, var(--color-wall));
    cursor: grab;
  }
  .rail.is-dragging { cursor: grabbing; user-select: none; }
  .rail.is-dragging * { cursor: grabbing; }

  /* 레일 시작: 벽 받침 */
  .rail__mount { display: block; position: relative; flex: 0 0 56px; }
  .rail__mount::before { content: ""; position: absolute; left: 28px; right: 0; top: 14px; height: 14px; background: linear-gradient(to bottom, #D5DCE0 0, #A2ACB2 40%, #7D878E 80%, #6A747A 100%); border-radius: 7px 0 0 7px; }
  .rail__mount::after { content: ""; position: absolute; left: 30px; top: 0; width: 10px; height: 22px; background: #6A747A; border-radius: 0 0 3px 3px; }
  /* 레일 끝 */
  .rail__end { display: block; position: relative; flex: 0 0 210px; }
  .rail__end::before { content: ""; position: absolute; left: 0; right: 150px; top: 14px; height: 14px; background: linear-gradient(to bottom, #D5DCE0 0, #A2ACB2 40%, #7D878E 80%, #6A747A 100%); border-radius: 0 7px 7px 0; }
  .rail__end span { position: absolute; left: 20px; top: 70px; display: block; padding: 12px 14px; border: 1.5px dashed #9AA6AC; border-radius: 10px; font-size: .8rem; line-height: 1.5; color: var(--color-ink-soft); background: rgba(255, 255, 255, .6); }

  .hanger { flex: 0 0 var(--w); height: 100%; padding: 0 26px; }
  .hanger__swing { height: 100%; }
  .bag { display: flex; flex-direction: column; max-width: none; max-height: calc(100% - 86px - 22px); }
  .bag--clip { max-height: calc(100% - 86px - 22px); }
  .garment { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; width: 100%; }
  .garment__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(30, 41, 48, .3) transparent; padding-right: 6px; margin-right: -6px; }
  .bag__print { flex: none; }

  .hanger--shirt .garment { padding: 56px 34px 30px; }
  .menu-list li { padding: 5px 0; }
  .garment--trousers .lead { margin-bottom: 10px; }
  .hero__next {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
    font-size: .84rem; color: var(--color-ink-soft); text-decoration: none;
  }
  .hero__next span { font-family: var(--font-hand); font-size: 1.35rem; color: var(--color-vinyl-edge); }
  .hero__next::after { content: ""; width: 34px; height: 12px; background: currentColor; clip-path: polygon(0 45%, 78% 45%, 78% 0, 100% 50%, 78% 100%, 78% 55%, 0 55%); color: var(--color-vinyl-edge); }

  /* 접수대 */
  .counter { height: var(--counter-h); padding: 0 24px; gap: 22px; border-top-width: 10px; box-shadow: 0 -14px 24px -20px rgba(0, 0, 0, .5); }
  .counter__ctl { display: flex; align-items: center; gap: 10px; flex: none; }
  .counter__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #4C585F; color: #fff; cursor: pointer; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .35); transition: transform .12s ease, background-color .2s ease, opacity .2s ease; }
  .counter__btn svg { width: 22px; height: 22px; }
  .counter__btn:hover { background: #5A676E; }
  .counter__btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35); }
  .counter__btn:disabled { opacity: .35; cursor: default; }
  .counter__label { font-size: .74rem; line-height: 1.25; color: #C3CDD2; text-align: center; }
  .counter__tags { display: flex; flex: 1 1 auto; justify-content: center; align-items: flex-end; gap: 6px; align-self: stretch; padding-bottom: 10px; }
  .ctag {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    width: 82px; height: 58px; padding-bottom: 6px;
    background: var(--tagc); color: var(--color-ink); text-decoration: none;
    font-size: .74rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px);
    transform: translateY(8px);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease;
  }
  .ctag::before { content: ""; position: absolute; top: 6px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--color-counter); }
  .ctag b { font-weight: 800; font-size: 1.08rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .ctag:hover { transform: translateY(2px); }
  .ctag:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--color-ink); }
  .ctag.is-active { transform: translateY(-6px); box-shadow: inset 0 0 0 3px #fff; }
  .ctag--2 { --tagc: var(--day-2); }
  .ctag--3 { --tagc: var(--day-3); }
  .ctag--4 { --tagc: var(--day-4); }
  .ctag--5 { --tagc: var(--day-5); }
  .ctag--6 { --tagc: var(--day-6); }
  .ctag--7 { --tagc: var(--day-1); }
  .counter__act { display: flex; width: auto; flex: none; gap: 10px; }
  .cbtn { min-height: 50px; padding: 0 20px; border-radius: 999px; font-size: .95rem; }
  .cbtn--tel { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
  .cbtn--tel:hover { background: rgba(255, 255, 255, .1); }
  .cbtn__num { display: inline; }
  .cbtn--mtag { display: none; }
  .cbtn--go { box-shadow: 0 3px 0 var(--color-tag-dark); }
}
/* 노트북처럼 낮은 화면: 머리줄·접수대·고리를 줄여 옷 길이를 번다 */
@media (min-width: 1024px) and (min-height: 620px) and (max-height: 900px) {
  :root { --counter-h: 78px; --header-h: 48px; --fs-h2: 2.05rem; --fs-h1: clamp(2.1rem, 1.3rem + 2vw, 3rem); }
  .sample-banner { padding: 5px 24px; font-size: .76rem; }
  .logo svg { width: 30px; height: 30px; }
  .site-header__tel { height: 38px; }
  .hanger::before { top: 10px; height: 12px; }
  .rail__mount::before, .rail__end::before { top: 10px; height: 12px; }
  .hanger__swing { transform-origin: 50% 16px; }
  .hook { width: 92px; height: 74px; margin-bottom: -8px; }
  .ntag { top: 26px; left: calc(50% + 18px); height: 30px; }
  .ntag b { font-size: 1rem; }
  .hanger__swing::after { top: 50px; width: 32px; }
  .bag { max-height: calc(100% - 66px - 14px); }
  .bag--clip { max-height: calc(100% - 66px - 14px); }
  .bag__print { margin-top: 4px; }
  .garment { padding-top: 44px; }
  .garment--coat { padding-top: 50px; }
  .hanger--shirt .garment { padding: 48px 30px 22px; }
  .hero__actions { margin: 12px 0 14px; }
  .pick { margin-bottom: 10px; }
  .chip span { min-height: 36px; }
  .counter { border-top-width: 8px; }
  .counter__btn { width: 42px; height: 42px; }
  .ctag { height: 52px; }
  .cbtn { min-height: 46px; }
}
@media (min-width: 1024px) and (max-width: 1279px) and (min-height: 620px) {
  .counter { gap: 14px; padding: 0 16px; }
  .counter__label { display: none; }
  .ctag { width: 70px; }
  .cbtn__num { display: none; }
  .cbtn { padding: 0 16px; }
}

/* ---------- 동작 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* 3단계(색·투명도 피드백)는 남긴다 */
  .btn, .chip span, .cbtn, .ctag, .faq summary { transition-duration: .2s !important; }
  .is-printing .ptag { animation-duration: .2s !important; }
  .hanger__swing, .ntag { rotate: none; }
  .ntag { rotate: 8deg; }
}
