body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  letter-spacing: var(--ls-body);
}
/* 제목은 본문 자간을 물려받지 않는다. 자간을 따로 정한 제목(.t-h1 · 카드 제목 등)은 각 규칙이 덮는다 */
h1,
h2,
h3,
h4,
h5,
h6,
[class*='__title'] {
  letter-spacing: normal;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 섹션: 전체 폭 배경 + 동일한 위아래 여백 */
.section {
  padding-block: var(--section-space);
}
.section--soft {
  background: var(--color-bg-soft);
}

.section__inner {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

/* 섹션 제목 + 오른쪽 설명 (좁으면 아래로) */
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
}
.section__head .t-h2 {
  max-width: 520px;
}
.section__head .t-lead {
  max-width: 400px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
/* <site-header>·<site-footer> 커스텀 엘리먼트 래퍼는 박스를 만들지 않는다 (assets/js/components/site-*-element.js) */
site-header,
site-footer {
  display: contents;
}


/* 화면 상단 고정. 최상단에서는 흰 바, 스크롤하면 반투명 바로 바뀐다 (.is-scrolled). 폭·높이는 그대로 유지한다 */
html {
  scroll-padding-top: calc(var(--header-height) + 16px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  pointer-events: none; /* 바깥 투명 영역이 아래 콘텐츠 클릭을 막지 않게 */
}

/* PC: 로고 | 메뉴(가운데) | 버튼. 양쪽 열을 같은 폭(1fr)으로 둬 메뉴가 화면 정가운데에 온다 */
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); /* 좁은 화면에서도 로고 · 버튼이 줄어들지 않게 */
  align-items: center;
  gap: 24px;
  max-width: 100%; /* 화면 전체 폭 (100dvw는 스크롤바 폭만큼 넘치므로 100% 사용) */
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  pointer-events: auto;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 모든 페이지에서 맨 위에서는 불투명한 흰 바로 자기 자리를 차지하고(히어로는 헤더 아래에서 시작),
   스크롤하면 콘텐츠 위에 뜬 반투명 바로 바뀐다 */
.site-header:not(.is-scrolled) .site-header__inner {
  background: var(--color-bg);
  border-bottom-color: var(--color-line);
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(247, 248, 252, 0.72);
  border-bottom-color: rgba(20, 25, 46, 0.08);
  box-shadow: 0 10px 30px -18px rgba(20, 25, 46, 0.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}

.logo {
  flex: none;
  justify-self: start;
  display: flex;
  align-items: center;
}
.logo img {
  height: 32px;
  width: auto;
}
.logo__text {
  font: 800 20px var(--font-display);
  letter-spacing: var(--ls-snug);
}

/* PC: .gnb 자체는 상자를 만들지 않고, 메뉴 묶음(.gnb__menu)과 버튼 묶음(.gnb__actions)이 헤더 그리드의 가운데 · 오른쪽 열에 들어간다 */
.gnb {
  display: contents;
  font-size: 17px;
  color: var(--color-text-body);
  white-space: nowrap;
}
.gnb a:not(.btn):hover {
  color: var(--color-blue-strong);
}

.gnb__menu {
  position: relative; /* 차량 패널(.mega)을 메뉴 시작 위치에 맞춰 띄우는 기준 */
  align-self: stretch; /* 메뉴 항목이 헤더 높이를 채워야 서브메뉴가 헤더 바로 아래에 붙는다 */
  display: flex;
}
.gnb__list {
  align-self: stretch;
  display: flex;
  gap: 36px;
}
.gnb__item {
  position: relative;
  display: flex;
  align-items: center;
}
.gnb__link {
  display: flex;
  align-items: center;
  height: 100%;
}
.gnb__item:hover > .gnb__link,
.gnb__item:focus-within > .gnb__link {
  color: var(--color-blue-strong);
}
/* 핵심 서비스 메뉴(퀵서비스 ~ 차량 추천받기)는 디스플레이 서체 ExtraBold로 더 굵게 */
.gnb__item--strong > .gnb__link {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* 서브메뉴: 대메뉴에 마우스를 올리거나 키보드 포커스가 들어오면 아래로 펼쳐진다 */
.gnb__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 168px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity var(--transition-fast) ease, transform var(--transition-fast) var(--ease-out),
    visibility 0s linear var(--transition-fast);
}
.gnb__item:hover > .gnb__sub,
.gnb__item:focus-within > .gnb__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.gnb__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  color: var(--color-text-body);
}
.gnb__sub a:hover,
.gnb__sub a:focus-visible {
  background: var(--color-bg-soft);
  color: var(--color-blue-strong);
}

.gnb .btn {
  padding: 11px 20px;
  border-radius: var(--radius-xs);
  font-size: var(--fs-small);
}
/* PC: 즐겨찾기 · 전화 · 온라인 접수 버튼을 헤더 오른쪽 끝에 나란히 둔다 */
.gnb__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* PC 전용 즐겨찾기 버튼 (온라인 접수 왼쪽). 누르면 아래에 단축키 안내 말풍선 (bookmark.js) */
.bookmark {
  position: relative;
  margin-right: 12px; /* 버튼끼리(8px)보다 조금 더 띄워 전화 버튼과 구분한다 */
}
.bookmark__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.bookmark__button:hover,
.bookmark__button[aria-expanded='true'] {
  color: var(--color-blue-strong);
}
.bookmark__icon {
  flex: none;
}
.bookmark__tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 10px 14px;
  background: var(--color-ink);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
  font-size: var(--fs-caption);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity var(--transition-fast) ease, transform var(--transition-fast) var(--ease-out),
    visibility 0s linear var(--transition-fast);
}
.bookmark__tip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  border: 6px solid transparent;
  border-bottom-color: var(--color-ink);
  transform: translateX(-50%);
}
.bookmark.is-open .bookmark__tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.bookmark__tip kbd {
  font: inherit;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-fast);
}
.menu-toggle__bar {
  position: relative;
}
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-toggle__bar::before {
  top: -7px;
}
.menu-toggle__bar::after {
  top: 7px;
}
.menu-toggle[aria-expanded='true'] .menu-toggle__bar {
  background: transparent;
}
.menu-toggle[aria-expanded='true'] .menu-toggle__bar::before {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .menu-toggle__bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* 버튼 묶음이 넓어 메뉴가 가운데서 밀리지 않도록, 1600px 미만 PC에서는 즐겨찾기를 숨긴다 */
@media (max-width: 1599px) {
  .bookmark {
    display: none;
  }
}

/* 좁은 PC(1024~1279px): 메뉴 글자 · 간격을 줄여 로고 · 버튼과 겹치지 않게 */
@media (max-width: 1279px) {
  .gnb {
    font-size: 16px;
  }
  .gnb__list {
    gap: 24px;
  }
}

/* 1024~1199px: 전화 버튼은 '전화' 글자를 빼고 아이콘 + 번호만 (화면 낭독기에는 그대로 읽힌다),
   메뉴 글자 · 간격도 더 줄인다 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .gnb__phone-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .gnb {
    font-size: 15px;
  }
  .gnb__list {
    gap: 16px;
  }
}

@media (max-width: 1023px) {
  .site-header__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
  }
  .menu-toggle {
    display: inline-flex;
  }
  /* 모바일 메뉴: 헤더 아래 화면 전체를 덮는 레이어 */
  .gnb {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--color-line);
    font-size: var(--fs-body);
    /* 서랍처럼 헤더 아래에서 아래로 펼쳐진다 (clip-path 로 위에서부터 드러냄) */
    clip-path: inset(0);
    transition: clip-path 0.46s var(--ease-out), visibility 0s;
  }
  /* 메뉴가 열리면 반투명 바를 풀어 흰 헤더로 되돌린다
     (backdrop-filter 가 남아 있으면 fixed 레이어가 헤더 바 안에 갇힌다) */
  .site-header.is-menu-open .site-header__inner {
    background: #fff;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none;
  }
  /* 닫힐 때: 아래에서 위로 접혀 올라간다. 길이는 mobile-nav.js 의 CLOSE_MS 와 맞춘다 */
  .gnb:not(.is-open) {
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: clip-path 0.36s cubic-bezier(0.5, 0, 0.2, 1), visibility 0s linear 0.36s;
  }
  /* 메뉴 내용은 서랍보다 살짝 늦게 따라 내려와 펼쳐지는 느낌을 더한다 */
  .gnb__list,
  .gnb__actions {
    transition: transform 0.46s var(--ease-out), opacity 0.3s ease;
  }
  .gnb:not(.is-open) .gnb__list,
  .gnb:not(.is-open) .gnb__actions {
    opacity: 0;
    transform: translateY(-16px);
  }
  .gnb__menu {
    display: contents;
  }
  /* 모바일: 서브메뉴를 대메뉴 아래에 펼친 목록으로 표시 */
  /* 레이어 높이가 화면에 고정돼 있어도 항목이 늘어나거나 줄어들지 않고 내용 높이만큼만 차지한다 */
  .gnb__list {
    flex: none;
    align-self: auto;
    flex-direction: column;
    gap: 4px;
  }
  .gnb__item {
    display: block;
  }
  .gnb__link {
    height: auto;
    padding: 16px 12px 6px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
  }
  /* 서브메뉴 없는 단일 페이지 메뉴는 아래 여백을 위와 맞춘다 */
  .gnb__link:only-child {
    padding-bottom: 16px;
  }
  .gnb .gnb__item > .gnb__sub {
    position: static;
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    padding: 0 4px 8px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    font-size: var(--fs-small);
  }
  .gnb__sub a {
    padding: 8px;
    color: var(--color-text-muted);
  }
  /* 모바일: 온라인 접수 · 전화 버튼을 메뉴 맨 위(퀵서비스 위)에 나란히 */
  .gnb__actions {
    order: -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-line);
  }
  .bookmark {
    display: none;
  }
  .gnb .btn {
    justify-content: center;
    padding: 15px 12px;
    text-align: center;
  }
}

