@charset "UTF-8";
/* Made by Masstige */
:root {
  /* brand */
  --deep: #0b473a;
  /* 검색 버튼 · 딥그린 */
  --green: #1d783b;
  /* 배지 · 포인트 */
  --orange: #ff7904;
  --blue: #1e62d2;
  --violet: #6921a9;
  --map-tour: #3b82f6;
  /* tint */
  --tint-g: #e2f3e6;
  --tint-c: #fbf5e9;
  --tint-b: #e8f1fa;
  --tint-p: #f2ecfb;
  /* ink */
  --ink: #000;
  --ink80: rgba(0, 0, 0, 0.8);
  --ink70: rgba(0, 0, 0, 0.7);
  --ink60: rgba(0, 0, 0, 0.6);
  --ink50: rgba(0, 0, 0, 0.5);
  --ink30: rgba(0, 0, 0, 0.3);
  --gray: #666;
  --gray2: #888;
  --gray3: #999;
  /* line */
  --l10: rgba(0, 0, 0, 0.1);
  --l15: rgba(0, 0, 0, 0.15);
  --l20: rgba(0, 0, 0, 0.2);
  /* layout */
  --wrap: 1200px;
  --wrap-wide: 1440px;
  --gut: 40px;
  --hdr-h: 120px;
  --font:
    "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --e-io: cubic-bezier(0.65, 0, 0.35, 1);
  --e-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fs: 1;
  /* 반응형 타이포 배율 */
}

/* 메인 페이지 브랜드 베이스 (공통 reset은 common 쪽 사용) */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - var(--gut) * 2, var(--wrap));
  margin-inline: auto;
}

.wrap_wide {
  --wrap:var(--wrap-wide);
}

/* scoped reset — 기존 app.css 위에서 퍼블 마크업이 퍼블처럼 보이도록.
   스코프는 :where() 로 감싸 specificity 를 요소 수준(0,0,1)으로만 둔다:
   app.css 의 요소 규칙(h2, img, button …)은 이기고(나중 로드), 퍼블 단일 클래스 규칙(.t28, .hero_cta …)에는 진다. */
:where(.hdr, .gnb, .ftr, .rail, .main-body) {
  font-family: var(--font);
}

:where(.hdr, .gnb, .ftr, .rail, .main-body main) :is(ul, ol, li) {
  list-style: none;
}

:where(.hdr, .gnb, .ftr, .main-body main) :is(h1, h2, h3, h4, h5, h6) {
  font-family: inherit;
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
}

:where(.hdr, .gnb, .ftr, .rail, .main-body main) img {
  display: inline-block;
  vertical-align: top;
  object-fit: initial;
}

:where(.hdr, .gnb, .rail, .main-body main) button {
  cursor: pointer;
  color: inherit;
}

/* 퍼블 common.css 표시 유틸 (메인 마크업 사용: br.d-md-none.d-block) — 정의·순서 그대로 */
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
@media (min-width: 768.02px) {
  .d-md-none {
    display: none !important;
  }
}

/* ═══════════ FRIDAY TOUR BALI — HEADER (.hdr) ═══════════ */
html {
  scroll-padding-top: 130px;
}

/* ═══════════ HEADER ═══════════ */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* 피그마 3395:49804: 흰 배경 + drop-shadow 0 4px 2px rgba(0,0,0,.05) (border 없음 → 높이 120 유지) */
  background: #fff;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.55s var(--e-out), box-shadow 0.35s ease, background-color 0.35s ease;
  will-change: transform;
}
.hdr.is_hidden {
  transform: translate3d(0, -100%, 0);
}
.hdr.is_stuck {
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
}
/* 메인(피그마 4107:34634): 최상단에선 배경·그림자 없는 투명 헤더, 스크롤하면 흰 배경+그림자 */
.main-body .hdr:not(.is_stuck) {
  background: transparent;
  box-shadow: none;
}

.hdr_inner {
  padding: 20px 0 0;
}

.hdr_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 40px;
}

