@charset "utf-8";

/* =========================================================
   ORDER 01. Donut motion visual
   ========================================================= */

.donut-motion-section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  background: var(--color-donut-bg);
}

/*
  1920 × 850 아트보드 비율을 항상 유지하면서 폭에 맞춰 비례 축소.
  내부 모든 에셋(.donut-asset-XX)은 %로 절대 배치되어 있어 자동으로 같이 줄어듭니다.
*/
.donut-hero-stage {
  position: relative;
  width: 100%;
  max-width: var(--donut-stage-w);
  aspect-ratio: 1920 / 850;
  overflow: hidden;
}

.donut-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.donut-asset {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  animation: donutFall 1.1s cubic-bezier(0.34, 1.56, 0.46, 1) var(--fall-delay, 0s) backwards;
}

.donut-asset img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.donut-float-el {
  animation:
    donutFall 1.1s cubic-bezier(0.34, 1.56, 0.46, 1) var(--fall-delay, 0s) backwards,
    liquidWave var(--dur, 5s) ease-in-out calc(var(--fall-delay, 0s) + 1.2s) infinite;
  transform-origin: center center;
}

.donut-static { z-index: 5; }
.donut-splash { z-index: 1; }

/* 도넛 낙하: 위에서 떨어져 살짝 튕기는 모션 (Figma KV "도넛이 낙하한다" 모션) */
@keyframes donutFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -120vh, 0) rotate(var(--fall-rot, -12deg));
  }
  55% {
    opacity: 1;
    transform: translate3d(0, 6%, 0) rotate(calc(var(--fall-rot, -12deg) * -0.18));
  }
  78% {
    opacity: 1;
    transform: translate3d(0, -3%, 0) rotate(calc(var(--fall-rot, -12deg) * 0.08));
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/*
  디자인 기준 Figma node 1173:211 (main-kv) → 원본 1920×1024
  스테이지가 1920×850 로 변경됨에 따라 모든 시각 요소(이미지/도넛/스플래시/로고)는
  자연 비율을 유지한 채 캔버스에 맞춰 균일하게 0.83008(=850/1024)배로 축소됩니다.

  계산 규칙 (텍스트는 제외 — 텍스트 크기는 절대 변경하지 않음):
    • top%    = original_py / 1024 × 100        (Y 위치 0.83배 축소: 850 컨테이너에서 자동 반영)
    • height% = original_h  / 1024 × 100        (H 0.83배 축소: 850 컨테이너에서 자동 반영)
    • width%  = original_w  / 1920 × 100 × 0.83008  (W도 동일하게 0.83배 축소 → 자연 비율 보존)
    • left%   = original_px / 1920 × 100        (X 위치 그대로, 모서리 앵커 유지)

  타이포그래피 (Figma 추출):
    - 태그라인 "A LITTLE  SWEET FACTORY" : Ria Sans Bold / 32px / line-height: 1
      color: #452219, letter-spacing 0.416px
      Figma 박스 top = 243px → 243/1024 = 23.7305%
    - 로고 이미지: 원본 563px → 0.83배 = 467px (max), vw 값도 함께 축소
*/
.donut-logo-block {
  position: absolute;
  left: 50%;
  top: 23.7305%;
  z-index: 8;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.600vw, 30.7px);
  pointer-events: none;
  user-select: none;
}

.donut-logo-tagline {
  margin: 0;
  color: var(--color-brown-dark);
  letter-spacing: 0.013em;
  line-height: 1;
  white-space: pre;
}

/* 1920px 기준 563px → 0.83008× = 467px, vw 값도 함께 축소 (24.34vw) */
.donut-logo-image {
  width: clamp(100px, 24.337vw, 467px);
  height: auto;
  display: block;
  -webkit-user-drag: none;
}

/* =========================================================
   Figma 1920×1024 → 캔버스 1920×850 (균일 0.83008× 축소)
   - top%   : original_py / 1024 × 100   (850 컨테이너에서 자동 축소)
   - height%: original_h  / 1024 × 100   (850 컨테이너에서 자동 축소)
   - width% : (original_w / 1920) × 0.83008 × 100  (자연 비율 유지)
   - left%  : original_px / 1920 × 100   (좌표 앵커 유지)
   ========================================================= */

/* asset-01, 02, 08, 10, 11: 작은 거품/스프링클 (Figma 외 추가 데코, 가상 1024 기준 추출) */
.donut-asset-01 { left: 53.4375%; top:  25.196%; width:  7.2238%; height: 24.687%; z-index: 3; --fall-delay: 0.55s; --fall-rot: -14deg; }
.donut-asset-02 { left: 29.1667%; top:  18.356%; width:  7.2238%; height: 24.687%; z-index: 3; --fall-delay: 0.65s; --fall-rot: 16deg; }
.donut-asset-08 { left: 32.2396%; top: -29.492%; width: 20.4283%; height: 55.499%; z-index: 2; --fall-delay: 0.30s; --fall-rot: -10deg; }
.donut-asset-10 { left: 35.5729%; top:  78.808%; width:  6.3795%; height: 17.143%; z-index: 3; --fall-delay: 0.80s; --fall-rot:  18deg; }
.donut-asset-11 { left:  8.3854%; top:  50.191%; width:  6.3795%; height: 17.143%; z-index: 3; --fall-delay: 0.75s; --fall-rot: -18deg; }

/* ── 도넛 (메인) ── */
/* asset-05 = donut5 : pink donut (top-left) ─ Figma (60, 90, 411×398) */
.donut-asset-05 { left:  3.1250%; top:   8.789%; width: 17.7672%; height: 38.867%; --fall-delay: 0.10s; --fall-rot: -22deg; }

/* asset-04 = image 192 : choco donut (top-right) ─ Figma (1367, -21, 527.34×485.528) */
.donut-asset-04 { left: 71.1979%; top:  -2.051%; width: 22.7969%; height: 47.415%; --fall-delay: 0.20s; --fall-rot: 24deg; }

/* asset-03 = image 191 : red drizzle donut (bottom-right) ─ Figma (1098, 597, 498.713×440.765) */
.donut-asset-03 { left: 57.1875%; top:  58.301%; width: 21.5611%; height: 43.043%; --fall-delay: 0.40s; --fall-rot: -20deg; }

/* ── 스플래쉬 (배경 블롭) ── */
/* asset-13 = image 186 : 큰 노란 블롭 (왼쪽 상단 코너) ─ Figma (-187.83, -142.56, 1100.73×982.965) */
.donut-asset-13 { left: -9.7828%; top: -13.922%; width: 47.5836%; height: 95.993%; --fall-delay: 0s; --fall-rot: -8deg; }

/* asset-14 = image 182 : 큰 우유/크림 스플래쉬 (오른쪽 하단) ─ Figma (653, 477, 1229.592×552.396)
   사용자 요청 +30px 추가 하향 적용 → top (477+30)/1024 = 49.512% */
.donut-asset-14 { left: 34.0104%; top:  49.512%; width: 53.1543%; height: 53.945%; z-index: 1; --fall-delay: 0.05s; --fall-rot: 6deg; }

/* asset-09 = image 195 : 핑크 블롭 (오른쪽 상단) ─ Figma (1098, -176, 737.619×744.233) */
.donut-asset-09 { left: 57.1875%; top: -17.188%; width: 31.8867%; height: 72.679%; z-index: 2; --fall-delay: 0.15s; --fall-rot: 12deg; }

/* asset-07 = image 194 : 핑크 블롭 (왼쪽 상단) ─ Figma (181, -106, 486.686×391.919) */
.donut-asset-07 { left:  9.4271%; top: -10.352%; width: 21.0394%; height: 38.273%; z-index: 3; --fall-delay: 0.25s; --fall-rot: -14deg; }

/* asset-06 = image 196 : 핑크 블롭 (오른쪽 중간) ─ Figma (1288, 425, 486.686×391.919) */
.donut-asset-06 { left: 67.0833%; top:  41.504%; width: 21.0394%; height: 38.273%; z-index: 3; --fall-delay: 0.50s; --fall-rot: 18deg; }

/* asset-12 = image 193 : 핑크 블롭 (왼쪽 중하단) ─ Figma (87, 555, 565.844×570.917) */
.donut-asset-12 { left:  4.5313%; top:  54.199%; width: 24.4609%; height: 55.754%; z-index: 2; --fall-delay: 0.45s; --fall-rot: -16deg; }

/* 로고/태그라인은 도넛이 다 내려온 다음 페이드인 */
.donut-logo-block {
  animation: donutLogoIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.05s backwards;
}

