/* === 플로팅 배너 고정 (원본 크기/디자인 유지) === */
.float-banner{
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) !important; /* 세로 정확 중앙 */
  z-index: 10001;
  margin-top: 0 !important;               /* 기존 -375px 쓰던 거 제거 */
  width: 80px;
  height: 780px;                 /* 기존 720px → 이미지 높이에 맞춤 */
  background: url(./img/bg_float_bn.png) no-repeat 0 0;
  text-align: center;
  font-size: 12px;
}



/* 메뉴 공통 */
.float-banner ul{list-style:none;margin:0;padding:0;}
.float-banner li a{display:block; color:#000; text-decoration:none;}
.float-banner li.f0{height:110px; color:#fff;}
.float-banner li.f0 a{color:#666; padding-top:60px; letter-spacing:-1px; font-size:11px; line-height:120%;}

.float-banner li.f1{height:160px; color:#fff;}
.float-banner li.f1 a{height:100px; color:#fff; padding-top:55px;}
.float-banner li.f1 span{display:block; height:60px; margin-top:15px;}

.float-banner li.naver_talk{height:60px; padding:0; margin:0;}
.float-banner .talk_preview_area .talk_banner_preview.on {
    width: 80px !important;
    padding: 0px !important;
}

.float-banner li.f2 a{height:100px; padding-top:56px;}
.float-banner li.f3 a{height:100px; padding-top:60px;}
.float-banner li.f4 a{height:100px; padding-top:56px;}
.float-banner li.f5 a{height:100px; padding-top:60px; margin-bottom:10px;}
.float-banner li.f6 a{height:40px; font-size:0;}

/* === 팝업 패널(우측 슬라이드) === */

.float-pop{
  width:280px; height:450px; overflow:hidden;
  position:absolute; right:0; top:0; background:#fff; text-align:left;
  box-shadow:0 0 5px rgba(0,0,0,0.1);
  margin-right:-280px;               /* 숨김 상태 */
  transition: margin-right .28s ease; /* 부드러운 열림/닫힘 */
}
.float-pop.open{ margin-right:80px;  z-index: 10002; } /* 배너 폭(80px)만큼 보이게 */

.float-pop .top{ padding:20px 25px; height:380px; }
.float-pop strong{ font-size:24px; color:#006699; display:block; margin-bottom:15px; }
.float-pop p{ font-size:14px; }
.float-pop .top img{ margin:15px auto; display:block; }
.float-pop span.spot{ font-size:16px; color:#2c9fd9; display:block; text-align:center; padding-top:10px; }
.float-pop.pop-kakao span.spot{ color:#3b1f1e; padding-top:0; }
.float-pop .bottom{ background:#fefefe; box-shadow:inset 0 5px 5px #eee; text-align:center; height:80px; line-height:80px; }
.float-pop .btn-close{ position:absolute; right:10px; top:22px; background:#fff; border:0; outline:0; padding:0; margin:0; cursor:pointer; }
.float-pop .bnTel{ clear:both; width:100%; font-size:19px; color:#006699; text-align:center; margin-top:15px; line-height:180%; letter-spacing:-1px; }
.float-pop .bnTel b{ font-size:24px; }


/* ====== 팝업 공통 톤 앤 매너 ====== */
/* ===== 팝업 기본 스타일 ===== */
.float-pop {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
  overflow: hidden;
  background: #fff;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

.float-pop .top {
  padding: 18px 18px 20px;
  height: auto;
}

.float-pop strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  color: #5d4335; /* 타이틀: 포인트 컬러의 짙은 버전 */
  margin: 2px 0 6px;
  letter-spacing: -0.2px;
}

.float-pop p {
  color: #5e6a75;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
}


/* ===== 입력폼 ===== */
.piInputBox { margin: 10px 0 12px; }
.piInputBox dt {
  font-size: 12px;
  color: #7b8790;
  margin: 0 0 6px;
}
.piInputBox dd { margin: 0; }

.float-pop .form-control,
.float-pop select,
.float-pop textarea,
.float-pop input[type="text"] {
  display: block;
  width: 100%;
  height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6e9ee;
  background: #f9fbfd;
  font-size: 14px;
  color: #0e1114;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  outline: none;
  box-sizing: border-box;
}

.float-pop textarea {
  height: 86px;
  min-height: 86px;
  resize: vertical;
  line-height: 1.45;
}

.float-pop .form-control::placeholder,
.float-pop textarea::placeholder {
  color: #aab4be;
}

/* 포커스 상태 */
.float-pop .form-control:focus,
.float-pop select:focus,
.float-pop textarea:focus,
.float-pop input[type="text"]:focus {
  border-color: #765442;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(118,84,66,.18);
}

/* 셀렉트 박스 */
.float-pop select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #98a6b6 50%),
    linear-gradient(-45deg, transparent 50%, #98a6b6 50%),
    linear-gradient(to right, #dfe5ec, #dfe5ec);
  background-position:
    calc(100% - 16px) 53%,
    calc(100% - 10px) 53%,
    calc(100% - 32px) 50%;
  background-size: 6px 6px, 6px 6px, 1px 24px;
  background-repeat: no-repeat;
}

/* 캡차 */
.captchaWrap .captchaDiv {
  display: flex;
  gap: 10px;
  align-items: center;
}
.captchaWrap .captchaImg {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 10px;
}
.captchaWrap .captchaImg img {
  max-height: 32px;
  display: block;
}
.captchaWrap input[type="text"] {
  flex: 1 1 auto;
}

/* 개인정보 동의 */
.float-pop p[style*="padding-top:5px"] {
  margin-top: 6px !important;
  padding-top: 6px !important;
  border-top: 1px dashed #e8edf2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7680;
}
.float-pop p[style*="padding-top:5px"] a {
  color: #765442;
  text-underline-offset: 2px;
}

/* 버튼 */
.float-pop .bnTel {
  margin-top: 12px !important;
  line-height: 1.2 !important;
}
.float-pop .btn.btn-custom-blue {
  height: 44px;
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg, #765442, #5d4335);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.2px;
  border: 0;
  box-shadow: 0 6px 14px rgba(118,84,66,.25);
  transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}
.float-pop .btn.btn-custom-blue:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 18px rgba(118,84,66,.3);
}
.float-pop .btn.btn-custom-blue:active {
  transform: translateY(1px);
}

/* 연락처 안내 */
.float-pop .bnTel b { font-size: 18px; }
.float-pop .bnTel:last-of-type {
  color: #5d4335;
  background: #faf6f3;
  border: 1px solid #f4ede8;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px !important;
}

@media (max-width: 1080px) {
	.float-banner{ display:none; }
}