/* [2026-11-12] 필메이커 공동구매 — 메뉴 꼬리표 · 모바일 메뉴 배너 · 메인 슬라이드 (header_cate_dev.php 에서 link) */

/* 상단 메뉴 «할인» 꼬리표 — 사진보정 «무제한»(.fact) 과 같은 모양, 색만 라임 */
.fm-gb-fact i{background:#CDF564;color:#0E1F18;font-weight:700}

/* 모바일 햄버거 메뉴 배너 — .mo_member_info 와 같은 폭·여백(17px)·모서리(12px)·아래 20px
   쿠폰 = 메인 배너 디자인(.fm-gb-art · .fm-gb-t · 도장 모션) 그대로, 상자 폭만 줄여서 씀 */
.fm-gbm{display:flex;align-items:center;gap:6px;box-sizing:border-box;height:90px;margin:0 0 20px;padding:5px 8px 5px 17px;border-radius:12px;background:#E4F5A8;text-decoration:none;overflow:hidden;position:relative;box-shadow:0 4px 12px rgba(70,90,20,.12)}
.fm-gbm .tx{flex:1;min-width:0}
.fm-gbm .tx small{display:block;font-size:12px;color:#2B3A22;letter-spacing:-.01em;font-family:'Pretendard',sans-serif}
.fm-gbm .tx b{display:block;margin-top:4px;font-size:17px;line-height:1.2;white-space:nowrap;color:#0E1F18;font-weight:600;letter-spacing:-.045em;font-family:'Pretendard',sans-serif}
.fm-gbm-art{position:relative;flex:none;width:170px;height:80px;overflow:hidden}
.fm-gbm-art .fm-gb-art{top:2px}
/* 쿠폰 2장만(흰 5,000원 할인 · 빨강 오프닝영상 무료) — 검정(48시간) 은 숨김, 겹치지 않게 */
.fm-gbm-art .fm-gb-t.t1{display:none}.fm-gbm-art .fm-gb-t.t0{top:12.5cqw;transform:translate(-50%,-50%) rotate(-3deg)}.fm-gbm-art .fm-gb-t.t2{top:34.5cqw;transform:translate(-50%,-50%) rotate(2.5deg)}

/* 메인 슬라이드 (웹디 gb_slide_snippet 원문) */
/* ===== 공동구매 Group Buying 메인배너 (이 블록만 사이트 index.css에 추가) ===== */
#visual .swiper .swiper-slide.fm-gb-slide{background:#E4F5A8}
.fm-gb-art{position:absolute;inset:0 0 auto 0;aspect-ratio:928/1152;container-type:inline-size;pointer-events:none;font-family:'Pretendard','Pretendard-Bold',sans-serif}
.fm-gb-t{position:absolute;width:78.448cqw;height:21.121cqw;transform:translate(-50%,-50%)}
.fm-gb-t .in{position:absolute;inset:0;border-radius:2.802cqw;box-shadow:0 1.940cqw 4.095cqw rgba(70,90,20,.18),0 0.323cqw 0.862cqw rgba(70,90,20,.08)}
.fm-gb-t .n{position:absolute;left:57.004cqw;width:4.526cqw;height:4.526cqw;border-radius:50%;background:#E4F5A8}
.fm-gb-t .n.a{top:-2.263cqw} .fm-gb-t .n.b{bottom:-2.263cqw}
.fm-gb-t .d{position:absolute;left:59.159cqw;top:3.233cqw;bottom:3.233cqw;border-left:0.377cqw dashed}
.fm-gb-t small{position:absolute;left:4.957cqw;top:5.603cqw;font-size:2.909cqw;font-weight:500;letter-spacing:-.03em;white-space:nowrap}
.fm-gb-t b{position:absolute;left:4.741cqw;top:9.483cqw;font-size:6.250cqw;font-weight:800;letter-spacing:-.045em;line-height:1.1;white-space:nowrap}
.fm-gb-t .slot,.fm-gb-t .st,.fm-gb-t .ring{position:absolute;left:68.966cqw;top:10.560cqw;width:10.345cqw;height:10.345cqw;border-radius:50%;transform:translate(-50%,-50%)}
.fm-gb-t .slot{border:0.323cqw dashed;opacity:.75}
.fm-gb-t .st{box-sizing:border-box;border:0.539cqw solid;display:flex;align-items:center;justify-content:center;font-size:2.263cqw;font-weight:800;letter-spacing:.02em;transform:translate(-50%,-50%) rotate(-20deg)}
.fm-gb-t .ring{box-sizing:border-box;border:0.323cqw solid;opacity:0}
.fm-gb-art.is-play .fm-gb-t .st,.fm-gb-art.is-play .fm-gb-t .ring,.fm-gb-art.is-play .fm-gb-t .slot{animation-duration:6s;animation-iteration-count:infinite;animation-fill-mode:both}
#visual .fm-gb-slide .banner-text-wrap .banner-sub-title,#visual .swiper .swiper-slide.fm-gb-slide .banner-text-wrap .banner-sub-title{color:#2B3A22}
#visual .fm-gb-slide .banner-text-wrap .banner-title,#visual .swiper .swiper-slide.fm-gb-slide .banner-text-wrap .banner-title{color:#0E1F18}
.fm-gb-t.t0{left:50.000cqw;top:17.565cqw;transform:translate(-50%,-50%) rotate(-2.0deg)} .fm-gb-t.t0 .in{background:#FFFFFF} .fm-gb-t.t0 small{color:#1B1F1C} .fm-gb-t.t0 b{color:#0E1F18} .fm-gb-t.t0 .d{border-color:#C9CCC6} .fm-gb-t.t0 .st,.fm-gb-t.t0 .ring,.fm-gb-t.t0 .slot{border-color:#111A16;color:#111A16}
.fm-gb-art.is-play .fm-gb-t.t0 .st{animation-name:fm-gb-st0} .fm-gb-art.is-play .fm-gb-t.t0 .ring{animation-name:fm-gb-r0} .fm-gb-art.is-play .fm-gb-t.t0 .slot{animation-name:fm-gb-s0}
@keyframes fm-gb-st0{
  0.000%{opacity:0;transform:translate(-50%,-50%) rotate(-48deg) scale(1.9)}
  10.000%{opacity:0;transform:translate(-50%,-50%) rotate(-48deg) scale(1.9)}
  12.333%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(0.88)}
  14.333%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1.06)}
  16.667%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1)}
  86.667%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1)}
  92.500%{opacity:0;transform:translate(-50%,-50%) rotate(-20deg) scale(0.92)}
  100.000%{opacity:0;transform:translate(-50%,-50%) rotate(-20deg) scale(0.92)}
}
@keyframes fm-gb-r0{  0%,12.167%{opacity:0;transform:translate(-50%,-50%) scale(1)} 12.500%{opacity:.7;transform:translate(-50%,-50%) scale(1)} 20.833%,100%{opacity:0;transform:translate(-50%,-50%) scale(1.45)}}
@keyframes fm-gb-s0{  0%,11.667%{opacity:.75} 12.667%,90.000%{opacity:0} 95.000%,100%{opacity:.75}}
.fm-gb-t.t1{left:50.000cqw;top:43.211cqw;transform:translate(-50%,-50%) rotate(1.5deg)} .fm-gb-t.t1 .in{background:#0E1F18} .fm-gb-t.t1 small{color:#CDF564} .fm-gb-t.t1 b{color:#CDF564} .fm-gb-t.t1 .d{border-color:#637F3A} .fm-gb-t.t1 .st,.fm-gb-t.t1 .ring,.fm-gb-t.t1 .slot{border-color:#CDF564;color:#CDF564}
.fm-gb-art.is-play .fm-gb-t.t1 .st{animation-name:fm-gb-st1} .fm-gb-art.is-play .fm-gb-t.t1 .ring{animation-name:fm-gb-r1} .fm-gb-art.is-play .fm-gb-t.t1 .slot{animation-name:fm-gb-s1}
@keyframes fm-gb-st1{
  0.000%{opacity:0;transform:translate(-50%,-50%) rotate(-48deg) scale(1.9)}
  20.000%{opacity:0;transform:translate(-50%,-50%) rotate(-48deg) scale(1.9)}
  22.333%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(0.88)}
  24.333%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1.06)}
  26.667%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1)}
  86.667%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1)}
  92.500%{opacity:0;transform:translate(-50%,-50%) rotate(-20deg) scale(0.92)}
  100.000%{opacity:0;transform:translate(-50%,-50%) rotate(-20deg) scale(0.92)}
}
@keyframes fm-gb-r1{  0%,22.167%{opacity:0;transform:translate(-50%,-50%) scale(1)} 22.500%{opacity:.7;transform:translate(-50%,-50%) scale(1)} 30.833%,100%{opacity:0;transform:translate(-50%,-50%) scale(1.45)}}
@keyframes fm-gb-s1{  0%,21.667%{opacity:.75} 22.667%,90.000%{opacity:0} 95.000%,100%{opacity:.75}}
.fm-gb-t.t2{left:50.000cqw;top:68.642cqw;transform:translate(-50%,-50%) rotate(-1.8deg)} .fm-gb-t.t2 .in{background:#D63F08} .fm-gb-t.t2 small{color:#FFFFFF} .fm-gb-t.t2 b{color:#FFFFFF} .fm-gb-t.t2 .d{border-color:#F1A184} .fm-gb-t.t2 .st,.fm-gb-t.t2 .ring,.fm-gb-t.t2 .slot{border-color:#FFFFFF;color:#FFFFFF}
.fm-gb-art.is-play .fm-gb-t.t2 .st{animation-name:fm-gb-st2} .fm-gb-art.is-play .fm-gb-t.t2 .ring{animation-name:fm-gb-r2} .fm-gb-art.is-play .fm-gb-t.t2 .slot{animation-name:fm-gb-s2}
@keyframes fm-gb-st2{
  0.000%{opacity:0;transform:translate(-50%,-50%) rotate(-48deg) scale(1.9)}
  30.000%{opacity:0;transform:translate(-50%,-50%) rotate(-48deg) scale(1.9)}
  32.333%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(0.88)}
  34.333%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1.06)}
  36.667%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1)}
  86.667%{opacity:1;transform:translate(-50%,-50%) rotate(-20deg) scale(1)}
  92.500%{opacity:0;transform:translate(-50%,-50%) rotate(-20deg) scale(0.92)}
  100.000%{opacity:0;transform:translate(-50%,-50%) rotate(-20deg) scale(0.92)}
}
@keyframes fm-gb-r2{  0%,32.167%{opacity:0;transform:translate(-50%,-50%) scale(1)} 32.500%{opacity:.7;transform:translate(-50%,-50%) scale(1)} 40.833%,100%{opacity:0;transform:translate(-50%,-50%) scale(1.45)}}
@keyframes fm-gb-s2{  0%,31.667%{opacity:.75} 32.667%,90.000%{opacity:0} 95.000%,100%{opacity:.75}}
.fm-gb-art:not(.is-play) .fm-gb-t .slot{opacity:0}
@media (prefers-reduced-motion:reduce){.fm-gb-art.is-play *{animation:none!important}.fm-gb-t .slot{opacity:0!important}}
/* ===== /공동구매 ===== */