@keyframes donutLogoIn {
  0% { opacity: 0; transform: translate(-50%, -16px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

/* =========================================================
   ORDER 01-B. PC/TA hero — POPPI giant 로고 + 좌측 4장 캐러셀 + 우측 카피/CTA
   - 모바일(≤768px)에서는 .pc-hero-stage display:none → .donut-mobile-hero 노출
   - .donut-motion-section 안에서 .donut-hero-stage 자리를 대체
   - 모든 컬러/폰트/타입은 commons.css 디자인 시스템 토큰 사용
     · 컬러:  --poppi-orange / --brown-dark / --apricot-bg-* / --poppi-pink-* / --poppi-yellow-*
     · 폰트:  --font-block (giant), --font-heading (title), --font-body (sub/CTA)
     · 타입:  --type-donut-poppi (giant), --type-h1 (title), --type-b1 (sub), --type-caption (CTA)
     · 라인:  --lh-heading, --lh-body
   ========================================================= */

.pc-hero-stage {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) var(--site-gutter, clamp(20px, 4vw, 60px));
  padding-bottom: clamp(48px, 5.5vw, 72px);
  overflow: hidden;
  background-color: var(--apricot-bg-50);
  /* kv-bg.png 1920×1024 — 섹션 전체에 맞춤 */
  --pc-hero-kv-ratio: 1920 / 1024;
  /* 캐러셀 트랙(이미지 박스) 시안 사이즈 */
  --pc-hero-track-w: 986;
  --pc-hero-track-h: 658;
}

/* KV 코너 blob — kv-bg.png 단일 레이어, 섹션 fill (확대 없음) */
.pc-hero__kv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  object-position: center;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
  filter: url(#kv-bg-knockout);
}

/* ---- 데코 blob 3종 — 디자인 시스템 컬러 톤(50~300) ---- */
.pc-hero__blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  /* `rotate` 는 transform 과 별도 속성(CSS Transforms L2) — JS 마우스 패럴랙스의
     translate3d 와 충돌 없이 합성. 추가로 border-radius/opacity 도 transform 비의존. */
  will-change: border-radius, opacity, rotate, transform;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Blob 모션 — Apple/Gentle Monster 스타일 organic 호흡
   1) blobMorphA/B/C : border-radius 4쌍 모핑 (slow 12~17s) → 액체스러운 형태 변화
   2) blobBreath     : opacity 0.78 ↔ 0.95 (8~11s) → 살아있는 호흡
   3) blobSpin*      : rotate 360deg (28~40s linear) → 자전 (transform 별도 속성이라
                       JS translate3d 마우스 패럴랙스와 충돌 X)
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes blobMorphA {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  33%      { border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%; }
  66%      { border-radius: 50% 50% 30% 70% / 60% 30% 70% 40%; }
}
@keyframes blobMorphB {
  0%, 100% { border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%; }
  33%      { border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%; }
  66%      { border-radius: 70% 30% 50% 50% / 60% 50% 40% 60%; }
}
@keyframes blobMorphC {
  0%, 100% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
  33%      { border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%; }
  66%      { border-radius: 50% 50% 70% 30% / 40% 50% 60% 50%; }
}
@keyframes blobBreath {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 0.95; }
}
@keyframes blobSpinCW  { from { rotate: 0deg;   } to { rotate: 360deg;  } }
@keyframes blobSpinCCW { from { rotate: 0deg;   } to { rotate: -360deg; } }

.pc-hero__blob--top-right {
  top: clamp(-90px, -5vw, -50px);
  right: clamp(-120px, -6vw, -80px);
  width: clamp(220px, 22vw, 320px);
  aspect-ratio: 1 / 1;
  background-color: var(--poppi-orange-300);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.85;
  animation:
    blobMorphA 14s ease-in-out infinite,
    blobBreath 9s  ease-in-out infinite,
    blobSpinCW 35s linear      infinite;
}
.pc-hero__blob--bottom-left {
  bottom: clamp(-200px, -10vw, -120px);
  left: clamp(-160px, -8vw, -80px);
  width: clamp(380px, 36vw, 540px);
  aspect-ratio: 10 / 9;
  background-color: var(--poppi-pink-300);
  border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
  opacity: 0.85;
  animation:
    blobMorphB 17s ease-in-out infinite -2s,
    blobBreath 11s ease-in-out infinite -3s,
    blobSpinCCW 48s linear     infinite;
}
.pc-hero__blob--bottom-right {
  bottom: clamp(-80px, -4vw, -40px);
  right: clamp(-70px, -4vw, -30px);
  width: clamp(180px, 18vw, 270px);
  aspect-ratio: 1 / 1;
  background-color: var(--poppi-yellow-300);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  opacity: 0.85;
  animation:
    blobMorphC 12s ease-in-out infinite -4s,
    blobBreath 7s  ease-in-out infinite -1s,
    blobSpinCW 28s linear      infinite;
}

/* ---- 메인 컨테이너 — 986px 이미지 박스가 들어갈 수 있도록 넓은 max-width ---- */
.pc-hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: min(1920px, calc(100% - 48px));
  gap: clamp(28px, 3.5vw, 56px);
  align-items: stretch;
  justify-content: space-between;
}

/* ---- 좌측: 이미지 박스(986×658) + POPPI 타이틀 ---- */
.pc-hero__left {
  position: relative;
  flex: 1.65;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.pc-hero__visual {
  position: relative;
  z-index: 1;
  width: min(986px, 100%);
  max-width: 100%;
  padding: clamp(44px, 5.5vw, 68px) 0 clamp(8px, 1.5vw, 12px);
  box-sizing: border-box;
  overflow: visible;
}

.pc-hero__media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 986px;
  aspect-ratio: 986 / 658;
  cursor: grab;
  touch-action: pan-x pinch-zoom;
}
.pc-hero__media.is-dragging {
  cursor: grabbing;
}

/* giant POPPI — 이미지 박스 상단 중앙, 시안처럼 크게 겹침 (하단 절반이 박스 위) */
.pc-hero__giant {
  position: absolute;
  top: clamp(38px, 5.2vw, 62px);
  left: 50%;
  width: min(92%, 860px);
  height: auto;
  transform: translate(-50%, -54%);
  filter: drop-shadow(0 10px 15px rgba(69, 35, 25, 0.18));
  z-index: 4;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  animation:
    pcHeroGiantReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both,
    pcHeroGiantFloat 4s ease-in-out 1.2s infinite;
}

/* "Killer" 진입(#7) — 페이지 들어오면 POPPI 가 scale 1.2 → 1.0 으로 부드럽게 들어와
   존재감을 한 번 강하게 인지시킨 후 floating 으로 자연스럽게 이어짐.
   scale 변환은 rotate(-6deg) 와 함께 합성되어야 하므로 keyframe 안에서 transform 통제. */
@keyframes pcHeroGiantReveal {
  from { opacity: 0; transform: translate(-50%, -54%) scale(1.08); }
  to   { opacity: 1; transform: translate(-50%, -54%) scale(1); }
}
@keyframes pcHeroGiantFloat {
  0%, 100% { transform: translate(-50%, -54%) translateY(0); }
  50%      { transform: translate(-50%, -54%) translateY(-8px); }
}

