
/* 각 항목 전체 박스 */
.price-row {
	margin: 0 0 30px 0 !important; /* 항목 사이 간격 */
	padding: 0 !important;
}
.price-row .est_select {
	margin-top: 0 !important;
}
/* 제목 라벨 */
	/* label 바로 아래 select 간격 강제 통일 */
.price-row > label + .est_select,
.price-row > label + .est-select-wrap,
.price-row > label + select,
.price-row label + .nice-select {
	margin-top: 4px !important;
	display: block !important;
}

/* 혹시 상위에서 margin-bottom 넣어둔 경우 차단 */
.price-row label {
	margin-bottom: 4px !important;
}

/* 셀렉트 감싸는 영역 */
.est-select-wrap {
	margin: 0 !important;        /* 불필요한 공백 제거 */
	padding: 0 !important;
}

/* 기본 select 디자인 */
.menu01,
.est_select select.menu01 {
	width: 100%;
	height: 46px;
	padding: 0 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
	background: #fff;
	box-sizing: border-box;
	margin: 0 !important;        /* nice-select 기본 margin 제거 */
}

/* 기본 상태 */
.menu01 {
	background: #fff;
	transition: background 0.2s ease;
}
.menu01 {
	transition: background 0.25s ease, border-color 0.25s ease;
}

/* 선택된 상태 (value가 공백이 아닐 때) */
.menu01.selected {
	background: #f0f9ff !important; /* 연한 하늘색 */
	border-color: #3fa7ff !important;
}


/* nice-select 적용 시 강제 간격 제거 */
.nice-select {
	margin: 0 !important;
}

/* 버튼 그룹 */
.est_controls {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;        /* select 아래 여백 */
}

/* -, + 버튼 */
.est_controls button {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	border: 1px solid #333;
	background: #fff;
	font-size: 20px;
	cursor: pointer;
}

/* X 버튼 */
.est_controls .btn_reset {
	width: 50px;
	font-size: 18px;
	border: 1px solid #f00;
	color: #f00;
}

.disabled-btn {
	opacity: 0.4;
	pointer-events: none;
}

/* 수량 */
.est_controls .menu_count {
	width: 50px;
	height: 40px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 6px;
}

/* 금액 */
.est_controls .menu_sum {
	width: 110px;
	height: 40px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-weight: bold;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
	.est_controls {
		gap: 6px;
	}
	.est_controls button,
	.est_controls .menu_count,
	.est_controls .menu_sum {
		height: 38px;
	}
}

/* X 버튼 반짝 효과 */
.btn_reset.flash {
	animation: flashAnim 0.4s ease-out;
}

@keyframes flashAnim {
	0% {
		transform: scale(1);
		background-color: #fff;
		color: #f00;
	}
	50% {
		transform: scale(1.15);
		background-color: #fdd;
		color: #c00;
	}
	100% {
		transform: scale(1);
		background-color: #fff;
		color: #f00;
	}
}
/* 총합 변화 애니메이션 */
.total-anim {
	animation: totalFlash 0.35s ease-out;
}

@keyframes totalFlash {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.11); }
	100% { transform: scale(1); }
}

/* 공통 여백 */
.form-row {
	margin-bottom: 14px;
}

.full_input {
	width: 100%;
	height: 46px;
	padding: 0 12px;
	font-size: 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}

/* 작성자정보 input/select 통일 스타일 */
.est-body input.frm_input,
.est-body input.phone_sel_put,
.est-body select.phone_sel {
	width: 100%;
	height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid #ccc !important;
	border-radius: 6px !important;
	font-size: 16px !important;
	box-sizing: border-box;
	background: #fff;
}

/* 휴대폰 입력 영역 */
.form-phone {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	align-items: center;
}

.form-phone select,
.form-phone input {
	height: 46px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 15px;
	padding: 0 10px;
}

/* 010 선택창 */
.form-phone select.phone_sel,
.form-phone input.phone_sel_put {
	height: 48px !important;
	line-height: 48px !important;
}