/* ---------- Header 차량 패널 (퀵서비스·화물용달 hover) ---------- */
/* 헤더 아래 떠 있는 흰 패널. 줄마다 서비스명 · 한 줄 소개 · 차량 이름 링크 + 오른쪽 대표 이미지
   열림 상태는 .site-header.is-mega-open (site-header-element.js). 1024px 미만에서는 쓰지 않는다 */
.mega {
  position: absolute;
  top: 100%;
  left: -28px; /* 패널 안쪽 여백만큼 당겨 서비스명이 대메뉴 첫 글자와 줄을 맞춘다 */
  width: max-content; /* 소개 문구 · 차량 이름 목록 길이에 맞춘 폭 */
  padding-top: 8px; /* 헤더와 패널 사이 틈에서도 hover가 끊기지 않게 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast) ease, transform 0.3s var(--ease-out),
    visibility 0s linear var(--transition-fast);
  pointer-events: auto;
}
.site-header.is-mega-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.mega__inner {
  padding: 8px 28px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
/* 대메뉴 드롭다운 대신 패널을 쓰므로 데스크톱에서는 작은 서브메뉴를 숨긴다 (모바일 목록은 유지) */
.gnb__item--mega > .gnb__sub {
  display: none;
}

.mega__row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 20px;
}
.mega__row + .mega__row {
  border-top: 1px solid var(--color-line);
}
/* 대표 이미지: 줄 오른쪽 끝, 연한 블루 박스 안에 투명 배경 차량 사진 */
.mega__thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 168px;
  height: 108px;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--gradient-vehicle);
}
.mega__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mega__title {
  font: 800 17px / 1.3 var(--font-display);
  letter-spacing: var(--ls-snug);
  color: var(--color-text);
}
.mega__desc {
  margin-top: 4px;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.mega__list {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
/* 차량 이름 링크: 기본 포인트 블루. hover · 포커스 때 밑줄이 왼쪽에서 오른쪽으로 그어진다 */
.mega__vehicle {
  position: relative;
  display: block;
  padding-block: 4px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-blue-strong);
}
.mega__vehicle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out);
}
.mega__vehicle:hover::after,
.mega__vehicle:focus-visible::after,
.mega__vehicle:active::after {
  transform: scaleX(1);
}