.pc-hero__carousel {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(69, 35, 25, 0.12);
  transform: translateZ(0);
  background-color: var(--apricot-bg-300);
  -webkit-user-select: none;
  user-select: none;
  animation: pcHeroImageReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes pcHeroImageReveal {
  from { opacity: 0; filter: blur(20px); }
  to   { opacity: 1; filter: blur(0); }
}
.pc-hero__carousel.is-dragging {
  cursor: grabbing;
}
.pc-hero__carousel img,
.pc-hero__carousel video {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none; /* 이미지/비디오 위 드래그 시 ghost drag · context menu 방지 */
}

.pc-hero__track.is-dragging {
  transition: none;
}

.pc-hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.pc-hero__track > img,
.pc-hero__track > video {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

/* prefers-reduced-motion: 슬라이드 전환 즉시 */
@media (prefers-reduced-motion: reduce) {
  .pc-hero__track { transition: none; }
}

/* =========================================================
   [D] Hero Reveal — 헤드라인/서브/CTA 진입 stagger
   - y: 40 → 0, opacity: 0 → 1
   - 0.1s 간격 (사용자 시안 그대로) — DARK → ORANGE → SUB → CTA-GROUP
   - cubic-bezier(0.22, 1, 0.36, 1) — Apple style ease-out-expo 톤
   ========================================================= */
@keyframes pcHeroLineReveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pc-hero__title-dark,
.pc-hero__title-orange,
.pc-hero__sub,
.pc-hero__cta-group {
  /* 시작 상태 박제 — 애니메이션 시작 전 깜빡임 방지 */
  opacity: 0;
  transform: translateY(40px);
  animation: pcHeroLineReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pc-hero__title-dark   { animation-delay: 0.45s; }
.pc-hero__title-orange { animation-delay: 0.55s; }
.pc-hero__sub          { animation-delay: 0.65s; }
.pc-hero__cta-group    { animation-delay: 0.80s; }

/* 모션 감도 사용자 — 모든 진입 애니메이션 OFF, 시작 상태 = 종료 상태 */
@media (prefers-reduced-motion: reduce) {
  .pc-hero__giant {
    animation: none;
    opacity: 1;
  }
  .pc-hero__carousel {
    animation: none;
    opacity: 1;
    filter: none;
  }
  .pc-hero__title-dark,
  .pc-hero__title-orange,
  .pc-hero__sub,
  .pc-hero__cta-group {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .pc-hero__cta::before { display: none; }
  /* 데코 blob morph/spin/breath 모두 정지 — 모션 감도 사용자 보호 */
  .pc-hero__blob {
    animation: none !important;
    rotate: 0deg !important;
  }
}

/* ---- 우측: 카피 + CTA + 도트 — 칼 같은 좌측 정렬
   stretch 된 컬럼 높이 안에서 콘텐츠를 vertical 중앙 정렬 (캐러셀과 정렬 맞춤)
   캐러셀이 16:9 로 짧아진 만큼 우측 flex 도 함께 압축(0.85) — 비디오 강조 */
.pc-hero__right {
  flex: 0.78;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* 메인 타이틀 — Ria Sans ExtraBold 64px (시안)
   - "DONUT" / "WORRY," / "BE POPPI" 3줄 구성 (title-dark 안에 <br>로 분리) */
.pc-hero__title {
  margin: 0 0 24px;
  font-family: var(--font-ria);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.pc-hero__title-dark,
.pc-hero__title-orange {
  display: block;
  white-space: nowrap;
}
.pc-hero__title-dark   { color: var(--brown-dark); }
.pc-hero__title-orange { color: var(--poppi-orange); }

/* 서브 — Paperlogy b1 Bold, 타이틀과 동일한 --brown-dark / 한 줄 유지 */
.pc-hero__sub {
  margin: 0 0 48px;
  font-family: var(--font-body);
  font-size: var(--type-b1);
  font-weight: var(--weight-body-bold);
  color: var(--brown-dark);
  line-height: 1.5;
  letter-spacing: 0.01em;
  white-space: nowrap; /* "fresh donuts, happy days." 한 줄 보장 */
}

/* ---- CTA 그룹 — primary(오렌지 필) + secondary(plain 텍스트 + 원형 아이콘) ---- */
.pc-hero__cta-group {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-wrap: wrap;
}

/* Primary CTA — 오렌지 솔리드 알약 + 흰 글씨 + 우측 화살표
   - 배경은 hover 에서 변하지 않음 (Nike/Apple 패턴)
   - 안쪽 흰 광택이 좌 → 우로 sweep [B] */
.pc-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 999px;
  background: var(--poppi-orange);
  color: var(--color-white, #ffffff);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.04vw, 16px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden; /* shine ::before 트랙 가두기 */
  box-shadow: 0 6px 14px rgba(237, 99, 37, 0.28);
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
}
/* shine 광택 — 25% 폭의 흰 그라디언트 띠가 -120% → 120% 로 sweep */
.pc-hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pc-hero__cta:hover {
  /* 배경색 변화 없음 — 깊이감만 강화 */
  box-shadow: 0 10px 22px rgba(237, 99, 37, 0.36);
  transform: translateY(-1px);
}
.pc-hero__cta:hover::before {
  transform: translateX(120%);
}
.pc-hero__cta:focus-visible {
  outline: 3px solid var(--poppi-pink-300);
  outline-offset: 4px;
}
.pc-hero__cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(237, 99, 37, 0.28);
}

/* Secondary CTA — 보더/배경 없음, 좌측 원형 오렌지 play 아이콘 + 다크 텍스트
   primary 와 시각 위계 분리 (아이콘만 시선 받음) */
.pc-hero__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--brown-dark);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.04vw, 16px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.2s ease;
}
/* 전체 CTA 가 hover 에 반응 — text + icon 함께 lift + 컬러 변화 */
.pc-hero__cta-ghost:hover {
  transform: translateY(-2px);
  color: #2E1812;
}
.pc-hero__cta-ghost:hover .pc-hero__cta-ghost-icon {
  background: #2E1812;
  transform: scale(1.06);
  box-shadow: 0 6px 14px rgba(20, 12, 8, 0.45);
}
.pc-hero__cta-ghost:focus-visible {
  outline: 3px solid var(--poppi-pink-300);
  outline-offset: 4px;
  border-radius: 999px;
}
.pc-hero__cta-ghost:active { transform: translateY(0); }
.pc-hero__cta-ghost:active .pc-hero__cta-ghost-icon { transform: scale(0.96); }

/* 좌측 원형 브라운 play 아이콘 — primary 의 오렌지와 톤 대비 (다크 브라운) */
.pc-hero__cta-ghost-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brown-dark);
  color: var(--color-white, #ffffff);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(20, 12, 8, 0.32);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.pc-hero__cta-ghost-icon svg {
  width: 14px;
  height: 14px;
  margin-left: 2px; /* play 삼각형 시각 보정 */
}

/* ---- 도트 인디케이터 — 활성: 길쭉한 알약(36×12) ---- */
.pc-hero__dots {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin-top: 40px;
}
.pc-hero__dot {
  width: 12px;
  height: 12px;
  background-color: var(--poppi-pink-300);
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}
.pc-hero__dot:hover { background-color: var(--poppi-pink-400); }
.pc-hero__dot.is-active {
  width: 36px;
  height: 12px;
  background-color: var(--poppi-orange);
  border: 0;
}
.pc-hero__dot:focus-visible {
  outline: 2px solid var(--poppi-orange);
  outline-offset: 3px;
}

/* ---- TA (≤1024px): 캐러셀이 16:9 로 넓어진 만큼 우측 컬럼이 너무 좁아지지 않도록
   flex 비중을 다시 균형있게(1.2:1.0). 캐러셀은 여전히 좌측 강조. ---- */
@media (max-width: 1024px) {
  .pc-hero-stage {
    padding: clamp(32px, 5vw, 64px) clamp(20px, 3.5vw, 40px);
  }
  .pc-hero__container {
    gap: clamp(24px, 4vw, 44px);
  }
  .pc-hero__left  { flex: 1.45; }
  .pc-hero__right { flex: 0.85; }
}

/* ---- TA 좁은 폭(≤900px): 가로 정렬 유지하되 갭/사이즈만 압축 ---- */
@media (max-width: 900px) and (min-width: 769px) {
  .pc-hero-stage {
    padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 32px);
  }
  .pc-hero__container {
    gap: clamp(18px, 3vw, 28px);
  }
  .pc-hero__left  { flex: 1.35; }
  .pc-hero__right { flex: 0.8; }
  .pc-hero__giant {
    width: min(64%, 380px);
  }
}

/* ---- ≤768px (모바일): PC hero 전체 숨김 — .donut-mobile-hero 가 대체 ---- */
@media (max-width: 768px) {
  .pc-hero-stage { display: none !important; }
}

/* =========================================================
   ORDER 02. Flavor horizontal scroll section
   ========================================================= */

.vscroll-drive {
  --slide-count: 4;
  --step-vh: 88;
  --spring-slider-hold-ratio: 0.32;
  --spring-slider-scrub: 0.9;
  --spring-slider-panel-duration: 1.15s;
  --spring-slider-wheel-cooldown: 1.1s;
  --drive-height: 364vh;
  --drive-height-dvh: 364dvh;
  position: relative;
  height: var(--drive-height);
  height: var(--drive-height-dvh);
}

.vscroll-drive__pin {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
  will-change: transform;
}

/* pin / 스냅은 GSAP ScrollTrigger Spring Slider가 처리 */
.spring-slider .vscroll-drive__pin {
  z-index: 2;
}

.wheel-horizontal-track {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  width: 400%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
}

.wheel-horizontal-panel {
  flex: 0 0 25%;
  width: 25%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.wheel-horizontal-panel .flavor-hero {
  min-height: 100%;
  height: 100%;
}

/* =========================================================
   FLAVOR INDICATOR — 두 번째 섹션 우측 세로 4점 progress bar
   - 컨테이너 박스/배경/그림자/블러 전부 제거 → "원만" 자연스럽게 노출
   - event 캐러셀 인디케이터(.event-slide-card__dot)와 동일한 도트 패턴 유지
     · 22×22 고정 박스
     · 비활성 = 11px 살구색 원 (::before, #f3d2bb)
     · 활성   = event-dot-active.png 도넛 (::after, opacity 페이드)
   - 4맛 배경(노랑/핑크/초록/보라) 위에서 묻히지 않도록 도트에 미세 drop-shadow만 얹음 */
/* Flavor indicator — 미니멀 PILL 인디케이터 (Apple/Vercel 스타일)
   - 비활성: 12×12 점 (브랜드 브라운 50% 투명)
   - 활성:   12×32 세로 캡슐 (브랜드 브라운 100%)
   - 4 flavor 파스텔 bg(노랑/핑크/라임/보라) + 마퀴 텍스트 위에서도 또렷하도록
     drop-shadow 흰색 1px → 도트가 항상 윤곽 분리됨
   - 외부 hit 영역 32×32 (WCAG 2.5.8 AA 충족), 시각은 ::before 만 */
.flavor-indicator {
  position: absolute;
  top: 50%;
  right: clamp(16px, 2.5vw, 36px);
  z-index: 5;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto;
}
.flavor-indicator__dot {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  overflow: visible;
  appearance: none;
  -webkit-appearance: none;
  /* 마퀴/도넛 위에서도 도트가 항상 분리되게 미세한 흰색 외곽 */
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.85));
}
.flavor-indicator__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    background-color 0.3s ease,
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.flavor-indicator__dot:hover::before {
  background: rgba(255, 255, 255, 0.58);
}
.flavor-indicator__dot.is-active::before {
  height: 32px;
  margin-top: -16px;
  background: rgba(255, 255, 255, 0.78);
}
.flavor-indicator__dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
  border-radius: 50%;
}

body[data-active-flavor="corn"] { background: var(--corn-bg); }
body[data-active-flavor="peach"] { background: var(--peach-bg); }
body[data-active-flavor="melon"] { background: var(--melon-bg); }
body[data-active-flavor="blueberry"] { background: var(--bb-bg); }

.flavor-hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  isolation: isolate;
}

.flavor-hero--corn {
  background:
    radial-gradient(circle at 52% 52%, rgba(255, 255, 255, 0.28) 0 18%, transparent 42%),
    var(--corn-bg);
}

.flavor-hero--peach {
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.32) 0 20%, transparent 45%),
    var(--peach-bg);
}

.flavor-hero--melon {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.32) 0 22%, transparent 46%),
    var(--melon-bg);
}

.flavor-hero--blueberry {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.30) 0 20%, transparent 44%),
    var(--bb-bg);
}

.flavor-marquee {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 54px;
  pointer-events: none;
  user-select: none;
}

.flavor-hero--corn .flavor-marquee { color: var(--corn-text); }
.flavor-hero--peach .flavor-marquee { color: var(--peach-text); }
.flavor-hero--melon .flavor-marquee { color: var(--melon-text); }
.flavor-hero--blueberry .flavor-marquee { color: var(--bb-text); }