.hdr_brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5.5px;
  flex: none;
}
@media all and (max-width: 768px) {
  .logo {
    width: 30px;
    height: 30px;
  }
  .logo svg {
    width: 100%;
  }
}
.logo img:first-child {
  width: 36px;
  height: 36px;
  transition: transform 0.5s var(--e-back);
}

.logo_word {
  width: 0;
  opacity: 0;
  transition: width 0.45s var(--e-out), opacity 0.3s ease;
}

.logo:hover img:first-child {
  transform: rotate(-12deg) scale(1.08);
}

.hdr.is_stuck .logo_word {
  width: 120px;
  opacity: 1;
}

.qsearch {
  position: relative;
  display: flex;
  align-items: center;
  width: 249px;
  height: 40px;
  border-radius: 999px;
  background: #f5f6f6;
  transition: background 0.3s ease, box-shadow 0.3s ease, width 0.4s var(--e-out);
}
.qsearch input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 44px 0 16px;
  border: 0;
  background: none;
  font-size: 14px;
  letter-spacing: -0.42px;
  color: #000;
  border-radius: 999px;
}
.qsearch input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}
.qsearch button {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.qsearch:focus-within button {
  opacity: 1;
}

.hdr_util {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  line-height: normal;
  letter-spacing: -0.39px;
  color: rgba(0, 0, 0, 0.5);
}
/* 로그인 상태(피그마 3395:50945): 장바구니 · 구분선 · 프로필 gap 20 */
.hdr_top .hdr_util:has(.hdr_profile) {
  gap: 20px;
}
.hdr_util a {
  transition: color 0.25s ease;
}
.hdr_util .user_login {
  display: none;
}
.hdr_util a:hover {
  color: var(--green);
}

.hdr_bar {
  width: 1px;
  height: 8px;
  background: rgba(0, 0, 0, 0.15);
}

.hdr_login {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #000;
}
.hdr_login img {
  width: 16px;
  height: 16px;
}
/* 서브 페이지 데스크톱(피그마 3395:61564·3760:78141·3457:80797 등 전 서브 프레임): "로그인" 텍스트만, 사람 아이콘 없음.
   아이콘은 메인 홈 프레임(4107:34685)에만 있다. 서브 프레임도 아이콘 자리(16+4)는 비워 둔 배치라
   (장바구니 x1478·예약조회 x1515·로그인 x1647) 자리는 유지하고 그림만 숨긴다 */
@media (min-width: 1181px) {
  body:not(.main-body) .hdr_top .hdr_login img {
    visibility: hidden;
  }
}

@media (max-width: 1180px) {
  .hdr_inner {
    padding: 14px 0;
  }
  .hdr_util > a,
  .hdr_bar {
    display: none;
  }
  .hdr_login {
    display: inline-flex;
  }
  .qsearch {
    width: 200px;
  }
}
@media (max-width: 900px) {
  html {
    scroll-padding-top: 110px;
  }
  .hdr_brand {
    gap: 12px;
  }
  .qsearch {
    width: 150px;
  }
  .user_login {
    display: flex !important;
  }
}
@media (max-width: 600px) {
  .hdr_brand .qsearch {
    display: none;
  }
}
/* ═══════════ FRIDAY TOUR BALI — NAV (.gnb) ═══════════ */
.gnb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* 피그마 헤더 120 = 상단 20 + 유틸행 40 + 20 + GNB 21 + 하단 19 */
  padding: 20px 0 19px;
}
.gnb .hdr_util {
  display: none;
  position: absolute;
  top: 24px;
}
@media (max-width: 1180px) {
  .gnb .hdr_util {
    display: flex;
  }
}
.gnb .hdr_bar, .gnb .hdr_util > a {
  display: block;
}