.fm-gbm .tx .stp{font:inherit;color:inherit;letter-spacing:inherit}
.fm-gbm .tx .stp>span{display:inline-block;font:inherit;color:inherit;letter-spacing:inherit;transform-origin:50% 60%;animation:fm-gbm-stp 3s infinite both}
.fm-gbm .tx .stp>span:nth-child(1){animation-delay:.15s}
.fm-gbm .tx .stp>span:nth-child(2){animation-delay:.3s}
.fm-gbm .tx .stp>span:nth-child(3){animation-delay:.45s}
.fm-gbm .tx .stp>span:nth-child(4){animation-delay:.6s}
@keyframes fm-gbm-stp{0%{opacity:0;transform:scale(2.4) rotate(-12deg)}7%{opacity:1;transform:scale(.88) rotate(0)}10%{transform:scale(1.06)}13%,85%{opacity:1;transform:scale(1)}93%,100%{opacity:0;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.fm-gbm .tx .stp>span{animation:none}}

/* 모바일 메뉴 «공동구매» SALE 알약 — 모양·반짝임은 사이트 .mo-nav-new 그대로, 색만 공구 라임 */
.header_mo_open .mo-nav-new.fm-gb-sale{background:#CDF564;color:#0E1F18 !important;font-size:11px !important;font-weight:500;padding:3px 8px;letter-spacing:0}
/* 모바일 메인 슬라이드 제목: 사이트 32px 이면 첫 줄이 글자칸(319px)을 꽉 채워 360px 폰에서 세 줄 → 이 슬라이드만 28px · 줄 안에서 안 꺾이게 */
@media (max-width:767px){#visual .swiper .swiper-slide.fm-gb-slide .banner-text-wrap .banner-title{font-size:28px;white-space:nowrap}}
/* 흰 글씨용 사이트 그림자가 진한 글씨엔 번져 보여 이 슬라이드만 끔 */
#visual .swiper .swiper-slide.fm-gb-slide .banner-text-wrap .banner-title,#visual .swiper .swiper-slide.fm-gb-slide .banner-text-wrap .banner-sub-title{text-shadow:none}
/* [2026-11-13] PC 상단 메뉴 9칸(행사영상+공동구매 같이) — common.css 는 8칸 기준(칸 124px · 8번째=커뮤니티 190px)이라 1366 이하에서 커뮤니티가 겹치거나 밀림.
   칸 108px · 190px 은 마지막 칸(커뮤니티)으로 → 전체 폭 = 라이브 8칸과 같음(85+108×8+190=1139 ≤ 라이브 1143) */
/* [2026-11-13 2판] 진수님 «커뮤니티 혼자 큼 · 줄이면 전체메뉴 열 때 붙음» → 9칸 전부 112px(85+112×9=1093 · 1280 화면에서 커뮤니티↔아이콘 간격 확보) · 커뮤니티 펼침만 왼쪽 정렬 + 시작을 «커뮤니티» 글자 왼쪽 끝에 → 넘치는 건 오른쪽(펼친 판 오른쪽은 빈 곳) */
.header_fixed .lnb .inner_lnb .gnb_item{min-width:112px}
.header_fixed .lnb .inner_lnb .gnb_item:nth-child(8),.header_fixed .lnb .inner_lnb .gnb_item:last-child{min-width:112px}
.header_fixed .lnb .inner_lnb .gnb_item:last-child .wrapSub,.header_fixed .lnb .inner_lnb .gnb_item:last-child .wrapSub .inner{text-align:left}
.header_fixed .lnb .inner_lnb .gnb_item:last-child .wrapSub .inner ul.lnb_list li a{justify-content:flex-start;white-space:nowrap;padding-left:var(--fm-comm-pad,32px)}
/* [2026-11-13] 커뮤니티 펼침 «💌 모바일초대장 FREE» — new 알약(common.css .nav-new-icon) 그대로, 배경만 노랑 */
.header_fixed .lnb .gnb_item .wrapSub .inner ul.lnb_list li a .nav-new-icon.fm-free-icon{background:#FFC300}
