/* FROM BUSAN — 신비로운 퍼플 + 자개(나전) 모티브 */
:root {
  --purple: #3B1F6B;
  --purple-2: #4E2C8A;
  --purple-deep: #1F0F3A;
  --ivory: #FAF6EF;
  --ivory-2: #F2EBDF;
  --gold: #C9A45C;
  --gold-soft: #E7D3A3;
  --ink: #1E1530;
  --muted: #6D6380;
  --line: rgba(59, 31, 107, .14);
  --nacre: url("/assets/nacre.svg");
  --iris: linear-gradient(115deg, #e9defc 0%, #b7a2f0 22%, #9fdcef 40%, #f6d8ec 58%, #fff0d4 72%, #b4a3ee 88%, #e9defc 100%);
  --radius: 18px;
  --wrap: 1240px;
  --en: "Outfit", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --ko: "Pretendard Variable", Pretendard, "Outfit", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--ko); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--en); letter-spacing: -.01em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── 띠 공지 ── */
.notice { background: var(--purple-deep); color: var(--gold-soft); font-size: 13px; letter-spacing: .04em; overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 28px; padding: 9px 0; animation: slide 40s linear infinite; }
.marquee-track i { font-style: normal; opacity: .6; }
@keyframes slide { to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── 머리말 ── */
.site-header { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; padding: 0 clamp(16px, 3vw, 36px); background: rgba(250, 246, 239, .92); backdrop-filter: blur(12px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(31, 15, 58, .06); }
.hd-left { display: flex; align-items: center; gap: 28px; }
.hd-nav { display: flex; gap: 22px; font-family: var(--en); font-size: 14px; font-weight: 500; }
.hd-nav a:hover { color: var(--purple-2); }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; cursor: pointer; font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.burger { width: 20px; height: 10px; border-top: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; }
.logo img { height: 54px; width: auto; }
.hd-right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.lang-btn { white-space: nowrap; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .08em; cursor: pointer; }
.lang-btn span { color: var(--muted); font-weight: 400; }
.cart-btn { position: relative; display: grid; place-items: center; color: var(--purple); }
.cart-count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--purple); color: var(--ivory); font: 600 11px/18px var(--en); text-align: center; font-style: normal; }
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(31, 15, 58, .45); }
.drawer-panel { width: min(360px, 86vw); height: 100%; background: var(--ivory); padding: 28px; display: flex; flex-direction: column; gap: 4px; animation: inL .25s ease; overflow-y: auto; }
.drawer-panel a { font-family: var(--en); font-size: 20px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-logo { height: 40px; width: auto; margin-bottom: 18px; }
@keyframes inL { from { transform: translateX(-30px); opacity: 0; } }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 99px; border: 1px solid transparent; font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .02em; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn.full { width: 100%; }
.btn-purple { background: var(--purple); color: var(--ivory); box-shadow: 0 8px 22px rgba(59, 31, 107, .25); }
.btn-purple:hover { background: var(--purple-2); }
.btn-line { background: transparent; border-color: var(--purple); color: var(--purple); }
.btn-line-light { background: transparent; border-color: rgba(250, 246, 239, .55); color: var(--ivory); }
.btn-pearl { background: var(--iris); background-size: 200% 100%; color: var(--purple-deep); box-shadow: 0 8px 26px rgba(185, 164, 242, .35), inset 0 0 0 1px rgba(255, 255, 255, .6); animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.link-under { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.pill { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px; border: 1px solid currentColor; border-radius: 99px; }

/* ── 히어로 ── */
.hero { position: relative; min-height: min(92svh, 860px); background: var(--purple-deep); color: var(--ivory); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(80% 60% at 78% 30%, rgba(78, 44, 138, 0) 0%, rgba(31, 15, 58, .55) 70%),
  linear-gradient(180deg, rgba(31, 15, 58, .2), rgba(31, 15, 58, .85) 92%),
  var(--nacre) center/cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(59, 31, 107, .92) 8%, rgba(59, 31, 107, .55) 46%, rgba(59, 31, 107, .15) 80%); }
.hero-inner { width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: clamp(56px, 10vh, 120px) 0 24px; max-width: 640px; margin-left: max(16px, (100% - var(--wrap)) / 2); }
.kicker { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker.dark { color: var(--purple-2); }
.hero-title { font-size: clamp(44px, 7.4vw, 92px); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
html[lang="ko"] .hero-title { font-family: var(--ko); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; }
.hero-body { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); max-width: 30em; color: rgba(250, 246, 239, .82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-word { height: clamp(70px, 15.5vw, 230px); margin: 24px clamp(12px, 2.4vw, 36px) clamp(12px, 2vw, 28px); background: var(--iris); background-size: 220% 100%; -webkit-mask: url("/assets/logo/FB_wordmark_horizontal.svg") center/contain no-repeat; mask: url("/assets/logo/FB_wordmark_horizontal.svg") center/contain no-repeat; animation: shimmer 9s ease-in-out infinite alternate; filter: drop-shadow(0 0 30px rgba(233, 222, 252, .25)); }

/* ── 섹션 공통 ── */
section { scroll-margin-top: 90px; }
.sec-title { font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--purple-2); margin-bottom: 26px; }
.sec-big { font-size: clamp(36px, 5.6vw, 72px); font-weight: 600; letter-spacing: -.035em; color: var(--purple); line-height: 1; }
html[lang="ko"] .sec-big { font-family: var(--ko); font-weight: 700; letter-spacing: -.045em; }
.sec-big.small { font-size: clamp(26px, 3.4vw, 40px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.sec-sub { margin-top: 10px; color: var(--muted); }

/* ── 이용 방법 ── */
.steps { padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps-list li { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.steps-list li + li { padding-left: 28px; }
.steps-list li:last-child { border-right: 0; }
.step-no { display: inline-block; font-family: var(--en); font-size: 14px; font-weight: 600; background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; filter: saturate(1.6) brightness(.8); margin-bottom: 14px; }
.steps-list h3 { font-size: 22px; font-weight: 600; color: var(--purple); margin-bottom: 8px; }
html[lang="ko"] .steps-list h3 { font-family: var(--ko); }
.steps-list p { color: var(--muted); font-size: 15px; }

/* ── 2칸 타일 ── */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: clamp(56px, 8vw, 100px); }
.tile { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; color: var(--ivory); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 3vw, 34px); isolation: isolate; }
.tile-bg { position: absolute; inset: 0; z-index: -1; background: var(--nacre) center/cover; transition: transform .8s ease; }
.tile:hover .tile-bg { transform: scale(1.05); }
.tile-a .tile-bg::after, .tile-b .tile-bg::after { content: ""; position: absolute; inset: 0; }
.tile-a .tile-bg::after { background: linear-gradient(200deg, rgba(59, 31, 107, .1) 10%, rgba(31, 15, 58, .9) 85%); }
.tile-b .tile-bg { background-position: right bottom; filter: hue-rotate(40deg) saturate(.8); }
.tile-b .tile-bg::after { background: linear-gradient(200deg, rgba(120, 70, 160, .05) 10%, rgba(59, 31, 107, .88) 85%); }
.tile h3 { font-size: clamp(26px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.03em; text-transform: uppercase; }
html[lang="ko"] .tile h3 { font-family: var(--ko); font-weight: 700; text-transform: none; }
.tile p { margin-top: 6px; opacity: .85; }
.tile .pill { position: absolute; right: clamp(20px, 3vw, 34px); bottom: clamp(20px, 3vw, 34px); }
.tile-txt { padding-right: 90px; }

/* ── 베스트 레일 ── */
.best { padding-bottom: clamp(56px, 8vw, 100px); }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.tabs [role=tab] { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 8px 18px; font-family: var(--en); font-size: 14px; font-weight: 500; cursor: pointer; }
.tabs [role=tab][aria-selected="true"] { background: var(--purple); border-color: var(--purple); color: var(--ivory); }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-arrow { position: absolute; top: 34%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ivory); color: var(--purple); font-size: 26px; line-height: 1; box-shadow: 0 6px 20px rgba(31, 15, 58, .16); cursor: pointer; }
.rail-arrow.prev { left: -14px; } .rail-arrow.next { right: -14px; }

/* ── 상품 카드 ── */
.card { display: flex; flex-direction: column; gap: 14px; }
.card-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.card-img .pv { transition: transform .6s ease; }
.card:hover .card-img .pv { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; font: 600 11px/1 var(--en); letter-spacing: .12em; padding: 7px 10px; border-radius: 99px; background: rgba(250, 246, 239, .92); color: var(--purple); }
.badge.soon { background: var(--purple-deep); color: var(--gold-soft); position: static; display: inline-block; }
.card-img .badge.soon { position: absolute; }
.card.is-soon .card-img .pv { filter: grayscale(.35) brightness(.96); }
.card-body { display: flex; flex-direction: column; gap: 4px; }
.card-brand { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.card-name { font-family: var(--en); font-size: 16px; font-weight: 600; line-height: 1.3; }
html[lang="ko"] .card-name { font-family: var(--ko); }
.card-short { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.price b { font-family: var(--en); font-size: 17px; font-weight: 600; color: var(--purple); }
.price small { font-size: 12.5px; color: var(--muted); }
.price.big b { font-size: 30px; }
.price.big small { font-size: 15px; }

/* ── 상품 그림 자리: 자개 판 위 심볼 ── */
.pv { background-repeat: no-repeat !important; position: relative; width: 100%; height: 100%; background: var(--nacre) center/cover; display: grid; place-items: center; overflow: hidden; }
.pv img { width: 100%; height: 100%; object-fit: cover; }
.pv::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 45%, rgba(255, 255, 255, .55), transparent 70%); }
.pv-mark { position: relative; width: 38%; aspect-ratio: 1; background: var(--purple); -webkit-mask: url("/assets/logo/FB_symbol.svg") center/contain no-repeat; mask: url("/assets/logo/FB_symbol.svg") center/contain no-repeat; opacity: .88; }
.pv-label { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font: 600 11px/1 var(--en); letter-spacing: .2em; text-transform: uppercase; color: var(--purple); opacity: .7; }
.tone-plum { background-position: 10% 20%; filter: hue-rotate(-18deg) saturate(1.1); }
.tone-pearl { background-position: 70% 60%; filter: saturate(.75) brightness(1.04); }
.tone-sky { background-position: 40% 90%; filter: hue-rotate(28deg); }
.tone-abalone { background-position: 90% 10%; filter: saturate(1.35) contrast(1.05); }
.tone-gold { background-position: 0 100%; filter: sepia(.25) saturate(1.1); }
.pv-big .pv-mark { width: 34%; }

/* ── 스토리 ── */
.story { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--ivory-2); }
.story-img { position: relative; min-height: 520px; background: var(--nacre) 30% 50%/cover; display: grid; place-items: center; overflow: hidden; }
.story-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(59, 31, 107, .78), rgba(59, 31, 107, .2)); }
.story-img img { position: relative; width: 40%; filter: brightness(0) invert(.97) sepia(.15); opacity: .95; }
.story-txt { padding: clamp(40px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.story-txt h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 600; letter-spacing: -.035em; color: var(--purple); }
html[lang="ko"] .story-txt h2 { font-family: var(--ko); font-weight: 700; }
.story-txt p { color: var(--muted); max-width: 32em; }
.story-txt .link-under { align-self: flex-start; color: var(--purple); }

/* ── 공방 ── */
.makers { padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 8vw, 100px); }
.maker-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.maker { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; min-height: 260px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .2s, box-shadow .2s; }
.maker::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--nacre) center/cover; z-index: -1; transition: height .35s ease; }
.maker:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(59, 31, 107, .12); }
.maker:hover::before { height: 100%; opacity: .32; }
.maker-craft { font: 600 11px/1.2 var(--en); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.maker strong { font-family: var(--en); font-size: 20px; color: var(--purple); }
.maker p { font-size: 13.5px; color: var(--muted); flex: 1; }
.maker-n { font: 600 13px var(--en); color: var(--purple); }
.maker.tone-plum, .maker.tone-pearl, .maker.tone-sky, .maker.tone-abalone, .maker.tone-gold { filter: none; }

/* ── 순간별 ── */
.occ { padding-bottom: clamp(64px, 9vw, 110px); }
.occ .sec-big { margin-bottom: 26px; }
.occ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.occ-card { position: relative; min-height: 220px; padding: 26px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: var(--ivory); background: var(--purple); overflow: hidden; isolation: isolate; }
.occ-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nacre) center/cover; mix-blend-mode: soft-light; opacity: .9; }
.occ-1 { background: var(--purple-2); } .occ-1::before { background-position: 80% 30%; }
.occ-2 { background: var(--purple-deep); } .occ-2::before { background-position: 20% 80%; }
.occ-card h3 { font-size: 28px; font-weight: 600; }
html[lang="ko"] .occ-card h3 { font-family: var(--ko); font-weight: 700; }
.occ-card p { opacity: .8; font-size: 14.5px; }