.gnb_main {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.gnb_main li {
  display: flex;
}
.gnb_main li a {
  position: relative;
  display: block;
  font-size: calc(18px * var(--fs));
  font-weight: 500;
  line-height: 21px;
  letter-spacing: -0.54px;
  color: #000;
}
.gnb_main li a span {
  position: relative;
  display: inline-block;
  transition: transform 0.35s var(--e-out), color 0.25s ease;
}
.gnb_main li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.4s var(--e-out);
}
.gnb_main li a:hover span {
  transform: translateY(-2px);
  color: var(--green);
}
.gnb_main li a:hover span::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.gnb_sub {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: -0.42px;
  color: rgba(0, 0, 0, 0.6);
}
.gnb_sub a {
  display: inline-block;
  transition: color 0.25s ease;
}
.gnb_sub a:hover {
  color: var(--green);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger i {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--e-out), opacity 0.25s ease;
}
.burger[aria-expanded=true] i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded=true] i:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded=true] i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.gnb_dim {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gnb_dim.is_on {
  opacity: 1;
}

@media (max-width: 1180px) {
  .burger {
    display: flex;
    position: relative;
    z-index: 1002;
  }
  .gnb {
    position: fixed;
    left: auto;
    right: 0;
    top: 0;
    z-index: 1001;
    width: min(360px, 86vw);
    height: 100dvh;
    padding: 66px 20px 40px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.14);
    transform: translateX(100%);
    transition: transform 0.5s var(--e-out);
    overflow-y: auto;
  }
  .gnb.is_open {
    transform: none;
  }
  .gnb_main {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .gnb_main > li > a {
    padding: 14px 4px;
    font-size: 19px;
    font-weight: 600;
    border-bottom: 1px solid var(--l10);
  }
  .gnb_main > li > a::after {
    display: none;
  }
  .gnb_sub {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
  body.is_locked {
    overflow: hidden;
  }
}
/* ═══════════ FRIDAY TOUR BALI — FOOTER (.ftr) ═══════════ */
/* ═══════════ FOOTER ═══════════ */
/* 피그마 4107:35286 / 3395:49771 — 수치는 get_design_context 기준 */
.ftr {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  /* 피그마 보더는 안쪽 선이라 높이에 더해지지 않음 → 위 패딩 39 (총 324) */
  padding: 39px 0 40px;
  background: #fff;
}

.ftr_inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 60px;
}

.ftr_left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.logo_ftr {
  display: block;
  width: 192.236px;
  height: 24px;
}
.logo_ftr img {
  display: block;
  width: 192.236px;
  height: 24px;
}

.ftr_corp {
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.39px;
  color: #000;
}

.ftr_meta {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ftr_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.36px;
}
.ftr_info > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ftr_info dt {
  width: 120px;
  flex: none;
  color: #999;
}
.ftr_info dd {
  color: #333;
}
.ftr_info a {
  transition: color 0.25s ease;
}
.ftr_info a:hover {
  color: var(--green);
  text-decoration: underline;
}

.ftr_copy {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: -0.33px;
  color: #999;
}

.ftr_right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.ftr_contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ftr_tel {
  font-size: calc(26px * var(--fs));
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.78px;
  color: #000;
}
.ftr_tel a {
  transition: color 0.25s ease;
}
.ftr_tel a:hover {
  color: var(--green);
}

.ftr_hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: calc(16px * var(--fs));
  line-height: normal;
  letter-spacing: -0.48px;
}
.ftr_hours > div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ftr_hours dt {
  color: #000;
}
.ftr_hours dd {
  color: rgba(0, 0, 0, 0.6);
}

.ftr_sns {
  display: flex;
  gap: 20px;
  align-items: center;
}
.ftr_sns a {
  display: block;
  transition: transform 0.4s var(--e-back), opacity 0.25s ease;
}
.ftr_sns li:first-child img {
  width: 20.296px;
  height: 22px;
}
.ftr_sns a:hover {
  transform: translateY(-4px) scale(1.12);
}