@media (max-width: 1023px) {
  .mega {
    display: none;
  }
}

/* ---------- Panel frame (공통) ---------- */
/* 흰 바탕 위에 모서리가 둥근 패널을 띄운다. 바깥 요소에 .panel-frame, 안쪽 면에 .panel-frame__panel
   배경색은 각 섹션에서 .panel-frame__panel 쪽에 지정한다 (푸터 · 왜 365 섹션) */
.panel-frame {
  padding: 16px;
  background: var(--color-bg);
}
.panel-frame__panel {
  border-radius: 28px;
  transform-origin: 50% 0; /* 화면 아래에서 들어올 때 스크롤에 맞춰 밀려 올라온다 (panel-rise.js) */
}

/* ---------- Footer (클로징 CTA 포함) ---------- */
/* .panel-frame 위 잉크색 패널 */
.site-footer__panel {
  background: var(--color-ink);
  color: #fff;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-block: 88px 56px;
}

.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 40px;
}
.site-footer__copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.site-footer__copy .logo img {
  height: 28px;
}
.site-footer__title {
  font: 800 var(--fs-closing) / var(--lh-heading) var(--font-display);
  letter-spacing: var(--ls-display);
}
.site-footer__lead {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-dark-text-muted);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px 24px;
}
.site-footer__nav h2 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-dark-text-muted);
}
.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__nav a {
  font-size: var(--fs-small);
  font-weight: 700;
  color: #fff;
}
.site-footer__nav a:hover {
  color: var(--color-navy-text-subtle);
}
/* 입금계좌: 고객센터 옆 칸. 계좌번호는 메뉴 링크보다 크게 둬 눈에 띄게 한다 */
.site-footer__bank {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--fs-small);
  color: #fff;
}
@media (min-width: 1024px) {
  .site-footer__bank {
    grid-column: span 2; /* 계좌번호 옆에 복사 버튼이 한 줄로 들어갈 폭. 시작 위치는 다른 칸과 같은 간격 */
  }
}
.site-footer__bank-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.site-footer__bank-number {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap; /* 하이픈에서 줄이 꺾이지 않게 */
  color: #fff;
}
.site-footer__copy-btn {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-footer__copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.site-footer__copy-btn.is-copied {
  border-color: var(--color-navy-text-subtle);
  color: var(--color-navy-text-subtle);
}

.site-footer__info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 13px;
  font-style: normal;
  color: var(--color-footer-text);
}

