:root {
  --bg: #eefaf6;
  --white: #ffffff;
  --ink: #111517;
  --ink-2: #454b4f;
  --muted: #7c8286;
  --rule: #cfe6de;
  --dark: #0d1214;
  --dark-2: #172024;
  --gold: #f5b83d;
  --gold-d: #e2a224;
  --mint: #34d1b0;
  --mint-d: #1fb896;
  --mint-ink: #05261e;
  --r: 12px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Hiragino Sans", "PingFang SC", "Noto Sans CJK KR", "Segoe UI", Roboto, sans-serif;
  --display: "Oswald", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", sans-serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 16px; height: 16px; }
.eyebrow { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ── Buttons ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--mint); color: var(--mint-ink); }
.btn-gold:hover { background: var(--mint-d); }
.btn-gold[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost:hover { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.btn-ink { background: var(--mint); color: var(--mint-ink); }
.btn-line { border-color: var(--mint-d); color: #0b6b57; background: transparent; }
.btn-line:hover { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ── Top bar ───────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; color: var(--ink);
  background: rgba(238, 250, 246, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule);
  transition: background .3s, color .3s, border-color .3s;
}
.topbar.on-dark { background: transparent; color: #fff; border-color: transparent; backdrop-filter: none; }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo-text { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.nav { display: none; gap: 30px; margin-left: auto; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav a { text-decoration: none; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { opacity: 1; border-color: var(--gold); }
.lang { position: relative; margin-left: auto; }
.nav + .lang { margin-left: 6px; }
.lang-btn {
  display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid currentColor; background: transparent; font-weight: 700; font-size: 13px; letter-spacing: .06em;
}
.lang-menu {
  position: absolute; right: 0; top: 46px; margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--ink);
  border-radius: 12px; min-width: 160px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}
.lang-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 8px; font-weight: 600; }
.lang-menu button:hover { background: var(--bg); }
.lang-menu button[aria-selected="true"] { background: var(--mint); color: var(--mint-ink); }

/* ── Hero: timed cards ─────────────── */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
  background: var(--dark); color: #fff; isolation: isolate;
}
.hero-bg, .expander { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg { z-index: 0; transition: opacity .6s; }
.expander { z-index: 1; will-change: left, top, width, height; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 14, .78) 0%, rgba(8, 12, 14, .45) 45%, rgba(8, 12, 14, .05) 75%),
    linear-gradient(0deg, rgba(8, 12, 14, .7) 0%, rgba(8, 12, 14, 0) 45%),
    linear-gradient(180deg, rgba(8, 12, 14, .45) 0%, rgba(8, 12, 14, 0) 22%);
}
.hero-text { position: absolute; z-index: 3; left: 16px; right: 16px; top: 96px; max-width: 560px; }
.hero-text .line { display: block; width: 28px; height: 3px; background: #fff; border-radius: 2px; margin-bottom: 14px; }
.hero-text .label { margin: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero-text h1 { margin-top: 10px; font-size: clamp(36px, 9vw, 92px); line-height: 1.02; text-wrap: balance; overflow-wrap: normal; word-break: keep-all; }
.hero-text p.desc { margin: 16px 0 0; max-width: 440px; font-size: 15.5px; color: rgba(255, 255, 255, .82); }
.hero-text .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.hero-text .price { margin-right: 6px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .02em; }
.hero-text .price small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); margin-left: 4px; letter-spacing: 0; }
.hero-text > * { animation: rise .7s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4) { animation-delay: .18s; }
.hero-text > :nth-child(5) { animation-delay: .24s; }
.hero-text.leaving > * { animation: sink .35s ease-in both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sink { to { opacity: 0; transform: translateY(-16px); } }

.deck {
  position: absolute; z-index: 3; left: 16px; right: 0; bottom: 92px;
  display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 8px 16px 8px 0;
}
.deck::-webkit-scrollbar { display: none; }
.card {
  position: relative; flex: none; width: 128px; height: 184px; border: 0; padding: 0; border-radius: var(--r);
  background: #222 center / cover no-repeat; color: #fff; text-align: left; overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transition: transform .35s var(--ease);
  animation: deal .6s var(--ease) both; animation-delay: calc(var(--k) * 60ms);
}
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 60%); }
.card:hover { transform: translateY(-6px); }
.card .c-in { position: absolute; z-index: 1; left: 12px; right: 10px; bottom: 12px; }
.card .c-line { display: block; width: 14px; height: 2px; background: #fff; margin-bottom: 6px; }
.card .c-label { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .8); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .c-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.2; text-transform: uppercase; }
@keyframes deal { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

.hero-ctrl { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 28px; display: flex; align-items: center; gap: 10px; }
.round {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5);
  background: transparent; color: #fff; display: grid; place-items: center; transition: border-color .2s, background .2s;
}
.round:hover { border-color: var(--mint); background: var(--mint); color: var(--mint-ink); }
.progress { flex: 1; height: 3px; margin: 0 12px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.progress span.run { animation: fill var(--dur, 6s) linear forwards; }
.hero.paused .progress span.run { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.slide-no { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; min-width: 56px; text-align: right; }

/* ── Sections ──────────────────────── */
.section { padding: 64px 0; }
.section.dark { background: var(--dark); color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 28px; }
.sec-head h2, .split h2 { font-size: clamp(30px, 4.6vw, 48px); }
.sec-sub { margin: 12px 0 0; color: var(--ink-2); max-width: 560px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; max-width: calc(100% + 32px); }
.tabs::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--ink-2);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }

