#footer { background-color: #000; }
#footer .inner { padding: 6rem 1.25rem 9rem; max-width: 1600px; margin: 0 auto; }
#footer .top { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 5rem; }
#footer .top .left, #footer .top .right { flex: 1; min-width: 300px; }
#footer .top .txt h3 { font-size: 1.25rem; color: #fff; font-weight: 800; padding-bottom: 1.25rem; }
#footer .top .txt ul { padding: 0; list-style: none; }
#footer .top .txt ul li { font-size: 1.0625rem; color: #fff; padding: 0.5rem 0; display: flex; align-items: center; flex-wrap: wrap; }
#footer .top .txt ul li h2 { font-weight: 800; color: #fff; font-size: 1.125rem; margin-right: 1rem; }
#footer .top .txt ul li span { font-size: 1.125rem; color: #838383; font-weight: 500; }
#footer .bottom { margin-top: 3rem; }
#footer .bottom ul { display: flex; flex-wrap: wrap; justify-content: flex-start; padding: 0; }
#footer .bottom ul li { margin-right: 2rem; margin-bottom: 1rem; }
#footer .bottom ul li a { font-size: 1.0625rem; color: #fff; font-weight: 800; }
#footer .bottom ul li span { color: #d50000; }
#footer .copy { font-size: 0.9375rem; color: #fff; opacity: 0.8; font-weight: 400; margin-top: 2rem; }
#footer .sns_box { display: flex; gap: 1.5rem; margin-top: 2rem; padding: 0; }
#footer .sns_box .sns a { display: block; width: 4rem; height: 4rem; border: 1px solid rgba(255,255,255,0.2); font-size: 0; background: url(../img/facebook.png) no-repeat center / 0.6rem; }
#footer .sns_box .sns.n2 a { background-image: url(../img/insta.png); background-size: 2rem; }
#footer .sns_box .sns.n3 a { background-image: url(../img/naver.png); background-size: 1.8rem; }

@media (max-width: 768px) {
    #footer .top { flex-direction: column; }
    #footer .top .left, #footer .top .right { width: 100%; margin-bottom: 2rem; }
    #footer .bottom ul { flex-direction: column; }
    #footer .bottom ul li { margin-right: 0; }
}

@media (max-width: 576px) {
    #footer .sns_box .sns a { display: block; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,0.2); font-size: 0; background: url(../img/facebook.png) no-repeat center / 0.6rem; }
    #footer .sns_box .sns.n2 a { background-image: url(../img/insta.png); background-size: 1.0rem; }
    #footer .sns_box .sns.n3 a { background-image: url(../img/naver.png); background-size: 1.0rem; }
}


/* --- 기존 푸터 스타일 아래에 구분 주고 추가 --- */

/* 카카오톡 상담 버튼 고정 스타일 */
.fixed-chat-btn {
  position: fixed;
  bottom: 70px;           /* 오른쪽 아래에서 푸터 위쪽 위치 */
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fee500;   /* 카카오톡 시그니처 옐로우 */
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  font-size: 30px;
  color: #3c1e1e;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  overflow: hidden;
}

.fixed-chat-btn:hover {
  background-color: #ffd600;
}

.fixed-chat-btn i {
  transition: opacity 0.3s ease;
}

.fixed-chat-btn:hover i {
  opacity: 0;
}

.fixed-chat-btn .hover-text {
  position: absolute;
  opacity: 0;
  font-weight: bold;
  color: #3c1e1e;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 10px;        /* 글자 크기 작게 조절 */
  white-space: nowrap;    /* 한 줄로 고정 */
  overflow: visible;      /* 넘침 허용 */
  text-overflow: clip;    /* 줄임말 없이 그대로 표시 */
  max-width: none;        /* 너비 제한 해제 */
  line-height: 1;
  padding: 0 6px;         /* 좌우 여백으로 글자 여유 공간 확보 */
  box-sizing: border-box; /* 패딩 공간 포함 너비 계산 */
}

.fixed-chat-btn:hover .hover-text {
  opacity: 1;
}