.btn_home {
    background: none;
    border: 0;
}
.btn_mypage {
    background: none;
    border: 0;
}


/*말줄임 css */
.txt_area {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*메인  spinner..*/
/*
.scroll_loader {
    display:none;
    text-align:center;
    padding:20px;
}

.spinner {
    width: 28px;
    height: 28px;
    margin: 0 auto;
    border: 3px solid #e5e5e5;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
*/
/*메인  spinner..*/
.dot_spinner {
    display:inline-flex;
    gap:6px;
}

.dot_spinner span {
    width:8px;
    height:8px;
    background:#333;
    border-radius:50%;
    animation:bounce 0.6s infinite alternate;
}

.dot_spinner span:nth-child(2){ animation-delay:0.2s; }
.dot_spinner span:nth-child(3){ animation-delay:0.4s; }

@keyframes bounce {
    from { transform: translateY(0); opacity:.3; }
    to   { transform: translateY(-6px); opacity:1; }
}



/*메인 더보기 이미지 토글..*/
.btn_toogle_review {
	transition: transform 0.25s ease;
}

.btn_toogle_review.on {
	transform: rotate(180deg);
}



@media (max-width: 576px) {
    /* 모달이 화면 상단에 딱 붙지 않도록 여백 조정 */
    .modal-dialog-centered {
        margin: 1rem;
        display: flex;
        align-items: center;
        min-height: calc(100% - 2rem);
    }

    /* 모달 컨텐츠의 최대 높이를 화면의 90%로 제한하고 내부 스크롤 허용 */
    .modal-content.popup_qna {
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* 아이폰 부드러운 스크롤 */
    }
}




/* 하단 도트(Pagination) 커스텀 */
.swiper-pagination { bottom: 5px !important; }
.swiper-pagination-bullet {
	width: 5px;
	height: 5px;
	background: #fff;
	opacity: 0.5;
	transition: all 0.3s;
}
.swiper-pagination-bullet-active {
	opacity: 1;
	width: 20px; /* 활성화 시 길어지는 효과 */
	border-radius: 5px;
	background: #C57476;
}
	
/* 후기작성에 카운트 부분 */
.write_box {
    position: relative;
    width: 100%;
}

.write_box textarea {
    width: 100%;
    height: 120px;
    padding: 12px 60px 12px 12px; /* 우측 공간 확보 */
    box-sizing: border-box;
}

.txt_count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 12px;
    color: #999;
    pointer-events: none; /* 클릭 방해 X */
}


.fade-out {
  opacity: 0;
  transition: opacity 0.25s;
}
.fade-in {
  opacity: 1;
  transition: opacity 0.25s;
}

.not_scroll {
	overflow: hidden;
}

input:read-only {
	background: #f7f7f7;
}

.cursor	{cursor:pointer}
.btn_go_url	{cursor:pointer}

/* 숨김은 강하게 */
.hide { display: none !important; }

/* 표시용 show가 필요하면 (flex 유지하려면 flex로) */
.show { display: flex !important; }

/*
#wrap_content {
  position: relative;
  overflow: hidden;
}
*/
/* CSS (로딩 스피너) */
.scroll_loader {
	text-align: center;
	padding: 20px;
}

.scroll_loader .spinner {
	width: 30px;
	height: 30px;
	border: 3px solid #eee;
	border-top-color: #9969BD;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin: 0 auto;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.scroll_loader p {
	color: #999;
	font-size: 14px;
}



.txt_tit {
    color: #FFF;
    font-family: pre_SB;
    font-size: 14px;
    line-height: 24px; /* 171.429% */
}



.mst_info_02 .content.detail_view .section .cont li, .mst_info_02 .content.detail_view .section .div_edit {
    color:  #DFD0EA;
    font-size: 12px;
    line-height: 24px; /* 200% */
}
.mst_info_02 .content.detail_view .section .txt_tit {
    color: #FFF;
    font-family: pre_SB;
    font-size: 14px;
    line-height: 24px; /* 171.429% */
}



/* 무한 스크롤.. */
.list_container {
    width: 100%;
}

.list_item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.scroll_loader {
    text-align: center;
    padding: 20px;
}

.scroll_loader .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




.main_menu {
    display: flex;
    gap: 10px;
    position: relative;
}

.has-layer {
    position: relative;
}

.sub-layer {
    position: absolute;
    top: 100%;
    left: 0;
    width: 160px;
    background: #fff;
    border: 1px solid #ddd;
    display: none;
    overflow: hidden;
    z-index:1000;
}

.sub-layer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-layer li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.sub-layer li a:hover {
    background: #f5f5f5;
}


.sub_top_area .page_tit .btn_unsehome{
    background: none;
    border: 0;
}



/* 기본 위치를 아래로 */
.modal-slide-up {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-height: 90%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  background: #fff;
}

/* 모달 열릴 때 */
.modal.show .modal-slide-up {
  transform: translateY(0);
}





/* 로딩... 점3개개 모양...*/

#loading {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(255,255,255,0.6); /* 밝은 배경 */
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.dots {
  display:flex;
  gap:8px;
}

.dots span {
  width:12px;
  height:12px;
  background:#D67F81;
  border-radius:50%;
  animation: typing 1.2s infinite ease-in-out;
}

.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* 로딩... 이콸라이져 모양...*/
/*
#loading {
	position: fixed;
	top:0; left:0;
	width:100%; height:100%;
	background: rgba(0,0,0,0.35);
	display:none;
	justify-content:center;
	align-items:center;
	z-index:9999;
}

.equalizer {
	display:flex;
	align-items:flex-end;
	gap:4px;
	height:40px;
}

.equalizer span {
	width:5px;
	height:10px;
	background:#000;
	border-radius:2px;
	animation: eq 1s infinite ease-in-out;
}


.equalizer span:nth-child(1){animation-delay:0s;}
.equalizer span:nth-child(2){animation-delay:0.1s;}
.equalizer span:nth-child(3){animation-delay:0.2s;}
.equalizer span:nth-child(4){animation-delay:0.3s;}
.equalizer span:nth-child(5){animation-delay:0.4s;}
.equalizer span:nth-child(6){animation-delay:0.5s;}
.equalizer span:nth-child(7){animation-delay:0.6s;}

@keyframes eq {
	0%,100% { height:8px; }
	50% { height:35px; }
}

*/



/* 로딩.... */
/*
#loading {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.3);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}
.spinner {
    width:40px; height:40px;
    border:4px solid #ccc;
    border-top:4px solid #333;
    border-radius:50%;
    animation:spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}
*/


/* 상담사 상세페이지에서 스크롤...  */
.swiper {
    height: auto !important;
}

.swiper-wrapper {
    height: auto;
}

.swiper-slide {
    height: auto;
}
