/* ============================================
   Reset & base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* overflow-x:clip은 스크롤 컨테이너를 만들지 않으므로 html에도 걸어야
   body 폭을 넘는 자식(예: 모바일 히어로의 확대된 배경 이미지)이 있어도
   <html>이 가로 스크롤 컨테이너가 되는 것을 막을 수 있다. */
/* scrollbar-gutter: stable — 세로 스크롤바가 나타났다 사라질 때마다 뷰포트
   너비가 바뀌면서 #section7 QnA 아코디언 애니메이션 중(main.js pumpResize가
   매 프레임 resize를 재계산) .design-stage scale이 같이 흔들려 깜빡였다.
   스크롤바 자리를 항상 고정해서 그 진동의 근본 원인을 없앤다. */
html { overflow-x: clip; max-width: 100vw; scrollbar-gutter: stable; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  background: #fff;
  overflow-x: clip;          /* CLAUDE.md: 가로 스크롤바 방지 */
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

@font-face {
  font-family: 'KOTRA';
  src: url('/assets/fonts/KOTRA_BOLD.ttf') format('truetype');
  font-weight: 100 900; /* 파일 자체가 Bold 한 종류뿐이라, 헤딩들의 font-weight 요청값과 상관없이 이 페이스가 매칭되도록 가변 범위로 선언 */
  font-style: normal;
  font-display: swap;
}

/* ============================================
   Design Stage (CLAUDE.md 패턴)
   ============================================ */
.design-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}
.design-stage {
  width: 1920px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  /* JS가 translate(-50%,-50%) scale(s) 설정 */
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #1a2128;
}

/* --- Background layer (풀폭, scale 안 됨) --- */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg-yellow {
  position: absolute; inset: 0;
  background: #1a2128;
}
.hero-bg-photo {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-bg-photo img {
  position: absolute;
  /* 좌우 꽉차게 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* Image gradient — Figma 422:4793
   원본: x=0 y=199 / 1920×981 (hero 1920×1180 기준, 하단 정렬, 상단에서 16.86% 떨어짐)
   풀폭 + 비율 유지로 어느 뷰포트에서도 동일한 그라데이션 위치.
   방향은 to bottom — 박스 상단(=헤드라인이 앉는 자리)이 가장 어둡고, 하단으로 갈수록 투명해져
   사진이 그대로 드러난다. (to top으로 두면 반대로 헤드라인 자리가 거의 안 어두워져서 텍스트가 안 보임) */
.hero-bg-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 83.135%; /* 981 / 1180 */
  mix-blend-mode: multiply;
  background: linear-gradient(
    to top,
    rgba(56, 56, 56, 0.7) 20.544%,
    rgba(77, 76, 76, 0.3) 56.609%,
    rgba(116, 114, 114, 0) 92.633%
  );
}

/* ============================================
   GNB (1140 정렬 — viewport plane)
   ============================================ */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 80px;
  z-index: 100;
  background: #ffffff;
  /* overflow:hidden을 쓰면 언어 선택 드롭다운(GNB 바 아래로 튀어나오는 절대 위치 메뉴)이
     잘려서 안 보이게 된다 — GNB 자체는 클리핑할 내용이 없으므로 visible로 둔다. */
}
.gnb-inner {
  max-width: 1140px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  /* 1140px보다 좁은(769~1139px, 대부분의 태블릿) 구간에서 좌우 여백이 0이 되어
     로고/메뉴가 화면 끝에 바로 붙는 문제 방지 — 최소 여백을 항상 확보한다. */
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Logo (Figma: 로고 99×32 + 사장님 25.6px Bold) --- */
.logo {
  position: relative;
  width: auto;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8.5px;        /* Figma: ml-107.5 - logo width 99 = 8.5 */
  text-decoration: none;
}
/* GNB/Footer 공용 SVG 워드마크. 이 페이지들은 항상 밝은 배경이라 색상 고정. */
.gnb-logo-text {
  display: block;
  height: 38px;
  width: auto;
  aspect-ratio: 82 / 38;
  color: #1a2128;
}
.logo-group {
  position: relative;
  width: 97.344px;
  height: 29.683px;
  flex-shrink: 0;
}
.logo-piece { position: absolute; display: block; }
.logo-piece img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
}
/* inset 값은 Figma 그룹(97.344 × 29.683) 기준 백분율 그대로 */
.logo-p392 { inset: 63.62% 72.18% 0       0; }
.logo-p393 { inset: 2.24%  83.56% 43.31%  0; }
.logo-p394 { inset: 0      72.18% 40.42%  17.32%; }
.logo-p395 { inset: 2.31%  50.25% 3.46%   30.95%; }
.logo-p74  { inset: 0      0      2.31%   92.71%; }
.logo-p396 { inset: 0      32.96% 0       51.48%; }
.logo-p397 { inset: 2.31%  10.67% 3.47%   70.71%; }

/* --- Menu — 로고 / 메뉴(중앙) / CTA+다국어(우측) 3-way space-between --- */
.gnb-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gnb-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gnb-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 22.5px;
  color: #6b7280;
  white-space: nowrap;
  transition: color .15s ease;
}
.gnb-link:hover { color: #0f172a; }
.gnb-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #C10808;
  color: #FDF9EE;
  font-weight: 700;
  font-size: 18px;
  line-height: 22.5px;
  white-space: nowrap;
}

