:root {
  --navy: #0e4194;
  --yellow: #fdc300;
  --ink: #16181d;
  --sub: #5b6270;
  --line: #e6e8ee;
  --bg: #f5f6f9;
  --card: #fff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  word-break: keep-all;
}
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

.hd { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; text-decoration: none; }
.logo img { border-radius: 6px; }
.nav { display: flex; gap: 4px; overflow-x: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: 999px; white-space: nowrap; opacity: .85; }
.nav a:hover, .nav a[aria-current] { background: rgba(255,255,255,.14); opacity: 1; }

.hero { padding: 36px 0 20px; }
.hero .eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pc, var(--navy)); }
.hero h1 { margin: 0 0 12px; font-size: clamp(28px, 6vw, 40px); line-height: 1.25; letter-spacing: -.02em; }
.hero.home h1 { position: relative; }
.hero.home h1::after { content: ""; display: inline-block; width: .28em; height: .28em; background: var(--yellow); margin-left: 4px; }
.lead { margin: 0 0 8px; color: var(--sub); max-width: 640px; }
.upd { margin: 0; font-size: 13px; color: var(--sub); }

.notice { background: #fff8db; border: 1px solid #f3dd8a; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 8px 0 20px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cp { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--pc); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.cp-label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--pc); background: color-mix(in srgb, var(--pc) 10%, #fff); padding: 3px 8px; border-radius: 6px; }
.cp-amount { margin: 12px 0 2px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.cp-desc { margin: 0; font-weight: 600; }
.cp-terms { margin: 4px 0 16px; font-size: 13px; color: var(--sub); flex: 1; }
.cp-btn { display: block; text-align: center; text-decoration: none; font-weight: 700; font-size: 15px; color: #fff; background: var(--pc); border-radius: 10px; padding: 12px 10px; }
.cp-btn:hover { filter: brightness(1.06); }
.cp-btn .cp-btn-done { display: none; }
.cp-btn.copied { background: #14a44d; }
.cp-btn.copied .cp-btn-idle { display: none; }
.cp-btn.copied .cp-btn-done { display: inline; }

.plat { margin: 28px 0; }
.plat-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.plat-hd h2 { margin: 0; font-size: 22px; }
.plat-hd a { font-size: 14px; font-weight: 600; color: var(--pc); text-decoration: none; white-space: nowrap; }

main h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.01em; }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 54px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.steps b { display: block; }
.goods { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0 0 8px; }
.goods li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.small { font-size: 13px; color: var(--sub); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--sub); }
.others { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.other { display: flex; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--pc); border-radius: 12px; padding: 14px 16px; font-weight: 700; text-decoration: none; }
.other span { color: var(--pc); }

.ft { margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.ft p { margin: 0 0 6px; }
.ft-copy { margin-top: 12px !important; }

@media (max-width: 520px) {
  .hd-in { height: 52px; }
  .logo { font-size: 16px; }
  .nav a { padding: 6px 8px; font-size: 13px; }
}

/* 하위 페이지 */
.crumbs { font-size: 13px; color: var(--sub); padding-top: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.subnav { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; margin-bottom: 4px; }
.subnav a { flex: none; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.subnav a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--pc, var(--navy)); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.cp-top { display: flex; align-items: center; gap: 6px; }
.cp-soon { font-size: 12px; font-weight: 700; color: #9a6b00; background: #fff3c4; padding: 3px 8px; border-radius: 6px; }
.cp-period { margin: -8px 0 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cp-card .cp-amount { font-size: 24px; }
main h3 { font-size: 17px; margin: 24px 0 10px; }
.more { font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; }
h3 .more { font-size: 13px; margin-left: 6px; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 12px; padding: 16px; color: var(--sub); }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; margin-top: 16px; }
.doc h1 { font-size: clamp(24px, 5vw, 32px); line-height: 1.3; margin: 0 0 6px; letter-spacing: -.02em; }
.doc h2 { margin-top: 32px; }
.doc a { color: var(--navy); font-weight: 600; }
.doc .steps li { background: var(--bg); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; display: block; overflow-x: auto; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--bg); }
.tbl tbody th { white-space: nowrap; color: var(--sub); }
.subnav, .nav { scrollbar-width: none; }
.subnav::-webkit-scrollbar, .nav::-webkit-scrollbar { display: none; }

/* 홈 — 전세계 여행 할인코드 */
body { overflow-x: clip; }
.band { margin: 0 calc(50% - 50vw); padding: 44px calc(50vw - 50%) 0; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(253,195,0,.28), transparent 38%),
              radial-gradient(circle at 10% 90%, rgba(80,160,255,.35), transparent 45%),
              linear-gradient(135deg, #0b347a 0%, #0e4194 55%, #1656c2 100%); }
.band::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.5px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 30%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 30%, transparent 70%); }
.band-in { position: relative; }
.band-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 700; opacity: .9; }
.band h1 { margin: 0 0 14px; font-size: clamp(30px, 6.4vw, 48px); line-height: 1.22; letter-spacing: -.03em; }
.band h1 em { font-style: normal; color: var(--yellow); }
.band-lead { margin: 0 0 22px; max-width: 560px; opacity: .88; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.stats div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 10px 16px; min-width: 104px; backdrop-filter: blur(4px); }
.stats b { display: block; font-size: 26px; line-height: 1.2; color: var(--yellow); }
.stats span { font-size: 13px; opacity: .85; }
.band-upd { margin: 0; font-size: 12px; opacity: .7; }
.marquee { position: relative; margin-top: 28px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.15); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-in { display: flex; gap: 10px; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font-size: 14px; font-weight: 600; white-space: nowrap; background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px 12px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-in { animation: none; } }

.ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -1px 0 20px; padding-top: 20px; }
.ptile { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.ptile::after { content: "→"; position: absolute; right: 14px; top: 14px; color: var(--pc); font-weight: 800; }
.ptile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,65,148,.1); }
.ptile-name { font-weight: 800; color: var(--pc); }
.ptile-max { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ptile-meta { font-size: 13px; color: var(--sub); }
@media (max-width: 640px) { .ptiles { grid-template-columns: 1fr; } .ptile { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; } .ptile-meta { width: 100%; } }

.plat-hd h2 { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 3px; background: var(--pc); flex: none; }
.cp-dday { font-size: 12px; font-weight: 800; color: #fff; background: #e5484d; padding: 3px 8px; border-radius: 6px; }
@media (max-width: 520px) {
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stats div { min-width: 0; padding: 10px 10px; }
  .stats b { font-size: 22px; }
  .stats span { font-size: 12px; line-height: 1.35; display: block; }
}

/* 머리띠 가운데 정렬 */
.band-in { text-align: center; }
.band-lead { margin-left: auto; margin-right: auto; }
.stats { justify-content: center; }
.stats div { text-align: center; }
.band::before { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 25%, transparent 70%);
                        mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 25%, transparent 70%); }