/* 중간번호/뒷번호 input */
.form-phone input.phone_sel_put {
	flex: 1;
}
.nice-select {
	height: 48px !important;
	line-height: 48px !important;
	padding-left: 12px !important;
}

.nice-select .current {
	line-height: 48px !important;
}

.nice-select .list li {
	line-height: 48px !important;
	height: 48px !important;
}

/* number input 스핀 버튼 제거 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

input[type=number] {
	-moz-appearance: textfield !important;
}
	
.card_bb {color:#000;font-size:1.4em !important;font-weight:600}
.est_box {border:1px solid #dfdfdf !important}
.est-body {padding:20px !important}
.set_subject {background:#f7f7f7 !important;padding:.75rem 1.25rem !important}

.total_sticky {
	position: sticky;
	bottom: 0;
	width: 100%;
	background: #333;
	padding: 16px 0;
	z-index: 999;
	box-shadow: 0 -3px 8px rgba(0,0,0,0.2);
}

.total_wrap {
	width: 90%;
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.total_price_area {
	text-align: left;
	color: #fff;
}

.total_price {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 2px;
}

.total_label {
	font-size: 0.9rem;
	opacity: 0.7;
}

.total_submit_btn {
	background: #e60023;
	border: none;
	color: #fff;
	padding: 14px 40px;
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.2s;
}

.total_submit_btn:hover {
	background: #cb001f;
}

/*밀림예약관련*/
	/* 전체 영역 */
	.boss-check-wrap {
		margin: 18px 0;
		display: flex;
		align-items: center;
		gap: 10px;
	}
	
	/* 실제 체크박스 숨기기 */
	.boss-check-wrap input[type="checkbox"] {
		display: none;
	}
	
	/* 스위치 디자인 */
	.boss-switch {
		position: relative;
		display: inline-flex;
		align-items: center;
		cursor: pointer;
		font-size: 18px;
		font-weight: 600;
		color: #333;
	}
	
	/* 스위치 배경 */
	.boss-switch-inner {
		width: 56px;
		height: 30px;
		background: #ccc;
		border-radius: 30px;
		position: relative;
		transition: all .25s ease;
		margin-right: 10px;
	}
	
	/* 동그라미 */
	.boss-switch-inner::after {
		content: "";
		position: absolute;
		top: 3px;
		left: 3px;
		width: 24px;
		height: 24px;
		background: #fff;
		border-radius: 50%;
		transition: all .25s ease;
		box-shadow: 0 2px 5px rgba(0,0,0,0.25);
	}
	
	/* 체크됨 상태 */
/* ===== wr_70 (밀림예약, 빨강) ===== */
	#wr_70:checked + .boss-switch .boss-switch-inner {
		background: #d32f2f; /* 빨강 */
	}
	#wr_70:checked + .boss-switch .boss-switch-inner::after {
		transform: translateX(26px);
	}
	
	/* ===== wr_71 (알림톡전송안함, 카카오 색) ===== */
	#wr_71:checked + .boss-switch .boss-switch-inner {
		background: #FEE500; /* 카카오 노랑 */
	}
	#wr_71:checked + .boss-switch .boss-switch-inner::after {
		transform: translateX(26px);
	}
	
	/* 텍스트 컬러 조절 (선택적) */
	#wr_71:checked + .boss-switch .boss-switch-text {
		color:#000; /* 노랑이면 글씨 검정이 잘 보임 */
	}



	/* 텍스트 */
	.boss-switch-text {
		font-size: 17px;
		font-weight: 600;
		color: #333;
	}

/*밀림예약관련*/

/*아이폰에서 셀렉트박스내에 글자 파랑색문제*/
/* 기본 select */
select.menu01 {
	color: #333 !important;
}

/* nice-select 적용 시 */
.nice-select {
	color: #333 !important;
}
.nice-select .current {
	color: #333 !important;
}

/* option 영역 */
.nice-select .list li {
	color: #333 !important;
}
/*아이폰에서 셀렉트박스내에 글자 파랑색문제*/