.marquee-row {
  position: relative;
  width: 100%;
  overflow: visible;
  font-family: var(--font-block);
  font-size: var(--type-flavor-marquee);
  font-weight: var(--weight-flavor-marquee);
  line-height: 0.75;
  letter-spacing: -0.055em;
  white-space: nowrap;
  text-transform: uppercase;
  --marquee-row-shift: 0vw;
}

/* 풀블리드 + shift 보정 — 우측 끝 글자 잘림 방지 (width = 100vw + |음수 shift|) */
.marquee-row__viewport {
  width: calc(100vw + max(0vw, -1 * var(--marquee-row-shift, 0vw)));
  max-width: none;
  margin-left: calc(50% - 50vw + var(--marquee-row-shift, 0vw));
  overflow: visible;
}

.marquee-row--top { --marquee-row-shift: -8vw; }
.marquee-row--middle { --marquee-row-shift: -18vw; }
.marquee-row--bottom { --marquee-row-shift: -5vw; }

.flavor-marquee--long .marquee-row {
  font-size: var(--type-flavor-marquee);
  letter-spacing: -0.055em;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLeft 34s linear infinite;
  will-change: transform;
}

.marquee-track--reverse {
  animation-name: marqueeRight;
  animation-duration: 38s;
}

.marquee-track span {
  display: inline-block;
  padding-right: 0.32em;
}

.donut-visual {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: min(var(--flavor-donut-width), 72vw);
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
}

.flavor-hero--corn .donut-visual img { filter: drop-shadow(0 34px 38px rgba(130, 76, 18, 0.22)); }
.flavor-hero--peach .donut-visual img { filter: drop-shadow(0 34px 38px rgba(120, 24, 72, 0.2)); }
.flavor-hero--melon .donut-visual img { filter: drop-shadow(0 34px 38px rgba(34, 110, 56, 0.2)); }
.flavor-hero--blueberry .donut-visual img { filter: drop-shadow(0 34px 38px rgba(60, 28, 98, 0.22)); }

.donut-visual img {
  width: 100%;
  height: auto;
}

/* =========================================================
   ORDER 03. POPPI text hero
   ========================================================= */

/*
  Figma node 1153:247 ("브랜드 가치관") — 1920 × 662 기준
    • 섹션 배경: #fedbbf (peach) + 우측에 POPPI 타운 이미지
    • 이미지 박스: left=32.76% top=-1.53% w=67.24% h=103.06%
    • 텍스트 블록 좌표: left=253px (=13.18vw)  top=160px (=8.33vw)  width=761px
    • h1(48px ExtraBold) ↔ p(24px Regular)  : gap 20px
    • p             ↔ button(20px×40px)    : gap 50px
*/
.poppi-hero {
  position: relative;
  width: 100%;
  height: var(--poppi-hero-height);
  min-height: var(--poppi-hero-height);
  overflow: hidden;
  background-color: #fedbbf;
  background-image: url("../images/poppi-hero/poppi-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  padding-top: clamp(60px, 8.33vw, 160px);
  padding-bottom: clamp(70px, 9.48vw, 182px);
  padding-left: clamp(30px, 13.177vw, 253px);
  padding-right: clamp(30px, 6.77vw, 130px);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(761px, 100%);
  /* Figma: width=761px, color는 .text-brown-dark 유틸리티(#452219) 적용 */
}

/* Figma 매핑 — 모든 폰트/크기/자간 정확히 맞춤
   h1     : Ria Sans ExtraBold 48px / line-height 1.31  → .font-ria .text-stage-48 .fw-800
   p      : Paperlogy 4 Regular 24px / letter-spacing 1.2px (=0.05em)
   button : Paperlogy 7 Bold 24px / letter-spacing 0.96px (=0.04em)
*/
.hero-content h1 {
  margin: 0 0 clamp(14px, 1.04vw, 20px);
  line-height: 1.31;
  letter-spacing: 0;
}

.hero-content p {
  margin: 0 0 clamp(28px, 2.6vw, 50px);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.05em;
}

/* Figma: 2px solid #452219, padding 20×40, radius 50px, gap 10px, 자연 너비 */
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-height: clamp(52px, 5vw, 72px);
  padding: clamp(12px, 1.04vw, 20px) clamp(24px, 2.08vw, 40px);
  border: 2px solid var(--color-brown-dark);
  border-radius: 50px;
  color: inherit;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background: transparent;
}

.hero-button img {
  width: clamp(18px, 1.04vw, 20px);
  height: clamp(18px, 1.04vw, 20px);
  object-fit: contain;
}

@keyframes liquidWave {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate3d(calc(var(--xmove, 8px) * 0.45), calc(var(--amp, 12px) * -1), 0) rotate(var(--rot, 2deg)) scale(1.01);
  }
  48% {
    transform: translate3d(var(--xmove, 8px), calc(var(--amp, 12px) * 0.38), 0) rotate(calc(var(--rot, 2deg) * -0.55)) scale(0.995);
  }
  72% {
    transform: translate3d(calc(var(--xmove, 8px) * -0.35), calc(var(--amp, 12px) * -0.55), 0) rotate(calc(var(--rot, 2deg) * 0.35)) scale(1.006);
  }
}

@keyframes marqueeLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRight {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .donut-asset,
  .donut-float-el,
  .donut-logo-block { animation: none !important; }
}

/* =========================================================
   ORDER 04. Event receipt scroll visual
   ========================================================= */

.event-section {
  position: relative;
  width: 100%;
  /* 섹션 = bakery-bg 높이에서 끝 (아래 여백 없음) */
  height: var(--event-bakery-bg-height);
  max-height: var(--event-bakery-bg-height);
  min-height: var(--event-bakery-bg-height);
  overflow: clip;
  background-color: transparent;
  background-image: url("../images/event-receipt/bakery-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% var(--event-bakery-bg-height);
}

.event-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: var(--event-bakery-bg-height);
  background:
    radial-gradient(circle at center 35%, rgba(255, 255, 255, 0.18), transparent 38%),
    rgba(255, 247, 235, 0.03);
  pointer-events: none;
}

.event-sticky {
  position: sticky;
  top: calc(var(--event-pin-offset) * -1);
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  min-height: min(760px, 100dvh);
  overflow: visible;
  isolation: isolate;
}

.event-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding-top: var(--content-top);
  overflow: visible;
}

.event-title {
  position: relative;
  z-index: 20;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--event-title-size);
  font-weight: var(--event-title-weight);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--color-brown);
  text-transform: uppercase;
  margin: 0 0 var(--event-title-slot-gap);
}

.receipt-stage {
  position: relative;
  z-index: 15;
  margin: 0 auto;
  width: max(var(--slot-min-width), var(--slot-width));
  aspect-ratio: 2048 / 397;
  overflow: visible;
}

.slot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.slot-full {
  z-index: 20;
  filter: drop-shadow(0 16px 24px rgba(29, 25, 21, 0.20));
}

/* 2번째 슬롯 이미지를 위에 덮어서 검은 구멍과 윗면은 항상 살아있게 처리 */
.slot-mouth-cover-image {
  z-index: 70;
}

/* 검은 출력구 보강용: 종이 상단이 이 아래에서 시작되는 느낌을 만듭니다. */
.slot-mouth-cover {
  position: absolute;
  z-index: 80;
  left: 21.45%;
  top: 45.2%;
  width: 57.2%;
  height: 8.7%;
  border-radius: 999px;
  background: linear-gradient(180deg, #020202 0%, #050505 58%, #202020 100%);
  box-shadow:
    inset 0 4px 8px rgba(255,255,255,0.09),
    inset 0 -4px 8px rgba(0,0,0,0.85);
  pointer-events: none;
}

/*
  핵심 수정:
  종이 mask의 top을 슬롯 전체 하단이 아니라 검은 출력구 위치(약 47%)로 올렸습니다.
  z-index를 슬롯 본체보다 높게 두고, 검은 출력구 커버를 가장 위에 덮어서
  체크한 검은 부분에서 영수증이 출력되는 것처럼 보입니다.
*/
.receipt-mask {
  --receipt-reveal-height: var(--receipt-start-height);
  --receipt-offset-y: 0px;

  position: absolute;
  z-index: 35;
  left: 50%;
  top: 49.8%;
  width: min(var(--receipt-max-width), calc(100% * var(--receipt-width-ratio)));
  height: var(--receipt-reveal-height);
  transform: translateX(-50%);
  transform-origin: top center;
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 24px 38px rgba(74, 44, 25, 0.16);
  will-change: height;
  transition: height var(--receipt-step-duration) ease-out;
}

.receipt-mask::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 100%;
  height: 34px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.04) 48%, rgba(0,0,0,0));
  pointer-events: none;
}

.receipt-image {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(var(--receipt-offset-y));
  transform-origin: top left;
  will-change: transform;
  transition: transform var(--receipt-step-duration) ease-out;
  user-select: none;
}

/* 스크롤 비연동 자동 출력 중에는 CSS transition과 겹치지 않게 */
.receipt-mask.receipt-animating,
.receipt-mask.receipt-animating .receipt-image {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .receipt-mask,
  .receipt-image {
    transition: none;
  }
}


/* =========================================================
   ORDER 04-B. Event Calendar (이달의 이벤트 캘린더)
   - 피그마 1920px 아트보드 기준
   - 좌측 도넛 슬라이드 카드(940×496) + 우측 캘린더 카드(382×496)
   ========================================================= */

/* 1920×850 캐논버스에 맞추기 위해 vertical padding 을 0.83배 축소
   (원본 160/150 → 133/124, 70 → 58) — 텍스트 사이즈는 그대로 */