@media (max-width: 520px) { .stats { max-width: 420px; margin-left: auto; margin-right: auto; } }

/* 판매처 칸 가운데 정렬 */
.ptile { align-items: center; text-align: center; }
@media (max-width: 640px) { .ptile { justify-content: center; } .ptile-meta { text-align: center; } }

/* 여행 상품 글 카드 */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,65,148,.12); }
.pc-img { position: relative; aspect-ratio: 16/10; background: #dfe5f0; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-seller { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 800; color: #fff; background: var(--pc); padding: 3px 8px; border-radius: 6px; }
.pc-body { padding: 12px 14px 16px; }
.pc-where { margin: 0; font-size: 12px; font-weight: 700; color: var(--sub); }
.pc-title { margin: 2px 0 4px; font-weight: 800; font-size: 16px; line-height: 1.4; }
.pc-lead { margin: 0; font-size: 13px; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 24px 0; }
.pager a { min-width: 38px; text-align: center; text-decoration: none; font-weight: 700; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.pager a[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 여행 상품 글 본문 */
.post { max-width: 760px; margin: 12px auto 0; }
.post-hero { position: relative; border-radius: 20px; overflow: hidden; color: #fff; min-height: 300px; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(8,24,60,.05) 0%, rgba(8,24,60,.55) 55%, rgba(8,24,60,.92) 100%), var(--img, linear-gradient(135deg, #0b347a, #1656c2)) center/cover; }
.post-hero-in { padding: 24px 22px; }
.post-tags { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.post-tags span { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.post-tags span:first-child { background: var(--pc); border-color: var(--pc); }
.post-hero h1 { margin: 0 0 8px; font-size: clamp(24px, 5vw, 34px); line-height: 1.28; letter-spacing: -.02em; }
.post-hero h1 em { font-style: normal; color: var(--yellow); font-size: .72em; }
.post-lead { margin: 0; opacity: .9; }
.facts { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.facts th, .facts td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 92px; color: var(--sub); font-weight: 600; background: var(--bg); }
.facts small { color: var(--sub); }
.post-sec h2 { font-size: 20px; margin: 34px 0 12px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 42px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: #e3f5ea; color: #14a44d; font-weight: 900; font-size: 12px; display: grid; place-items: center; }
.flow { list-style: none; padding: 0 0 0 4px; margin: 0; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 0 0 18px 44px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; z-index: 1; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.flow b { display: block; }
.flow span { color: var(--sub); font-size: 15px; }
.saves { display: grid; gap: 8px; }
.saves p { margin: 0; background: #fff8db; border: 1px solid #f3dd8a; border-radius: 12px; padding: 12px 14px 12px 40px; position: relative; }
.saves p::before { content: "💡"; position: absolute; left: 13px; top: 11px; }
.skips { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.skips li { background: #fdf0f0; border: 1px solid #f5d0d0; border-radius: 12px; padding: 12px 14px; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 0; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.deal { margin: 28px 0 0; border: 2px solid var(--pc); border-radius: 18px; padding: 18px; background: color-mix(in srgb, var(--pc) 5%, #fff); }
.deal-hd { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.deal-steps { margin: 0 0 14px; padding-left: 20px; font-size: 14px; color: var(--sub); }
.deal .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.deal-more { margin: 12px 0 0; font-size: 14px; font-weight: 700; }
.deal-more a { color: var(--pc); text-decoration: none; }
.cta { display: block; text-align: center; margin-top: 14px; padding: 15px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.cta:hover { filter: brightness(1.15); }
.cta-bottom { margin: 32px 0 10px; background: var(--pc); font-size: 17px; }
@media (max-width: 520px) { .post-hero { min-height: 260px; border-radius: 16px; } .post-hero-in { padding: 18px 16px; } .gal { gap: 6px; } }