/* ── 사전신청 ── */
.notify { position: relative; background: var(--purple); color: var(--ivory); overflow: hidden; isolation: isolate; }
.notify::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nacre) center/cover; mix-blend-mode: soft-light; opacity: .75; }
.notify-inner { width: min(720px, 100% - 32px); margin: 0 auto; padding: clamp(64px, 9vw, 110px) 0; text-align: center; }
.notify h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; }
html[lang="ko"] .notify h2 { font-family: var(--ko); font-weight: 700; }
.notify p { margin-top: 12px; opacity: .85; }
.notify-form { display: flex; gap: 10px; margin-top: 28px; }
.notify-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 22px; border-radius: 99px; border: 1px solid rgba(250, 246, 239, .4); background: rgba(250, 246, 239, .1); color: var(--ivory); }
.notify-form input::placeholder { color: rgba(250, 246, 239, .6); }
.notify-msg { min-height: 1.6em; margin-top: 12px !important; }

/* ── 꼬리말 ── */
.site-footer { background: var(--purple-deep); color: rgba(250, 246, 239, .8); }
.band { background: var(--iris); color: var(--purple-deep); font: 600 14px var(--en); letter-spacing: .04em; }
.band .marquee-track { padding: 14px 0; animation-duration: 50s; }
.ft-inner { width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 64px 0 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.ft-logo { display: block; width: 240px; aspect-ratio: 4 / 1; margin-bottom: 18px; background: var(--ivory); -webkit-mask: url("/assets/logo/FB_lockup_horizontal.svg") left center/contain no-repeat; mask: url("/assets/logo/FB_lockup_horizontal.svg") left center/contain no-repeat; }
.ft-brand p { max-width: 28em; font-size: 14px; }
.ft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ft-cols h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.ft-cols a { display: block; padding: 4px 0; font-size: 14px; }
.ft-cols a:hover { color: #fff; }
.ft-biz { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding-top: 26px; border-top: 1px solid rgba(250, 246, 239, .15); font-size: 12.5px; }
.ft-biz div { display: flex; gap: 6px; }
.ft-biz dt { opacity: .6; }
.ft-biz dd { margin: 0; }
.ft-biz .muted { color: rgba(250, 246, 239, .45); font-style: italic; }
.ft-copy { grid-column: 1 / -1; font-size: 12px; opacity: .5; }

/* ── 목록 ── */
.page-head { padding: clamp(40px, 6vw, 72px) 0 26px; }
.page-head .count { color: var(--muted); margin-top: 10px; font-family: var(--en); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chips.small { margin-top: 10px; }
.chip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; font-family: var(--en); font-weight: 500; background: #fff; }
.chips.small .chip { font-size: 12.5px; padding: 6px 12px; background: transparent; }
.chip.on { background: var(--purple); color: var(--ivory); border-color: var(--purple); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 14px; padding-bottom: 100px; }

/* ── 상세 ── */
.crumbs { padding: 22px 0 0; font-size: 13px; color: var(--muted); font-family: var(--en); }
.crumbs a:hover { color: var(--purple); }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); padding: 20px 0 60px; }
.pd-gallery { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; position: sticky; top: 90px; align-self: start; }
.pd-info { display: flex; flex-direction: column; gap: 14px; }
.pd-info h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; color: var(--purple); letter-spacing: -.025em; }
html[lang="ko"] .pd-info h1 { font-family: var(--ko); font-weight: 700; }
.pd-short { color: var(--muted); font-size: 17px; }
.pd-meta { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pd-meta li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-meta span { color: var(--muted); }
.pd-meta b { font-weight: 500; text-align: right; }
.pd-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field > span { font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(59, 31, 107, .22); background: #fff; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(59, 31, 107, .12); }
.field input[readonly] { background: var(--ivory-2); }
.field small { color: var(--muted); font-size: 12.5px; }
.qty-row { display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; border: 1px solid rgba(59, 31, 107, .22); border-radius: 99px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; font-family: var(--en); font-weight: 600; }
.pd-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.pd-total b { font-family: var(--en); font-size: 24px; color: var(--purple); }
.pd-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.form-msg { color: #a1324a; font-size: 14px; min-height: 1.4em; }
.soon-box { padding: 22px; border-radius: var(--radius); background: var(--ivory-2); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pd-tabs { padding-bottom: 60px; }
.pd-panel { padding: 22px 0; border-top: 1px solid var(--line); max-width: 760px; color: #3d3350; }
.pd-panel h3 { color: var(--purple); margin-bottom: 8px; }

/* ── 장바구니·주문 ── */
.cart-page, .order-page, .thanks { padding: clamp(40px, 6vw, 72px) 0 100px; }
.cart-page .sec-big, .order-page .sec-big { margin-bottom: 30px; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 76px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.line-img .pv-mark { width: 46%; }
.line-img .pv-label { display: none; }
.line-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-txt strong { font-size: 15px; line-height: 1.3; }
.line-txt small { color: var(--muted); font-size: 12.5px; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.line-end b { font-family: var(--en); }
.totals { margin: 18px 0 0; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.totals dt { color: var(--muted); } .totals dd { margin: 0; font-family: var(--en); }
.totals .grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; align-items: baseline; }
.totals .grand dt { color: var(--ink); font-weight: 600; }
.totals .grand dd { font-size: 22px; font-weight: 600; color: var(--purple); display: flex; flex-direction: column; align-items: flex-end; }
.totals .grand small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.cart-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.empty { color: var(--muted); margin-bottom: 20px; }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.order-main { display: flex; flex-direction: column; gap: 18px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 14px; background: #fff; }
legend { font-family: var(--en); font-weight: 600; font-size: 17px; color: var(--purple); padding: 0 8px; }
.addr-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid rgba(59, 31, 107, .22); cursor: pointer; font-size: 14px; }
.seg input:checked + span { background: var(--purple); color: var(--ivory); border-color: var(--purple); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); }
.card-preview { position: relative; padding: 26px 24px 26px 76px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--gold-soft); min-height: 96px; overflow: hidden; }
.card-preview::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 56px; background: var(--nacre) center/cover; }
.card-preview img { position: absolute; left: 14px; top: 50%; width: 28px; transform: translateY(-50%); }
.card-preview p { white-space: pre-wrap; font-size: 15px; color: var(--purple-deep); }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(59, 31, 107, .22); cursor: pointer; }
.pay-opt span { flex: 1; font-size: 15px; }
.pay-opt.disabled { opacity: .5; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--purple); }
.order-side { position: sticky; top: 90px; padding: 24px; border-radius: var(--radius); background: var(--ivory-2); }
.order-side h2 { font-size: 18px; margin-bottom: 14px; color: var(--purple); }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.thanks-mark { width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--nacre) center/cover; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(59, 31, 107, .2); }
.thanks-mark img { width: 52%; }
.thanks h2 { font-size: 18px; margin-top: 18px; color: var(--purple); }
.order-no b { font-family: var(--en); color: var(--purple); }
.steps-list.mini { width: 100%; text-align: left; }
.steps-list.mini li { padding-top: 18px; }

/* ── 반응형 (모바일 우선 보정) ── */
@media (max-width: 1080px) {
  .maker-grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .hd-nav { display: none; }
  .site-header { height: 62px; }
  .logo img { height: 42px; }
  .menu-btn { font-size: 0; gap: 0; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li + li { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3.2; }
  .rail { grid-auto-columns: 62%; }
  .rail-arrow { display: none; }
  .story { grid-template-columns: 1fr; }
  .story-img { min-height: 300px; }
  .maker-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .maker { scroll-snap-align: start; min-height: 230px; }
  .occ-grid { grid-template-columns: 1fr; }
  .occ-card { min-height: 160px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .order-grid { grid-template-columns: 1fr; }
  .order-side { position: static; order: -1; }
  .ft-inner { grid-template-columns: 1fr; }
  .notify-form { flex-direction: column; }
  .sec-head { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .lang-btn { padding: 4px 9px; }
  .lang-btn span { display: none; }
  .logo img { height: 34px; }
  .hd-right { gap: 12px; }
  .hero-cta .btn { flex: 1; }
  .pd-btns { grid-template-columns: 1fr; }
  .card-name { font-size: 14.5px; }
  .price b { font-size: 15px; }
}

/* ── 결제 안내 ── */
.pay-note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.pay-note b { color: var(--purple); }
.sandbox-tag { display: block; margin-top: 6px; font: 600 11px/1.4 var(--en); letter-spacing: .08em; color: #8a5a00; background: #fff4d6; border-radius: 8px; padding: 6px 10px; }
#paypal-buttons { min-height: 10px; }

/* ── 약관 문서 ── */
.doc { padding: clamp(40px, 6vw, 72px) 0 100px; }
.doc .sec-big { margin-bottom: 10px; }
.doc h2 { font-size: 18px; color: var(--purple); margin: 30px 0 8px; }
.doc p { margin: 6px 0; color: #3d3350; }
.doc .doc-ko { color: var(--muted); font-size: 14.5px; }
.doc .doc-date { margin-top: 30px; font-size: 13px; color: var(--muted); }

/* ── 상품 사진 ── */
.pv.has-img { filter: none; background: var(--ivory-2); }
.pv.has-img::before { display: none; }
.pd-gallery { aspect-ratio: auto; overflow: visible; border-radius: 0; }
.pd-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ivory-2); }
.pd-main img.contain { object-fit: contain; background: #fff; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; font: 500 12px var(--en); color: var(--muted); }
.pd-thumbs button img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.pd-thumbs button.on { border-color: var(--purple); color: var(--purple); }
.pd-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