/* --- 다국어 선택 --- */
.gnb-locale-wrap { position: relative; }
.gnb-locale {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: #1a2128;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.gnb-locale svg { display: block; transition: transform 0.2s ease; }
.gnb-locale-globe { width: 20px; height: 20px; }
.gnb-locale-chevron { width: 14px; height: 14px; }
.gnb-locale[aria-expanded="true"] .gnb-locale-chevron { transform: rotate(180deg); }
.gnb-locale-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 140px;
  padding: 24px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
}
.gnb-locale-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.gnb-locale-menu-label { margin: 0; padding: 0 10px; font-family: 'Pretendard', sans-serif; font-size: 13px; font-weight: 600; color: #8B95A1; }
.gnb-locale-menu-item {
  display: block;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #4E5968;
  transition: background 0.15s ease, color 0.15s ease;
}
.gnb-locale-menu-item:hover { background: #F6F7F8; }
.gnb-locale-menu-item.is-selected { color: #C10808; background: rgba(193, 8, 8, 0.08); }

/* ============================================
   Hero stage content (1920 좌표계 — scale 됨)
   ============================================ */
.hero-stage { height: 1180px; }

.hero-content {
  position: absolute;
  /* Nav(72) + gap(210) = 282px from stage top */
  top: 282px;
  /* 1920 stage 안에서 px 390 → content 시작 = 390 */
  left: 390px;
  right: 390px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

/* Hero heading — Figma 벡터 (624.85 × 190.176) */
.hero-heading {
  margin: 0;
  width: 800px;
  font-family: 'KOTRA', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: 86px;
  line-height: 1.25;
  letter-spacing: -2px;
  color: #FFF;
}

.hero-sub {
  margin: 0;
  width: 636px;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -2px;
  color: #fff;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 10px 12px 10px 28px;
  border-radius: 333px;
  background: #C10808;
  color: #FDF9EE;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
}
.hero-cta-icon {
  position: relative;
  width: 36px; height: 36px;
  overflow: hidden;
}
.hero-cta-icon img {
  position: absolute;
  inset: 20.83% 33.33%;
  width: 33.34%;
  height: 58.34%;
}

/* ============================================
   Scroll reveal (CLAUDE.md 패턴)
   ============================================ */
#hero [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#hero [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#hero .hero-heading[data-animate] { transition-delay: 0.10s; }
#hero .hero-sub[data-animate]     { transition-delay: 0.22s; }
#hero .hero-cta[data-animate]     { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  #hero [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 1 — Testimonial carousel
   ============================================ */
#section1 {
  background: #f9fafb;
  /* 카드가 좌우 슬라이드 중 stage 밖으로 흘러도 잘리지 않도록 */
  overflow: visible;
}
#section1 .design-stage { height: 1080px; }

.s1-stage {
  /* Figma: padding 120px / 390px, gap 80px */
}
.s1-title {
  position: absolute;
  top: 120px;
  left: 390px;
  width: 1140px;
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #0f172a;
}
.s1-title-accent { color: #C10808; }

/* Cards viewport — Figma 원본: 시작 좌표 390, 폭 1530.
   overflow visible 로 두면 슬라이드 도중 stage 밖으로 나가도 잘림 없이 보임 */
.s1-cards-viewport {
  position: absolute;
  top: 330px;
  left: 390px;
  width: 1530px;
  height: 440px;
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;       /* 가로 드래그 우선 — 페이지 세로 스크롤은 유지 */
}
.s1-cards-viewport:active { cursor: grabbing; }
.s1-cards-track {
  display: flex;
  gap: 20px;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Single card */
.t-card {
  position: relative;
  flex: 0 0 auto;
  width: 684px;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: #1a2128;
}
.t-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: none;
}
.t-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.t-card-gradient {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 684px;
  height: 188px;
  mix-blend-mode: multiply;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(
    to top,
    #383838 20.544%,
    rgba(77, 76, 76, 0.5) 56.609%,
    rgba(116, 114, 114, 0) 92.633%
  );
}
/* 제목 줄 수는 번역 문구 길이에 따라 달라지므로(한국어는 1~2줄, 영어/베트남어는
   길어져서 2줄이 되는 경우가 많음) 제목·메타를 .t-card-body 안에서 일반 흐름으로
   쌓는다 — 메타는 제목이 몇 줄이 되든 항상 그 바로 아래 고정 간격에 위치한다.
   (예전엔 둘 다 top 고정 좌표였어서, 제목이 예상보다 길어지면 메타와 겹쳤다) */
.t-card-body {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 32px;
}
.t-card-title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  color: #fff;
}
/* 한국어는 <br/> 없이 한 줄로 붙여 렌더링하므로(뷰 참고), 카드 폭 안에 확실히
   한 줄로 들어오도록 줄바꿈을 막고 글자 크기를 살짝 낮춘다. 다른 언어는 원본 유지 */
html[lang="ko"] .t-card-title {
  white-space: nowrap;
  font-size: 30px;
}
.t-card-meta {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #fff;
}

/* Navigation arrows */
.s1-nav {
  position: absolute;
  top: 850px;
  left: 390px;
  display: flex;
  align-items: center;
  gap: 0;
}
.s1-nav-btn {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.s1-nav-btn:disabled { cursor: not-allowed; }
.s1-nav-icon {
  display: block;
  width: 30px;
  height: 30px;
  background-color: #1a2128;
  -webkit-mask-image: url('./arrow-up.svg');
  mask-image: url('./arrow-up.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 30px 30px;
  mask-size: 30px 30px;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}
.s1-nav-prev .s1-nav-icon { transform: rotate(-90deg); }
.s1-nav-next .s1-nav-icon { transform: rotate(90deg); }
.s1-nav-btn:disabled .s1-nav-icon { background-color: #d9d9d9; }

/* Reveal */
#section1 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section1 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section1 .s1-title[data-animate]          { transition-delay: 0.10s; }
#section1 .s1-cards-viewport[data-animate] { transition-delay: 0.22s; }
#section1 .s1-nav[data-animate]            { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  #section1 [data-animate] { opacity: 1; transform: none; transition: none; }
  .s1-cards-track { transition: none; }
}

/* ============================================
   SECTION 2 — 착한 배달앱 먹깨비
   Stage 1920 × 2822
   ============================================ */
#section2 { background: #ffffff; }
#section2 .design-stage { height: 2822px; }

/* Title */
.s2-title {
  position: absolute;
  top: 175px;
  /* Figma: left calc(16.67% + 70px) ≈ 390 in 1920 stage */
  left: calc(16.67% + 70px);
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: -1px;
  color: #1a2128;
  white-space: nowrap;
}
.s2-title > span { display: block; }
.s2-title-accent { color: #C10808; }

/* Rows */
.s2-row {
  position: absolute;
  left: 390px;
  width: 1140px;
  height: 600px;
  display: flex;
  align-items: center;
}
.s2-row-1 { top: 334px;  gap: 175px; }   /* Container1 */
.s2-row-3 { top: 2098px; gap: 272px; }   /* Container3 */

/* Full-bleed gray band (Container2) — 회색 배경은 .s2-band-bg 가 viewport plane에서 처리.
   .s2-band 는 stage 안에서 컨텐츠 좌표(top 1058)만 잡음 */
.s2-band {
  position: absolute;
  top: 1058px;
  left: 0;
  right: 0;
  height: 916px;
  background: transparent;
}
/* 풀폭 회색 배경 — viewport plane (JS가 top/height 동기화) */
.s2-band-bg {
  position: absolute;
  left: 0;
  right: 0;
  background: #f9fafb;
  pointer-events: none;
  z-index: 0;
}
#section2 .design-stage { z-index: 1; }
.s2-band-inner {
  position: absolute;
  top: 158px;
  left: 390px;
  width: 1099px;
  height: 600px;
  display: flex;
  align-items: center;
  gap: 97px;
}

/* Text block */
.s2-text {
  display: flex;
  flex-direction: column;
  gap: 36px;
  white-space: nowrap;
}
.s2-subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #1a2128;
}
.s2-desc {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #6b7684;
}

/* Images */
.s2-img {
  width: 556px;
  height: 600px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}
.s2-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reveal */
#section2 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section2 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section2 .s2-title[data-animate] { transition-delay: 0.05s; }
#section2 .s2-row[data-animate],
#section2 .s2-band[data-animate] { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  #section2 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 3 — 전국 가맹점 현황
   Stage 1920 × 1080, container 세로 중앙 정렬
   ============================================ */
#section3 { background: #ffffff; }
/* Figma 원본 1080 + Section2 와의 갭(258) = 1338. 내부 컨텐츠는 원래 위치(top 298)를 유지하도록 +258 만큼 아래로. */
#section3 .design-stage { height: 1338px; }

.s3-container {
  position: absolute;
  top: 458px;       /* Figma y 200 + Section2 갭 258 */
  left: 390px;
  width: 1140px;
  display: flex;
  flex-direction: column;
  gap: 31px;
  align-items: flex-start;
}

.s3-header {
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;     /* Figma 명시값 */
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}
.s3-accent { color: #C10808; }

.s3-sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-end;
}
.s3-date {
  margin: 0;
  width: 100%;
  text-align: right;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: #6b7684;
}

.s3-info-row {
  display: flex;
  gap: 17px;
  width: 100%;
}
.s3-img {
  flex: 0 0 369px;
  height: 268px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.s3-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reveal */
#section3 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section3 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section3 .s3-header[data-animate] { transition-delay: 0.10s; }
#section3 .s3-sub[data-animate]    { transition-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
  #section3 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 4 — 입점 혜택 (2×2 카드)
   Figma stage 1920 × 1374 (Section3가 삭제되어 더 이상 436px 갭을 흡수할 필요 없음 —
   흡수해서 늘렸던 높이/좌표를 원래 값으로 되돌려 Section2 다음에 바로 붙게 한다)
   ============================================ */
#section4 { background: #ffffff; }
#section4 .design-stage { height: 1374px; }

/* Title */
.s4-container {
  position: absolute;
  top: 120px;
  left: 390px;
  width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.s4-title {
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}

/* Cards (2×2) */
.s4-card {
  position: absolute;
  width: 560px;
  height: 448px;
  border-radius: 24px;
  overflow: hidden;
  background: #e2e2e2;
}
.s4-card-1 { top: 336px; left: 390px; }
.s4-card-2 { top: 336px; left: 970px; }
.s4-card-3 { top: 806px; left: 390px; }
.s4-card-4 { top: 806px; left: 970px; }

.s4-card-img {
  position: absolute;
  inset: 0;
}
.s4-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* contain은 이미지 비율이 카드(560x448, 1.25:1)와 다르면 필연적으로 여백이
     남는다(정사각/1.5:1 이미지 모두 이 비율과 안 맞음) — Figma는 카드가 여백 없이
     꽉 차 있어서, cover로 카드를 채우고 잘리는 부분만 위치로 조정한다. */
  object-fit: cover;
}
.s4-card-1 .s4-card-img img,
.s4-card-2 .s4-card-img img { object-position: center; }
.s4-card-1 .s4-card-img img {
  object-position: center -130px;
  width: 120%;
  height: 120%;
  transform: translate(-10%, -17%);
}
/* card3(1536x1024)는 오른쪽에 인물이 있고 왼쪽은 빈 벽/커튼이라, 오른쪽 기준으로
   채워서 잘리는 부분이 왼쪽 여백 쪽으로 가도록 한다. */
.s4-card-3 .s4-card-img img { object-position: right center; }
.s4-card-4 .s4-card-img img {
  transform: scaleX(-1) translate(10%, -12%);
  width: 125%;
  height: 125%;
}

.s4-card-text {
  position: absolute;
  left: 40px;
  top: 310px;
  margin: 0;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: opacity .25s ease;
  z-index: 2;
}

/* Hover state — 다크 오버레이 + 설명 텍스트 */
.s4-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 1;
}
.s4-card-desc {
  position: absolute;
  left: 40px;
  bottom: 35px;
  right: 40px;        /* 우측 여백 — 텍스트 자동 줄바꿈 */
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 2;
}
.s4-card:hover .s4-card-overlay,
.s4-card:focus-within .s4-card-overlay { opacity: 1; }
.s4-card:hover .s4-card-desc,
.s4-card:focus-within .s4-card-desc    { opacity: 1; }
.s4-card:hover .s4-card-text,
.s4-card:focus-within .s4-card-text    { opacity: 0; }

/* Reveal */
#section4 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section4 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section4 .s4-container[data-animate] { transition-delay: 0.06s; }
#section4 .s4-card-1[data-animate]    { transition-delay: 0.18s; }
#section4 .s4-card-2[data-animate]    { transition-delay: 0.26s; }
#section4 .s4-card-3[data-animate]    { transition-delay: 0.34s; }
#section4 .s4-card-4[data-animate]    { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  #section4 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 5 — 입점 과정 4 STEP + CTA
   Figma stage 1920 × 940. Section4 와 갭 86 흡수 → 1026
   ============================================ */
#section5 { background: #f9fafb; }
#section5 .design-stage { height: 1026px; }

.s5-heading {
  position: absolute;
  top: 242px;       /* 위아래 여백 균형 맞춤 (318 - 76) */
  left: 390px;
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}

/* Step Cards — 270×270, 흰색, rounded 24 */
.s5-step {
  position: absolute;
  top: 390px;       /* 위아래 여백 균형 맞춤 (466 - 76) */
  width: 270px;
  height: 270px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
}
.s5-step-1 { left: 390px; }
.s5-step-2 { left: 680px; }
.s5-step-3 { left: 970px; }
.s5-step-4 { left: 1260px; }

.s5-step-num {
  position: absolute;
  left: 29px;
  top: 25px;
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -1px;
  color: #C10808;
  white-space: nowrap;
}
.s5-step-title {
  position: absolute;
  left: 29px;
  right: 29px;
  top: 65px;
  margin: 0;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #0f172a;
  /* 번역 문구가 카드 너비(270px)보다 길어지면(영어/베트남어) nowrap 때문에
     카드 밖으로 흘러넘쳐 overflow:hidden에 잘려 보였다 — 줄바꿈을 허용한다. */
  white-space: normal;
}
.s5-step-icon {
  position: absolute;
  right: 28px;
  bottom: 32px;
  width: 100px;
  height: 100px;
}
.s5-step-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA — dark pill */
.s5-cta {
  position: absolute;
  top: 711px;       /* 위아래 여백 균형 맞춤 (787 - 76) */
  left: 385px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 10px 12px 10px 28px;
  border-radius: 333px;
  background: #1a2128;
  color: #ffffff;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
}
.s5-cta-icon {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
}
.s5-cta-icon img {
  position: absolute;
  inset: 20.83% 33.33%;
  width: 33.34%;
  height: 58.34%;
}

/* Reveal */
#section5 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section5 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section5 .s5-heading[data-animate]   { transition-delay: 0.05s; }
#section5 .s5-step-1[data-animate]    { transition-delay: 0.15s; }
#section5 .s5-step-2[data-animate]    { transition-delay: 0.22s; }
#section5 .s5-step-3[data-animate]    { transition-delay: 0.29s; }
#section5 .s5-step-4[data-animate]    { transition-delay: 0.36s; }
#section5 .s5-cta[data-animate]       { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  #section5 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 6 — 사장님 앱 / POS 설치 카드
   Figma stage 1920 × 1225. Section5 와 갭 268 흡수 → 1493
   ============================================ */
#section6 { background: #ffffff; }
#section6 .design-stage { height: 1493px; }

/* 컨텐츠 세로 중앙 정렬:
   total = heading(136) + gap(60) + cards(646) = 842
   stage(1493) - 842 = 651 → top padding 325.5
   heading top: 325, cards top: 325 + 136 + 60 = 521 */
.s6-heading {
  position: absolute;
  top: 325px;
  left: 390px;
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -0.96px;
  color: #1a2128;
  white-space: nowrap;
}

/* Cards 560×646 */
.s6-card {
  position: absolute;
  top: 521px;
  width: 560px;
  /* 번역 문구가 길어질 때(영어/베트남어) 제목·설명이 줄바꿈되고 버튼이 그
     뒤를 따라 내려갈 여유를 주기 위해 원래보다 56px 더 키웠다 — 아래 폰/모니터
     이미지도 같은 만큼 top을 내려서 보이는 비율은 그대로 유지한다. */
  height: 702px;
  background: #f9fafb;
  border-radius: 24px;
  overflow: hidden;
}
.s6-card-app { left: 390px; }
.s6-card-pos { left: 970px; }

/* 제목·설명·버튼을 하나의 flex 컬럼으로 묶어서, 번역 문구가 길어져 줄 수가
   늘어나도(white-space: nowrap 이었을 때는 카드 밖으로 흘러넘쳐 잘렸다) 버튼이
   항상 설명 바로 아래 고정 간격에 오도록 한다. */
.s6-card-text {
  position: absolute;
  top: 60px;
  left: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.s6-card-title {
  margin: 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -2px;
  color: #1a2128;
}
.s6-card-desc {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #4e5968;
}

/* Dark pill button (small) — 이제 .s6-card-text 안의 flex item으로 흐른다
   (기존엔 top 고정 좌표라 설명이 길어지면 겹쳤음) */
.s6-card-btn {
  flex-shrink: 0;
  height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a2128;
  border-radius: 333px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
  z-index: 3;
}
.s6-card-btn-icon {
  position: relative;
  width: 24px;
  height: 24px;
}
.s6-card-btn-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Card 1 — phone image + bottom fade */
.s6-card-phone {
  position: absolute;
  top: 380px; /* .s6-card 높이를 56px 늘린 만큼 같이 내려서 보이는 비율 유지 */
  left: 265px;
  width: 226.796px;
  height: 459.198px;
  z-index: 1;
}
.s6-card-phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.s6-card-phone-fade {
  position: absolute;
  left: 0;
  top: 620px; /* .s6-card 높이 증가분(+56px)만큼 같이 내림 */
  width: 560px;
  height: 82px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(
    to bottom,
    rgba(249, 250, 251, 0) 14.634%,
    rgba(249, 250, 251, 0.9) 81.707%
  );
  z-index: 2;
}

/* Card 2 — monitor image (s6-pc.png는 이 프레임 크기(357×245.5)에 맞춰 준비된 이미지) */
.s6-card-monitor {
  position: absolute;
  top: 415.59px; /* .s6-card 높이 증가분(+56px)만큼 같이 내림 */
  left: 162.68px;
  width: 357px;
  height: 245.537px;
  overflow: hidden;
  z-index: 1;
}
.s6-card-monitor img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reveal */
#section6 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section6 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section6 .s6-heading[data-animate]   { transition-delay: 0.05s; }
#section6 .s6-card-app[data-animate]  { transition-delay: 0.18s; }
#section6 .s6-card-pos[data-animate]  { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  #section6 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 7 — 자주 묻는 질문 (Accordion)
   Figma stage 1920 × 912. Section6 와 갭 80 흡수 → 992
   ============================================ */
#section7 {
  background: #f9fafb;
  /* .design-section 기본 min-height:100vh 를 덮어써서 Figma 912 만큼만 차지하도록 */
  min-height: 0;
  /* height에는 CSS transition을 걸지 않는다 — main.js가 매 프레임 실측값을
     그대로 넣어주는데, 여기에 transition이 있으면 그 값을 매번 "새 목표"로
     받아들여 따로 보간하면서 실제 콘텐츠 높이보다 한 박자 늦게 쫓아가고,
     특히 다른 항목을 닫으면서 새 항목을 여는 경우처럼 목표가 중간에 바뀌면
     맨 아래 항목이 잘렸다 나타나며 바닥에 "붙는" 것처럼 보였다. */
}
/* Stage: Figma 원본 912 + 아코디언 펼침 시 컨텐츠 따라 자라는 flow 레이아웃 */
#section7 .design-stage {
  height: auto;
  min-height: 912px;
  padding: 120px 390px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* 스테이지를 섹션 상단에 앵커링 — 컨텐츠가 자라도 위로 밀려 올라가지 않고 아래로만 자람 */
  top: 0;
  transform-origin: top center;
}

.s7-heading {
  position: static;
  margin: 0 0 80px 0;            /* heading 하단 → qna-group 까지 80 */
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
  letter-spacing: -2px;
  color: #1a2128;
  white-space: nowrap;
}

.s7-qna-group {
  position: static;
  width: 1140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single QnA */
.qna {
  width: 100%;
  background: #f2f4f6;
  border-radius: 16px;
  overflow: hidden;
}
.qna-question {
  width: 100%;
  height: 80px;
  padding: 0 40px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.qna-q-text {
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -1px;
  color: #1a2128;
  white-space: nowrap;
}
.qna-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.qna-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.qna.is-open .qna-icon {
  transform: rotate(45deg);   /* + → × */
}

/* Answer — max-height 트랜지션 (모든 브라우저에서 부드럽게 동작) */
.qna-answer {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  transition: max-height .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.qna-answer-inner p {
  margin: 0;
  padding: 40px;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.75;
  color: #6b7684;
}
/* max-height는 JS에서 실제 답변 높이(scrollHeight)로 인라인 지정한다 —
   고정값 대신 실측값을 써야 답변 길이와 무관하게 트랜지션이 자연스럽다. */

/* Reveal */
#section7 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section7 [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
#section7 .s7-heading[data-animate]   { transition-delay: 0.05s; }
#section7 .s7-qna-group[data-animate] { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  #section7 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   SECTION 8 — CTA 풀폭 배경
   Figma stage 1920 × 662. Section7 와 갭 156 흡수 → 818
   ============================================ */
#section8 {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  min-height: 0;
}
.s8-bg {
  position: absolute;
  inset: -32px 0 0 0;       /* Figma Frame300: top -30, h 724 (section 662 보다 큼) */
  pointer-events: none;
  overflow: hidden;
}
.s8-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s8-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

#section8 .design-stage { height: 818px; }

.s8-content {
  position: absolute;
  top: 286px;          /* 130 + 156 */
  left: 390px;
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}
.s8-title {
  margin: 0;
  font-weight: 700;
  font-size: 68px;
  line-height: 1.2;
  letter-spacing: -2px;
  color: #fff;
}
.s8-sub {
  margin: 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #fff;
  opacity: 0.6;
}
.s8-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 10px 12px 10px 28px;
  border-radius: 333px;
  background: #C10808;
  color: #FDF9EE;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
}
.s8-cta-icon {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
}
.s8-cta-icon img {
  position: absolute;
  inset: 20.83% 33.33%;
  width: 33.34%;
  height: 58.34%;
}

#section8 [data-animate] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.15s ease-out,
    transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
#section8 [data-animate].in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  #section8 [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   FOOTER — home.php와 동일하게 Figma 절대좌표 스테이지 대신 일반 flow 레이아웃 사용.
   (이전엔 .design-section/.design-stage 로 좌표를 고정해뒀는데, 코리아타운 주소나
   영어/베트남어 번역문이 원래 먹깨비 한국어 문구보다 길어지면서 각 컬럼 텍스트가
   nowrap 때문에 옆 컬럼을 침범하거나, 컬럼1 높이가 늘어나며 고정 top 값의 소셜
   아이콘과 겹치는 문제가 있었다. flow 레이아웃이면 내용 길이에 맞춰 컬럼/섹션
   높이가 자연스럽게 늘어나고 gap으로 간격을 유지하므로 언어와 무관하게 안전하다.)
   ============================================ */
#footer {
  background: #e5e8eb;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px;
  box-sizing: border-box;
}

/* Logo (81 × 26, 작은 버전 — GNB 100×32 와 동일한 SVG 재사용) */
.footer-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

/* 3 columns */
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: flex-start;
}
.footer-col-1 { flex: 1; display: flex; flex-direction: column; }
.footer-col-2 { flex: 1; }
.footer-col-3 { flex: 1.2; }

.footer-col-title {
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 20.16px;
  color: #333d4b;
}
.footer-col-2 .footer-col-title,
.footer-col-3 .footer-col-title {
  margin: 0 0 11.58px 0;
}
.footer-col-text {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.75;
  color: #6b7684;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-list li,
.footer-list a {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7684;
}

/* Social icons (48 × 48, 3개, gap 12) */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 48px;
}
.footer-social-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}
.footer-social-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============================================
   MODAL 1 — 사장님 앱 다운로드
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.is-open { opacity: 1; }
body.modal-open { overflow: hidden; }

.modal {
  position: relative;
  width: 600px;
  max-width: 100%;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-backdrop.is-open .modal { transform: translateY(0); }

/* Header (110 tall) */
.modal-header {
  position: relative;
  padding: 48px 48px 24px;
  display: flex;
  align-items: center;
  background: #fff;
}
.modal-title {
  margin: 0;
  flex: 1;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: #1a2128;
}
.modal-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 333px;
  background: #f2f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close-x {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}
.modal-close-x img {
  position: absolute;
  inset: 20.83%;
  width: 58.34%;
  height: 58.34%;
  display: block;
}

/* Body (340 tall) */
.modal-body {
  padding: 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.modal-qr-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}
.modal-qr {
  width: 156px;
  height: 156px;
  position: relative;
  overflow: hidden;
}
.modal-qr img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.modal-qr-text {
  margin: 0;
  width: 100%;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #4e5968;
}

/* Store buttons (App Store + Google Play) */
.store-btns {
  display: flex;
  gap: 10.697px;
  align-items: center;
}
.store-btn {
  position: relative;
  width: 198.652px;
  height: 55.775px;
  background: #1a2128;
  border-radius: 290.206px;
  overflow: hidden;
  display: block;
}
/* App Store */
.store-icon-apple {
  position: absolute;
  inset: 23.45% 69.55% 25.85% 18.57%;
}
.store-icon-apple img { width: 100%; height: 100%; display: block; }

.store-text-small {
  position: absolute;
  inset: 24.13% 19.4% 62% 36.24%;
}
.store-text-small img { width: 100%; height: 100%; display: block; }

.store-text-big {
  position: absolute;
  inset: 46.87% 18.86% 18.53% 35.52%;
}
.store-text-big img { width: 100%; height: 100%; display: block; }

/* Google Play — Figma: -rotate-180 -scale-x-100 = scaleY(-1) (상하반전) */
.store-google-img {
  position: absolute;
  inset: 25.12% 16.4% 20.19% 16.67%;
  display: block;
  transform: scaleY(-1);
}
.store-google-img img { width: 100%; height: 100%; display: block; }

.modal-footer-spacer { height: 40px; }

/* ---------------- Modal2: POS 설치 ---------------- */
.modal2-body {
  padding: 48px 48px 24px;
  gap: 24px;
  align-items: center;
}
.pos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 316px;
  height: 72px;
  padding: 16px 16px 16px 28px;
  border-radius: 99.558px;
  white-space: nowrap;
}
.pos-btn-primary    { background: #1a2128; }
.pos-btn-secondary  { background: #f9fafb; }

.pos-btn-logo {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  position: relative;
}
.pos-btn-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-btn-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -1px;
  color: #fff;
}
.pos-btn-text-muted { color: #4e5968; }

/* Arrow icon — mask-based, rotated 180° (down arrow) */
.pos-btn-arrow {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  transform: rotate(180deg);
  -webkit-mask-image: url('./arrow-up-28.svg');
  mask-image: url('./arrow-up-28.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 28px 28px;
  mask-size: 28px 28px;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}
.pos-btn-arrow-light { background-color: #ffffff; }
.pos-btn-arrow-dark  { background-color: #4e5968; opacity: 0.6; }

.pos-note {
  margin: 0;
  width: 100%;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #4e5968;
}

/* ---------------- Modal: 준비중입니다 ---------------- */
.coming-soon-body {
  padding: 16px 48px 40px;
  gap: 20px;
}
.coming-soon-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(193, 8, 8, 0.08);
  color: #C10808;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coming-soon-icon svg { width: 34px; height: 34px; display: block; }
.coming-soon-desc {
  margin: 0;
  width: 100%;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  color: #4e5968;
}
.coming-soon-confirm.modal-close {
  position: static;
  width: 100%;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: #1a2128;
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  transition: background-color .2s ease;
}
.coming-soon-confirm.modal-close:hover { background: #333d4b; }

/* ---------------- Modal: 입점 신청 시작하기 ---------------- */
.modal-application-body {
  padding: 24px 48px;
  gap: 32px;
  align-items: flex-start;
}
.ma-desc {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #6b7684;
}
.ma-field-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.ma-label {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.44px;
  color: #0f172a;
}
.ma-field {
  width: 504px;
  max-width: 100%;
  height: 62px;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.ma-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.44px;
  color: #1a2128;
  padding: 10px 0;
}
.ma-field input::placeholder {
  color: #b0b8c1;
  opacity: 1;
}
.ma-field:focus-within {
  border-color: #1a2128;
}
.ma-error {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: #ff0000;
}
.ma-error[hidden] { display: none; }
.ma-cta {
  width: 100%;
  height: 68px;
  min-height: 56px;
  padding: 2px 28px;
  border: 0;
  border-radius: 10px;
  background: #C10808;
  color: #FDF9EE;
  font-weight: 700;
  font-size: 22px;
  cursor: pointer;
}
.ma-cta.is-loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: wait;
}
.ma-cta:hover { filter: brightness(0.95); }
.ma-cta-row { width: 100%; display: contents; }
.ma-call-cta { display: none; }

/* duplication state */
.ma-duplication {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.ma-duplication[hidden] { display: none; }
.ma-dup-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.ma-dup-info-icon { width: 24px; height: 24px; flex-shrink: 0; }
.ma-dup-info-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}
.ma-dup-info-strong { font-weight: 600; color: #ff0000; }
.ma-dup-info-sub { font-weight: 400; color: #4e5968; }

.ma-dup-account {
  display: flex;
  gap: 8px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: #0f172a;
  width: 100%;
}
.ma-dup-account-label { font-weight: 500; }
.ma-dup-account-value { font-weight: 600; flex: 1; }

.ma-dup-divider {
  height: 1px;
  width: 100%;
  background: #e5e8eb;
}

.ma-dup-cc { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.ma-dup-cc-title {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  color: #0f172a;
  line-height: 1.5;
}
.ma-dup-cc-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.ma-dup-cc-row {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 18px;
  line-height: 1.5;
  color: #4e5968;
}
.ma-dup-cc-key { font-weight: 400; min-width: 60px; }
.ma-dup-cc-val { font-weight: 500; }

/* ================================================================
   Application Page (application-step1.html)
   ================================================================ */
.app-page {
  margin: 0;
  background: #f9fafb;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;        /* fixed GNB */
}

/* GNB: 기존 .gnb 그대로 사용, 로고에 '사장님' 태그만 추가 */
.gnb-app .gnb-inner {
  padding: 0 24px;
  box-sizing: border-box;
}
.logo-app {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-app .logo-group {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex-shrink: 0;
}
.logo-app-tag {
  font-weight: 700;
  font-size: 25.6px;
  line-height: 1;
  color: #262630;
  letter-spacing: -0.5px;
}

/* Main */
.app-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}
.app-card {
  background: #ffffff;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;          /* Figma: Welcome Section children gap-[16px] */
}

.app-welcome {
  padding: 60px 20px 24px;
}
.app-welcome-title {
  margin: 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -0.8px;
  color: #0f172a;
}

.app-tabs-wrap { padding: 8px 20px; }
.app-tabs {
  background: #f2f4f6;
  border-radius: 333px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.app-tab {
  flex: 1;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 333px;
  background: #f2f4f6;
  color: #8b95a1;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.36px;
  text-align: center;
}
.app-tab.is-active {
  background: #C10808;
  color: #FDF9EE;
}
.app-tab-step {
  background: #ffffff;
  color: #0F172A;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.32px;
  border-radius: 333px;
  padding: 0 8px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.app-tab-chev {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-form {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  /* Figma Form Container gap: step1 = 32px, step2 = 40px */
}
.app-page-step1 .app-form { gap: 32px; }
.app-page-step2 .app-form { gap: 40px; }

/* 카드가 액션바까지 흰색으로 이어지고, 마지막 컨텐츠 아래로 60px + 액션바 높이만큼 스크롤 가능 */
.app-card {
  min-height: calc(100vh - 80px);
  padding-bottom: calc(92px + 60px);
  box-sizing: border-box;
}
.app-section {
  display: flex;
  flex-direction: column;
  gap: 20px;          /* Figma: Form Section gap-[20px] (title↔divider↔fields) */
  padding: 20px 0;    /* Figma: py-[20px] */
}
.app-section-title {
  margin: 0;
  padding: 0 20px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #0f172a;
}
.app-section-divider {
  margin: 0 20px;     /* gap 처리는 .app-section gap이 담당 */
  height: 1px;
  background: #e5e8eb;
}

.app-row {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  align-items: flex-start;
}
/* Figma: Form Section Fields Container gap-[32px] (row↔row)
   부모(.app-section) gap-20 위에 12 추가 = 32 */
.app-row + .app-row { margin-top: 12px; }
.app-field {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-field-half { max-width: 410px; }

.app-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #4e5968;
}
.app-input,
.app-select {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
}
.app-input::placeholder { color: #8b95a1; }
.app-input:focus,
.app-select:focus { border-color: #1a2128; }

.app-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

/* 사장님 휴대폰 — 베트남 국가번호(+84) 접두 표시 */
.app-phone-input {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  box-sizing: border-box;
}
.app-phone-input:focus-within { border-color: #1a2128; }
.app-phone-prefix {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: #ff0000;
}
.app-phone-num {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: #0f172a;
  outline: none;
}
.app-phone-num::placeholder { color: #8b95a1; }
.app-suffix-btn {
  height: 48px;
  min-width: 80px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.28px;
  color: #4e5968;
  cursor: pointer;
}
.app-suffix-btn:hover { background: #f9fafb; }

.app-help {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #8b95a1;
}
.app-field-error {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #ff0000;
}
.app-field-error[hidden] { display: none; }
.app-field.is-error .app-input,
.app-field.is-error .app-select,
.app-field.is-error .app-phone-input { border-color: #ff0000; }

/* 중복확인 결과 메시지 (Figma Field Container_Confirm / Error) */
.app-field-dup-error {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #ff0000;
}
.app-field-dup-error[hidden] { display: none; }
.app-field-confirm {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #0059FF;
}
.app-field-confirm[hidden] { display: none; }

/* step2 — 한 줄 전체를 차지하는 필드 */
.app-field-full { flex: 1 0 100%; max-width: none; }
.app-label-optional { color: #8b95a1; font-weight: 500; margin-left: 4px; }

/* step2 — 주소 그룹 (input 들 세로 stack) */
.app-addr-input { margin-top: 12px; }

/* 매장 주소 검색 — Google Places Autocomplete 드롭다운 */
.app-autocomplete { position: relative; }
.app-autocomplete-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.app-autocomplete-input { padding-left: 44px; }
.app-autocomplete-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  margin: 0;
  padding: 8px;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  box-sizing: border-box;
}
.app-autocomplete-list-static {
  position: static;
  margin-top: 12px;
  padding: 0;
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.app-autocomplete-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 10px;
  background: none;
  border: 0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.app-autocomplete-list-static .app-autocomplete-item { border-bottom: 1px solid #f2f4f6; border-radius: 0; }
.app-autocomplete-list-static .app-autocomplete-item:last-child { border-bottom: 0; }
.app-autocomplete-item:hover,
.app-autocomplete-item:focus-visible { background: #f9fafb; outline: none; }
.app-autocomplete-item-pin { flex-shrink: 0; margin-top: 2px; }
.app-autocomplete-item-text { min-width: 0; }
.app-autocomplete-item-name {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: #0f172a;
}
.app-autocomplete-item-addr {
  margin: 2px 0 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: #8b95a1;
}
.app-autocomplete-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 20px;
  text-align: center;
}
.app-autocomplete-empty[hidden] { display: none; }
.app-autocomplete-empty-title {
  margin: 16px 0 0;
  font-weight: 600;
  font-size: 15px;
  color: #4e5968;
}
.app-autocomplete-empty-desc {
  margin: 6px 0 0;
  font-weight: 400;
  font-size: 14px;
  color: #8b95a1;
}

/* 주소 검색 결과 지도 — Google Maps 캔버스 + 고정 픽업 핀 */
.app-map {
  position: relative;
  margin-top: 12px;
  height: 240px;
  background: #f2f4f6;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.app-map-canvas { position: absolute; inset: 0; }
.app-map-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #8b95a1;
  box-sizing: border-box;
}
/* 픽업 핀은 지도 정중앙에 고정되고, 사용자는 마커가 아닌 지도를 움직여 위치를 맞춘다 */
.app-map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.28));
}
.app-map-tooltip {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 6;
  margin: 0;
  max-width: calc(100% - 24px);
  padding: 8px 14px;
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: #1a2128;
  text-align: center;
  box-sizing: border-box;
}
.app-map-mobile {
  height: 280px;
  margin-top: 0;
  margin-left: -20px;
  margin-right: -20px;
  width: calc(100% + 40px);
  border-radius: 0;
}
/* 지도 안내 문구는 짧게 유지하므로 한 줄로 고정 */
.app-map-tooltip { white-space: nowrap; }

/* 라이더 픽업 위치 확인 카드 */
.app-addr-confirm {
  margin-top: 12px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  box-sizing: border-box;
}
.app-addr-confirm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.app-addr-confirm-label {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.26px;
  color: #8b95a1;
}
/* 모바일에서만 노출되는 "변경" 버튼 — 데스크탑은 검색창/지도가 항상 인라인으로 보이므로 불필요 */
.app-addr-confirm-change {
  display: none;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: 0;
  font-weight: 700;
  font-size: 13px;
  color: #C10808;
  cursor: pointer;
}
.app-addr-confirm-body { display: flex; align-items: flex-start; gap: 10px; }
.app-addr-confirm-pin { flex-shrink: 0; margin-top: 2px; }
.app-addr-confirm-text { min-width: 0; }
.app-addr-confirm-name {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: #0f172a;
}
.app-addr-confirm-addr,
.app-addr-confirm-detail {
  margin: 2px 0 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: #4e5968;
}
.app-addr-confirm-body-mobile { display: block; margin-top: 16px; }

/* 보조(아웃라인) 버튼 — 모바일 "검색한 위치로 돌아가기" */
.app-btn-outline {
  width: 100%;
  min-height: 56px;
  padding: 2px 28px;
  background: #ffffff;
  color: #1a2128;
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.app-btn-outline:hover { background: #f9fafb; }

/* 모바일 전체화면 주소 검색/확인 오버레이 */
.app-address-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.app-address-fullscreen[hidden] { display: none; }
.app-address-fs-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f7;
  flex-shrink: 0;
}
.app-address-fs-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.app-address-fs-title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.36px;
  color: #111827;
}
.app-address-fs-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  -webkit-overflow-scrolling: touch;
}
.app-address-fs-body-map { display: flex; flex-direction: column; }
.app-addr-detail-label { display: block; margin-top: 20px; margin-bottom: 8px; }
.app-address-fs-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* step2 — 매장 업종 추가 선택 */
.app-cat-extra {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

/* step2 — 체크박스 공통 */
.app-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 0;
}
.app-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1.8px solid #e5e8eb;
  border-radius: 4.8px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
}
.app-checkbox:checked {
  background: #C10808;
  border-color: #C10808;
}
.app-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 8.2px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.app-checkbox-sm {
  width: 20px;
  height: 20px;
  border-width: 1.5px;
  border-radius: 4px;
}
.app-checkbox-sm:checked::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-width: 0 2px 2px 0;
}
.app-checkbox-lg {
  width: 24px;
  height: 24px;
}
.app-checkbox-label {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #4e5968;
}
.app-checkbox-label-sm {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.28px;
  color: #6b7684;
}
.app-checkbox-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.app-checkbox-grid-4 .app-checkbox-row { flex: 1 0 0; min-width: 0; }
.app-checkbox-grid .app-checkbox-row { min-width: 194px; }

/* step2 — 약관 동의 */
.app-terms {
  margin-top: 20px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-terms-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.app-terms-all-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #6b7684;
}
.app-terms-divider {
  height: 1px;
  background: #f2f4f6;
  width: 100%;
}
.app-terms-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-term-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  align-self: flex-start;
}
.app-term-row .app-checkbox {
  width: 20px;
  height: 20px;
  border-width: 1.5px;
  border-radius: 4px;
}
.app-term-row .app-checkbox:checked::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-width: 0 2px 2px 0;
}
.app-term-label {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.28px;
  color: #6b7684;
}
.app-term-chev {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}
.app-terms.is-error .app-checkbox { border-color: #ff0000; }

/* SignatureSign (약관 전체 동의 시 노출) */
.app-signature-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 8px;
}
.app-signature-group[hidden] { display: none; }
.app-signature-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  width: 100%;
}
.app-signature-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.32px;
  color: #4e5968;
}
.app-signature-pad {
  width: 100%;
  max-width: 420px;
}
.app-signature-pad canvas {
  width: 100%;
  height: 120px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  display: block;
  touch-action: none;
  cursor: crosshair;
}
.app-signature-clear {
  align-self: flex-start;
  min-height: 32px;
  min-width: 52px;
  padding: 2px 10px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.24px;
  color: #4e5968;
  cursor: pointer;
}
.app-signature-clear:hover { background: #f9fafb; }

/* ================================================================
   Application Success (application-success.html)
   ================================================================ */
.app-page-success { padding-bottom: 0; }
.app-main-success {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  background: #ffffff;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  box-sizing: border-box;
}
.app-success {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.app-success-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.app-success-mascot {
  width: 147.65px;
  height: 197.813px;
  object-fit: contain;
}
.app-success-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.app-success-title {
  margin: 0;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -0.64px;
  color: #0f172a;
}
.app-success-sub {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: #4e5968;
}
.app-success-info {
  background: #f9fafb;
  border-radius: 8px;
  padding: 20px;
  width: 412px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-success-row {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 18px;
  line-height: 1.5;
  color: #4e5968;
}
.app-success-key { font-weight: 400; min-width: 48px; }
.app-success-val { font-weight: 500; }
.app-success-actions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.app-success-btn {
  width: 200px;
  min-height: 56px;
  padding: 2px 28px;
  border-radius: 10px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #262630;
  cursor: pointer;
  box-sizing: border-box;
}
.app-success-btn-secondary {
  background: #ffffff;
  border: 1px solid #eaeaea;
  font-weight: 600;
}
.app-success-btn-primary {
  background: #C10808;
  color: #FDF9EE;
  border: 0;
  font-weight: 700;
}
.app-success-btn-primary:hover,
.app-success-btn-secondary:hover { filter: brightness(0.97); }


.app-file {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 2px 10px;
  background: #ffffff;
  border: 1px solid #e5e8eb;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.24px;
  color: #4e5968;
  cursor: pointer;
}
.app-file-btn:hover { background: #f9fafb; }
.app-file-name {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.24px;
  color: #8b95a1;
}

.app-select-wrap {
  position: relative;
}
.app-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  padding-right: 40px;
  cursor: pointer;
}
.app-select-chev {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: inline-flex;
}

/* 하단 스크롤 고정 Action Button Container */
.app-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #e5e8eb;
  z-index: 50;
  display: flex;
  justify-content: center;
}
.app-actions-inner {
  width: 100%;
  max-width: 920px;
  padding: 16px 40px 20px;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}
.app-next-btn {
  width: 200px;
  min-height: 56px;
  padding: 2px 28px;
  background: #C10808;
  color: #FDF9EE;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}
.app-next-btn:hover { filter: brightness(0.95); }
.app-next-btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
  cursor: wait;
}
.app-next-btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(253, 249, 238, 0.4);
  border-top-color: #FDF9EE;
  border-radius: 50%;
  animation: appNextBtnSpin 0.6s linear infinite;
}
@keyframes appNextBtnSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
  .app-row { flex-direction: column; }
  .gnb-app .gnb-menu { gap: 4px; }
  .gnb-app .gnb-link,
  .gnb-app .gnb-cta { padding: 0 8px; font-size: 14px; }
  .app-welcome-title { font-size: 28px; }
}

/* ================================================================
   Mobile (≤768px) — m_store
   ================================================================ */
/* 기본 상태: 모바일 전용 요소는 데스크탑에서 숨김 */
/* 사장님 텍스트 (Figma: Bold 25.6px) — 데스크탑/모바일 모두 노출 */
.logo-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 25.6px;
  line-height: 1;
  color: #262630;
  letter-spacing: -0.5px;
}
.gnb-hamburger { display: none; }
/* 햄버거를 감싸는 래퍼 — 데스크톱/태블릿에서는 박스 자체를 없는 셈 치고(display:contents)
   기존 레이아웃(.gnb-inner의 justify-content:space-between)에 영향을 주지 않는다.
   true mobile(≤768px)에서만 flex로 전환해 언어 선택 버튼과 햄버거를 한 덩어리로 묶는다. */
.gnb-mobile-controls { display: contents; }
.gnb-mlocale-wrap { display: none; }
.m-hero { display: none; }
.m-section1 { display: none; }
.m-section2-1 { display: none; }
.m-section2-2 { display: none; }
.m-section2-3 { display: none; }
.m-section3 { display: none; }
.m-section4 { display: none; }
.m-section5 { display: none; }
.m-section6 { display: none; }
.m-section7 { display: none; }
.m-section8 { display: none; }
.m-footer { display: none; }
.m-gnb-menu { display: none; }
.ma-label-mobile { display: none; }
.m-app-steps-wrap { display: none; }
.m-only { display: none; }
.app-prev-btn { display: none; }

/* ===== 태블릿 폭(769~1023px, 아이패드 세로 등) GNB 오버라이드 =====
   이 폭에서는 데스크톱 GNB 텍스트 링크 전체가 들어갈 공간이 부족해 화면 밖으로
   넘쳐버린다. 히어로/본문은 데스크톱 레이아웃을 그대로 두고 GNB만 모바일과
   동일한 햄버거 메뉴로 전환해 넘침을 막는다. (GNB 높이는 80px 유지) */
@media (min-width: 769px) and (max-width: 1023px) {
  .gnb-nav { display: none; }
  .gnb-actions { display: none; }

  .gnb-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: -12px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
  }
  .gnb-hamburger svg { display: block; width: 24px; height: 24px; }
  .gnb-hamburger .gnb-hamburger-x { display: none; }
  body.is-menu-open .gnb-hamburger .gnb-hamburger-bars { display: none; }
  body.is-menu-open .gnb-hamburger .gnb-hamburger-x { display: block; }

  .m-gnb-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  .m-gnb-menu[hidden] { display: none; }
  .m-gnb-item {
    height: 56px;
    padding: 0 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.32px;
    color: #0f172a;
    text-decoration: none;
    flex-shrink: 0;
  }
  .m-menu-locale { border-top: 1px solid #f2f4f6; padding: 8px 24px 12px; }
  .m-menu-locale-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
  }
  .m-menu-locale-toggle-left { display: flex; align-items: center; gap: 8px; }
  .m-menu-locale-globe { display: block; width: 20px; height: 20px; color: #333d4b; flex-shrink: 0; }
  .m-menu-locale-code { font-size: 16px; font-weight: 700; letter-spacing: -0.32px; color: #0f172a; }
  .m-menu-locale-chevron { width: 16px; height: 16px; color: #8b95a1; flex-shrink: 0; transition: transform 0.25s ease; }
  .m-menu-locale-toggle[aria-expanded="true"] .m-menu-locale-chevron { transform: rotate(180deg); }
  .m-menu-locale-list { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease; }
  .m-menu-locale-toggle[aria-expanded="true"] + .m-menu-locale-list { grid-template-rows: 1fr; }
  .m-menu-locale-list-inner { overflow: hidden; }
  .m-menu-locale-item {
    display: block;
    width: 100%;
    border: none;
    background: none;
    padding: 10px 0 10px 28px;
    text-align: left;
    text-decoration: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: #4e5968;
  }
  .m-menu-locale-item.is-selected { color: #C10808; font-weight: 700; }
}

@media (max-width: 768px) {
  body { overflow-x: clip; }
  /* iOS Safari 입력 포커스 시 자동 확대 방지 (font-size ≥ 16px) */
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    font-size: 16px;
  }

  /* ===== 모바일 스크롤 페이드인 ===== */
  .m-hero [data-animate],
  .m-section1 [data-animate],
  .m-section2-1 [data-animate],
  .m-section2-2 [data-animate],
  .m-section2-3 [data-animate],
  .m-section3 [data-animate],
  .m-section4 [data-animate],
  .m-section5 [data-animate],
  .m-section6 [data-animate],
  .m-section7 [data-animate],
  .m-section8 [data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.9s ease-out,
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .m-hero [data-animate].in-view,
  .m-section1 [data-animate].in-view,
  .m-section2-1 [data-animate].in-view,
  .m-section2-2 [data-animate].in-view,
  .m-section2-3 [data-animate].in-view,
  .m-section3 [data-animate].in-view,
  .m-section4 [data-animate].in-view,
  .m-section5 [data-animate].in-view,
  .m-section6 [data-animate].in-view,
  .m-section7 [data-animate].in-view,
  .m-section8 [data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
  }
  /* 카드 컨테이너 안 카드들: stagger */
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(1),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(1),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(1),
  .m-s6-cards > .m-s6-card[data-animate]:nth-child(1),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(1) { transition-delay: 0.06s; }
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(2),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(2),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(2),
  .m-s6-cards > .m-s6-card[data-animate]:nth-child(2),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(2) { transition-delay: 0.14s; }
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(3),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(3),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(3),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(3) { transition-delay: 0.22s; }
  .m-s1-cards > .m-s1-card[data-animate]:nth-child(4),
  .m-s4-cards > .m-s4-card[data-animate]:nth-child(4),
  .m-s5-steps > .m-s5-step[data-animate]:nth-child(4),
  .m-s7-list > .m-s7-item[data-animate]:nth-child(4) { transition-delay: 0.3s; }
  .m-s7-list > .m-s7-item[data-animate]:nth-child(5) { transition-delay: 0.38s; }

  /* prefers-reduced-motion 대응 */
  @media (prefers-reduced-motion: reduce) {
    .m-hero [data-animate],
    .m-section1 [data-animate],
    .m-section2-1 [data-animate],
    .m-section2-2 [data-animate],
    .m-section2-3 [data-animate],
    .m-section3 [data-animate],
    .m-section4 [data-animate],
    .m-section5 [data-animate],
    .m-section6 [data-animate],
    .m-section7 [data-animate],
    .m-section8 [data-animate] {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* ===== m_GNB (375×58, white) ===== */
  .gnb {
    height: 58px;
    background: #ffffff;
  }
  .gnb-inner {
    height: 58px;
    padding: 0 24px;
    box-sizing: border-box;
    max-width: none;
  }
  .gnb-nav { display: none; }
  .gnb-actions { display: none; }

  /* 로고 옆 '사장님' 태그 */
  .logo { display: inline-flex; align-items: center; gap: 8px; width: auto; height: 24px; }
  .gnb-logo-text { height: 24px; }
  .logo-group {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 60.84px;
    height: 18.552px;
    flex-shrink: 0;
  }
  .logo-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #262630;
    letter-spacing: -0.3px;
  }

  /* 햄버거 메뉴 (Figma Menu 아이콘) — 시각 24×24, 터치 영역 48×48 */
  .gnb-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: -12px;        /* 시각 위치는 24×24 그대로 유지 */
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
  }
  .gnb-hamburger svg { display: block; width: 24px; height: 24px; }
  .gnb-hamburger .gnb-hamburger-x { display: none; }
  body.is-menu-open .gnb-hamburger .gnb-hamburger-bars { display: none; }
  body.is-menu-open .gnb-hamburger .gnb-hamburger-x { display: block; }

  /* 언어 선택 — 햄버거 바로 좌측 (QR로 바로 진입하는 사용자가 메뉴를 열지 않고도
     한/영/베 언어를 즉시 바꿀 수 있도록 최상단에 노출) */
  .gnb-mobile-controls {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .gnb-mlocale-wrap {
    display: flex;
    align-items: center;
    position: relative;
  }
  .gnb-mlocale-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 48px;
    padding: 0 8px;
    border: 0;
    background: none;
    cursor: pointer;
    color: #1a2128;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.2px;
  }
  .gnb-mlocale-globe { display: block; width: 20px; height: 20px; color: #333d4b; flex-shrink: 0; }
  .gnb-mlocale-chevron { display: block; width: 10px; height: 10px; color: #8b95a1; flex-shrink: 0; transition: transform 0.2s ease; }
  .gnb-mlocale-toggle[aria-expanded="true"] .gnb-mlocale-chevron { transform: rotate(180deg); }
  .gnb-mlocale-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: -8px;
    min-width: 116px;
    padding: 12px 8px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(20, 20, 20, 0.18);
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 120;
  }
  .gnb-mlocale-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .gnb-mlocale-item {
    display: block;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4E5968;
    white-space: nowrap;
  }
  .gnb-mlocale-item:hover { background: #F6F7F8; }
  .gnb-mlocale-item.is-selected { color: #C10808; background: rgba(193, 8, 8, 0.08); }

  /* 언어 선택이 GNB 상단으로 이동한 페이지(.app-page — 사장님 신청 step1/step2/success)만
     햄버거 패널 내부 아코디언을 숨긴다. index.php 등 기존 GNB를 쓰는 페이지는
     이 규칙의 영향을 받지 않고 아코디언이 그대로 유지된다. */
  .app-page .m-menu-locale { display: none; }

  /* ===== GNB_list (햄버거 메뉴 열림 패널 — 컨텐츠만큼만 아래로 펼침) ===== */
  .m-gnb-menu {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  .m-gnb-menu[hidden] { display: none; }
  .m-gnb-item {
    height: 56px;
    padding: 0 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.32px;
    color: #0f172a;
    text-decoration: none;
    flex-shrink: 0;
  }
  .m-menu-locale {
    border-top: 1px solid #f2f4f6;
    padding: 8px 24px 12px;
  }
  .m-menu-locale-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
  }
  .m-menu-locale-toggle-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .m-menu-locale-globe {
    display: block;
    width: 20px;
    height: 20px;
    color: #333d4b;
    flex-shrink: 0;
  }
  .m-menu-locale-code {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.32px;
    color: #0f172a;
  }
  .m-menu-locale-chevron {
    width: 16px;
    height: 16px;
    color: #8b95a1;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }
  .m-menu-locale-toggle[aria-expanded="true"] .m-menu-locale-chevron {
    transform: rotate(180deg);
  }
  .m-menu-locale-list {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
  }
  .m-menu-locale-toggle[aria-expanded="true"] + .m-menu-locale-list {
    grid-template-rows: 1fr;
  }
  .m-menu-locale-list-inner { overflow: hidden; }
  .m-menu-locale-item {
    display: block;
    width: 100%;
    border: none;
    background: none;
    padding: 10px 0 10px 28px;
    text-align: left;
    text-decoration: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: #4e5968;
  }
  .m-menu-locale-item.is-selected { color: #C10808; font-weight: 700; }

  /* ===== m_modal_application_default — 모바일 bottom sheet ===== */
  #modal-application.modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  #modal-application .modal {
    width: 100%;
    max-width: 100%;
    max-height: 80vh;     /* 최대 80vh까지만 — 컨텐츠가 적으면 그만큼만 차지 */
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
  }
  #modal-application.is-open .modal { transform: translateY(0); }
  /* Header: pt-16, 닫기 버튼만 노출 (제목은 별도 row로 이동) */
  #modal-application .modal-header {
    padding: 16px 20px 0;
    display: block;
    background: #ffffff;
    min-height: 37px;
  }
  /* 모바일에서 제목은 .ma-desc 위에 배치되도록 modal-body 안에 가상 카드로 이동 */
  #modal-application .modal-title {
    margin: 0;
    padding: 0 20px;
    font-weight: 700;
    font-size: 22px;
    line-height: normal;
    color: #000000;
  }
  /* 닫기 버튼: 24×24 라운드, top 13, right 12 */
  #modal-application .modal-close {
    position: absolute;
    top: 13px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f2f4f6;
  }
  #modal-application .modal-close-x {
    width: 16px;
    height: 16px;
  }

  /* Body: 패딩 제거 + 컨텐츠 크기로 시작, max-height 초과 시 내부 스크롤 */
  #modal-application .modal-body.modal-application-body {
    padding: 0;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;   /* 데스크탑 center 상속 차단 */
    background: #ffffff;
    flex: 0 1 auto;                /* 컨텐츠 크기 기준, max-height 도달 시만 shrink */
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #modal-application .modal-header { flex: 0 0 auto; }
  /* 제목 노출 위치 변경: header 아래 별도 row */
  #modal-application .modal-header { padding-bottom: 0; }
  /* 모바일에서 제목 row를 body 최상단으로 옮긴 효과: header가 닫기만 들고, title은 body 첫 줄로 보이게
     기존 마크업이라 CSS만으로 제목을 body 위로 옮길 수 없으므로 header를 column으로 두고 title을 위에 배치 */
  #modal-application .modal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 0;
    position: relative;
  }
  #modal-application .modal-title { margin-top: 21px; }

  /* 설명 */
  #modal-application .ma-desc {
    margin: 0;
    padding: 16px 20px 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #6b7684;
  }
  /* 필드 그룹 */
  #modal-application .ma-field-group {
    padding: 12px 20px;
    gap: 8px;
  }
  #modal-application .ma-label { display: none; }
  #modal-application .ma-label-mobile {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.32px;
    color: #0f172a;
  }
  #modal-application .ma-field {
    width: 100%;
    max-width: none;
    height: 48px;
    padding: 0 16px;
  }
  #modal-application .ma-field input {
    font-size: 16px;
    padding: 10px 0;
    letter-spacing: -0.32px;
  }
  #modal-application .ma-field input::placeholder {
    font-size: 16px;
    letter-spacing: -0.32px;
  }
  #modal-application .ma-error {
    font-size: 14px;
    line-height: 1.5;
  }

  /* 조회하기 CTA */
  #modal-application .ma-cta {
    margin: 24px 20px 20px;
    width: calc(100% - 40px);
    height: 56px;
    min-height: 56px;
    padding: 2px 28px;
    font-size: 18px;
    border-radius: 10px;
  }
  /* X 아이콘은 데스크탑과 동일한 inset 20.83%/58.34% 패턴 유지 (16×16 컨테이너 안에 9.33×9.33로 렌더링됨) */
  /* footer-spacer 비활성화 */
  #modal-application .modal-footer-spacer { display: none; }

  /* 중복(duplication) / 정보 박스 모바일 스타일 */
  #modal-application .ma-duplication {
    padding: 0 20px 16px;
    gap: 16px;
  }
  #modal-application .ma-dup-info {
    padding: 20px;
    gap: 10px;
    align-items: flex-start;
    background: #f9fafb;
    border-radius: 8px;
  }
  #modal-application .ma-dup-info-icon {
    width: 20px;
    height: 20px;
  }
  #modal-application .ma-dup-info-text {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.28px;
  }
  #modal-application .ma-dup-info-strong {
    font-weight: 600;
    color: #eb1701;
    font-size: 14px;
  }
  #modal-application .ma-dup-info-sub {
    font-weight: 400;
    color: #4e5968;
    font-size: 14px;
  }
  /* 등록된 아이디 — text-14, gap-8 */
  #modal-application .ma-dup-account {
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.28px;
    color: #0f172a;
  }
  #modal-application .ma-dup-account-label { font-weight: 500; }
  #modal-application .ma-dup-account-value { font-weight: 600; }
  /* divider */
  #modal-application .ma-dup-divider { background: #e5e8eb; }

  /* 고객센터 */
  #modal-application .ma-dup-cc { gap: 8px; }
  #modal-application .ma-dup-cc-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -0.32px;
    color: #0f172a;
  }
  #modal-application .ma-dup-cc-box {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    gap: 4px;
  }
  #modal-application .ma-dup-cc-row {
    font-size: 14px;
    line-height: 1.5;
    color: #4e5968;
    gap: 20px;
  }

  /* CTA row: dup 상태일 때 2개 버튼이 좌우 배치되도록 + 하단 sticky 고정 */
  #modal-application .ma-cta-row {
    display: flex;
    gap: 10px;
    padding: 16px 20px 20px;
    width: auto;
    position: sticky;
    bottom: 0;
    background: #ffffff;
    z-index: 2;
    box-shadow: 0 -8px 16px -8px rgba(0, 0, 0, 0.04);
  }
  /* 기본(non-dup) 상태에서는 단일 버튼만 노출 */
  #modal-application .ma-cta {
    margin: 0;
    width: 100%;
    flex: 1 0 0;
    height: 56px;
    min-height: 56px;
    padding: 2px 28px;
    font-size: 18px;
    border-radius: 10px;
  }
  /* dup 상태: 조회하기 → outline, 전화 연결하기 노출 */
  #modal-application.is-dup .ma-cta {
    background: #ffffff;
    border: 1px solid #eaeaea;
    color: #262630;
  }
  #modal-application.is-dup .ma-call-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 0;
    min-height: 56px;
    padding: 2px 28px;
    background: #C10808;
    color: #FDF9EE;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
  }

  /* ===== m_hero (375×580) ===== */
  #hero {
    height: 580px !important;
    min-height: 580px !important;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  /* 데스크탑 배경 / stage 비활성화 */
  #hero .hero-bg,
  #hero .hero-stage { display: none; }

  /* 모바일 hero 배경 + 컨텐츠 컨테이너 */
  .m-hero {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #ffffff;
  }
  .m-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: right -381px top 0;
    pointer-events: none;
  }
  /* Image gradient: y=295, h=285 — Figma와 동일한 색상/비율(20.544%/56.609%/92.633%).
     박스 상단(=헤드라인이 앉는 자리)이 가장 어둡고 하단으로 갈수록 투명해진다. */
  .m-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 295px;
    height: 285px;
    mix-blend-mode: multiply;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.7) 20.544%,
      rgba(77, 76, 76, 0.3) 56.609%,
      rgba(116, 114, 114, 0) 92.633%
    );
    pointer-events: none;
  }

  /* 헤딩·서브·CTA를 하나의 flex 컬럼으로 묶어서, 번역 문구가 길어져(영어/베트남어)
     헤딩이나 서브가 줄바꿈되어도 다음 요소가 항상 그 바로 아래 고정 간격에
     오도록 한다. (기존엔 셋 다 독립된 top 고정 좌표라 헤딩이 예상보다 길어지면
     서브와 겹쳤고, CTA는 width:108px 고정이라 문구가 길어지면 여백이 부족했다) */
  .m-hero-content {
    position: absolute;
    left: 20px;
    right: 20px;
    /* .m-hero-overlay(top:295px)가 어두워지기 시작하는 지점과 맞춰서, 텍스트가
       사진 위 밝은 영역이 아니라 항상 그라데이션으로 어두워진 영역 위에 오도록 한다. */
    bottom: 52px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .m-hero-heading {
    margin: 0;
    font-family: 'KOTRA', 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 33px;
    line-height: 1.3;
    color: #FDF9EE;
  }
  .m-hero-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
  }
  /* Button container (Figma 406:2068) — pill, ffe200, gap 2, py-5 px-12.
     width는 고정하지 않는다 — 108px 고정이면 번역 문구가 길어질 때 여백 없이
     눌려 보인다. padding만으로 내용에 맞춰 자연스럽게 넓어지게 한다. */
  .m-hero-cta {
    box-sizing: border-box;
    min-height: 34px; /* width:108px 고정을 없앤 대신 원래 필(pill) 두께는 유지 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 12px;
    background: #C10808;
    color: #FDF9EE;
    border-radius: 333px;
    text-decoration: none;
    z-index: 2;
  }
  .m-hero-cta-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 13.198px;
    line-height: 1;
    letter-spacing: -0.9427px;
    text-align: center;
    color: #FDF9EE;
    white-space: nowrap;
  }
  .m-hero-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Figma vector inset 20.83% 33.33% — 16×16 컨테이너 안의 5.33×9.33 SVG 위치 */
  .m-hero-cta-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
    filter: brightness(0) invert(1);
  }

  /* 데스크탑 섹션·푸터 모두 숨김 (m_* 모바일 섹션이 대체) */
  #section1,
  #section2,
  #section3,
  #section4,
  #section5,
  #section6,
  #section7,
  #section8,
  #footer { display: none !important; }

  /* ===== m_section1 (375 width, 카드 가로 스크롤) ===== */
  .m-section1 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 0;
    background: #ffffff;
  }
  .m-s1-title {
    margin: 0;
    padding: 0 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #0f172a;
  }
  .m-s1-title-accent { color: #C10808; }
  .m-s1-cards {
    display: flex;
    gap: 10px;
    padding: 0 24px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .m-s1-cards::-webkit-scrollbar { display: none; }

  .m-s1-card {
    position: relative;
    flex-shrink: 0;
    width: 256px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    background: #dfdfdf;
  }
  .m-s1-card-bg {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
  }
  .m-s1-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    pointer-events: none;
  }

  /* Testimonial Background — 하단 다크 그라데이션 (mix-blend-multiply, w 275, h 148) */
  .m-s1-card-shade {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 275px;
    height: 148px;
    background: linear-gradient(
      0deg,
      #383838 20.544%,
      rgba(77, 76, 76, 0.5) 56.609%,
      rgba(116, 114, 114, 0) 92.633%
    );
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  .m-s1-card-text {
    position: absolute;
    left: 20px;
    bottom: 28px;
    width: 212px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #ffffff;
    z-index: 2;
  }
  .m-s1-card-title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    letter-spacing: -0.4px;
  }
  .m-s1-card-sub {
    margin: 0;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.3px;
  }

  /* ===== m_Section2-1 ===== */
  .m-section2-1 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #ffffff;
  }
  .m-s2-title {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -1px;
    color: #1a2128;
  }
  .m-s2-title-line1 { color: #1a2128; }
  .m-s2-title-line2 { color: #C10808; }

  .m-s2-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .m-s2-image {
    width: 100%;
    aspect-ratio: 1112 / 1200;
    overflow: hidden;
    border-radius: 12px;
  }
  .m-s2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .m-s2-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s2-text-title {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -0.44px;
    color: #1a2128;
  }
  .m-s2-text-desc {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.32px;
    color: #6b7684;
  }

  /* ===== m_Section2-2 (회색 배경, 헤더 없음) ===== */
  .m-section2-2 {
    display: flex;
    flex-direction: column;
    padding: 60px 24px;
    background: #f9fafb;
  }
  .m-section2-2 .m-s2-image {
    aspect-ratio: 327 / 352;
  }

  /* ===== m_Section2-3 (단골 만들기, 흰 배경, 헤더 없음) ===== */
  .m-section2-3 {
    display: flex;
    flex-direction: column;
    padding: 60px 24px;
    background: #ffffff;
  }
  .m-s2-3-image {
    aspect-ratio: auto;
    height: 352px;
    width: 100%;
  }

  /* ===== m_Section2-3 (가맹점 통계) ===== */
  .m-section3 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 0;
    background: #ffffff;
    align-items: center;
  }
  .m-s3-title {
    margin: 0;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s3-title-num { color: #C10808; }

  .m-s3-sub {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .m-s3-note {
    margin: 0;
    width: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7684;
    text-align: right;
  }
  .m-s3-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s3-card {
    position: relative;
    height: 148px;
    border-radius: 16px;
    background: #f9fafb;
    overflow: hidden;
  }
  .m-s3-card-text {
    position: absolute;
    left: 20px;
    top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
  }
  .m-s3-card-label {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -1px;
    color: #4e5968;
    white-space: nowrap;
  }
  .m-s3-card-value {
    margin: 0;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -2px;
    white-space: nowrap;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .m-s3-card[data-card="fee"] .m-s3-card-value {
    background-image: linear-gradient(141.848deg, #0f172a 24.991%, #ffa800 139.58%);
  }
  .m-s3-card[data-card="users"] .m-s3-card-value {
    background-image: linear-gradient(120.867deg, #0f172a 8.3069%, #7bd4fa 170.01%);
  }
  .m-s3-card[data-card="gmv"] .m-s3-card-value {
    background-image: linear-gradient(114.381deg, #0f172a 5.3561%, #f68062 169.33%);
  }
  .m-s3-card-img {
    position: absolute;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
  }
  .m-s3-card[data-card="fee"] .m-s3-card-img {
    width: 112px; height: 112px;
    right: -22.83px; bottom: -23px;
  }
  .m-s3-card[data-card="users"] .m-s3-card-img {
    width: 112px; height: 112px;
    right: -22.83px; bottom: -10px;
  }
  .m-s3-card[data-card="gmv"] .m-s3-card-img {
    width: 123px; height: 90px;
    right: -19px; bottom: -15px;
  }

  /* ===== m_Section4 (입점 혜택 카드 4개) ===== */
  .m-section4 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #ffffff;
    align-items: flex-start;
  }
  .m-s4-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s4-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s4-card {
    position: relative;
    width: 100%;
    height: 248px;
    border-radius: 16px;
    background: #e2e2e2;
    overflow: hidden;
  }
  .m-s4-card-imgwrap {
    position: absolute;
    overflow: hidden;
  }
  .m-s4-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
  }
  .m-s4-card[data-card="c1"] .m-s4-card-img { object-position: center -65px;width: 120%;height: 120%;transform: translate(-11%, -10%); }
  .m-s4-card[data-card="c2"] .m-s4-card-img { object-position: center 195px; }
  .m-s4-card[data-card="c3"] .m-s4-card-img { object-position: center 225px; }
  .m-s4-card[data-card="c4"] .m-s4-card-img {
    transform: scaleX(-1) translate(10%, -12%);
    width: 125%;
    height: 125%;
  }

  /* card1: 이미지 aspect 327/334, top calc(50%+22px) translate-y -50% */
  .m-s4-card[data-card="c1"] .m-s4-card-imgwrap {
    left: 0; right: 0;
    aspect-ratio: 327 / 334;
    top: calc(50% + 22px);
    transform: translateY(-50%);
  }
  /* card1 extra inner shade (image 내부 추가 그라데이션) */
  .m-s4-card[data-card="c1"] .m-s4-card-imgshade {
    position: absolute;
    left: -8.5px;
    top: 298.35px;
    width: 576px;
    height: 214px;
    backdrop-filter: blur(5.65px);
    -webkit-backdrop-filter: blur(5.65px);
    background: linear-gradient(180deg, rgba(172,179,165,0) 0%, #8b8b8b 100%);
    pointer-events: none;
  }

  /* card2: aspect 328/544, top calc(50%-78px) translate-y -50% */
  .m-s4-card[data-card="c2"] .m-s4-card-imgwrap {
    left: 0; right: -1px;
    aspect-ratio: 328 / 544;
    top: calc(50% - 78px);
    transform: translateY(-50%);
  }

  /* card3: aspect 466/574, left -69 right -70, top calc(50%-57px) */
  .m-s4-card[data-card="c3"] .m-s4-card-imgwrap {
    left: -69px; right: -70px;
    aspect-ratio: 466 / 574;
    top: calc(50% - 57px);
    transform: translateY(-50%);
  }

  /* card4: aspect 327/327, top calc(50%+25.5px) */
  .m-s4-card[data-card="c4"] .m-s4-card-imgwrap {
    left: 0; right: 0;
    aspect-ratio: 327 / 327;
    top: calc(50% + 25.5px);
    transform: translateY(-50%);
  }

  /* 하단 컬러 틴트 그라데이션 (블러 분리) — 카드 4개 모두 동일한 색/높이로 통일 */
  .m-s4-card-shade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 92px;
    background: linear-gradient(180deg, rgba(205, 205, 205, 0) 0%, rgba(205, 205, 205, 0.3) 100%);
    pointer-events: none;
  }

  /* Progressive blur — 6 레이어 누적, 위에서 아래로 점진적으로 강해짐 */
  .m-s4-card-pblur {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    pointer-events: none;
  }
  .m-s4-card-pblur > div {
    position: absolute;
    inset: 0;
  }
  /* 각 레이어 blur = max / sqrt(6) ≈ max * 0.4082 — 누적 시 sqrt(sum-of-squares) ≈ max */
  .m-s4-card-pblur > div:nth-child(1) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16.67%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16.67%);
  }
  .m-s4-card-pblur > div:nth-child(2) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 16.67%, #000 33.33%);
    mask-image: linear-gradient(180deg, transparent 16.67%, #000 33.33%);
  }
  .m-s4-card-pblur > div:nth-child(3) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 33.33%, #000 50%);
    mask-image: linear-gradient(180deg, transparent 33.33%, #000 50%);
  }
  .m-s4-card-pblur > div:nth-child(4) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 66.67%);
    mask-image: linear-gradient(180deg, transparent 50%, #000 66.67%);
  }
  .m-s4-card-pblur > div:nth-child(5) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 66.67%, #000 83.33%);
    mask-image: linear-gradient(180deg, transparent 66.67%, #000 83.33%);
  }
  .m-s4-card-pblur > div:nth-child(6) {
    -webkit-backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    backdrop-filter: blur(calc(var(--pb-max) * 0.4082));
    -webkit-mask-image: linear-gradient(180deg, transparent 83.33%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 83.33%, #000 100%);
  }

  /* progressive blur 영역 높이 + 최대 강도 — 카드 4개 모두 동일하게 통일 */
  .m-s4-card-pblur { height: 54px; --pb-max: 20px; }

  .m-s4-card-title {
    position: absolute;
    left: 20px;
    bottom: 20px;
    margin: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -0.66px;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    z-index: 2;
  }

  .m-s4-card-plus {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 333px;
    background: rgba(0, 0, 0, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 2;
  }
  .m-s4-card-plus svg {
    opacity: 0.8;
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
  }

  /* Card open state — 어두운 오버레이 + 설명 + X 버튼 */
  .m-s4-card { cursor: pointer; }
  .m-s4-card-dim {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }
  .m-s4-card-desc {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    max-width: 287px;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -1px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 2;
  }
  .m-s4-card.is-open .m-s4-card-dim { opacity: 1; }
  .m-s4-card.is-open .m-s4-card-desc { opacity: 1; }
  .m-s4-card.is-open .m-s4-card-title { opacity: 0; }
  .m-s4-card.is-open .m-s4-card-plus svg { transform: rotate(45deg); }
  .m-s4-card.is-open .m-s4-card-pblur,
  .m-s4-card.is-open .m-s4-card-shade { opacity: 0; }
  .m-s4-card-title { transition: opacity 0.25s ease; }
  .m-s4-card-pblur, .m-s4-card-shade { transition: opacity 0.25s ease; }

  /* ===== m_Section5 (입점 과정 STEP) ===== */
  .m-section5 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #f9fafb;
    align-items: flex-start;
  }
  .m-s5-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s5-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .m-s5-step {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 20px 40px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .m-s5-step-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 96px;
  }
  .m-s5-step-num {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -1px;
    color: #C10808;
  }
  .m-s5-step-label {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -1px;
    color: #0f172a;
  }
  .m-s5-step-icon {
    width: 68px;
    height: 68px;
    object-fit: cover;
    flex-shrink: 0;
  }

  /* CTA 다크 pill 버튼 (h-48, bg #1a2128, gap-4, pl-28 pr-12) */
  .m-s5-cta-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .m-s5-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 48px;
    padding: 10px 12px 10px 28px;
    background: #1a2128;
    border-radius: 333px;
    text-decoration: none;
    box-sizing: border-box;
  }
  .m-s5-cta-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #ffffff;
    white-space: nowrap;
  }
  .m-s5-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .m-s5-cta-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
  }

  /* ===== m_Section6 (관리 툴 다운로드) ===== */
  .m-section6 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #ffffff;
    align-items: flex-start;
  }
  .m-s6-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s6-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  /* height → min-height: 번역 문구가 길어져(영어/베트남어) 아래 텍스트 블록이
     늘어나도 카드가 함께 늘어나게 한다 (고정 height + overflow:hidden이면
     설명이 잘리거나, 폰/모니터 이미지가 커진 텍스트에 가려 안 보이게 된다).
     폰/모니터 이미지는 전부 bottom 기준으로 배치돼 있어서 카드가 늘어나면
     같이 아래로 따라 내려가 텍스트와 겹치지 않는다. */
  .m-s6-card {
    position: relative;
    width: 100%;
    background: #f9fafb;
    border-radius: 24px;
    overflow: hidden;
  }
  .m-s6-card[data-card="app"] { min-height: 422px; }
  .m-s6-card[data-card="pos"] { min-height: 381px; }

  /* absolute → 일반 흐름: 설명이 몇 줄이 되든 카드가 그만큼 늘어나게 하려면
     이 블록이 실제로 카드의 콘텐츠 높이에 기여해야 한다(absolute는 기여 못함).
     버튼도 이 flex 컬럼에 포함시켜 설명 아래 고정 간격에 항상 따라오게 한다. */
  .m-s6-card-text {
    position: relative;
    padding: 36px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    z-index: 2;
  }
  .m-s6-card-title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.4px;
    color: #1a2128;
  }
  .m-s6-card-desc {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.42px;
    color: #4e5968;
  }

  .m-s6-card-btn {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 333px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.28px;
    color: #ffffff;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  .m-s6-card-btn-active {
    background: #1a2128;
    padding: 10px 8px 10px 20px;
  }
  .m-s6-card-btn-disabled {
    background: #d0d0d0;
    padding: 10px 20px;
    cursor: default;
  }
  .m-s6-card-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .m-s6-card-btn-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
  }

  /* App 카드: 폰 이미지 + 하단 그라데이션 */
  .m-s6-card-img-phone {
    position: absolute;
    right: 18px;
    bottom: -70px;
    width: 154px;
    height: 312px;
    object-fit: contain;
    pointer-events: none;
  }
  .m-s6-card-fade {
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 82px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0) 14.634%, rgba(249, 250, 251, 0.9) 81.707%);
    pointer-events: none;
  }

  /* POS 카드: 모니터 이미지 (Figma overflow-hidden + 내부 절대 좌표) */
  .m-s6-card-img-monitor-wrap {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 206px;
    height: 142px;
    overflow: hidden;
    pointer-events: none;
  }
  .m-s6-card-img-monitor {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  /* ===== m_Section7 (자주 묻는 질문) ===== */
  .m-section7 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 24px;
    background: #f9fafb;
    align-items: flex-start;
  }
  .m-s7-title {
    margin: 0;
    width: 100%;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.48px;
    color: #1a2128;
  }
  .m-s7-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .m-s7-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
  }
  .m-s7-q {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    background: #f2f4f6;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    font-family: inherit;
  }
  .m-s7-q-icon img { transition: transform 0.2s ease; }
  .m-s7-item.is-open .m-s7-q-icon img { transform: rotate(45deg); }
  .m-s7-a {
    background: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .m-s7-a p {
    margin: 0;
    padding: 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.28px;
    color: #6b7684;
  }
  .m-s7-q-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #1a2128;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-s7-q-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-s7-q-icon img {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* ===== m_Section8 (CTA 배너) ===== */
  .m-section8 {
    display: block;
    position: relative;
    width: 100%;
    min-height: 330px;
    background: #f9fafb;
    overflow: hidden;
  }
  .m-s8-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .m-s8-bg img {
    position: absolute;
    inset: 0;
    width: 134%;
    height: 134%;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
  }
  .m-s8-bg-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
  }
  .m-s8-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 60px 20px;
    z-index: 2;
  }
  .m-s8-title {
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #ffffff;
    text-align: center;
  }
  .m-s8-sub {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.48px;
    color: #ffffff;
    opacity: 0.6;
    text-align: center;
  }
  .m-s8-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 48px;
    padding: 10px 12px 10px 28px;
    background: #C10808;
    border-radius: 333px;
    text-decoration: none;
    box-sizing: border-box;
  }
  .m-s8-cta-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.32px;
    color: #FDF9EE;
    white-space: nowrap;
  }
  .m-s8-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .m-s8-cta-icon img {
    display: block;
    width: 33.34%;
    height: 58.34%;
    margin: 20.83% 33.33%;
    filter: brightness(0) invert(1); /* svg 원본이 #0F172A 단색이라 흰색으로 반전 */
  }

  /* ===== m_Footer ===== */
  .m-footer {
    display: block;
    background: #e5e8eb;
    padding: 60px 24px;
  }
  .m-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }
  .m-footer-logo {
    position: relative;
    display: block;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .m-footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }
  .m-footer-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  /* 약관/문의 섹션은 gap-12 */
  .m-footer-section:not(:first-of-type) { gap: 12px; }
  .m-footer-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .m-footer-h {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 20.16px;
    color: #333d4b;
  }
  .m-footer-p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.75;
    color: #6b7684;
  }
  .m-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .m-footer-list li {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7684;
    white-space: nowrap;
  }
  .m-footer-list-tight li { line-height: 20.16px; }

  .m-footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .m-footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
  }
  .m-footer-social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ===== m_page_application_step1 — 모바일 입점 신청 STEP 01 ===== */
  /* body 상단 padding: 모바일 GNB 58 (데스크탑 80 → 모바일 58) */
  .app-page { padding-top: 58px; }

  /* Welcome 헤딩: 22px Bold, line 1.5, tracking -0.44, 2줄 */
  .app-welcome { padding: 20px; }
  .app-welcome-title {
    font-size: 22px !important;
    line-height: 1.5;
    letter-spacing: -0.44px;
  }

  /* 데스크탑 STEP 탭을 모바일 사이즈로 (32h, 14px) — 1-2 원형 인디케이터는 더 이상 사용 안 함 */
  .m-app-steps-wrap { display: none; }
  .app-tabs-wrap { display: block; padding: 8px 20px; box-sizing: border-box; }
  .app-tab {
    min-height: 32px;
    padding: 4px 16px;
    gap: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: -0.28px;
    text-align: center;
  }
  html[lang="en"] .app-tab { white-space: nowrap; }
  .app-tab.is-active { font-weight: 700; }
  /* STEP 01 pill 숨김 (모바일에선 라벨만 노출) */
  .app-tab .app-tab-step { display: none; }
  .app-tab-chev svg { width: 20px; height: 20px; }

  /* 카드 컨테이너: 풀너비, 좌우 padding 제거 */
  .app-main { max-width: none; }
  .app-card {
    padding: 0;
    gap: 0;
    min-height: 0;
    padding-bottom: 0;
  }

  /* form gap 제거 — 섹션 사이는 오로지 8px 분리바로만 */
  .app-form { gap: 0 !important; }
  /* 섹션: py-20, gap-20 (title↔fields), 사이에 8px #f9fafb 분리바 */
  .app-section {
    padding: 20px 0 !important;
    gap: 20px !important;
    background: #ffffff;
  }
  .app-section + .app-section {
    border-top: 8px solid #f9fafb;
  }
  /* 섹션 제목 18px Bold */
  .app-section-title {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.36px;
    padding: 0 20px;
  }
  /* 섹션 hairline divider 숨김 */
  .app-section-divider { display: none; }

  /* 폼 필드 그룹: gap-32 */
  /* row→row 간격: flex gap 20 + margin 12 = 32 (Figma 사양) */
  .app-fields,
  .app-section > .app-row + .app-row { margin-top: 12px !important; }

  /* row: 단일 컬럼, padding 0 */
  .app-row {
    flex-direction: column;
    padding: 0 !important;
    gap: 32px !important;
  }
  /* field 자체에 좌우 padding 20 → 인풋이 자연스럽게 100% (overflow 없음) */
  .app-field {
    width: 100%;
    gap: 8px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  /* 라벨/help/에러는 field padding 위에 4px 추가 → 총 24px inset */
  .app-label,
  .app-field-error,
  .app-field-dup-error,
  .app-field-confirm,
  .app-help { padding: 0 4px; }

  /* 인풋/select/wrap은 margin 0, width 100%로 자연스럽게 채워짐 */
  .app-input,
  .app-select { margin: 0; box-sizing: border-box; }
  .app-input-row,
  .app-file,
  .app-select-wrap { margin: 0; width: 100%; }
  .app-phone-input { margin: 0; }

  /* 중복확인 버튼 80x48 */
  .app-suffix-btn { width: 80px; height: 48px; flex-shrink: 0; white-space: nowrap; }

  /* 파일 업로드 — field padding 사용, 추가 padding 없음 */
  .app-file { padding: 0; }
  .app-file-btn {
    min-height: 32px;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    letter-spacing: -0.24px;
    gap: 6px;
  }

  /* 모바일 전용 필드 노출 */
  .m-only { display: flex !important; }

  /* 하단 액션 바 (모바일: 스크롤 고정 해제, 컨텐츠 흐름에 자연스럽게 위치) */
  .app-actions {
    position: static;
    height: auto;
    padding: 16px 20px 20px;
    background: #ffffff;
    border-top: 0;
  }
  .app-actions-inner {
    padding: 0;
    width: 100%;
    max-width: none;
    justify-content: stretch;
  }
  .app-next-btn {
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 2px 28px;
    background: #C10808;
    color: #FDF9EE;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
  }

  /* ===== m_page_application_success — 모바일 입점 완료 ===== */
  .app-page-success { padding-top: 58px; }
  .app-main-success {
    min-height: calc(100vh - 58px);
    padding: 20px 0 116px;
    align-items: center;
    justify-content: center;
  }
  .app-success { gap: 20px; }
  .app-success-head { gap: 20px; }
  .app-success-mascot {
    width: 127px;
    height: 170.146px;
  }
  .app-success-text { gap: 8px; }
  .app-success-title {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.48px;
  }
  .app-success-sub {
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.3px;
  }
  /* 정보 박스 — 풀너비 (px-28) */
  .app-success-info {
    width: auto;
    margin: 0 28px;
    padding: 20px;
    gap: 8px;
  }
  .app-success-row {
    font-size: 15px;
    line-height: 1.5;
    gap: 20px;
  }
  /* 하단 액션 버튼: 좌(추가 신청) outline / 우(홈으로 이동) 노랑, 동등 분할 풀너비 */
  .app-success-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    gap: 10px;
    background: #ffffff;
    z-index: 50;
  }
  .app-success-btn {
    width: auto;
    flex: 1 0 0;
    height: 56px;
  }
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 10050;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: calc(100% - 40px);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  animation: appToastIn 0.22s ease-out;
}

