/* ================================================================
   site.css — Apostille Korea static landing page
   Extracted from reference inline CSS with dead-code removal for:
   skin-picker, checkout/Stripe panel, floating cart drawer,
   pinger guide arrow (partially), held-files upload UI.
   Desktop-only layout (1280px+). No responsive @media breakpoints.
   ================================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  color: #1a2e4a;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden; /* 닫힌 상태의 GNB 플라이아웃(absolute)이 가로 스크롤을 만드는 것 방지 */
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; outline: none; }
.logo-ko { white-space: nowrap; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0A3A8C 0%, #1E5BBA 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(10,58,140,0.3);
}
.logo-text .l1 { font-size: 11px; color: #4a6b8a; font-weight: 600; line-height: 1.2; }
.logo-text .l2 { font-size: 18px; color: #0A2A5E; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
.menu .bi-col > [data-i18n]:first-child { font-weight: 700; }
/* 상담 문의 진입 버튼 — <a href="mypage#inquiries"> (2026-09-03 /inquiry 폐지, 마이페이지 탭으로 이동) */

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 780px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(46,123,214,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(10,58,140,0.5) 0%, transparent 50%),
    linear-gradient(135deg, #0A2A5E 0%, #143E8E 40%, #1E5BBA 100%);
  overflow: hidden;
  padding: 70px 60px 80px;
}
.hero .hero-inner { position: relative; z-index: 3; }
.worldmap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 1;
}
.worldmap svg { width: 90%; max-width: 1400px; height: auto; opacity: 0.18; }
.glow1 {
  position: absolute; top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(100,160,255,0.15) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 60px;
  max-width: 1420px;
  margin: 0 auto;
  align-items: start;
}

/* LEFT */
.hero-left { padding-top: 30px; }
.hero-title {
  font-size: 64px; font-weight: 800; color: #ffffff;
  line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-title .accent {
  background: linear-gradient(135deg, #FFD56B 0%, #FFAA33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-kr {
  font-size: 19px; font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px; letter-spacing: 0.3px;
}
.hero-title-sub {
  margin-top: 14px; margin-bottom: 54px; max-width: 540px;
  font-size: 14.5px; line-height: 1.55; font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hero-title-sub .hts-soft { color: rgba(255,255,255,.62); font-weight: 500; }

/* ===== AI BOX ===== */
.ai-wrap {
  position: relative;
  max-width: 620px;
  margin-top: 22px;
  isolation: isolate;
}
.ak-typing-hint {
  position: absolute;
  left: 7%; top: 47%;
  width: 74px; height: auto;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(10,58,140,0.22));
  transform: translateY(8px) scale(0.94);
  transition: opacity .45s ease, transform .45s ease;
}
/* Outer pulsing aura */
.ai-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 36px;
  background: radial-gradient(ellipse at center,
    rgba(255,213,107,0.35) 0%,
    rgba(255,139,107,0.25) 25%,
    rgba(194,102,255,0.20) 50%,
    rgba(0,212,255,0.15) 75%,
    transparent 90%);
  filter: blur(20px);
  z-index: -2;
  animation: aiAura 4s ease-in-out infinite;
}
@keyframes aiAura {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
/* Animated gradient border ring */
.ai-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: linear-gradient(135deg,
    #FFD56B, #FF8B6B, #C266FF, #1E5BBA, #00D4FF, #FFD56B);
  background-size: 300% 300%;
  z-index: -1;
  animation: aiShift 5s ease infinite;
}
@keyframes aiShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.ai-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 22px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* Sparkle decorations */
.ai-sparkles {
  position: absolute; inset: -20px;
  pointer-events: none;
  z-index: 3;
}
.spark {
  position: absolute;
  animation: sparkFloat 3s ease-in-out infinite;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(255,213,107,0.8));
}
.s1 { top: -6px; left: 18%; font-size: 18px; animation-delay: 0s; }
.s2 { top: 32%; right: -10px; font-size: 14px; animation-delay: 0.8s; }
.s3 { bottom: -4px; left: 55%; font-size: 16px; animation-delay: 1.6s; }
.s4 { top: 12%; left: -10px; font-size: 13px; animation-delay: 2.2s; }
/* AI 상자 별 꼬리(row-sparkle.mjs mountAiTrail, 미리보기 aiTrail — 2026-10-19 T08). 마우스 기기·동작 줄이기 아님일 때만 JS 가 만든다. */
.ak-ai-trail{position:absolute;z-index:5;font-size:14px;line-height:1;pointer-events:none;text-shadow:0 0 7px currentColor;will-change:transform,opacity;animation:akAiTrail .76s ease-out forwards;}
@keyframes akAiTrail{0%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0);}100%{opacity:0;transform:translate(calc(-50% + var(--dx,0px)),calc(-50% - 24px)) scale(.3) rotate(var(--rot,0deg));}}
@media (prefers-reduced-motion:reduce){.ak-ai-trail{display:none;}}
@keyframes sparkFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: translateY(-8px) scale(1.15) rotate(15deg); }
}
/* "AI 추천" floating badge */
.ai-new-badge {
  position: absolute;
  top: -14px; left: 24px;
  background: linear-gradient(135deg, #FFD56B 0%, #FF8B6B 100%);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(255,139,107,0.5);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: badgeBob 2s ease-in-out infinite;
}
@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.ai-box-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: #0A3A8C;
  margin-bottom: 12px;
}
.ai-box-label .lead { font-weight: 700; color: #0A3A8C; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #0A3A8C, #1E5BBA);
  color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(10,58,140,0.3);
}
.ai-row { display: flex; gap: 12px; align-items: flex-end; }
.ai-input {
  flex: 1; width: 100%; height: 68px;
  border: none; resize: none;
  font-size: 16px; color: #1a2e4a; line-height: 1.5;
  padding: 4px 0; background: transparent;
  font-weight: 500;
}
.ai-input::placeholder { color: #8b9bb3; font-style: italic; }
.ai-send {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #0A3A8C, #1E5BBA);
  color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(10,58,140,0.5);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.ai-send:hover { transform: translateY(-3px) scale(1.05); }
.ai-hint {
  font-size: 12px; color: #6b7e99;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid #eef1f6;
  display: flex; align-items: center; gap: 6px;
}
.ai-hint .dot {
  color: #1E5BBA;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== RIGHT FORM CARD ===== */
.form-card {
  background: rgba(255,255,255,0.98);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Bilingual pattern */
.bi { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.bi .bi-en { font-weight: 800; color: #3a4660; }
.bi .bi-sub { font-size: .92em; font-weight: 600; color: #9aa3b5; letter-spacing: -.2px; }

/* Field */
.field {
  border: 1.5px solid #e3e9f2;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  position: relative;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.field:hover { border-color: #c4d3e8; }
/* Country field color coding */
.field.ak-xissuer,
#f1 { background: #eef4fd; border-color: #cbddf7; box-shadow: inset 4px 0 0 #1E5BBA; padding-left: 18px; }
#f1:hover, .field.ak-xissuer:hover { border-color: #9fc2ef; }
#f2 { background: #ecfaf2; border-color: #bfe6d2; box-shadow: inset 4px 0 0 #1ba368; padding-left: 18px; }
#f2:hover { border-color: #95d9b6; }

.field-label { font-size: 11px; color: #6b7e99; font-weight: 600; margin-bottom: 4px; }
.field-value {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.field-value-text {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: #1a2e4a;
}
.flag {
  width: 22px; height: 22px; border-radius: 50%;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; background: #f1f5fb;
}
.field-caret { color: #8b9bb3; font-size: 12px; transition: transform 0.2s; }

/* Swap button between fields */
.ak-swap-row { display: flex; justify-content: center; margin: -3px 0 1px; position: relative; z-index: 3; }
.ak-swap-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #d4e0f3; background: #fff;
  box-shadow: 0 2px 8px rgba(30,91,186,.2);
  cursor: pointer; display: grid; place-items: center; padding: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ak-swap-btn:hover { transform: rotate(180deg); box-shadow: 0 4px 14px rgba(30,91,186,.34); }
.ak-swap-btn img { width: 18px; height: 18px; display: block; pointer-events: none; }

/* Chips (document type selection) */
.chips { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-height: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e8f0fb; color: #0A3A8C;
  padding: 3px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.chip-placeholder { color: #8b9bb3; font-size: 14px; font-weight: 500; }

/* Section mark */
.section-mark {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #0A3A8C;
  margin: 14px 0 8px;
}
.section-mark .badge {
  background: #0A3A8C; color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.services .svc { grid-column: span 2; }
.services .svc.svc-half { grid-column: span 3; }
.svc {
  border: 1.5px solid #e3e9f2;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  background: #fff;
  transition: all 0.18s ease;
  cursor: pointer;
  position: relative;
}
.svc-ico { font-size: 20px; margin-bottom: 4px; color: #6b7e99; }
.svc-ko { display: block; font-size: 11px; font-weight: 600; color: #9aa3b5; line-height: 1.15; margin-top: 1px; }
.svc-name { font-size: 12px; font-weight: 700; color: #1a2e4a; line-height: 1.2; }
.svc-price { font-size: 11px; color: #1a2e4a; font-weight: 600; margin-top: 3px; }
.svc:hover { border-color: #94B8E0; transform: translateY(-5px) scale(1.04); box-shadow: 0 12px 24px rgba(10,58,140,0.28); z-index: 2; }

/* Continue button */
.cta-submit {
  width: 100%; padding: 14px; border-radius: 12px;
  background: linear-gradient(135deg, #0A3A8C, #1E5BBA);
  color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(10,58,140,0.4);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
}
.cta-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10,58,140,0.5); }

/* ===== TRUST BAR ===== */
.trust-bar {
  position: relative; z-index: 3;
  max-width: 1380px; margin: 50px auto 0;
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff;
}

/* Nations mega panel */
/* Guest state: holographic glow */
.user-menu[data-auth-state="guest"] .user-btn {
  background: linear-gradient(135deg, #eef2ff 0%, #f6eefe 50%, #eafaff 100%);
  color: #3b2a8c;
  box-shadow: 0 0 0 1.5px rgba(150,140,255,.40), 0 6px 16px rgba(120,90,220,.20);
  animation: holoGlow 2.1s ease-in-out 3;
}
.user-menu[data-auth-state="guest"] .user-btn::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.92) 42%, rgba(120,200,255,.68) 49%, rgba(225,130,255,.68) 56%, rgba(255,235,150,.55) 62%, transparent 74%);
  background-size: 260% 100%; background-position: 210% 0; mix-blend-mode: screen;
  animation: holoSheen 2.1s ease-in-out 3;
}
@keyframes holoGlow {
  0%, 100% { box-shadow: 0 0 0 1.5px rgba(150,140,255,.40), 0 6px 16px rgba(120,90,220,.20); }
}
@keyframes holoSheen { 55%, 100% { background-position: -130% 0; } }
.user-menu[data-auth-state="member"] .user-btn { animation: none; }
.user-menu[data-auth-state="member"] .user-btn::after { display: none; }

/* ===== CLIENT TRUST WALL ===== */
.client-board {
  position: relative; z-index: 3;
  max-width: 1380px; margin: 40px auto 0;
  padding: 18px 0 18px;
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(8,22,48,0.26);
  overflow: hidden;
}
.client-board-head { text-align: center; margin: 14px 0 12px; padding: 0 24px; }
.cb-title {
  font-size: 16px; font-weight: 800; letter-spacing: 0.5px; color: #0A2A5E;
  text-decoration: none; cursor: pointer; transition: color .15s ease;
}
a.cb-title:hover { color: #1E5BBA; text-decoration: underline; text-underline-offset: 3px; }
/* Stat bar */
.stat-bar { display: flex; gap: 8px; padding: 0 22px; }
.stat-tile {
  flex: 1; min-width: 0;
  border-radius: 12px; padding: 11px 6px 10px; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stat-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(8,22,48,0.14); }
.stat-tile .st-t { font-size: 13.5px; font-weight: 800; color: #1a2e4a; line-height: 1.2; }
.stat-tile .st-rank { font-size: 15px; font-weight: 900; color: #1E5BBA; margin: 3px 0 2px; }
.stat-tile .st-d { font-size: 10.5px; font-weight: 600; color: #6b7e99; line-height: 1.25; }
.stat-tile.c-blue { background: #E8F0FB; }
.stat-tile.c-gray { background: #EEF0F4; }
.stat-tile.c-gold { background: #FBF3D6; }
.stat-tile.c-gold .st-rank { color: #C98A12; }
/* Marquee */
.marquee {
  position: relative; overflow: hidden; padding: 7px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; will-change: transform; padding: 4px 0; }
#cm-row1 .marquee-track { animation: scrollLeft 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px;
  background: #fff; border: 1px solid #e9eef5;
  border-radius: 12px; padding: 12px 14px 11px;
  width: 156px; height: 92px; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(8,22,48,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.client-chip .logo-wrap {
  height: 38px; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.client-chip img { max-height: 38px; max-width: 118px; object-fit: contain; }
.client-chip .cname {
  font-size: 12px; font-weight: 700; color: #3a4a63;
  text-align: center; line-height: 1.25; max-width: 138px;
}
.client-chip .cname b { display: block; font-weight: 800; color: #2a3650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-chip .cname .ko-only { display: none; font-style: normal; font-size: 12px; font-weight: 600; color: #9aa3b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10,58,140,0.18);
  border-color: #cddcef;
}

/* ===== TRENDING BOARD ===== */
.trending-board {
  position: relative; z-index: 3;
  max-width: 1380px; margin: 46px auto 6px; padding: 34px 20px 30px;
  background: radial-gradient(ellipse at 50% -10%, #1B4FA8 0%, #0A2A5E 55%, #06163a 100%);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(8,22,48,0.34);
  overflow: hidden;
}
.mc-head { display: flex; align-items: baseline; gap: 12px; justify-content: center; margin-bottom: 14px; }
.mc-label { font-size: 14px; font-weight: 900; letter-spacing: 3px; color: #FFD56B; }
.mc-sub { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.78); }

.cf-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.cf-stage { position: relative; width: 100%; max-width: 1060px; height: 396px; perspective: 1300px; }
.cf-card {
  position: absolute; top: 22px; left: 50%; width: 210px; margin-left: -105px;
  cursor: pointer; transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease;
}
.mc-poster {
  position: relative; height: 292px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
}
.cf-card.is-center .mc-poster { box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 0 3px rgba(255,213,107,0.6); }
.mc-ico { font-size: 86px; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.3)); opacity: 0.96; }
.mc-ptitle {
  position: absolute; left: 14px; right: 14px; top: 62px; text-align: center;
  color: rgba(255,255,255,0.96); font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.mc-rank {
  position: absolute; left: 10px; bottom: 0;
  font-size: 70px; font-weight: 900; font-style: italic; color: #fff;
  line-height: 1; text-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.mc-cat {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.4px;
  padding: 4px 9px; border-radius: 999px; color: #fff;
}
.cat-season { background: #1E8E5B; }
.cat-hot { background: #E8890C; }
.cat-issue { background: #D9534F; }
.cat-ad { background: rgba(0,0,0,0.5); }
.th-travel { background: linear-gradient(150deg, #2E7BD6, #0A3A8C); }
.th-globe  { background: linear-gradient(150deg, #15A38A, #0E6E8E); }
.th-visa   { background: linear-gradient(150deg, #7C4DFF, #4A2BB0); }
.th-marry  { background: linear-gradient(150deg, #FF6FA5, #C23E7A); }
.th-study  { background: linear-gradient(150deg, #F0A93C, #C9701A); }
.th-ad { background: linear-gradient(150deg, #14233f, #0A2A5E); }
.mc-ad-brand { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: #FFD56B; }
.mc-ad-head { color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; text-align: center; }
.mc-ad-sub { position: absolute; left: 0; right: 0; bottom: 56px; text-align: center; font-size: 11px; color: rgba(255,255,255,0.7); }
.mc-ad-btn { position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center; background: linear-gradient(135deg, #FFD56B, #FFAA33); color: #5a3d05; font-size: 12px; font-weight: 800; padding: 8px 0; border-radius: 8px; }

.cf-arrow {
  position: absolute; z-index: 200; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: #0A2A5E;
  font-size: 26px; font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3); border: none; cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.cf-prev { left: 6px; } .cf-next { right: 6px; }
.cf-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.14); box-shadow: 0 10px 24px rgba(0,0,0,0.42); }
.cf-caption { text-align: center; margin-top: 10px; min-height: 52px; }
.cf-cap-title { font-size: 21px; font-weight: 800; color: #fff; }
.cf-cap-status { font-size: 13px; font-weight: 700; margin-top: 4px; }
.cf-cap-status.st-hot  { color: #FF8B7A; }
.cf-cap-status.st-star { color: #9CC0F2; }
.cf-cap-status.st-dday { color: #FFD56B; }
/* 트렌딩 카드 표기 정책 — 공용판(enko)도 영어 단독 표기. 한글 서브(i18n-sub)는
   번역 키 전용으로 마크업 hidden 속성으로 숨긴다(언어판 생성 변환은 마크업 기준이라
   영향 없음 — ko판 한글, 번역판 팩 값으로 접힘). 서브에 display 스타일을 주면
   hidden 이 무력화되므로 여기에 표시 규칙을 추가하지 말 것. */

/* ===== SITE FOOTER =====
   푸터·정부 선정 뱃지 스타일은 assets/css/site-footer.css 가 단일 기준 —
   전 페이지가 해당 파일을 로드한다. 여기 두지 말 것(이중 관리 방지). */

/* Theme grid (nav mega purpose panel) */

/* Logo image variant */
.logo-img { height: 46px; display: none; transition: transform .18s ease, filter .18s ease; }
.logo.imgok .logo-mark, .logo.imgok .logo-text { display: none; }
.logo-mark { transition: transform .18s ease, box-shadow .18s ease; }

@media(min-width:1025px){

  /* 폭 확보 ① 장바구니는 1500px 미만에서 글자를 접고 아이콘+개수만 남긴다.
     🛒 와 숫자로 뜻이 통하는데 라벨 하나가 45px 을 먹어 메뉴 간격을 그만큼 좁혔다.
     (모바일에선 `cart.css` 가 이미 같은 처리를 한다.) */
  @media(max-width:1499px){
  }

  /* 폭 확보 ② 1439px 이하는 원래 **간격과 무관하게 헤더가 2~3줄로 깨져 있었다**
     (실측 1366x768 — 루트 152px · en 120px. 모바일 햄버거는 1024px 이하라
      1025~1366 구간이 비어 있었다). 글자 15 -> 14px · 좌우 여백 24 -> 16px ·
     묶음 간격 16 -> 12px 으로 약 60px 을 벌어 1366 에서 네 트리 모두 한 줄이 된다. */
  @media(max-width:1439px){
  }
}
/* 넓은 화면은 남는 폭이 많다 — 실측 여유 폭(루트 기준) 1600:92px · 1920:348px */
@media(min-width:1600px){ }
@media(min-width:1900px){ }

@media (prefers-reduced-motion: reduce){
}

/* ============================================================
   닫힌 플라이아웃은 배치에서 빼 둔다 (2026-09-08)
   `.flyout` 은 `absolute` + `visibility:hidden` 이라 안 보여도 **자리는 차지한다.**
   3단 메가패널이 오른쪽으로 삐져나와 페이지에 가로 스크롤 85px 을 만들고,
   국가 그리드 136칸도 열기 전부터 배치·스타일 계산에 들어간다.

   같은 규칙이 `order-elements.css` · `product-composition.css` 에 `.mc-gnb …` 로 있었다.
   `mc-gnb` 판을 걷어내면서 그 두 화면이 보호를 잃었으므로 헤더 공용으로 올린다.
   모바일(≤1024)은 아코디언이 `display` 로 여닫으므로 데스크톱만 건다.
   대가: 펼칠 때 페이드가 없어진다 — 주문·상품 화면이 이미 그렇게 쓰고 있었고,
   스침 반응은 그만큼 가벼워진다.
   ============================================================ */
@media(min-width:1025px){
}

/* ============================================================
   패널이 「새 화면」처럼 보이지 않게 (2026-09-09 사용자 지적)
   국가별 메가패널은 740x430 — 화면의 33% 를 흰 면으로 덮는다. 여기에
   ① 닫힌 플라이아웃을 `display:none` 으로 뺀 뒤라 **애니메이션 없이 순간 등장**하고
   ② 1단 서브메뉴는 큰 흰 면의 투명도가 0->1 로 변해 **크로스페이드**처럼 읽힌다
   → 둘이 합쳐 "이전 화면이 사라지고 새 화면이 뜬" 느낌을 준다.

   고치는 방향: 「겹쳐 나타나는 화면」이 아니라 「메뉴에서 펼쳐지는 판」으로 읽히게 한다.
   - 뿌리(transform-origin)를 부모 쪽에 두고 아주 짧게(0.13s) 펼친다.
     `display:none` 이라 transition 이 안 걸리므로 등장 애니메이션으로 준다.
   - 투명도 변화 시간을 줄여(0.2s -> 0.09s) 큰 흰 면이 서서히 겹치는 느낌을 없앤다.
   - 그림자를 조금 더 세워 페이지 위에 뜬 판임을 눈에 보이게 한다.
   ============================================================ */
@media(min-width:1025px){
}

@keyframes ak-flyout-open{
}
@keyframes ak-flyout-open-rtl{
}

/* ============================================================
   메가패널 크기 축소 (2026-09-09 사용자 요청)
   1440x900 실측 — 국가별 740x564(화면 32%) · 개인·기업별 540x537(22%) ·
   상세 솔루션 560x662(29%, **화면 높이의 74%**) · 용도별 600x499(23%).
   호버만 해도 화면 3분의 1이 흰 판으로 덮여 「새 화면」처럼 읽혔다.

   줄이는 방식
   - 높이는 `max-height` 로 자른다(패널은 원래 `overflow-y:auto` 라 더 일찍 스크롤될 뿐이다).
     76vh -> 54vh: 900px 화면에서 684 -> 486px.
   - 국가 그리드는 5열 -> 4열, 폭 740 -> 620, 목록 높이 430 -> 300.
     136개국은 위에 검색창이 있어 스크롤이 늘어도 찾는 데 문제가 없다.
   - 모바일(<=1024)은 아코디언이라 손대지 않는다 — 데스크톱만 건다.
   ============================================================ */
@media(min-width:1025px){
}