.poppi-event {
  position: relative;
  width: 100%;
  padding: clamp(66px, 6.92vw, 133px) 0 clamp(66px, 6.46vw, 124px);
  /* 단색 — 위(03 피치) 아래(05 핑크 배너) 대비를 위한 라이트 옐로우 */
  background-color: #FFEAB3;
  overflow: hidden;
}

.poppi-event__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(8px, 0.9vw, 14px);
  margin: 0 auto clamp(33px, 3.07vw, 58px);
  padding: 0 24px;
}

/* eyebrow — 다른 섹션(store-xp)과 동일한 포맷: 작은 uppercase + 오렌지 + tracking 18% */
.poppi-event__eyebrow {
  display: block;
  font-family: var(--font-body);
  /* 디자인 시스템 caption 토큰 (다른 섹션 eyebrow 와 통일) */
  font-size: var(--type-caption);
  font-weight: var(--weight-body-bold);
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--poppi-orange, #ED6325);
}

/* 타이틀 — 디자인 시스템 h3 토큰(다른 메인 섹션 헤딩과 동일 스케일) + brown-dark */
.poppi-event__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--type-h3);
  font-weight: var(--weight-h3);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--brown-dark);
}

/* 서브타이틀 — 다른 섹션 desc 와 동일한 포맷 (디자인 시스템 b2) */
.poppi-event__subtitle {
  margin: 0;
  font-family: var(--font-body);
  /* 디자인 시스템 b2 토큰: PC 20 / TA 16 / MO 15 */
  font-size: var(--type-b2);
  font-weight: var(--weight-body-reg);
  line-height: var(--lh-body);
  color: var(--brown-dark-400, #6B4A3D);
}

/* Figma 원본: 좌 940 + gap 24 + 우 464 = 1428 (전체 1448) → 0.83× = 1202
   카드 너비도 비례 축소(940→780, 464→385) — 자연 비율 940/496, 464/496 보존 */
/* PC + TA: 가로 2열 (캐러셀 좌 + 캘린더 우) / MO: 1열 적층 (≤768 쿼리에서 처리) */
.poppi-event__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(17px, 1.39vw, 27px);
  width: min(1202px, calc(100% - 80px));
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   좌측: 이벤트 슬라이드 카드 (940 × 496)
   ───────────────────────────────────────── */
/* Figma 940×496 카드 → 0.83× = 780×412. aspect-ratio 그대로 940/496 유지(자연 비율 보존) */
.event-slide-card {
  position: relative;
  flex: 0 1 780px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  padding: 25px 27px 23px;
  box-sizing: border-box;
  aspect-ratio: 940 / 496;
}

.event-slide-card__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}

.event-slide-card__title,
.event-slide-card__icon,
.event-slide-card__heading { display: none; }

.event-slide-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.04vw, 20px);
  font-weight: 400;
  line-height: 1;
  color: #ED6325;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.event-slide-card__more:hover {
  transform: translateX(4px);
}

.event-slide-card__more img {
  width: 19px;
  height: 13px;
  object-fit: contain;
}

/* ── 1-slide 캐러셀: 한 번에 이미지 1장만 꽉 차게 표시 */
.event-slide-card__viewport {
  --slide-width: 100%;
  --slide-gap: 0px;
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.event-slide-card__viewport.is-dragging {
  cursor: grabbing;
}

.event-slide-card__track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: auto;
  height: 100%;
  padding-left: 0;
  padding-right: 0;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-slide-card__track.is-dragging {
  transition: none;
}

/* 무한 루프 보정 점프 구간 — 트랙/슬라이드 트랜지션을 강제로 모두 멈춰
   클론에서 진짜 위치로 옮겨갈 때 발생하는 미세한 페이드/스케일 재생을 차단.
   :hover 등 다른 셀렉터보다 우선해야 하므로 !important 사용. */
.event-slide-card.is-snapping .event-slide-card__track,
.event-slide-card.is-snapping .event-slide-card__slide {
  transition: none !important;
}

/* 각 슬라이드 — 베이스(MO): 1-슬라이드 모드 (active 만 visible, 나머지 opacity 0) */
.event-slide-card__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  opacity: 0;
  transform-origin: center center;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  box-sizing: border-box;
}

.event-slide-card__slide.is-active {
  opacity: 1;
  z-index: 2;
}

/* PC/TA(≥768px) — peek 모드: 모든 슬라이드 항상 가시,
   active 만 풀 opacity + 풀 스케일 / non-active 는 살짝 dim/축소(시각 위계) */
@media (min-width: 768px) {
  .event-slide-card__slide {
    opacity: 0.5;
    transform: scale(0.92);
  }
  .event-slide-card__slide.is-active {
    opacity: 1;
    transform: scale(1);
  }
}

/* 원본 이미지를 잘리지 않고 전부 보이도록 object-fit: contain.
   슬라이드 박스 배경(#ffffff)이 이미지 외 여백을 자연스럽게 채움 */
.event-slide-card__slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.event-slide-card__dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

/* 도트 — 항상 22×22 박스로 고정해서 도트 줄 레이아웃이 흔들리지 않게 한다.
   비활성: 가운데 11px 원(::before), 활성: 도넛 아이콘(::after).
   두 의사요소가 opacity 로 교차 페이드되어 캐러셀 루프 시 "약간 버벅" 거리는
   느낌 없이 부드럽게 전환됨. */
.event-slide-card__dot {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

.event-slide-card__dot::before,
.event-slide-card__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  transition: opacity 0.25s ease, background-color 0.2s ease;
  will-change: opacity;
}

/* 비활성 상태의 작은 원 도트 */
.event-slide-card__dot::before {
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background-color: #f3d2bb;
  opacity: 1;
}

/* 활성 상태의 미니 도넛 아이콘 (Figma 1183-357) */
.event-slide-card__dot::after {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background: url("../images/event/event-dot-active.png") center/contain no-repeat;
  opacity: 0;
}

.event-slide-card__dot:hover::before { background-color: #f0bf9e; }

.event-slide-card__dot.is-active::before { opacity: 0; }
.event-slide-card__dot.is-active::after  { opacity: 1; }

/* ─────────────────────────────────────────
   우측: 캘린더 카드 (464 × 496) — Figma 1183-357
   ───────────────────────────────────────── */
/* Figma 464×496 카드 → 0.83× = 385×412. aspect-ratio 464/496 유지 */
.event-calendar-card {
  position: relative;
  flex: 0 1 385px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 11px 15px;
  box-shadow: 1px -1px 15.8px -2px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  aspect-ratio: 464 / 496;
}

.event-calendar-card__head { display: none; }

.event-calendar-card__month-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

/* Figma 1183-357 시안의 < June > 스타일 — 작고 깔끔한 chevron, 원형 배경 없음 */
.event-calendar-card__nav-btn {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ED6325;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}

/* chevron — 순수 CSS 보더 트릭 (이미지 의존성 0) */
.event-calendar-card__chev {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ED6325;
  border-right: 2px solid #ED6325;
  pointer-events: none;
  transition: border-color 0.18s ease;
}

.event-calendar-card__nav-btn--next .event-calendar-card__chev {
  transform: translateX(-2px) rotate(45deg);
}

.event-calendar-card__nav-btn--prev .event-calendar-card__chev {
  transform: translateX(2px) rotate(225deg);
}

.event-calendar-card__nav-btn:hover {
  background: rgba(253, 226, 207, 0.7);
}

.event-calendar-card__nav-btn:hover .event-calendar-card__chev {
  border-color: #d65216;
}

.event-calendar-card__month {
  min-width: 92px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #ED6325;
  letter-spacing: 0;
}

.event-calendar-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-calendar-card__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  height: 57px;
  padding: 0 12px;
  background: #FDE2CF;
  border-radius: 10px 10px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #452219;
}