@media (max-width: 767px) {
  .site-header .logo img {
    height: 26px;
  }
  .panel-frame {
    padding: 8px;
  }
  .panel-frame__panel {
    border-radius: 20px;
  }
  .site-footer__inner {
    gap: 48px;
    padding-block: 56px 40px;
  }
  .site-footer__copy {
    align-items: center;
    text-align: center;
  }
  /* 전화(블루)를 한 줄 가득, 그 아래에 온라인 접수 · 카카오톡 상담을 나눠 놓는다 (하나만 있으면 한 줄 가득) */
  .site-footer__actions {
    width: 100%;
  }
  .site-footer__actions .btn {
    flex: 1 1 0;
    padding-inline: 12px;
    text-align: center;
  }
  .site-footer__actions .btn[data-link='phone'] {
    flex-basis: 100%;
  }
  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__nav a {
    overflow-wrap: anywhere; /* 긴 이메일이 칸 밖으로 넘치지 않게 */
  }
  .site-footer__bank-number {
    font-size: clamp(15px, 4.6vw, 18px); /* 320px 화면에서도 칸 안에 한 줄로 */
  }
}

/* ---------- 오른쪽 아래 고정 카카오톡 상담 버튼 ---------- */
/* assets/js/components/kakao-float.js 가 body 끝에 넣는다. 768px 미만에서는 아이콘만 남긴 원형 버튼이 되고,
   하단 접수 바(.contact-bar)가 올라오면 그 위로 비켜 선다. 헤더·모바일 메뉴(z-index 40)보다 아래 */