.refund-btn {
	background:#000;
	color:#fff;
	padding:7px 16px; /* 사이즈 업 */
	font-size:14px;  /* 글씨 조금 키움 */
	border-radius:6px;
	border:none;
	cursor:pointer;
	display:flex !important;
	flex-direction:row !important;
	align-items:center !important;
	gap:6px;
}

.refund-btn:hover {
	background:#333;
}

/* 아이콘 크기 */
.refund-ico {
	font-size:17px; /* 눈에 잘 띄게 */
	display:flex;
	align-items:center;
}

/* PC 버튼: md 이상에서만 보이게 */
.refund-btn.pc-btn {
	display: none !important;
}
@media (min-width: 768px) {
	.refund-btn.pc-btn {
		display: flex !important;
	}
}

/* 모바일 버튼: md 이상에서는 숨김 */
.refund-btn.mo-btn {
	display: flex !important;
}
@media (min-width: 768px) {
	.refund-btn.mo-btn {
		display: none !important;
	}
}


.refund-layer {
	display:none;
	position:fixed;
	top:0; left:0;
	width:100%; height:100%;
	background:rgba(0,0,0,0.6);
	z-index:9999;
	justify-content:center;
	align-items:center;
}
.refund-content {
	background:#fff;
	width:90%;
	max-width:460px;
	max-height: 80vh; /* 팝업 최대 높이 제한 */
	padding:25px 20px;
	border-radius:12px;
	position:relative;
	overflow-y:auto; /* 내부 스크롤 자동 생성 */
}

.close-refund {
	font-size:28px;
	position:absolute;
	right:12px;
	top:10px;
	cursor:pointer;
}

.private-section {
	background:#f8f9fa;
	border:1px solid #ddd;
	border-radius:10px;
	padding:20px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.privacy-box {
	width:100%;
	height:130px;
	padding:12px;
	border:1px solid #ccc;
	border-radius:8px;
	resize:none;
	background:#fff;
}

.agree-check {
	display:flex;
	align-items:center;
	gap:8px;
	margin:10px 0 15px;
}

.captcha-wrap {
	display:flex;
	justify-content:flex-start;
}

.boss-check-wrap {
	display:flex;
	align-items:center;
	gap:20px; /* 스위치 간 간격 */
}

.boss-switch-item {
	display:flex;
	align-items:center;
}
.confirm-layer {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}

.confirm-box {
	background: #fff;
	width: 90%;
	max-width: 480px;
	border-radius: 14px;
	padding: 22px 20px;
	box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.confirm-box h3 {
	margin-bottom: 14px;
	font-size: 20px;
	font-weight: 700;
	color: #000;
}

.confirm-content {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.confirm-content .section {
	margin-bottom: 12px;
}

.confirm-content .title {
	font-weight: 700;
	margin-bottom: 4px;
	color: #000;
}

.confirm-total {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px dashed #ddd;
	font-size: 18px;
	font-weight: 800;
	color: #d32f2f;
	text-align: right;
}

.confirm-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.confirm-actions button {
	flex: 1;
	height: 46px;
	font-size: 16px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-weight: 700;
}

.btn-yes {
	background: #d32f2f;
	color: #fff;
}

.btn-no {
	background: #eee;
	color: #333;
}
.shine-label {
	position: relative;
	display: inline-block;
	font-weight: 600;
	color: #cb001f;
	overflow: hidden; /* 빛 잘림 처리 */
}

/* 빛 효과 */
.shine-label::after {
	content: "";
	position: absolute;
	top: 0;
	left: -150%;
	width: 150%;
	height: 100%;
	background: linear-gradient(
		120deg,
		transparent 30%,
		rgba(255,255,255,0.6),
		transparent 70%
	);
	animation: shineMove 2.5s ease-in-out infinite;
}

/* 애니메이션 */
@keyframes shineMove {
	0%   { left: -150%; }
	60%  { left: 150%; }
	100% { left: 150%; }
}