.event-calendar-card__weekdays .is-sun { color: #ED6325; }

.event-calendar-card__grid {
  flex: 1;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 1px -1px 15.8px -2px rgba(0, 0, 0, 0.1);
  padding: 10px 12px 8px;
  /* 6주 고정 그리드: 이벤트 라벨 유무와 무관하게 균일한 행 높이 */
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 0;
}

@keyframes calFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.event-calendar-card__grid.is-fade {
  animation: calFadeIn 0.35s ease both;
}

/* 주별 행: 7개 날짜 셀 + 하단 라벨 영역을 포함한 단일 행
   grid-template-rows: [날짜 셀] [라벨 영역] → 라벨 없는 주도 동일 높이 유지 */
.cal-week {
  margin-bottom:25px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  height: 100%;
}

/* 날짜 셀은 첫 번째 행 */
.cal-week .cal-cell {
  grid-row: 1;
}

/* 라벨 영역: 두 번째 행, 7컬럼 전체 스팬
   overflow: visible 로 풀어 좌·우 끝 컬럼(SUN/SAT) 라벨이 잘리지 않고
   각 컬럼 원(.cal-cell)의 정중앙에 그대로 위치할 수 있게 한다. */
.cal-week-labels-row {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  width: 100%;
  height: 18px;
  overflow: visible;
  top:-7px;
  /* 텍스트가 행 밖으로 살짝 넘쳐도 카드 모서리에서 잘리지 않게 */
}

.cal-week-label {
  position: absolute;
  top: 0;
  /* 모든 컬럼: 자기 컬럼 원의 가로 중심에 정확히 배치 */
  left: calc((var(--col) + 0.5) * (100% / 7));
  transform: translateX(-50%);
  /* 라벨 폭은 자기 컬럼 ±2 컬럼만큼 허용 — 잘려도 ellipsis */
  max-width: calc((100% / 7) * 3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  pointer-events: none;
  /* 배지 스타일 — 옅은 배경 + 둥근 모서리 + 좌우 padding */
  padding: 2px 7px;
  border-radius: 6px;
  /* 기본(폴백) — 컬러 클래스 못 달았을 때 */
  background: #FEE2D4;
  color: #ED6325;
}

/* 컬러별 옅은 배경 + 텍스트 컬러 (셀 컬러 변형보다 한 단계 옅게/짙게 — 라벨이 또렷하게) */
.cal-week-label--peach  { background: #FFE2D4; color: #ED6325; }
.cal-week-label--orange { background: #FFE0BE; color: #C24814; }
.cal-week-label--purple { background: #ECDAEC; color: #8C5BB6; }
.cal-week-label--blue   { background: #D7E0F2; color: #466FBC; }

/* 모든 컬럼: 동일하게 자기 컬럼 원의 가로 중심에 정렬됨 (위 .cal-week-label 기본 규칙)
   ─ 이전에는 col=0/1/5/6 에 한해 좌·우 끝으로 이동시켰으나, 사용자 요청에 따라
     모든 라벨이 각자의 cal-cell 정중앙에 위치하도록 통일.
   ─ 끝 컬럼이 카드 영역을 살짝 넘칠 수 있지만 .cal-week-labels-row 의 overflow: visible 로 허용. */

/* 행이 5주인 달: 5개 row만 사용 */
.event-calendar-card__grid.cal-weeks-5 {
  grid-template-rows: repeat(5, 1fr);
}
/* 행이 4주인 달 */
.event-calendar-card__grid.cal-weeks-4 {
  grid-template-rows: repeat(4, 1fr);
}

.cal-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #452219;
  text-align: center;
  border-radius: 50%;
}

.cal-cell--empty { visibility: hidden; }
.cal-cell--sun { color: #ED6325; }

.cal-cell--event-peach  { background: #FEE2D4; }
.cal-cell--event-orange { background: #FDE2BD; }
.cal-cell--event-purple { background: #E6D4E5; }
.cal-cell--event-blue   { background: #D0D9EF; }

/* =========================================================
   05. Business Banner (창업 문의)
   ========================================================= */

.business-banner {
  position: relative;
  width: 100%;
  background-color: #fdadc6;
  border-radius: 10px;
  overflow: visible;
}

/* Figma 캐릭터 341×385 → 0.83× = 283×320 (aspect 341/385 보존)
   좌표/위치도 동일하게 비례 축소: 186→154, -10→-8 */
.business-banner__character {
  position: absolute;
  left: clamp(17px, 8.04vw, 154px);
  top: clamp(-35px, -1.82vw, -8px);
  width: clamp(150px, 14.74vw, 283px);
  height: auto;
  aspect-ratio: 341 / 385;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* inner 높이 300 → 249 (×0.83), 좌우 패딩 280→232, 100→83 */
.business-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(33px, 4.32vw, 83px);
  width: 100%;
  height: 249px;
  padding: 17px clamp(33px, 12.10vw, 232px);
  box-sizing: border-box;
  margin: 0 auto;
}

.business-banner__text {
  flex-shrink: 0;
  width: 476px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #ffffff;
}

.business-banner__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 1.67vw, 32px);
  font-weight: 700;
  line-height: 1.125;
  color: #ffffff;
  letter-spacing: 0;
}

.business-banner__desc {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 1.04vw, 20px);
  line-height: 1.8;
  color: #ffffff;
}

.business-banner__action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: clamp(40px, 5.21vw, 100px);
  opacity: 0.95;
}

.business-banner__divider {
  flex-shrink: 0;
  width: 1px;
  height: 100px;
  background-color: #ffffff;
  opacity: 0.8;
}

.business-banner__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 10px 60px;
  border-radius: 50px;
  background-color: #452219;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 2.2;
  text-decoration: none;
}

.business-banner__cta-arrow {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   06. Main Choice (달콤한 선택 - 온라인 주문 / 매장 찾기)
   ========================================================= */

/* 사용자 요청 — 900 → 800px 으로 축소.
   텍스트 크기는 유지, 내부 여백·이미지·버튼 등 비텍스트 요소는 800/900 ≈ 0.889 배 축소 */
.main-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 800px;
  overflow: visible;
  background-color: #FDF4E6;
  transition: background-color 0.8s ease;
}

.main-choice__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.main-choice__bg-curve {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(1);
  transform-origin: 100% 50%;
  /* ease 대신 spring 느낌의 cubic-bezier로 부드럽게 */
  transition: transform 0.65s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.main-choice__bg-curve path {
  fill: #FCEEE8;
  transition: fill 0.55s ease;
}

/* 물결 경계: 호버 시 7:3 분할 — 이동 폭 줄여서 덜 뚝뚝함 */
.main-choice:has(.main-choice-card--online:hover) .main-choice__bg-curve {
  transform: scaleX(0.72);
}

.main-choice:has(.main-choice-card--store:hover) .main-choice__bg-curve {
  transform: scaleX(1.28);
}

.main-choice:has(.main-choice-card--online:hover) {
  background-color: #FBE9D8;
}

.main-choice:has(.main-choice-card--store:hover) .main-choice__bg-curve path {
  fill: #FBE9D8;
}

/* 900 → 800px 축소에 맞춰 내부 패딩 0.889 배 (90→80, 40→36).
   사용자 요청: 배경은 그대로 두고 콘텐츠 위치만 조정 — padding-top 90 → 70 (20px 위로) */
.main-choice__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 70px 0 36px;
  box-sizing: border-box;
}

.main-choice__header {
  text-align: center;
}

.main-choice__title {
  margin: 0 0 clamp(12px, 1.25vw, 20px);
  font-family: var(--font-heading);
  /* 디자인 시스템 h2 토큰: PC 64 / TA 44 / MO 32 — 메인 hero 급 헤딩 */
  font-size: var(--type-h2);
  font-weight: var(--weight-h2);
  line-height: var(--lh-heading);
  letter-spacing: -0.04em;
  color: #452219;
}

.main-choice__title-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.main-choice .h1 {
  font-weight: 700;
}

/* ── 모바일 탭 바 (PC: hidden, MO: responsive.css에서 flex 활성화) */
.main-choice__tabs {
  display: none; /* 기본 숨김 — 모바일에서만 표시 */
  position: relative;
  align-self: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  padding: 4px;
  margin: 0 auto 24px;
  width: min(300px, calc(100% - 40px));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(69, 35, 25, 0.10);
}

.main-choice__tab {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 11px 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: rgba(69, 35, 25, 0.45);
  cursor: pointer;
  border-radius: 100px;
  transition: color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.main-choice__tab.is-active {
  color: #452219;
}

/* 슬라이딩 흰색 알약 — GSAP이 x 변환을 담당 */
.main-choice__tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #ffffff;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(69, 35, 25, 0.13);
  pointer-events: none;
  will-change: transform;
}

/* overflow 클리핑 래퍼 — PC에서는 transparent */
.main-choice__cards-overflow {
  width: 100%;
  overflow: visible;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-choice__title-line {
  display: block;
  /* 한 라인 내부에서 추가 wrap 금지 — "원하는 방향으" / "로" 처럼 깨지는 문제 방지.
     좁은 모바일에서는 ≤480px font-size가 충분히 작아 잘리지 않음 (clamp 24~30px). */
  white-space: nowrap;
}

.main-choice__title-line--brown {
  color: #452219;
}

.main-choice__title-line--orange {
  color: #ED6325;
}

.main-choice__desc {
  margin-top: 18px;
  font-family: var(--font-body);
  /* 디자인 시스템 b1 토큰: PC 24 / TA 20 / MO 18 (메인 hero 급 본문) */
  font-size: var(--type-b1);
  font-weight: var(--weight-body-reg);
  line-height: var(--lh-body);
  color: #452219;
}

/* 32 → 28 (×0.889) */
.main-choice__cards {
  position: relative;
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 0;
  min-height: 0;
  width: 100vw;
  margin-top: 28px;
  margin-left: calc(50% - 50vw);
  overflow: visible;
}

.main-choice-card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 14px 21px 28px;
  text-align: center;
  transition: flex 0.8s ease;
}

.main-choice:has(.main-choice-card--online:hover) .main-choice-card--online {
  flex: 7;
}

.main-choice:has(.main-choice-card--online:hover) .main-choice-card--store {
  flex: 3;
}

.main-choice:has(.main-choice-card--store:hover) .main-choice-card--online {
  flex: 3;
}

.main-choice:has(.main-choice-card--store:hover) .main-choice-card--store {
  flex: 7;
}

.main-choice-card > * {
  position: relative;
  z-index: 1;
}

/* 183→163, 25→22, 20→18, 25→22 (×0.889).
   사용자 요청: 이미지 아래 요소(label/title/text/button) 10px 위로 — margin-bottom 22 → 12 */
.main-choice-card__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 163px;
  padding: 22px 0 18px;
  margin-bottom: 12px;
  overflow: visible;
  flex-shrink: 0;
  box-sizing: border-box;
}

.main-choice-card--online {
  overflow-x: hidden;
  overflow-y: visible;
}

.main-choice-card--store {
  overflow: visible;
}

/* 카드 이미지 299 → 266 (×0.889) */
.main-choice-card__image {
  position: relative;
  z-index: 2;
  width: min(266px, 100%);
  height: auto;
  transform-origin: center bottom;
  filter: drop-shadow(0 18px 21px rgba(69, 35, 25, 0.1));
  /* will-change로 GPU 레이어 미리 확보 → 애니 시작 시 깜빡임 방지 */
  will-change: transform, filter;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.3, 0.64, 1),
    filter 0.55s ease;
}

/* 트럭: 왼쪽에서 부드럽게 드라이브인 후 살짝 위로 */
.main-choice-card--online:hover .main-choice-card__image {
  animation: main-choice-truck-drive 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  filter: drop-shadow(0 24px 28px rgba(69, 35, 25, 0.18));
}

@keyframes main-choice-truck-drive {
  0%   { transform: translateX(-60%) scale(0.9); opacity: 0; }
  40%  { opacity: 1; }
  75%  { transform: translateX(4px) scale(1.1); }
  100% { transform: translateX(0) scale(1.08); opacity: 1; }
}

/* 매장: 아래서 살짝 떠오르며 줌 */
.main-choice-card--store:hover .main-choice-card__image {
  animation: main-choice-store-rise 0.75s cubic-bezier(0.34, 1.3, 0.64, 1) both;
  filter: drop-shadow(0 24px 28px rgba(69, 35, 25, 0.18));
}

@keyframes main-choice-store-rise {
  0%   { transform: translateY(12px) scale(0.96); opacity: 0.7; }
  100% { transform: translateY(0) scale(1.1); opacity: 1; }
}

.main-choice-card__label,
.main-choice-card__title,
.main-choice-card__text {
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.main-choice-card__label {
  position: relative;
  margin-bottom: 9px;
  padding-top: 16px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.04vw, 20px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ED6325;
}

.main-choice-card__label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 36px;
  height: 2px;
  background: #ED6325;
  transform: translateX(-50%);
  transition: width 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.main-choice-card:hover .main-choice-card__label::before {
  width: 56px;
}

.main-choice-card__title {
  margin: 0 0 9px;
  font-family: var(--font-body);
  font-size: clamp(22px, 1.67vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  color: #452219;
}

.main-choice-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, 1.04vw, 20px);
  line-height: 1.4;
  color: #452219;
}

/* 텍스트 그룹: 카드 hover 시 자연스럽게 위로 */
.main-choice-card:hover .main-choice-card__label {
  transform: translateY(-5px);
}
.main-choice-card:hover .main-choice-card__title {
  transform: translateY(-5px);
  transition-delay: 0.03s;
}
.main-choice-card:hover .main-choice-card__text {
  transform: translateY(-5px);
  transition-delay: 0.06s;
}

/* 버튼 — gap/padding 정상화, 이중 transform 문제 해결 */
.main-choice-card__button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  min-height: 53px;
  margin-top: 27px;
  padding: 14px 36px;
  border-radius: 62px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.04vw, 20px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  background: #ED6325;
  /* transform 하나로 통일, box-shadow 별도 처리 */
  transition:
    transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.35s ease,
    background 0.3s ease;
  transform-origin: center bottom;
}

/* shine sweep — 호버 시 좌→우 광택 띠 통과 (PC hero CTA와 동일 패턴) */
.main-choice-card__button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-choice-card__button:hover::before {
  transform: translateX(120%);
}

.main-choice-card__button-label {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.main-choice-card__button-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) 0.05s;
}

/* 화살표만 오른쪽으로 살짝 이동 — 스프링 bounce 제거 */
.main-choice-card__button:hover .main-choice-card__button-arrow {
  transform: translateX(5px);
}

.main-choice-card__button--light {
  color: #ED6325;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(69, 35, 25, 0.08);
}

/* 카드 hover: 버튼 위로 */
.main-choice-card:hover .main-choice-card__button {
  transform: translateY(-6px);
  transition-delay: 0.08s;
}

/* 버튼 직접 hover: 추가 상승 + 그림자 */
.main-choice-card__button:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(237, 99, 37, 0.22);
}