.ftr_policy {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: auto;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.39px;
  color: #444;
}
.ftr_policy a {
  transition: color 0.25s ease;
}
.ftr_policy a:hover {
  color: var(--green);
}
@media (min-width: 1181px) {
  .ftr_info dd {
    white-space: nowrap;
  }
}
@media (min-width: 1341px) {
  /* 피그마 4107:35335 오른쪽 열 폭 426(정책 링크 행 hug). 웹폰트 글자 폭이 피그마 텍스트 박스(정수 올림)보다
     좁아 열이 4.6px 오른쪽으로 밀리던 것 → 열 폭을 고정하고 링크를 양끝 정렬(간격 ≈26, 위치 ±1).
     1340 이하는 왼쪽 열(주소 nowrap)과 합이 컨테이너를 넘을 수 있어 기존 gap 26 유지 */
  .ftr_right {
    width: 426px;
    flex: none;
  }
  .ftr_policy {
    align-self: stretch;
    justify-content: space-between;
    gap: 26px 0;
  }
}

/* ═══════════ 사이드 퀵바 ═══════════ */
/* ═══════════ 사이드 퀵바 ═══════════ */
.rail {
  position: fixed;
  right: 47px;
  bottom: 40px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rail_i {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.39px;
  color: #fff;
  /* 피그마 4107:34601: 그림자 없음 */
  box-shadow: none;
  transition: transform 0.4s var(--e-back), box-shadow 0.35s ease, filter 0.3s ease;
}
.rail_i img {
  width: auto;
  height: 28px;
  transition: transform 0.45s var(--e-back);
}

.rail_i_kakao {
  background: #fee500;
  color: #000;
  gap: 3px;
}
.rail_i_kakao img {
  width: 30.308px;
  height: 28px;
}

.rail_i_green {
  background: var(--green);
}

.rail_i_dark {
  background: #333;
}
.rail_i_dark img {
  height: 26px;
}
.rail_i_green img {
  width: 28px;
}

.rail_top {
  display: block;
  width: 80px;
  height: 36px;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s var(--e-out), visibility 0.35s, filter 0.25s ease;
}
.rail_top img {
  width: 80px;
  height: 36px;
}
.rail_top.is_on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.rail_top:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

/* 데스크톱: 피그마 4107:34601 / 3395:49739 — 모든 프레임에서 화면 상단 y681, 오른쪽 47 고정, TOP 버튼 상시 표시.
   뷰포트가 낮으면(681+294 > 높이) 아래 40px 여백을 남기도록 위로 끌어올린다. */
@media (min-width: 1341px) {
  .rail {
    top: min(681px, calc(100vh - 334px));
    bottom: auto;
  }
  .rail_top {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
@media (max-width: 1340px) {
  .rail {
    right: 20px;
    bottom: 110px;
  }
}
@media (max-width: 1180px) {
  .ftr_inner {
    flex-direction: column;
    gap: 36px;
  }
  .ftr_right {
    min-height: 0;
  }
}
@media (max-width: 900px) {
  .rail {
    right: 14px;
    bottom: 90px;
    gap: 4px;
  }
  .rail_i {
    width: 60px;
    height: 60px;
    font-size: 10px;
    gap: 3px;
    border-radius: 14px;
  }
  .rail_i img,
  .rail_i_dark img {
    height: 22px;
  }
  .rail_top, .rail_top img {
    width: 60px;
    height: 28px;
  }
}
@media (max-width: 600px) {
  .ftr_info > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .ftr_info dd {
    line-height: 1.4;
  }
  .ftr_info dt {
    width: auto;
  }
  .ftr_policy {
    gap: 14px;
  }
  /* 좁은 화면에서는 퀵바를 아이콘만 남겨 본문 가림을 줄인다 */
  .rail {
    right: 10px;
    bottom: 46px;
  }
  .rail_i {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    gap: 0;
  }
  .rail_i span {
    display: none;
  }
  .rail_i img,
  .rail_i_dark img {
    height: 20px;
  }
  .rail_top, .rail_top img {
    width: 46px;
    height: 22px;
  }
}


/* ═══════════ 실사이트 확장 (담당 A) ═══════════
   퍼블에 없는 동적 요소(장바구니·프로필·GNB 드롭다운)와 전 페이지 공용 보정. */

/* 스킵 링크 (퍼블 _skip.scss) */
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 10000;
  background: var(--deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  text-decoration: none;
  transition: top 0.25s var(--e-out);
}
.skip:focus {
  top: 16px;
}

/* 헤더 공통: app.css 의 a/버튼 기본값 무력화 */
:where(.hdr, .gnb, .ftr, .rail) a {
  color: inherit;
  text-decoration: none;
}
:where(.hdr, .gnb, .rail) button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}
:where(.hdr, .gnb) :is(ul, ol), :where(.ftr) :is(ul, ol, dl, dd, p) {
  margin: 0;
  padding: 0;
}
:where(.hdr, .gnb, .ftr, .rail) * {
  box-sizing: border-box;
}

/* 반응형 여백·글자 배율 — 메인(fb-main.css :root)과 같은 단계를 서브 페이지 헤더·푸터에도 적용.
   (서브는 fb-main.css 를 안 읽어 390폭에서도 좌우 40px 이라 메인과 헤더 위치가 달랐다) */
@media (max-width: 1560px) {
  .hdr, .ftr { --fs: 0.95; --gut: 32px; }
}
@media (max-width: 1340px) {
  .hdr, .ftr { --fs: 0.92; --gut: 28px; }
}
@media (max-width: 900px) {
  .hdr, .ftr { --fs: 0.88; --gut: 20px; }
}

/* 모바일 드로어: 닫혀 있을 땐 화면 밖 메뉴를 숨겨 포커스·스크린리더·측정에서 빠지게 한다 */
@media (max-width: 1180px) {
  .gnb {
    visibility: hidden;
    transition: transform 0.5s var(--e-out), visibility 0s linear 0.5s;
  }
  .gnb.is_open {
    visibility: visible;
    transition: transform 0.5s var(--e-out), visibility 0s;
  }
}

/* 헤더 z-index: 플래너 플로트 패널(1000)·설정바(1001)보다 위, 예약 모달(20000)보다 아래 */
.hdr {
  z-index: 5000;
}
.gnb_dim {
  z-index: 4990;
}

/* 메인(body.main-body)은 퍼블처럼 fixed + 히어로가 헤더 높이만큼 패딩.
   그 외 페이지는 sticky 로 문서 흐름을 유지해 본문이 가려지지 않게 한다. */
body:not(.main-body) .hdr {
  position: sticky;
}
body:not(.main-body) {
  scroll-padding-top: 130px;
}

/* GNB 2뎁스 드롭다운 (데스크톱 hover/focus) */
.gnb_main > li {
  position: relative;
}
.gnb_drop {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  min-width: 180px;
  padding-top: 14px;
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s var(--e-out), visibility 0.25s;
}
.gnb_drop ul {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--l10);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(11, 71, 58, 0.12);
}
.gnb_drop li {
  display: block;
}
.gnb_main .gnb_drop a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink70);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.gnb_main .gnb_drop a::after {
  display: none;
}
.gnb_main .gnb_drop a:hover,
.gnb_main .gnb_drop a:focus-visible {
  background: var(--tint-g);
  color: var(--deep);
}
@media (min-width: 1181px) {
  .gnb_main > li.has_sub:hover > .gnb_drop,
  .gnb_main > li.has_sub:focus-within > .gnb_drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .gnb_main > li:first-child > .gnb_drop {
    left: 0;
    transform: translate(0, 8px);
  }
  .gnb_main > li:first-child.has_sub:hover > .gnb_drop,
  .gnb_main > li:first-child.has_sub:focus-within > .gnb_drop {
    transform: translate(0, 0);
  }
}
@media (max-width: 1180px) {
  .gnb_drop {
    display: none;
  }
  /* 드로어에서 메뉴 구분선이 텍스트 폭이 아닌 전체 폭으로 */
  .gnb_main > li {
    flex-direction: column;
  }
}

