/*
  VOICE   다정하고 담백한 동네 빵집. 과장 없이, 손님에게 쓰는 짧은 편지처럼.
  IDEA    'Dear,'로 시작하는 편지 — 우표, 엽서, 소인, 항공우편 띠
  PICTURE 분홍 간판 가게 앞에서 거품기를 든 하얀 곰 셰프 (실제 매장·로고에서 가져옴)
  COLOUR  흰 바탕 + 매장 간판 핑크 #F2AFC0 + 로고 네이비 #253173, 노른자색은 아주 조금
  TYPE    본문 Noto Sans KR · 제목 Gowun Batang · 워드마크 Courier Prime(로고 서체 계열)
  LAYOUT  넓은 흰 여백, 섹션마다 한 가지 이야기. 1240px 안에서 좌측 정렬, 모바일은 한 줄로
*/

:root {
  color-scheme: light;
  --white: #FFFFFF;
  --mist: #F6F4F2;
  --blush: #FDEEF2;
  --pink: #F2AFC0;
  --pink-2: #E7849C;
  --rose: #B8445F;
  --navy: #253173;
  --navy-2: #1B2458;
  --yolk: #F2C14E;
  --pine: #1F5B45;
  --pine-2: #17463A;
  --berry: #C5303A;
  --berry-2: #A9242E;
  --ink: #2A2730;
  --muted: #625D69;
  --line: #ECE6E8;
  --serif: "Gowun Batang", "Noto Serif KR", "AppleMyungjo", serif;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --wrap: 1240px;
  --gut: max(5vw, 18px);
  --hd: 72px;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16.5px/1.75 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--navy); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.24; }