.main-choice-card__button--light:hover {
  box-shadow: 0 8px 18px rgba(69, 35, 25, 0.14);
}

/* 탭/클릭 프레스 피드백 — 살짝 눌림 (모바일 터치 즉시 반응 위해 :active 사용) */
.main-choice-card__button:active {
  transform: translateY(2px) !important;
  box-shadow: 0 4px 8px rgba(237, 99, 37, 0.18);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.main-choice-card__button--light:active {
  box-shadow: 0 4px 8px rgba(69, 35, 25, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  /* shine sweep 도 비활성화 */
  .main-choice-card__button::before {
    display: none;
  }
  .business-banner__cta,
  .business-banner__cta-arrow,
  .main-choice__bg-curve,
  .main-choice-card,
  .main-choice-card__image,
  .main-choice-card__label,
  .main-choice-card__label::before,
  .main-choice-card__title,
  .main-choice-card__text,
  .main-choice-card__button,
  .main-choice-card__button-label,
  .main-choice-card__button-arrow {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================================================
   07. POPPI Review Triple Slider (인스타 리뷰)
   ========================================================= */

/* 리뷰 → 푸터 배경 연속용 토큰(body에 두어 푸터 wrap에서도 참조) */
body:has(.poppi-review-section) {
  --review-footer-overlap: clamp(40px, 3.65vw, 70px);
  --review-footer-radius: clamp(40px, 5.21vw, 100px);
  --review-footer-bleed: calc(var(--review-footer-overlap) + var(--review-footer-radius));
}

/* 사용자 요청 — 850 → 900px 으로 확장, 썸네일/폰 5% 축소(17.2→16.34, 19.5→18.525) */
.poppi-review-section {
  --review-section-width: 2048px;
  --review-section-height: 900px;
  --review-card-width: 16.34%;
  --review-phone-width: 18.525%;
  --review-shadow: rgba(60, 35, 22, 0.18);

  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: calc(-1 * var(--review-footer-bleed));
  padding-bottom: var(--review-footer-bleed);
  overflow-x: clip;
  overflow-y: visible;
  background: transparent;
}

.poppi-review-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* 단색 — 위(06 크림) 대비를 위한 라이트 핑크 */
  background-color: #FFE3EB;
}

.review-stage {
  position: relative;
  z-index: 1;
  width: min(100%, var(--review-section-width));
  height: clamp(560px, 50.68vw, var(--review-section-height));
  min-height: 560px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: visible;
}

.gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ---------- 좌우 썸네일 무한 슬라이더 ----------
   overflow: visible — 카드(IG 포스트)는 자연 비율로 세로가 길어 컨테이너보다 큼.
   가로 클립은 부모 .review-stage 의 overflow: hidden 이 처리하므로 여기는 풀어
   카드 하단(좋아요/댓글/캡션) 까지 풀 노출. */
.gallery-thumbs {
  position: absolute;
  left: 50%;
  top: 25.2%;
  z-index: 2;
  width: 100%;
  height: 56.8%;
  overflow: visible;
  transform: translateX(-50%);
}

/* gap 32 → 27 (×0.83) */
.thumb-track {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  height: 100%;
  gap: 27px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.thumb-track.is-dragging {
  transition: none;
}

.thumb-slide {
  flex: 0 0 var(--review-card-width);
  width: var(--review-card-width);
  /* aspect-ratio 제거 — 이미지 자연 비율 그대로 표시 (전체 노출) */
  height: auto;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 16px 30px var(--review-shadow);
  border: 0;
  border-radius: clamp(12px, 1vw, 16px);
  padding: 0;
  cursor: pointer;
  transform-origin: center;
  transition: opacity 0.35s ease;
}

.thumb-slide img {
  width: 100%;
  height: auto;
  display: block;
  /* 부모(.thumb-slide)에서 overflow:hidden + border-radius 로 라운딩 — img 자체 radius 불필요 */
}

.thumb-slide.is-center-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ---------- 중앙 휴대폰 슬라이더 ---------- */
.phone-slider {
  position: absolute;
  left: 50%;
  top: 8.5%;
  z-index: 10;
  width: var(--review-phone-width);
  transform: translateX(-50%);
}

.phone-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 744 / 1548;
}

.phone-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

.phone-app-head {
  position: absolute;
  left: 8%;
  top: 8.4%;
  z-index: 5;
  width: 84%;
  height: 5.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none
}

.phone-back {
  position: absolute;
  left: 0;
  top: 50%;
  width: 7.4%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  pointer-events: none;
}

.phone-back::before,
.phone-back::after {
  content: "";
  position: absolute;
  left: 30%;
  width: 45%;
  height: 5%;
  border-radius: 999px;
  background: #111;
  transform-origin: left center;
}

.phone-back::before {
  top: 48%;
  transform: rotate(-45deg);
}

.phone-back::after {
  top: 48%;
  transform: rotate(45deg);
}

.phone-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #111;
  line-height: 1;
  letter-spacing: -0.02em;
}

.phone-title strong {
  font-size: clamp(8px, 0.62vw, 13px);
  font-weight: 700;
}

.phone-title span {
  font-size: clamp(7px, 0.55vw, 11px);
  font-weight: 800;
}

/*
  Phone frame: 744 × 1548 (aspect 744/1548)
  실제 화면 영역(상단 IG 헤더 아래 ~ 하단 네비 위)을 정확히 맞춰
  IG 포스트 카드(post-XX.png)가 잘리지 않고 위에서부터 깔끔히 들어맞게 한다.

  ── 폰 프레임 픽셀 좌표(추정) ──
    screen-x: 48px → 6.45%
    screen-w: 648px → 87.1%
    screen-y: 248px → 16.02%   (IG 헤더 바로 아래)
    screen-h: 1102px → 71.19%  (IG 카드 비율 644/1098 ≈ 1:1.706 와 동일 비율)
*/
.phone-screen {
  position: absolute;
  left: 6.45%;
  top: 16.02%;
  z-index: 4;
  width: 87.1%;
  height: 73.19%;
  overflow: hidden;
  background: #fff;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.phone-screen.is-dragging {
  cursor: grabbing;
}

.phone-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.phone-track.is-dragging {
  transition: none;
}

.phone-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  display: block;
  position: relative;
}

.phone-slide[data-slide-index="0"]::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.phone-slide img {
  display: block;
  width: 100%;
  height: 100%;
  /*
    IG 카드 자체가 화면 비율과 1:1 비율이므로 cover 사용 시 잘림이 없다.
    혹시 비율이 약간 다를 경우를 대비해 object-position: top 으로 상단부터 채우고
    하단의 캡션·해시태그 영역까지 자연스럽게 보이게 한다.
  */
  object-fit: cover;
  object-position: top center;
  user-select: none;
  pointer-events: none;
  border-radius: 12px;
  position: absolute;
  top: -15px;
}

/* =========================================================
   07-B. Review Header — 제목 + 하트/말풍선 데코
   (스코프: .poppi-review-section 안에서만 — 다른 페이지 영향 0)
   ========================================================= */
.poppi-review-section { isolation: isolate; }

.review-header {
  position: relative;
  z-index: 3;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  /* 헤더 컴팩트화 — PC viewport-fit을 위해 padding 축소 */
  padding: clamp(28px, 2.4vw, 48px) 0 clamp(12px, 1.2vw, 24px);
  text-align: center;
  color: var(--brown-dark);
}

.review-header__eyebrow {
  margin: 0 0 clamp(8px, 1vw, 16px);
  font-family: var(--font-paperlogy);
  font-size: clamp(13px, 1.04vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--brown-dark-400);
}

.review-header__title {
  margin: 0;
  font-family: var(--font-heading);
  /* 디자인 시스템 h3 토큰 — PC 48 / TA 36 / MO 26 (다른 메인 섹션 헤딩과 같은 스케일) */
  font-size: var(--type-h3);
  font-weight: var(--weight-h3);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

.review-header__title em {
  font-style: normal;
  color: var(--poppi-orange);
}

/* ----- Deco — 솔리드 컬러 말풍선 2개 (둥실둥실)
   - .review-stage 자식으로 들어가 폰 목업 위(z-index: 12)에 오버레이
   - 타이틀 바로 아래 / 폰 상단에 살짝 겹쳐 보이도록 stage 좌상단 부근에 배치 ----- */
.review-deco {
  position: absolute;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}

/* 말풍선 본체 — 솔리드 컬러 (그라데이션 X) + 가벼운 그림자 + 둥근 모서리 */
.review-deco--tag {
  padding: clamp(8px, 1vw, 14px) clamp(14px, 1.6vw, 22px);
  border-radius: 14px;
  font-family: var(--font-paperlogy);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--brown-dark);
  white-space: nowrap;
}

/* 꼬리 — 깔끔한 이등변 삼각형 (border-style 방식, 모서리 1px 누출 없음) */
.review-deco--tag::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 28px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 8px 0 8px; /* top right bottom left — 위쪽이 색상, 좌우 transparent → 아래로 향하는 삼각 */
  border-color: transparent;    /* 각 변형에서 border-top-color 를 자기 색으로 override */
}