.kakao-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px 14px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-kakao);
  color: var(--color-on-kakao);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 12px 28px -10px rgba(20, 25, 46, 0.4);
  transition: transform 0.36s var(--ease-out), box-shadow var(--transition-fast) ease, opacity 0.24s ease,
    visibility 0s;
}
.kakao-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -12px rgba(20, 25, 46, 0.45);
}
.kakao-float:active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}
.kakao-float__icon {
  flex: none;
}

@media (max-width: 767px) {
  .kakao-float {
    right: var(--gutter);
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
  }
  .kakao-float__icon {
    width: 26px;
    height: 26px;
  }
  .kakao-float__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .kakao-float:hover {
    transform: none;
  }
  /* 하단 접수 바 높이(버튼 + 위아래 여백 10px)만큼 올린다 */
  body:has(.contact-bar.is-visible) .kakao-float {
    transform: translateY(-64px);
  }
  /* 문의 전용 페이지(연계배송)는 접수 바에 카카오톡 상담 버튼이 있어 겹치지 않게 숨긴다 */
  body[data-contact='inquiry']:has(.contact-bar.is-visible) .kakao-float {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0s 0.24s;
  }
}

/* ---------- 모바일 하단 고정 접수 바 (전화 · 온라인 접수) ---------- */
/* assets/js/components/contact-bar.js 가 body 끝에 넣는다. 768px 미만에서만 보이고,
   히어로를 지나면 올라오고(.is-visible) 푸터가 보이면 내려간다. 헤더·모바일 메뉴(z-index 40)보다 아래라서 메뉴를 열면 가려진다 */
.contact-bar {
  display: none;
}

@media (max-width: 767px) {
  .contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    /* 스크롤된 헤더(.is-scrolled)와 같은 반투명 블러 */
    background: rgba(247, 248, 252, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    border-top: 1px solid rgba(20, 25, 46, 0.08);
    box-shadow: 0 -10px 28px -18px rgba(20, 25, 46, 0.35);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.36s var(--ease-out), visibility 0s 0.36s;
  }
  .contact-bar.is-visible {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }
  .contact-bar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    font-size: var(--fs-small);
  }
  /* 손가락으로 누르는 버튼이라 떠오르는 hover 효과는 쓰지 않는다 */
  .contact-bar .btn:hover {
    transform: none;
    box-shadow: none;
  }
  .contact-bar .btn[data-link='phone']::before,
  .contact-bar .btn[data-link='kakao']::before {
    margin-right: 6px;
  }
}

/* 아주 좁은 화면(320px 대): 반 칸짜리 접수 버튼에 전화번호가 넘치지 않게 여백을 줄인다 */
@media (max-width: 359px) {
  .contact-bar .btn,
  .gnb .btn {
    padding-inline: 4px;
    font-size: 13px;
  }
  .contact-bar .btn[data-link='phone']::before,
  .contact-bar .btn[data-link='kakao']::before,
  .gnb .btn[data-link='phone']::before {
    margin-right: 4px;
  }
}