h2 { font-size: clamp(27px, 3.3vw, 40px); line-height: 1.3; }
h3 { font-size: 20px; line-height: 1.45; font-weight: 700; }
.lede { font-size: clamp(16.5px, 1.6vw, 18.5px); color: var(--muted); max-width: 34em; }
.small { font-size: 14px; color: var(--muted); }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--pink-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.band { padding: clamp(56px, 8vw, 112px) 0; }
.band.mist { background: var(--mist); }
.band.blush { background: var(--blush); }
.band.navy { background: var(--navy); color: #E9EBF6; }
.band.navy h2, .band.navy h3 { color: #fff; }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.head p { margin: 0; color: var(--muted); }
.band.navy .head p { color: #C9CDE6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-pink { background: var(--pink); color: var(--navy); }
.btn-pink:hover { background: #EE9DB1; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.band.navy .btn-line { border-color: #fff; color: #fff; }
.band.navy .btn-line:hover { background: #fff; color: var(--navy); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.link { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--navy); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hd.is-scrolled { border-bottom-color: var(--line); }
.hd-in { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 var(--gut); height: var(--hd); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; }
.wm { font-family: var(--mono); font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.brand .wm { font-size: 22px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink); }
.nav a:hover { color: var(--navy); background: var(--blush); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--pink); border-radius: 0; }
.open-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.open-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9C4CC; flex: none; }
.open-pill.is-open { color: var(--navy); font-weight: 500; }
.open-pill.is-open::before { background: var(--pink-2); box-shadow: 0 0 0 4px rgba(231,132,156,.22); }
.hd-cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; color: transparent; font-size: 0; position: relative; cursor: pointer; }
.menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn::before { top: 16px; }
.menu-btn::after { top: 25px; }
.nav-open .menu-btn::before { top: 20.5px; transform: rotate(45deg); }
.nav-open .menu-btn::after { top: 20.5px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 4vw, 56px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero h1 .dear { display: block; font-family: var(--mono); font-size: .62em; color: var(--pink-2); letter-spacing: -0.02em; margin-bottom: .18em; }
.hero-side .lede { margin-bottom: 22px; }
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.facts li { display: flex; gap: 12px; }
.facts b { color: var(--navy); font-weight: 700; flex: none; width: 3.2em; }
.scene-wrap { max-width: 1160px; margin: clamp(16px, 2.4vw, 28px) auto 0; }
.scene { width: 100%; height: auto; aspect-ratio: 1200 / 490; }

/* ---------- stamp & photo slot ---------- */
.stamp {
  border: 9px solid transparent;
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='%23fff'/%3E%3Cg fill='%23000'%3E%3Ccircle cx='0' cy='0' r='3.4'/%3E%3Ccircle cx='24' cy='0' r='3.4'/%3E%3Ccircle cx='0' cy='24' r='3.4'/%3E%3Ccircle cx='24' cy='24' r='3.4'/%3E%3Ccircle cx='12' cy='0' r='3.4'/%3E%3Ccircle cx='0' cy='12' r='3.4'/%3E%3Ccircle cx='24' cy='12' r='3.4'/%3E%3Ccircle cx='12' cy='24' r='3.4'/%3E%3C/g%3E%3C/mask%3E%3Crect width='24' height='24' fill='%23fff' mask='url(%23m)'/%3E%3C/svg%3E") 6 fill round;
  padding: 8px;
  position: relative;
}
.stamp .val { position: absolute; right: 14px; bottom: 12px; font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--navy); background: rgba(255,255,255,.88); padding: 2px 9px; border-radius: 4px; }
.ph { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--blush); overflow: hidden; }
.ph .ill { position: absolute; inset: 6% 6%; width: 88%; height: 88%; object-fit: contain; }
.ph .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-yolk { background: #FDF3DC; }
.t-mist { background: #F1EEEC; }
.t-blush { background: var(--blush); }
.t-sky { background: #EEF1F8; }
.t-cream { background: #FBF4EA; }

/* ---------- signature ---------- */
.sig { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sig-main .stamp { transform: rotate(-1.2deg); }
.sig-main .txt { margin-top: 26px; max-width: 34em; }
.sig-name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.sig-name h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); }
.sig-name .price { color: var(--muted); font-size: 15px; }
.sig-side { display: grid; gap: clamp(28px, 3vw, 40px); }
.sig-item { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 22px; align-items: start; }
.sig-item .ph { aspect-ratio: 1; }
.sig-item:nth-child(2) .stamp { transform: rotate(1.4deg); }
.sig-item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.note-line { margin-top: 14px; font-size: 14.5px; color: var(--navy); font-weight: 500; }

/* ---------- promise ---------- */
.promise { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); }
.promise h2 { font-size: clamp(30px, 3.8vw, 46px); }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-self: center; align-content: start; }
.promise-list li { padding: 22px 0; border-top: 1.5px solid #F4C8D3; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 20px; }
.promise-list li:last-child { border-bottom: 1.5px solid #F4C8D3; }
.promise-list h3 { font-size: 18px; }
.promise-ph { margin: clamp(26px, 3vw, 40px) 0 0; max-width: 340px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #F7D9E1; transform: rotate(-1.2deg); box-shadow: 0 2px 4px rgba(37,49,115,.06), 0 16px 36px rgba(37,49,115,.12); }
.promise-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.promise-list p { margin: 0; color: var(--ink); }

/* ---------- postcard (season) ---------- */
.postcard { position: relative; background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.postcard::before, .postcard::after { content: ""; position: absolute; z-index: 2; left: -1px; right: -1px; height: 9px; background: repeating-linear-gradient(135deg, var(--pink) 0 16px, #fff 16px 24px, var(--navy) 24px 40px, #fff 40px 48px); }
.postcard::before { top: -1px; }
.postcard::after { bottom: -1px; }
.postcard .ph { aspect-ratio: auto; min-height: 100%; }
.postcard-body { padding: clamp(30px, 4vw, 52px); position: relative; }
.postcard-body h2 { margin-bottom: 14px; }
.lines { list-style: none; padding: 0; margin: 22px 0 26px; }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed #D9D2D6; font-size: 15.5px; }
.lines li span:first-child { color: var(--muted); flex: none; }
.lines li span:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.pm { position: absolute; top: 26px; right: 26px; width: 92px; height: 92px; opacity: .9; }

/* ---------- gift ---------- */
.gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 28px; }
.chips li { padding: 8px 15px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 15px; font-weight: 500; color: var(--navy); }
.gift .ph { aspect-ratio: 5 / 4; background: #fff; }

/* ---------- voices ---------- */
.voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.voice { background: var(--white); border: 1px solid var(--line); padding: 26px 22px 22px; position: relative; display: flex; flex-direction: column; gap: 16px; }
.voice:nth-child(odd) { background: #FFFBFC; }
.voice q { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--navy); quotes: "“" "”"; }
.voice span { margin-top: auto; font-size: 13.5px; color: var(--muted); }
.voice::before { content: ""; position: absolute; top: -1px; left: 22px; width: 34px; height: 5px; background: var(--pink); }

/* ---------- visit band ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.info { margin: 0; display: grid; gap: 0; }
.info div { display: grid; grid-template-columns: minmax(0, 5.5em) minmax(0, 1fr); gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); }
.info div:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.info dt { color: var(--pink); font-weight: 700; font-size: 15px; }
.info dd { margin: 0; color: #fff; }
.info a { color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.tags li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #E9EBF6; }

/* ---------- insta band ---------- */
.insta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.insta .handle { font-family: var(--mono); font-weight: 700; font-size: clamp(26px, 3.6vw, 44px); color: var(--navy); text-decoration: none; letter-spacing: -0.03em; }
.insta .handle:hover { color: var(--rose); }
.insta p { margin: 8px 0 0; color: var(--muted); }

.gallery { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.05); }

/* ---------- footer ---------- */
.ft { background: var(--mist); padding: 56px 0 120px; }
.ft-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px; align-items: start; }
.ft-brand img { width: 74px; height: auto; margin-bottom: 12px; }
.ft-brand .wm { font-size: 24px; margin: 0 0 10px; }
.ft-brand p:last-child { color: var(--muted); font-size: 15px; margin: 0; }
.ft-info { margin: 0; display: grid; gap: 12px; font-size: 15px; }
.ft-info div { display: grid; grid-template-columns: minmax(0, 3.5em) minmax(0, 1fr); gap: 12px; }
.ft-info dt { color: var(--navy); font-weight: 700; }
.ft-info dd { margin: 0; color: var(--ink); }
.ft-links { display: grid; gap: 8px; font-size: 15px; }
.ft-links a { color: var(--ink); text-decoration: none; }
.ft-links a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.ft-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid #E5E0DD; font-size: 13.5px; color: var(--muted); }

/* ---------- mobile action dock ---------- */
.dock { display: none; }

/* ---------- sub page hero ---------- */
.page-hero { padding: clamp(44px, 6vw, 88px) 0 clamp(36px, 5vw, 64px); background: var(--white); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px; align-items: end; }
.page-hero .lede { margin-top: 18px; }
.page-hero img.mascot { width: min(200px, 100%); justify-self: end; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }

/* ---------- menu page ---------- */
.cat-nav { position: sticky; top: var(--hd); z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.cat-nav a:hover, .cat-nav a.on { border-color: var(--navy); color: var(--navy); }
.menu-cat { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(44px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.menu-cat:last-of-type { border-bottom: 0; }
.menu-cat aside h2 { margin-bottom: 10px; }
.menu-cat aside p { color: var(--muted); font-size: 15.5px; }
.menu-cat aside .stamp { margin-top: 22px; max-width: 360px; }
.mlist { list-style: none; margin: 0; padding: 0; }
.mitem { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mitem:first-child { padding-top: 4px; }
.mrow { display: flex; align-items: baseline; gap: 10px; }
.mrow h3 { font-size: 18px; color: var(--ink); flex: 0 1 auto; max-width: 70%; }
.mrow .dots { flex: 1; border-bottom: 2px dotted #CFC7CC; transform: translateY(-5px); min-width: 24px; }
.mrow .price { font-weight: 700; color: var(--navy); font-size: 17px; }
.mrow .ask { font-size: 14.5px; color: var(--muted); white-space: nowrap; }
.mrow .price, .mrow .ask { flex: none; }
.mitem p { margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 40em; }
.mitem.has-ph { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 20px; align-content: start; }
.mitem.has-ph > :not(.mthumb) { grid-column: 2; }
.mthumb { grid-column: 1; grid-row: 1 / span 3; align-self: start; margin: 0; width: 92px; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--mist); }
.mthumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mitem.has-ph .mrow { padding-top: 6px; }
.menu-cat aside .ph { aspect-ratio: 4 / 5; }
.menu-cat aside .ph.is-sq { aspect-ratio: 1; }

/* ----- 포장 사진, 빵 사진 줄 ----- */
.pack, .stories { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.6vw, 20px); }
.pack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pack figure, .stories figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: var(--mist); }
.pack img, .stories img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pack span, .stories span { display: block; margin-top: 10px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.b-sig { background: var(--pink); color: var(--navy); }
.b-new { background: var(--navy); color: #fff; }
.b-season { background: #FCE3B0; color: #6B4A00; }
.b-limit { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.more-bread { margin-top: 28px; padding: 22px; background: var(--mist); }
.more-bread h3 { font-size: 16px; margin-bottom: 12px; }
.more-bread .chips { margin: 0; }
.more-bread .chips li { font-size: 14px; padding: 6px 12px; }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; background: var(--blush); padding: 20px 22px; font-size: 15px; }
.notice img { width: 44px; }
.notice p { margin: 0; }

/* ---------- order page ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 26px 26px 26px 0; border-top: 2px solid var(--navy); margin-right: 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: var(--navy); font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.opt { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 22px; align-items: start; }
.opt .ph { aspect-ratio: 1; }
.opt h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 6px; }
.opt p { margin: 0 0 8px; color: var(--muted); font-size: 15.5px; }
.opt .meta { font-size: 14.5px; color: var(--navy); font-weight: 500; }

.composer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; color: var(--navy); }
.field label small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #DCD5D9; background: #fff;
  font: 400 16px/1.5 var(--sans); color: var(--ink);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242,175,192,.55); }
.letter { background: #fff; border: 1px solid var(--line); padding: 26px; position: sticky; top: calc(var(--hd) + 20px); }
.letter::before { content: ""; display: block; height: 7px; margin: -26px -26px 22px; background: repeating-linear-gradient(135deg, var(--pink) 0 14px, #fff 14px 20px, var(--navy) 20px 34px, #fff 34px 40px); }
.letter h3 { font-size: 16px; margin-bottom: 12px; }
.letter pre { margin: 0 0 18px; white-space: pre-wrap; font: 400 15px/1.8 var(--sans); color: var(--ink); background: var(--mist); padding: 16px 18px; border-radius: 10px; min-height: 220px; }
.letter .btns .btn { flex: 1 1 auto; }
.toast { margin-top: 12px; font-size: 14.5px; color: var(--navy); font-weight: 500; min-height: 1.5em; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.channel { padding: 22px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; display: grid; gap: 6px; }
.channel:hover { border-color: var(--navy); }
.channel b { color: var(--navy); font-size: 17px; }
.channel span { color: var(--muted); font-size: 14.5px; }
.faq { max-width: 820px; }
/* ----- 자주 묻는 질문 페이지 ----- */
.factsheet { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--navy); }
.factsheet div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid #E4DEE1; }
.factsheet dt { font-weight: 700; color: var(--navy); }
.factsheet dd { margin: 0; }
.faq-groups { display: grid; gap: clamp(44px, 6vw, 72px); }
.faq-group { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.faq-group h2 { font-size: clamp(22px, 2.4vw, 28px); }
.faq-group .btns { grid-column: 2; }
.faq-group.is-xmas h2 { color: var(--pine); }
.faq-home { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-home .faq { max-width: none; }
/* ----- 소식 ----- */
.posts { display: grid; gap: clamp(28px, 4vw, 44px); }
.post { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: start; background: #fff; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 10px; }
.post-ph { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--mist); }
.post-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-meta { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.post h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.post-txt p { max-width: 40em; }
.post .btns { margin-top: 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; color: var(--navy); position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 44em; }

/* ---------- story page ---------- */
.paper { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: clamp(32px, 6vw, 72px); position: relative;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, #F3E9EC 39px 40px); background-position: 0 22px; }
.paper .salute { font-family: var(--mono); font-weight: 700; color: var(--pink-2); font-size: 22px; margin-bottom: 18px; }
.paper p { font-family: var(--serif); font-size: 18px; line-height: 40px; margin: 0 0 40px; color: var(--ink); }
.paper .sign { text-align: right; color: var(--navy); font-weight: 700; margin: 0; }
.paper .pm { top: 28px; right: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .ph { aspect-ratio: 1; }
.daily { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.daily li { background: #fff; padding: 18px; border: 1px solid var(--line); }
.daily b { display: block; color: var(--navy); margin-bottom: 4px; }
.daily span { font-size: 14.5px; color: var(--muted); }

/* ---------- visit page ---------- */
.addr { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); color: var(--navy); line-height: 1.45; margin: 0 0 8px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours th { width: 5em; color: var(--muted); font-weight: 500; }
.hours td { font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--navy); font-weight: 700; }
.hours tr.today th::after { content: "오늘"; margin-left: 8px; font-size: 12px; background: var(--pink); color: var(--navy); padding: 2px 7px; border-radius: 6px; }
.facility { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.facility li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.facility b { color: var(--navy); }
.facility span { color: var(--muted); font-size: 15px; }
.find { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.mapcard { background: var(--blush); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: start; align-self: start; }
.mapcard .btns .btn { flex: 1 1 160px; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.nf img { width: 160px; margin: 0 auto 22px; }
.nf .btns { justify-content: center; margin-top: 24px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .scene .steam { animation: steam 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
  .scene .steam:nth-of-type(2) { animation-delay: 1.2s; }
  .scene .steam:nth-of-type(3) { animation-delay: 2.4s; }
  @keyframes steam { 0% { opacity: 0; transform: translateY(6px) scaleY(.8); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px) scaleY(1.1); } }
  .scene .wave-arm { animation: wave 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 88% 92%; }
  @keyframes wave { 0%, 60%, 100% { transform: rotate(0deg); } 70% { transform: rotate(-7deg); } 80% { transform: rotate(3deg); } 90% { transform: rotate(-5deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .open-pill { display: none; }
  .nav { margin-left: auto; }
  .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft-links { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 8px 24px; }
}
@media (max-width: 900px) {
  :root { --hd: 64px; }
  .hd { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-btn { display: block; margin-left: auto; }
  .hd-cta { display: none; }
  .nav { position: fixed; left: 0; right: 0; top: var(--hd); bottom: 0; background: #fff; flex-direction: column; gap: 0; padding: 12px var(--gut) 40px; margin: 0; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .nav a { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--navy); padding: 18px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--rose); }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .hero-top, .sig, .promise, .gift, .visit, .composer, .find, .split, .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero img.mascot { display: none; }
  .postcard { grid-template-columns: minmax(0, 1fr); }
  .postcard .ph { aspect-ratio: 16 / 10; min-height: 0; }
  .menu-cat { grid-template-columns: minmax(0, 1fr); }
  .menu-cat aside .ph, .menu-cat aside .ph.is-sq { aspect-ratio: 4 / 3; }
  .promise-ph { aspect-ratio: 4 / 3; max-width: 520px; transform: none; }
  .pack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stories { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); padding-bottom: 6px; }
  .stories li { flex: 0 0 min(42%, 220px); scroll-snap-align: start; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .factsheet { grid-template-columns: minmax(0, 1fr); }
  .faq-group, .faq-home { grid-template-columns: minmax(0, 1fr); }
  .faq-group .btns { grid-column: 1; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post-ph { aspect-ratio: 16 / 10; }
  .steps li { margin-right: 0; padding-right: 0; }
  .options { grid-template-columns: minmax(0, 1fr); }
  .letter { position: static; }
  .channels { grid-template-columns: minmax(0, 1fr); }
  .dock { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; background: var(--navy); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(27,36,88,.25); }
  .dock a { display: grid; place-items: center; min-height: 54px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
  .dock a + a { border-left: 1px solid rgba(255,255,255,.16); }
  .dock a[hidden] { display: none; }
  .dock .dock-kakao { background: var(--pink); color: var(--navy); }
  .dock .dock-xmas { background: var(--berry); color: #fff; border-left: 0; }
  .dock .dock-xmas + .dock-kakao { border-left: 0; }
}
@media (max-width: 700px) {
  .scene { aspect-ratio: 1.5; }
  .sig-item { grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 16px; }
  .promise-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .voices { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .voice { flex: 0 0 78%; scroll-snap-align: start; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .opt { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 16px; }
  .daily, .facility { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ft-in { grid-template-columns: minmax(0, 1fr); }
  .ft-links { grid-template-columns: repeat(2, minmax(0, auto)); }
  .mrow h3 { font-size: 17px; }
  .mitem.has-ph { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; }
  .mthumb { width: 72px; }
  .mitem.has-ph .mrow { padding-top: 2px; gap: 8px; }
  .mitem.has-ph .mrow h3 { max-width: none; min-width: 0; }
  .mitem.has-ph .mrow .dots { min-width: 10px; }
  .pm { width: 70px; height: 70px; top: 18px; right: 18px; }
  .paper .pm { display: none; }
  .brand .wm { font-size: 19px; }
}


/* =====================================================================
   크리스마스 사전예약 (상단 띠 · 이벤트 메뉴 · 예약 페이지)
   행사 기간에만 쓰는 색: 솔잎 초록 --pine, 열매 빨강 --berry
   ===================================================================== */
[hidden] { display: none !important; }
.btn-berry { background: var(--berry); color: #fff; }
.btn-berry:hover { background: var(--berry-2); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-2); }
.btn:disabled { opacity: .55; cursor: default; }

/* ----- 상단 띠 ----- */
.xbar { display: block; background: var(--pine); color: #fff; text-decoration: none; font-size: 14.5px; line-height: 1.45; }
.xbar-in { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 9px var(--gut); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 12px; text-align: center; }
.xbar .holly { flex: none; }
.xbar b { font-weight: 700; }
.xbar [data-xmas-bar-text] { color: #DDEFE5; }
.xbar-go { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.xbar:hover .xbar-go { text-decoration-thickness: 2.5px; }
.xbar:focus-visible { outline-offset: -3px; outline-color: #fff; }

/* ----- 이벤트 메뉴 ----- */
.nav .nav-event { position: relative; }
.nav .nav-event::after { content: ""; position: absolute; top: 9px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--berry); }
.ft-admin { margin-left: 8px; color: inherit; opacity: .7; }

/* ----- 메인 화면 맨 위 크리스마스 안내 ----- */
.xtop { position: relative; padding: clamp(26px, 3.6vw, 52px) 0 clamp(44px, 5.4vw, 76px); background: #fff; }
.xtop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(135deg, var(--berry) 0 16px, #fff 16px 24px, var(--pine) 24px 40px, #fff 40px 48px); }
.xtop-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "head film" "body film"; gap: 0 clamp(28px, 4.4vw, 72px); align-items: start; }
.xtop-head { grid-area: head; align-self: end; }
.xtop .x-film { grid-area: film; align-self: center; }
.xtop-body { grid-area: body; }
.xtop h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.18; }
.xtop h2 span { display: block; }
.xtop .x-status { margin-top: 18px; }
.xtop-body .lede { margin: 18px 0 0; }
.xtop .x-period { margin: 24px 0 0; }
.xtop-cake { margin: 18px 0 26px; color: var(--muted); font-size: 15.5px; }
.xtop-cake b { color: var(--navy); }
.xtop .x-period { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 440px; }
.xtop .x-period div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; }
.xtop .x-period div + div { border-top-width: 3px; }
.xtop .x-period dd { margin: 0; font-size: clamp(19px, 1.8vw, 23px); }
@media (max-width: 900px) {
  .xtop-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "film" "body"; }
  .xtop .x-film { margin-top: 22px; }
  .xtop-body .lede { margin-top: 22px; }
}
@media (max-width: 700px) {
  .xtop h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .xtop .x-period { max-width: none; }
}

/* ----- 메인 화면 이벤트 엽서 ----- */
.postcard.is-xmas::before, .postcard.is-xmas::after { background: repeating-linear-gradient(135deg, var(--berry) 0 16px, #fff 16px 24px, var(--pine) 24px 40px, #fff 40px 48px); }
.postcard .x-merry { margin-bottom: 6px; }
.x-merry { font-family: var(--mono); font-weight: 700; color: var(--berry); letter-spacing: .02em; font-size: 17px; margin: 0 0 10px; }

/* ----- 예약 페이지: 머리 ----- */
.x-hero { padding: clamp(28px, 4.5vw, 64px) 0 clamp(44px, 6vw, 84px); }
.x-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.x-hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.18; }
.x-hero h1 span { display: block; }
.x-g { color: var(--pine); font-size: .74em; }
.x-r { color: var(--berry); }
.x-hero .lede { margin-top: 18px; }
.x-status { display: inline-flex; align-items: center; gap: 9px; margin: 22px 0 0; padding: 8px 15px 8px 12px; border-radius: 999px; background: #EEF5F1; color: var(--pine); font-weight: 700; font-size: 15px; }
.x-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pine); flex: none; }
.x-status.is-open { background: #FCECEE; color: var(--berry-2); }
.x-status.is-open::before { background: var(--berry); box-shadow: 0 0 0 4px rgba(197,48,58,.18); }
.x-status.is-pickup, .x-status.is-ended, .x-status.is-off { background: var(--mist); color: var(--muted); }
.x-status.is-pickup::before, .x-status.is-ended::before, .x-status.is-off::before { background: #B9B3BD; }
.x-period { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 26px 0 28px; max-width: 560px; }
.x-period div { padding-top: 14px; border-top: 3px solid var(--berry); }
.x-period div + div { border-top-color: var(--pine); }
.x-period dt { font-size: 14.5px; font-weight: 700; color: var(--muted); }
.x-period dd { margin: 4px 0 0; font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 2.2vw, 25px); color: var(--navy); white-space: nowrap; }
.x-poster { margin: 0; justify-self: center; max-width: 430px; transform: rotate(1.4deg); }
.x-poster img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 4px rgba(37,49,115,.08), 0 18px 44px rgba(37,49,115,.16); }

/* ----- 케이크 소개 ----- */
.x-cakes { display: grid; gap: clamp(24px, 3vw, 40px); }
.x-cake { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
.x-cake .ph { aspect-ratio: 1; }
.x-cake h3 { font-family: var(--serif); font-size: clamp(25px, 3vw, 34px); }
.x-spec { margin: 6px 0 0; color: var(--muted); }
.x-price { margin: 14px 0 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); color: var(--berry); }
.x-cake-txt p:last-child { max-width: 30em; margin: 0; }
.x-cakes.is-many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.x-cakes.is-many .x-cake { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 20px; align-items: start; }
.x-points { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.x-points li { padding: 16px 0 0; border-top: 1.5px solid #DDD6D9; display: grid; gap: 4px; }
.x-points b { color: var(--navy); }
.x-points span { color: var(--muted); font-size: 15.5px; }
.x-points.has-photo { gap: 0 clamp(18px, 2.4vw, 32px); }
.x-points.has-photo li { padding: 0; border-top: 0; align-content: start; }
.x-points figure { margin: 0 0 14px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--blush); }
.x-points figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ----- 예약 페이지: 홍보 영상 ----- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.x-film-band { padding: 0 0 clamp(52px, 7vw, 96px); }
.x-film { position: relative; margin: 0; }
.x-film-frame { position: relative; aspect-ratio: 16 / 9; background: #1C3E30; overflow: hidden; box-shadow: 0 2px 4px rgba(37,49,115,.08), 0 22px 50px rgba(31,91,69,.18); }
.x-film-frame::before, .x-film-frame::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; height: 8px; pointer-events: none; background: repeating-linear-gradient(135deg, var(--berry) 0 16px, #fff 16px 24px, var(--pine) 24px 40px, #fff 40px 48px); }
.x-film-frame::before { top: 0; }
.x-film-frame::after { bottom: 0; }
.x-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.x-film.is-custom video { cursor: pointer; }
.x-film-ctrl { display: none; gap: 8px; justify-content: flex-end; padding-top: 12px; }
.x-film.is-custom .x-film-ctrl { display: flex; }
.x-film-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px 0 13px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.x-film-btn:hover { border-color: var(--navy); }
.x-film-btn svg { width: 16px; height: 16px; flex: none; }
.x-film-btn[data-state="paused"] .i-pause, .x-film-btn[data-state="playing"] .i-play,
.x-film-btn[data-state="muted"] .i-sound, .x-film-btn[data-state="sound"] .i-mute { display: none; }

/* ----- 예약 페이지: 마지막 안내 ----- */
.x-closing { position: relative; overflow: hidden; background: #E2505F; }
.x-closing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.x-closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.95) 0, rgba(255,255,255,.88) 36%, rgba(255,255,255,0) 60%); }
.x-closing .wrap { position: relative; z-index: 2; }
.x-closing-txt { max-width: 460px; padding: clamp(64px, 9vw, 128px) 0; }
.x-closing h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.3; color: var(--navy); }
.x-closing dl { display: grid; gap: 8px; margin: 26px 0 30px; }
.x-closing dl div { display: flex; gap: 14px; align-items: baseline; }
.x-closing dt { flex: none; width: 4.6em; font-size: 14.5px; font-weight: 700; color: var(--pine); }
.x-closing dd { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.9vw, 21px); color: var(--navy); white-space: nowrap; }
.x-closing .btn-line { background: rgba(255,255,255,.75); }

/* ----- 예약 상태 안내 ----- */
.x-ribbon { margin: 0 0 22px; padding: 13px 18px; background: #FFF6DA; border-left: 4px solid var(--yolk); font-size: 15px; color: #5C4500; }
.x-state { background: var(--mist); padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; justify-items: center; gap: 12px; }
.x-state h3 { font-family: var(--serif); font-size: clamp(23px, 2.8vw, 31px); }
.x-state p { margin: 0; color: var(--muted); max-width: 34em; }
.x-state .btns { justify-content: center; margin-top: 12px; }

/* ----- 예약 폼 ----- */
.x-composer { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.x-form { display: grid; gap: clamp(28px, 3.5vw, 40px); }
.x-step { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.x-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-weight: 700; font-size: 19px; color: var(--navy); }
.x-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: var(--navy); font-size: 15px; flex: none; }
.x-products { display: grid; gap: 10px; }
.x-prod { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1.5px solid #DCD5D9; border-radius: 14px; background: #fff; }
.x-prod.is-on { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(242,175,192,.5); }
.x-prod-txt { display: grid; gap: 2px; }
.x-prod-txt b { color: var(--ink); font-size: 17px; }
.x-prod-txt span { color: var(--muted); font-size: 15px; }
.x-stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.x-stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: 700 22px/1 var(--sans); cursor: pointer; }
.x-stepper button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.x-stepper button:disabled { border-color: #D9D3D7; color: #C5BEC3; cursor: default; }
.x-stepper output { width: 36px; text-align: center; font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.x-form .small { margin: 10px 0 0; }
.x-date-note { margin: -4px 0 12px; color: var(--muted); font-size: 15px; }
.x-dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 560px; }
.x-wd { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.x-wd.is-sun { color: var(--berry); }
.x-date.is-blank { visibility: hidden; }
.x-date, .x-time { border: 1.5px solid #DCD5D9; background: #fff; border-radius: 12px; cursor: pointer; font-family: var(--sans); color: var(--ink); }
.x-date { display: grid; gap: 1px; padding: 8px 2px 7px; text-align: center; min-height: 66px; align-content: center; }
.x-date b { font-size: 18px; color: var(--navy); font-variant-numeric: tabular-nums; }
.x-left { font-size: 13px; color: var(--pine); font-weight: 500; min-height: 1.3em; line-height: 1.3; }
.x-date.is-sun b { color: var(--berry); }
.x-date.is-few .x-left { color: var(--berry); font-weight: 700; }
.x-date:hover:not(:disabled), .x-time:hover { border-color: var(--navy); }
.x-date.is-on, .x-time.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.x-date.is-on b, .x-date.is-on .x-left { color: #fff; }
.x-date:disabled { background: var(--mist); border-color: var(--mist); cursor: default; }
.x-date:disabled b, .x-date:disabled .x-left { color: #A9A2AC; }
.x-date:disabled b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.x-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.x-time { min-height: 48px; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.x-empty { margin: 0; color: var(--muted); font-size: 15.5px; grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.x-agree { padding: 18px 20px; background: var(--mist); border-radius: 14px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 700; color: var(--navy); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.check small { font-weight: 400; color: var(--muted); }
.x-agree details { margin: 10px 0 0 34px; font-size: 14.5px; color: var(--muted); }
.x-agree summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.x-agree ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.x-agree li b { color: var(--ink); margin-right: 8px; }

.x-summary::before { background: repeating-linear-gradient(135deg, var(--berry) 0 14px, #fff 14px 20px, var(--pine) 20px 34px, #fff 34px 40px); }
.x-sum { margin: 0; display: grid; }
.x-sum div { display: grid; grid-template-columns: minmax(0, 5.2em) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed #D9D2D6; font-size: 15.5px; }
.x-sum dt { color: var(--muted); }
.x-sum dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.x-sum .is-empty dd { color: #A9A2AC; font-weight: 400; }
.x-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; }
.x-total span { font-weight: 700; color: var(--navy); }
.x-total b { font-family: var(--serif); font-size: 27px; color: var(--berry); font-variant-numeric: tabular-nums; }
.x-summary .small { margin: 0 0 14px; }
.x-submit { width: 100%; min-height: 54px; font-size: 17px; }
.x-err { margin: 0 0 12px; color: var(--berry-2); font-weight: 700; font-size: 15px; }
.x-err:empty { display: none; }

/* ----- 예약 완료 ----- */
.x-done { max-width: 640px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); background: #fff; position: relative; outline: none; }
.x-done::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 8px; background: repeating-linear-gradient(135deg, var(--berry) 0 14px, #fff 14px 20px, var(--pine) 20px 34px, #fff 34px 40px); }
.x-done h3 { font-family: var(--serif); font-size: clamp(25px, 3vw, 32px); margin-bottom: 12px; }
.x-sum-done { margin: 18px 0; }
.x-code { font-family: var(--mono); font-weight: 700; letter-spacing: .08em; color: var(--navy); font-size: 18px; }
.x-done .btns { margin: 18px 0 4px; }

/* ----- 계좌이체 안내 ----- */
.x-acct { margin: 14px 0 0; padding: 14px 16px; border: 1.5px solid #CFE3D8; background: #F4FAF6; border-radius: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.x-acct-label { flex: 1 0 100%; order: 1; font-size: 13px; font-weight: 700; color: var(--pine); }
.x-acct b { order: 2; flex: 0 0 auto; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
.x-acct [data-x-acct-bank] { color: var(--ink); margin-left: 4px; }
.x-acct-copy { order: 3; margin-left: auto; min-height: 38px; padding: 0 14px; border: 1.5px solid var(--pine); border-radius: 999px; background: #fff; color: var(--pine); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.x-acct-copy:hover { background: var(--pine); color: #fff; }
.x-acct-owner { order: 4; flex: 1 0 100%; font-size: 14px; color: var(--muted); }
.x-acct-msg { order: 5; flex: 1 0 100%; font-size: 13px; color: var(--pine); }
.x-acct-msg:empty { display: none; }
.x-acct.is-note { margin-top: 12px; max-width: 460px; }
.x-bank { margin: 14px 0 6px; padding: 18px 20px; background: #EEF5F1; border-left: 4px solid var(--pine); display: grid; gap: 6px; }
.x-bank b { color: var(--pine); }
.x-bank p { margin: 0; font-size: 15.5px; }
.x-bank .x-bank-acct { font-size: 18px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.x-bank .btns { margin-top: 8px; }
.x-bank .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.x-bank .toast { margin: 0; min-height: 0; }
.x-bank .toast:empty { display: none; }

/* ----- 화면 아래 고정 예약 버튼 (휴대폰) ----- */
.x-sticky { display: none; }

/* ----- 예약 조회 ----- */
.x-lookup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.x-lookup-form { margin-top: 24px; }
.x-lookup .x-err { margin-top: 14px; }
.x-results { display: grid; gap: 14px; }
.x-results > .x-empty { padding: 26px; background: rgba(255,255,255,.7); border: 1.5px dashed #EBC3CD; text-align: center; }
.x-result { background: #fff; padding: 22px 24px; border: 1px solid #F1D5DC; display: grid; gap: 6px; }
.x-result header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.x-result h3 { font-family: var(--serif); font-size: 21px; }
.x-result p { margin: 0; }
.x-result .btns { margin-top: 10px; align-items: center; }
.x-result .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.x-ask { font-weight: 700; color: var(--navy); margin-right: 4px; }
.x-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--pink); color: var(--navy); }
.is-confirmed .x-badge { background: var(--pine); color: #fff; }
.is-done .x-badge, .is-cancelled .x-badge { background: var(--mist); color: var(--muted); }
.is-unpaid .x-badge { background: #FFF1C9; color: #5C4500; }
.is-claimed .x-badge, .is-paid .x-badge { background: #EEF5F1; color: var(--pine); }
.x-result.is-cancelled h3, .x-result.is-cancelled > p:not(.small) { color: #9A93A0; text-decoration: line-through; }

.x-callout { margin: 0 0 clamp(24px, 3vw, 36px); background: #EEF5F1; }
.x-callout img { width: 40px; }

/* ----- 글 위주 페이지 (개인정보처리방침) ----- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--sans); font-size: 19px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: 4px; }
.prose p, .prose li { color: var(--ink); }

/* ----- 유의사항 ----- */
.x-notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.x-notes li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 6.5em) minmax(0, 1fr); gap: 14px; }
.x-notes b { color: var(--navy); }
.x-notes span { color: var(--ink); font-size: 15.5px; }
.x-notice { display: block; margin-top: 28px; }

@media (max-width: 1080px) {
  .nav .nav-event::after { top: 9px; }
}
@media (max-width: 900px) {
  .nav .nav-event::after { position: static; display: inline-block; margin-left: 8px; vertical-align: middle; width: 8px; height: 8px; }
  .x-hero-in, .x-lookup, .x-composer { grid-template-columns: minmax(0, 1fr); }
  .x-poster { max-width: 380px; }
  .x-cake { grid-template-columns: minmax(0, 1fr); }
  .x-cake .stamp { max-width: 420px; }
  .x-cakes.is-many { grid-template-columns: minmax(0, 1fr); }
  .x-points { grid-template-columns: minmax(0, 1fr); }
  .x-points.has-photo { gap: 18px; }
  .x-points.has-photo li { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 3px; }
  .x-points.has-photo figure { grid-row: 1 / 3; margin: 0; }
  .x-points.has-photo b { align-self: end; }
  .x-notes { grid-template-columns: minmax(0, 1fr); }
  .x-summary { position: static; }
  .x-sticky { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(37,49,115,.1); transition: transform .2s; }
  .x-sticky.is-away { transform: translateY(110%); }
  .x-sticky-txt { flex: 1; display: grid; gap: 0; }
  .x-sticky-txt span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
  .x-sticky-txt span.is-err { color: var(--berry-2); font-weight: 700; }
  .x-sticky-txt b { font-family: var(--serif); font-size: 20px; color: var(--berry); font-variant-numeric: tabular-nums; line-height: 1.3; }
  .x-sticky .btn { flex: none; min-height: 50px; padding: 0 20px; }
  .x-composing .dock { display: none; }
}
@media (prefers-reduced-motion: reduce) { .x-sticky { transition: none; } }
@media (max-width: 760px) {
  .x-closing { background: #fff; }
  .x-closing::before { display: none; }
  .x-closing-img { position: static; display: block; aspect-ratio: 16 / 10; height: auto; object-position: 80% 50%; }
  .x-closing-txt { max-width: none; padding: 30px 0 56px; }
}
@media (max-width: 700px) {
  .x-poster { display: none; }
  .x-film { margin: 0 calc(var(--gut) * -1); }
  .x-film-frame { box-shadow: none; }
  .x-film.is-custom .x-film-ctrl { padding: 12px var(--gut) 0; }
  .xbar { font-size: 13.5px; }
  .xbar-in { padding: 8px 14px; gap: 0 9px; }
  .xbar .holly { width: 22px; height: 15px; }
  .x-period { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 340px; }
  .x-period div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; }
  .x-period dd { margin: 0; font-size: 19px; }
  .x-dates { gap: 4px; }
  .x-date { min-height: 62px; border-radius: 10px; padding: 7px 0 6px; }
  .x-date b { font-size: 17px; }
  .x-left { font-size: 12px; letter-spacing: -.02em; }
  .x-times { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .x-prod { padding: 14px; }
  .x-notes li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .x-agree details { margin-left: 0; }
  .x-cakes.is-many .x-cake { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); }
}