/* tag-1 — 연핑크 솔리드 (좌, 폰 상단 위쪽) */
.review-deco--tag-1 {
  left: clamp(20px, 12%, 18%);
  top: clamp(8px, 2%, 28px);
  background: var(--poppi-pink-200);
  box-shadow: 0 8px 18px rgba(255, 137, 174, 0.28);
  animation: reviewBubbleFloat1 4.2s ease-in-out infinite;
}
.review-deco--tag-1::after {
  border-top-color: var(--poppi-pink-200);
}

/* tag-2 — 연노랑 솔리드 (우, 폰 상단 위쪽) */
.review-deco--tag-2 {
  right: clamp(20px, 12%, 18%);
  top: clamp(20px, 4%, 56px);
  background: var(--poppi-yellow-100);
  box-shadow: 0 8px 18px rgba(251, 167, 32, 0.22);
  animation: reviewBubbleFloat2 4.8s ease-in-out infinite;
}
.review-deco--tag-2::after {
  border-top-color: var(--poppi-yellow-100);
  /* 우측 버블은 꼬리도 우측에 살짝 — 좌우 균형 */
  left: auto;
  right: 28px;
}

/* 둥실둥실 — translateY 8~10px 오르내림 + 미세 rotate */
@keyframes reviewBubbleFloat1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes reviewBubbleFloat2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}

/* 모션 감도 사용자 — 정지 + 살짝 기운 상태로만 표시 */
@media (prefers-reduced-motion: reduce) {
  .review-deco--tag-1 { animation: none; transform: rotate(-2deg); }
  .review-deco--tag-2 { animation: none; transform: rotate(2deg); }
}

/* 하트 데코 — HTML 에서 제거되었으나 안전망으로 숨김 유지 */
.review-deco--heart { display: none; }

/* =========================================================
   08. POPPI Footer  → assets/css/footer.css 로 분리되었습니다.
   ========================================================= */

/* =========================================================
   09. Production layout refinement
   - 섹션 시작/끝 여백, 텍스트-이미지 간격, 컨테이너 폭을 공통 토큰으로 정리
   - 기존 비주얼/애니메이션은 유지하고, 잘림이 생기기 쉬운 고정값만 유연하게 조정
   ========================================================= */

.poppi-event {
  padding-top: var(--section-y-md);
  padding-bottom: var(--section-y-md);
}

.poppi-event__head {
  margin-bottom: var(--content-gap-lg);
}

.poppi-event__inner {
  width: min(1202px, calc(100% - (var(--site-gutter) * 2)));
  gap: var(--content-gap-md);
}

.business-banner {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin: var(--section-gap-tight) auto;
  border-radius: var(--radius-md);
}

.business-banner__inner {
  min-height: clamp(220px, 12.97vw, 249px);
  height: auto;
  padding-inline: clamp(36px, 8.333vw, 160px);
  gap: var(--content-gap-lg);
}

.business-banner__text {
  gap: var(--content-gap-xs);
}

.main-choice {
  height: auto;
  min-height: clamp(660px, 41.667vw, 800px);
  overflow: hidden;
}

.main-choice__inner {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  padding-top: var(--section-y-sm);
  padding-bottom: var(--section-y-xs);
}

.main-choice__desc {
  margin-top: var(--content-gap-xs);
}

.main-choice__cards {
  width: 100%;
  margin-left: 0;
  margin-top: var(--content-gap-md);
  gap: var(--content-gap-md);
}

.main-choice-card {
  border-radius: var(--radius-lg);
  padding-inline: clamp(18px, 2.083vw, 40px);
}

.main-choice-card__image-wrap {
  margin-bottom: var(--content-gap-xs);
}

.poppi-review-section {
  padding-top: var(--section-y-xs);
  padding-bottom: var(--review-footer-bleed);
}

.review-stage {
  height: clamp(560px, 50.68vw, var(--review-section-height));
}

/* PC — 푸터 겹침용 bleed만 하단 패딩, 스테이지는 디자인 높이(최대 900px) 유지 */
@media (min-width: 1025px) {
  .poppi-review-section {
    padding-top: clamp(12px, 1vw, 24px);
    padding-bottom: var(--review-footer-bleed);
  }

  .review-stage {
    height: clamp(560px, 50.68vw, var(--review-section-height)) !important;
    min-height: 560px;
    overflow-x: hidden;
    overflow-y: visible;
  }
}

/* 1025~1280 — 폰·썸네일 하단 여유 (responsive.css 와 동일 산출식) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .poppi-review-section {
    --review-card-width: 20.5vw;
    --review-phone-width: 24vw;
  }

  .review-stage {
    height: max(
      720px,
      calc(24vw * 2.0806 + 12vw),
      calc(20.5vw * 1.706 + 30vw)
    ) !important;
    min-height: 720px;
  }
}

/* 리뷰 섹션 ::before 배경이 푸터 라운드 바깥까지 이어지도록 겹침 */
body:has(.poppi-review-section) > .poppi-footer-wrap,
body:has(.poppi-review-section) > .poppi-footer-wrap[data-common-footer] {
  margin-top: calc(-1 * var(--review-footer-overlap));
  background: transparent;
  position: relative;
  z-index: 2;
}

/* 라운드 코너 바깥 — 갈색 fill 대신 리뷰 배경이 비치도록 상단 마스크 */
body:has(.poppi-review-section) {
  --footer-drip-mask-end: clamp(96px, 14vw, 220px);
}

body:has(.poppi-review-section) .poppi-footer {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

body:has(.poppi-review-section) .poppi-footer::after {
  background: var(--footer-bottom-bg);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent var(--footer-drip-mask-end),
    #000 var(--footer-drip-mask-end)
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent var(--footer-drip-mask-end),
    #000 var(--footer-drip-mask-end)
  );
}

@media (max-width: 1200px) and (min-width: 630px) {
  body:has(.poppi-review-section) {
    --review-footer-overlap: clamp(56px, 6vw, 84px);
    --review-footer-radius: clamp(36px, 5vw, 72px);
    --review-footer-bleed: calc(var(--review-footer-overlap) + var(--review-footer-radius));
    --footer-drip-mask-end: clamp(80px, 12vw, 160px);
  }
}

@media (max-width: 629px) {
  body:has(.poppi-review-section) {
    --review-footer-overlap: 0px;
    --review-footer-radius: clamp(24px, 8.53vw, 32px);
    --review-footer-bleed: var(--review-footer-radius);
    --footer-drip-mask-end: clamp(56px, 16vw, 88px);
  }

  body:has(.poppi-review-section) > .poppi-footer-wrap,
  body:has(.poppi-review-section) > .poppi-footer-wrap[data-common-footer] {
    margin-top: 0;
  }
}