.tour { cursor: pointer; }
.t-media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  background: #ccc center / cover no-repeat; color: #fff;
}
.t-media::before { content: ""; position: absolute; inset: 0; background: inherit; background-size: cover; transition: transform .6s var(--ease); }
.tour:hover .t-media::before { transform: scale(1.05); }
.t-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, 0) 55%); }
.t-cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; }
.t-cap .c-line { display: block; width: 20px; height: 2px; background: #fff; margin-bottom: 8px; }
.t-cap small { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.t-cap h3 { margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; text-transform: uppercase; }
.t-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #1a1406; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.t-body { padding: 14px 2px 0; }
.t-desc { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.t-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.t-price { font-family: var(--display); font-weight: 600; font-size: 22px; }
.t-price small { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--muted); margin-left: 4px; }

.steps { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.steps .num { display: block; font-family: var(--display); font-weight: 600; font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 18px; font-weight: 800; }
.steps p { margin: 6px 0 0; color: rgba(255, 255, 255, .7); font-size: 15px; }

.split { display: grid; gap: 24px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--ink-2); max-width: 640px; }

.contact { background: var(--white); }
.contact-list { margin: 0; border-top: 2px solid var(--ink); }
.contact-list a { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.contact-list a:hover .c-val { color: var(--gold-d); }
.c-key { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.c-val { font-weight: 700; font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.c-go { color: var(--muted); }
.contact-meta { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 20px 0 0; font-size: 14.5px; }
.contact-meta dt { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.contact-meta dd { margin: 0; }

.footer { background: var(--dark); color: rgba(255, 255, 255, .55); padding: 32px 0 100px; font-size: 13px; }
.footer-note { margin: 0; max-width: 760px; }
.copy { margin: 10px 0 0; }

.fab {
  position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 20;
  display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px;
  background: var(--mint); color: var(--mint-ink); font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: opacity .3s, transform .3s;
}
.fab.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ── Sheet (detail / booking) ──────── */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(8, 12, 14, .55); backdrop-filter: blur(2px); }
.sheet {
  position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column; background: var(--white); border-radius: 18px 18px 0 0;
  animation: up .3s var(--ease);
}
.sheet-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

.sh-hero { position: relative; aspect-ratio: 16 / 9; background: #333 center / cover no-repeat; color: #fff; display: flex; align-items: flex-end; }
.sh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 60%); }
.sh-hero .in { position: relative; z-index: 1; padding: 20px; }
.sh-hero h2 { font-size: 32px; }
.sh-hero small { font-size: 13px; color: rgba(255, 255, 255, .8); font-weight: 600; }
.sh-hero .icon-btn { position: absolute; z-index: 2; top: 14px; right: 14px; background: rgba(0, 0, 0, .35); border-color: transparent; color: #fff; backdrop-filter: blur(6px); }
.sh-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: var(--white); z-index: 2; }
.sh-top .t { flex: 1; min-width: 0; }
.sh-top .t small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.sh-top .t b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; display: grid; place-items: center; flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.sh-pad { padding: 20px 20px 0; }
.sh-pad .lead { color: var(--ink-2); margin: 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px; }
.facts dt { color: var(--muted); font-weight: 700; font-size: 13px; padding-top: 1px; }
.facts dd { margin: 0; font-weight: 600; }
.sh-h { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.checks { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; }
.price-table { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 15.5px; }
.price-table span:nth-child(even) { font-weight: 800; text-align: right; }
.price-table small { color: var(--muted); }
.sh-foot {
  position: sticky; bottom: 0; display: flex; align-items: center; gap: 14px; margin-top: 24px;
  padding: 12px 20px max(12px, env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--rule);
}
.sh-foot .total { flex: 1; min-width: 0; }
.sh-foot .total small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.sh-foot .total b { font-family: var(--display); font-weight: 600; font-size: 26px; }

/* Booking form */
.form { padding: 0 20px; }
.fgroup { margin-top: 22px; }
.flabel { display: block; font-weight: 800; font-size: 14.5px; margin-bottom: 8px; }
.flabel .req { color: var(--gold-d); margin-left: 2px; }
.input, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid #bcd9cf;
  background: #fff; font: inherit; font-size: 16px; color: var(--ink);
}
.textarea { min-height: 90px; resize: vertical; }
.input:focus, .textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.input.err { border-color: #d9480f; outline: 2px solid #d9480f; outline-offset: -1px; }
.slots, .seg { display: flex; flex-wrap: wrap; gap: 8px; }
.slot, .seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid #bcd9cf; background: #fff; font-weight: 700; font-size: 15px;
}
.slot[aria-pressed="true"], .seg input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { cursor: pointer; font-size: 14.5px; }
.seg input:focus-visible + span { outline: 2px solid var(--gold-d); outline-offset: 2px; }
.guest { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.guest:last-child { border-bottom: 0; }
.guest b { display: block; }
.guest small { color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 2px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--mint); background: #fff; color: #0b6b57; font-size: 20px; line-height: 1; display: grid; place-items: center; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 40px; text-align: center; font-weight: 800; font-size: 18px; }
.form-err { margin: 16px 0 0; color: #d9480f; font-weight: 700; }
.pay-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

/* Done */
.done { padding: 36px 24px max(28px, env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto; }
.done .eyebrow { margin-bottom: 10px; color: var(--gold-d); }
.done h2 { font-size: 30px; }
.done > p { color: var(--ink-2); margin: 10px 0 0; }
.done .ref { margin: 24px 0 0; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.done .ref small { color: var(--muted); font-weight: 700; font-size: 13px; }
.done .ref b { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .04em; }
.done .facts { margin-top: 0; border-top: 0; }
.done .acts { display: grid; gap: 8px; margin: 24px 0 0; }
.demo-badge { display: inline-block; margin-top: 12px; padding: 3px 8px; border: 1px dashed #d9480f; color: #d9480f; font-size: 12px; font-weight: 800; }
.kiosk-count { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ── Breakpoints ───────────────────── */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .fab { display: none; }
  .footer { padding-bottom: 32px; }
  .section { padding: 96px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .split { grid-template-columns: 1fr 2fr; gap: 56px; }
  .tabs { margin: 0; padding: 0; max-width: none; }

  .hero-text { left: max(40px, calc((100vw - 1200px) / 2 + 16px)); top: auto; bottom: 21vh; max-width: 44vw; }
  .hero-text h1 { font-size: clamp(44px, 5.6vw, 88px); }
  .deck { left: 52vw; bottom: 120px; gap: 22px; overflow: visible; padding: 0; }
  .card { width: 172px; height: 252px; }
  .card .c-in { left: 16px; right: 14px; bottom: 16px; }
  .card .c-label { font-size: 11.5px; }
  .card .c-title { font-size: 17px; }
  .hero-ctrl { left: 52vw; right: 40px; bottom: 44px; gap: 14px; }
  .progress { margin: 0 18px; }
  .slide-no { font-size: 52px; min-width: 70px; }

  .sheet {
    left: 50%; right: auto; top: 50%; bottom: auto; width: min(620px, calc(100% - 48px)); max-height: 88vh;
    transform: translate(-50%, -50%); border-radius: 18px; animation: none;
  }
  .sheet-body { border-radius: 18px; }
}
@media (max-height: 700px) and (max-width: 959px) {
  .hero-text { top: 80px; }
  .hero-text p.desc { display: none; }
}

/* ── Kiosk (tablet APK) ────────────── */
body.kiosk { user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
body.kiosk .input, body.kiosk .textarea { user-select: text; -webkit-user-select: text; }
body.kiosk .nav, body.kiosk .fab { display: none; }
body.kiosk .lang { margin-left: auto; }
body.kiosk .topbar-in { height: 76px; }
body.kiosk .logo-text { font-size: 17px; }
body.kiosk .lang-btn { height: 48px; padding: 0 18px; font-size: 16px; }
body.kiosk .lang-menu { top: 58px; }
body.kiosk .lang-menu button { padding: 14px 16px; font-size: 17px; }
body.kiosk .chip { height: 48px; padding: 0 22px; font-size: 15px; }
body.kiosk .hero-text .btn { min-height: 56px; padding: 0 28px; font-size: 17px; }
body.kiosk .round { width: 56px; height: 56px; }
body.kiosk .footer { padding-bottom: 32px; }
body.kiosk .contact-list a[data-k="mail"] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .progress span.run { animation-duration: var(--dur, 6s) !important; } /* 타이머는 유지 */
}

/* 가격 문의 */
.ask { font-family: var(--sans); font-size: .72em; font-weight: 700; letter-spacing: 0; }

/* 업그레이드 권유 */
.upsell {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px;
  padding: 14px 16px; border-radius: 12px; background: #fff7e4; border: 1px solid #f3d792;
}
.upsell b { display: block; font-size: 15px; }
.upsell small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.upsell .btn { flex: none; }
.form .upsell { margin-top: 20px; }
.seg.opts span { min-height: 48px; }

@media (max-width: 420px) {
  .upsell { flex-direction: column; align-items: stretch; }
}

/* ── 투어 목록: 카테고리 묶음 ───────── */
.grid { display: block; }
.group + .group { margin-top: 44px; }
.group-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.group-no { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--gold-d); }
.group-head h3 { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; }
.group-count { margin-left: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; display: inline-grid; place-items: center; }

/* 휴대폰: 세로 2열 격자 (옆으로 넘기지 않음) */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.row .tour { min-width: 0; }
.t-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { display: none; }
@media (max-width: 639px) {
  .group:not(.open) .row > .tour:nth-child(n+7) { display: none; }
  .more-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 16px; height: 46px;
    border: 1.5px solid var(--mint-d); border-radius: 999px; background: transparent; color: #0b6b57; font-weight: 800; font-size: 14px;
  }
  .more-btn b { font-weight: 800; color: var(--mint-ink); background: var(--mint); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
  .row .t-media, .row .tour.featured .t-media { aspect-ratio: 3 / 4; border-radius: 12px; }
  .row .t-cap { left: 10px; right: 10px; bottom: 10px; }
  .row .t-cap small { font-size: 11px; }
  .row .t-cap h3 { font-size: 16px; line-height: 1.2; margin-top: 2px; }
  .row .t-badge { top: 8px; left: 8px; padding: 3px 8px; font-size: 10.5px; }
  .row .t-body { padding-top: 8px; }
  .row .t-desc { display: none; }
  .row .t-foot { margin-top: 0; gap: 4px; flex-wrap: nowrap; }
  .row .t-price { font-size: 17px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .row .t-price small { display: none; }
  .row .t-price .ask { font-size: 12px; }
  .row .btn-sm { min-height: 30px; height: 30px; padding: 0 10px; font-size: 12px; }
  .row .btn-cart-sm { width: 30px; min-width: 30px; padding: 0; }
  .row .btn-cart-sm .ic { width: 14px; height: 14px; }
  .row .t-acts { gap: 4px; }
  .row.single { grid-template-columns: 1fr 1fr; }
}

/* 넓은 화면: 격자 (묶음은 풀어서 한 격자로) */
@media (min-width: 640px) {
  .row { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .row .tour.featured { grid-column: span 2; }
  .row .tour.featured .t-media { aspect-ratio: 8 / 3; }
  .row .tour.featured .t-cap h3 { font-size: 32px; }
  .t-cap h3 { font-size: 21px; }
}
@media (min-width: 960px) {
  .row { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .group + .group { margin-top: 64px; }
  .group-head h3 { font-size: 28px; }
}
@media (min-width: 1280px) {
  .row { grid-template-columns: repeat(4, 1fr); }
}

/* ── 상품 상세 페이지 ─────────────── */
body.on-page .fab { display: none; }
.dp-hero {
  position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end;
  background: #123 center / cover no-repeat; color: #fff; isolation: isolate;
}
.dp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8, 12, 14, .82) 0%, rgba(8, 12, 14, .25) 55%, rgba(8, 12, 14, .45) 100%);
}
.dp-hero-in { position: relative; padding-top: 96px; padding-bottom: 36px; }
.dp-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; padding: 8px 14px 8px 10px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .2); color: #fff;
  font-weight: 700; font-size: 13.5px; backdrop-filter: blur(6px);
}
.dp-back:hover { background: rgba(0, 0, 0, .4); }
.dp-back .ic { width: 18px; height: 18px; }
.dp-hero .label { margin: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.dp-hero h1 { margin-top: 8px; font-size: clamp(36px, 7vw, 76px); line-height: 1.04; overflow-wrap: normal; word-break: keep-all; }
.dp-hero .desc { margin: 14px 0 0; max-width: 620px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.t-badge.static { top: 100px; left: auto; right: 16px; }

.dp-body { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 24px; }
.dp-sec + .dp-sec { margin-top: 36px; }
.dp-sec h2 { font-size: 22px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--ink); }
.dp-sec .facts { margin-top: 0; border-top: 0; }
.dp-sec .price-table { margin-top: 14px; }
.dp-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.dp-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.dp-checks .ic { color: #0f8a5f; margin-top: 2px; width: 18px; height: 18px; }

.dp-side { display: none; }
.dp-card { background: var(--white); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.dp-card > small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.dp-price { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.2; margin: 2px 0 10px; }
.dp-price small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.dp-card .btn { margin-top: 8px; min-height: 52px; font-size: 16px; }
.dp-card .btn-block { width: 100%; }
.dp-chat { display: block; margin-top: 14px; text-align: center; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.dp-related { padding-top: 32px; padding-bottom: 110px; }

.dp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 14px;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--rule);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .06);
}
.dp-bar .total { flex: 1; min-width: 0; }
.dp-bar .total small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.dp-bar .total b { font-family: var(--display); font-weight: 600; font-size: 22px; }
.dp-bar .total b small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 3px; }
.dp-bar .btn { min-height: 50px; padding: 0 26px; }

@media (min-width: 960px) {
  .dp-hero { min-height: 68vh; }
  .dp-hero-in { padding-bottom: 56px; }
  .t-badge.static { right: max(40px, calc((100vw - 1200px) / 2 + 16px)); }
  .dp-body { grid-template-columns: 1fr 360px; gap: 56px; padding-top: 56px; }
  .dp-side { display: block; }
  .dp-card { position: sticky; top: 88px; }
  .dp-bar { display: none; }
  .dp-related { padding-bottom: 80px; }
}

/* 상세 이미지 (업체 상세페이지 그대로) */
.dp-imgs { margin-top: 16px; max-width: 860px; border-radius: 12px; overflow: hidden; background: #fff; }
.dp-imgs img, .dp-imgs video { display: block; width: 100%; height: auto; }
/* 썸네일은 글씨가 들어간 이미지라 어둡게 덮지 않음 */
.t-media.is-thumb::after { background: none; }
.t-media.is-thumb .t-cap { display: none; }
.t-media.is-thumb { background-position: center top; }

/* 상세 페이지 배경 영상 + 영상 구역 */
.dp-hero { overflow: hidden; }
.dp-hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; max-width: 860px; }
.vids video { width: 100%; border-radius: 12px; background: #000; display: block; }
.vids video.h { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.vids video.v { aspect-ratio: 9 / 16; object-fit: cover; }

/* 상세 페이지: 추천 포인트 · 포함/불포함 · 일정 · 사진 */
.dp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.dp-feat { background: var(--white); border-radius: 14px; padding: 18px; }
.dp-feat .n { display: block; font-family: var(--display); font-weight: 600; color: var(--gold-d); font-size: 15px; }
.dp-feat b { display: block; margin-top: 4px; font-size: 16.5px; }
.dp-feat p { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; }
.dp-inex { display: grid; gap: 28px; }
.dp-inex h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.dp-checks.no .ic { color: #c2410c; }
.itin { list-style: none; margin: 16px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--gold); display: grid; gap: 28px; }
.itin li { position: relative; }
.itin li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.itin small { color: var(--gold-d); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.itin h3 { margin-top: 2px; font-size: 19px; font-weight: 800; }
.itin p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags span { padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); font-size: 12.5px; font-weight: 700; }
.clips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.clips video, .clips img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #0d1214; display: block; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--rule); }
.vids video.v { max-height: 640px; }
.vids:has(> video:only-child) { grid-template-columns: minmax(0, 360px); }
@media (min-width: 640px) {
  .dp-feats { grid-template-columns: 1fr 1fr; }
  .dp-inex { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* 상세 페이지 유튜브 배경 영상 (화면을 꽉 채우도록 16:9 확대) */
.dp-hero-yt { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.dp-hero-yt iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: max(100%, calc(62svh * 16 / 9)); height: max(62svh, 56.25vw);
  transform: translate(-50%, -50%) scale(1.15);
}
@media (min-width: 960px) { .dp-hero-yt iframe { width: max(100%, calc(68vh * 16 / 9)); height: max(68vh, 56.25vw); } }

/* ── 휴대폰 최적화 ─────────────────── */
@media (max-width: 639px) {
  .dp-feat { padding: 14px 14px 16px; border-radius: 12px; }
  .dp-feat b { font-size: 15px; line-height: 1.35; }
  .dp-feat p { font-size: 13px; line-height: 1.5; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .gallery img { border-radius: 8px; }
  .clips { gap: 6px; }
}

/* ── 신뢰하는 파트너사 (boracaywhaleshark.com 과 같은 모양) ── */
.partners { background: #fff; padding: 56px 0 64px; }
.eyebrow.center { text-align: center; color: #5b8db8; letter-spacing: .2em; font-weight: 600; margin-bottom: 36px; }
.partners-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partners-grid li { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 20px 14px; border-radius: 14px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .14); transition: transform .3s, box-shadow .3s; }
.partners-grid li:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0, 0, 0, .2); }
.partners-grid img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ── FAQ(왼쪽) + 문의(오른쪽) ──────── */
.help { background: var(--bg); }
.help-in { display: grid; gap: 48px; }
.help-col h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 18px; }
.help-contact .sec-sub { margin: -6px 0 18px; }
.help-col[id] { scroll-margin-top: 80px; }
@media (min-width: 960px) {
  .help-in { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
  .help-contact { position: sticky; top: 96px; background: var(--white); border-radius: 18px; padding: 32px; }
}
@media (max-width: 639px) {
  .partners-grid { gap: 6px; }
  .partners-grid li { aspect-ratio: 1; padding: 6px; border-radius: 10px; box-shadow: 0 3px 12px rgba(0, 0, 0, .12); }
}

/* 세로형 영상 + 알아두세요 나란히 */
.dp-vnotes { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 16px; align-items: start; }
.dp-vnotes h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.dp-vnotes video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #000; margin-top: 16px; }
.dp-vnotes video + video { margin-top: 10px; }
.vn-notes .dp-checks { margin-top: 16px; }
@media (max-width: 639px) {
  .dp-vnotes h2 { font-size: 19px; }
  .vn-notes .dp-checks li { font-size: 13.5px; line-height: 1.5; }
}
@media (min-width: 640px) {
  .dp-vnotes { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; }
}

/* ── 휴대폰 메인 히어로: 아래쪽에 크게 모으기 ── */
@media (max-width: 959px) {
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 10, 12, .96) 0%, rgba(6, 10, 12, .82) 34%, rgba(6, 10, 12, .25) 62%, rgba(6, 10, 12, 0) 75%),
      linear-gradient(180deg, rgba(6, 10, 12, .55) 0%, rgba(6, 10, 12, 0) 18%);
  }
  .hero-text { top: auto; bottom: 236px; }
  .hero-text .line { width: 24px; margin-bottom: 10px; background: var(--gold); }
  .hero-text .label { font-size: 13px; color: var(--gold); letter-spacing: .02em; }
  .hero-text h1 { margin-top: 6px; font-size: clamp(42px, 12.5vw, 64px); line-height: 1.04; }
  .hero-text p.desc { margin-top: 12px; font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-text .acts { margin-top: 18px; gap: 10px; }
  .hero-text .price { width: 100%; margin: 0 0 2px; font-size: 30px; }
  .hero-text .acts .btn { flex: 1; min-height: 50px; padding: 0 14px; font-size: 15px; }
  .deck { bottom: 82px; gap: 10px; padding: 6px 16px 6px 0; }
  .card { width: 104px; height: 140px; border-radius: 12px; }
  .card .c-in { left: 9px; right: 8px; bottom: 9px; }
  .card .c-label { font-size: 10px; }
  .card .c-title { font-size: 12.5px; }
  .hero-ctrl { bottom: 22px; }
  .round { width: 42px; height: 42px; }
  .slide-no { font-size: 30px; }
}
@media (max-height: 700px) and (max-width: 959px) {
  .hero-text { top: auto; bottom: 214px; }
  .hero-text h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .card { width: 92px; height: 120px; }
}

/* ── 장바구니 ─────────────────────── */
.cart-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; text-decoration: none; margin-left: auto; }
.cart-btn:hover { background: rgba(127, 127, 127, .12); }
.cart-btn ~ .lang { margin-left: 0; }
.nav ~ .cart-btn { margin-left: 6px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--mint); color: var(--mint-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn-cart { gap: 6px; }
.btn-icon { padding: 0; width: 50px; min-width: 50px; flex: none; }
.btn-cart-line { margin-top: 10px; gap: 6px; }
.dp-bar .btn-icon { min-height: 50px; }
@media (max-width: 959px) {
  .hero-text .acts .btn-cart { flex: none; width: 50px; padding: 0; }
  .hero-text .acts .btn-cart span { display: none; }
}
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: max(84px, calc(env(safe-area-inset-bottom) + 76px)); transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; white-space: nowrap;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ic { width: 18px; height: 18px; color: var(--mint); }
.toast a { color: var(--mint); text-decoration: none; margin-left: 4px; }
.cart-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.ci { border: 1px solid var(--rule); border-radius: 14px; padding: 12px; display: grid; gap: 10px; background: var(--white); }
.ci-head { display: flex; align-items: center; gap: 12px; }
.ci-img { width: 56px; height: 56px; border-radius: 10px; background: #ccc center / cover no-repeat; flex: none; }
.ci-t { flex: 1; min-width: 0; }
.ci-t small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.ci-t b { display: block; font-size: 15px; line-height: 1.3; }
.ci-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ci .input { min-height: 44px; }
.ci-pax { grid-template-columns: auto 1fr auto 1fr; align-items: center; font-size: 13.5px; font-weight: 700; }
.ci-pax .stepper button { width: 34px; height: 34px; font-size: 17px; }
.ci-pax .stepper output { min-width: 28px; font-size: 16px; }
.ci-sum { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--rule); padding-top: 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.ci-sum b { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 19px; }
.cart-empty { padding: 48px 20px 56px; text-align: center; color: var(--muted); }
.cart-empty .ce-ic .ic { width: 44px; height: 44px; color: var(--mint-d); }
.cart-empty p { margin: 12px 0 20px; font-weight: 700; }
body.kiosk .cart-btn { width: 48px; height: 48px; }
body.kiosk .cart-btn { margin-left: auto; } body.kiosk .cart-btn ~ .lang { margin-left: 0; }
.lang-btn { flex: none; white-space: nowrap; }
.lang { flex: none; }
@media (max-width: 639px) {
  .topbar-in { gap: 6px; }
  .logo { min-width: 0; overflow: hidden; }
  .logo-text { font-size: 13px; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; }
  .cart-btn { flex: none; }
}
/* 투어 카드: 장바구니 + 예약 */
.t-acts { display: flex; gap: 6px; flex: none; }
.btn-cart-sm { width: 38px; min-width: 38px; padding: 0; }
.btn-cart-sm .ic { width: 17px; height: 17px; }
@media (max-width: 639px) {
  .pg .btn-cart-sm { width: 30px; min-width: 30px; }
  .pg .btn-cart-sm .ic { width: 14px; height: 14px; }
  .pg .t-acts { gap: 4px; }
}

/* ── 언어별 줄바꿈 ─────────────────── */
h1, h2, h3, .t-cap h3, .c-title, .group-head h3 { text-wrap: balance; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) .c-title, :lang(ko) p, :lang(ko) b { word-break: keep-all; overflow-wrap: break-word; }
:lang(ja) body, :lang(zh) body { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
:lang(ru) h1, :lang(ru) h2, :lang(ru) h3, :lang(ru) .c-title { hyphens: auto; overflow-wrap: break-word; }
:lang(en) h1, :lang(en) h2, :lang(en) h3 { overflow-wrap: break-word; }
/* 일본어: 단어(문절) 단위로 줄바꿈 — 지원 안 하는 브라우저는 띄어쓰기 기준 */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .c-title, :lang(ja) .t-cap h3, :lang(ja) .dp-feat b { word-break: keep-all; overflow-wrap: anywhere; }
@supports (word-break: auto-phrase) {
  :lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .c-title, :lang(ja) .t-cap h3, :lang(ja) p, :lang(ja) .dp-feat b { word-break: auto-phrase; }
}
.t-price .ask { white-space: nowrap; }
@media (max-width: 639px) { .pg .t-price .ask { font-size: 12px; } }
@media (max-width: 959px) {
  :lang(ja) .hero-text h1, :lang(zh) .hero-text h1 { font-size: clamp(32px, 9.6vw, 52px); line-height: 1.12; }
  :lang(ru) .hero-text h1, :lang(en) .hero-text h1 { font-size: clamp(34px, 10.4vw, 56px); }
}
:lang(ja) .dp-hero h1, :lang(zh) .dp-hero h1 { word-break: keep-all; overflow-wrap: anywhere; }

/* 상세 하단 가격 바: 가격·단위 한 줄 */
.dp-bar { gap: 10px; }
.dp-bar .total b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
.dp-bar .total b small { display: inline; margin-left: 3px; }
.dp-bar .btn { padding: 0 20px; white-space: nowrap; }
@media (max-width: 959px) {
  body.on-page .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .dp-related { padding-bottom: 32px; }
}