.app-toast.is-success {
  background: #111827;
}

.app-toast.is-error {
  background: #dc2626;
}

.app-toast.is-info {
  background: #2563eb;
}

.app-toast[hidden] {
  display: none;
}

@keyframes appToastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.app-address-modal {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(5px);
}

.app-address-modal[hidden] {
  display: none;
}

.app-address-panel {
  width: min(560px, 100%);
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  animation: appAddressModalIn 0.2s ease-out;
}

.app-address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #eef2f7;
}

.app-address-title {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-address-desc {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.app-address-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
}

.app-address-close:hover {
  background: #e5e7eb;
}

.app-address-body {
  height: 470px;
  padding: 10px;
  background: #f8fafc;
  box-sizing: border-box;
}

#sp_zip_wrap {
  width: 100%;
  height: 100% !important;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  box-sizing: border-box;
}

@keyframes appAddressModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .app-address-modal {
    align-items: flex-end;
    padding: 0;
  }

  .app-address-panel {
    width: 100%;
    border-radius: 22px 22px 0 0;
  }

  .app-address-body {
    height: min(470px, calc(100vh - 112px));
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }
}

.app-term-panel {
  max-width: 720px;
}

.app-term-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.app-term-content {
  color: #333d4b;
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.app-term-content p {
  margin: 0 0 12px;
}

@media (max-width: 768px) {
  #app-term-modal.app-address-modal {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  #app-term-modal .app-term-panel {
    width: 100%;
    max-height: calc(100vh - 32px);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
  }

  #app-term-modal .app-term-body {
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 132px);
  }

  .app-term-content {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* 매장 주소 — 모바일에서는 지도/상세주소를 인라인으로 노출하지 않고 전체화면 오버레이로만 다룬다.
   장소를 확정하면 검색창 대신 "라이더 픽업 위치" 카드 + "변경" 버튼만 보여준다. */
@media (max-width: 768px) {
  #s-map-wrap,
  #s-addr2 { display: none; }

  .app-field.is-addr-set .app-autocomplete,
  .app-field.is-addr-set .app-addr-pickup-notice { display: none; }

  .app-addr-confirm-change { display: inline-flex; }
}