/* 장바구니 — 피그마 3395:50946: 20x20 아이콘(#333, 선 1.667) + 배지 */
.hdr_util > a.hdr_cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #333;
}
.hdr_cart svg {
  display: block;
  width: 20px;
  height: 20px;
}
.hdr_util > a.hdr_cart:hover {
  color: var(--green);
}
.hdr_cart .gnb-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 15.84px;
  height: 14px;
  padding: 0 4.84px 0 5px;
  border-radius: 7.46px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: 0;
  text-align: center;
}

/* 프로필 드롭다운 (로그인) — 피그마 3395:50824 로그인 후 헤더 */
.hdr_profile {
  position: relative;
  padding-left: 20px;
}
.hdr_profile::before {
  content: "";
  position: absolute;
  left: -0.5px;
  top: 50%;
  width: 1px;
  height: 8px;
  background: rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
}
.hdr_profile_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.42px;
  transition: color 0.25s ease;
}
.hdr_profile_btn:hover {
  background: none;
  color: var(--green);
}
.hdr_profile_btn[aria-expanded=true] {
  background: none;
}
.hdr_chev {
  /* 피그마 Vector 7x3.5 (선 1.5 포함 8.5x5, 바깥 0.75 여백) */
  width: 8.5px;
  height: 5px;
  margin: -0.75px;
  flex: none;
  color: #666;
  transition: transform 0.3s var(--e-out);
}
.hdr_profile_btn[aria-expanded=true] .hdr_chev {
  transform: rotate(180deg);
}
.hdr_avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex: none;
}
.hdr_avatar_lg {
  width: 38px;
  height: 38px;
  font-size: 15px;
}
/* 회원 사진 아바타 (피그마 3395:83863 — 30px 원형, object-fit cover) */
.hdr_avatar.has-img {
  background: #eee;
  overflow: hidden;
}
.hdr_avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hdr_profile_menu {
  position: absolute;
  right: -59px;
  top: calc(100% + 11px);
  z-index: 50;
  width: 220px;
  padding: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  /* 피그마 3395:102301 렌더(캡처): 박스 y66, 아래쪽으로 약 10px·좌우 약 3px 퍼지는 옅은 그림자가 보인다 */
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
}
@media (max-width: 1560px) {
  .hdr_profile_menu {
    right: 0;
  }
}
.hdr_profile_menu[hidden] {
  display: none;
}
.hdr_profile_head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  margin: 0;
}
.hdr_profile_meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hdr_profile_meta_name {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 23.2px;
  letter-spacing: -0.435px;
  color: #111827;
}
.hdr_profile_meta_name:hover {
  color: var(--green);
}
.hdr_profile_meta_email {
  font-size: 11px;
  line-height: 18.4px;
  letter-spacing: -0.33px;
  color: #9ca3af;
  word-break: break-all;
}
.hdr_profile_list {
  margin: 0;
  padding: 8.6px 0 8.4px;
  list-style: none;
}
.hdr_profile_list a,
.hdr_profile_logout {
  display: block;
  padding: 9.5px 16px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 21.6px;
  letter-spacing: -0.42px;
  color: #555;
  transition: background 0.2s ease, color 0.2s ease;
}
.hdr_profile_list a.is_primary {
  font-weight: 400;
  color: #555;
}
.hdr_profile_list a:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--green);
}
.hdr_profile_logout {
  margin-top: 0;
  padding: 11px 16px 14.2px;
  border-top: 1px solid #e5e7eb;
  border-radius: 0 0 7px 7px;
  color: #ef4444;
  font-weight: 400;
}
.hdr_profile_logout:hover {
  background: #fff5f5;
  color: #ef4444;
}

@media (max-width: 1180px) {
  .hdr_profile {
    display: none;
  }
  .hdr_util .user_login {
    display: flex !important;
  }
  .hdr_util {
    gap: 10px;
  }
}

/* 퀵바: 상품 상세 하단 예약 바(.ft-rami-mobile-bar, ≤1023px) 위로 */
@media (max-width: 1023px) {
  body:has(.ft-rami-mobile-bar) .rail {
    bottom: 150px;
  }
}
@media (max-width: 600px) {
  body:has(.ft-rami-mobile-bar) .rail {
    bottom: 110px;
  }
}
/* 아야나 특별관 모바일은 자체 하단 UI 사용 */
@media (max-width: 900px) {
  body.ayana-active .rail {
    display: none !important;
  }
}
@media print {
  .hdr, .gnb_dim, .rail {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .ftr_hours > div {
    gap: 4px 16px;
  }
}
