
	.hb_inner {
		padding: 200px 0;
		margin: 0 auto;
	}

	.sc_box_in_div { position: relative; width: 90%; max-width: 49.188rem; margin: 0 auto; text-align: center;} 
	.sc_box_in_div input[type="text"] { 
		width: 100%;
		height: 4.5rem;
		border: 3px solid #ec785b;
		border-radius: 50px;
		text-align: center; color:#555; font-size: 1.25rem;
	}
	input.ss_bt { background: none; border: none; width: 2rem; height: 2rem; background: url('../img/ss_bt_srch.png')  50% 50% / cover no-repeat; position: absolute; right: 1.5rem; top: 1.05rem;}
  


	.sca_list {
		min-height: 8.438rem;
		width: 90%;
		max-width: 49.188rem;
		margin: 0 auto 4rem;
		display: flex;
		background: #f8f8f8;
		border-radius: 1.875rem;
		border: 2px solid #ededed;
		gap: 1.25rem 2.5rem;
		flex-wrap: wrap;
		padding: 2.188rem 6.25rem;
		justify-content: center;
	}
 

	.sca_list li a {
		font-size: 1.125rem; display: block; padding: 0 0.6rem 0.2rem; border-bottom: 2px solid transparent; font-weight: 500
	}
	.sca_list li a:hover { color: #ec785b;}
	.sca_list li a.on {
		color: #ec785b;
		font-weight: bold; border-bottom: 2px solid rgba(236,120,91,0.9);
	} 

	.market_inner {
		display: flex; flex-wrap: wrap; align-items: flex-start;
		width: 90%; max-width: 1390px;
		margin: 0 auto;  padding: 4rem 0; gap:1.2rem;
	}

	.market_box {
		width: 27.938rem;
		min-height: 14.125rem;
		border: 2px solid #e7e7e7;
		border-radius: 1.875rem;
		margin-bottom: 1.25rem;
		overflow: hidden;
		transition: all 0.3s ease;
	}

	.sub_items {
		display: none;
		background: rgba(242,242,242,0.5);
		border-top: 1px solid #eee;
	}

	.sub_item {
		padding: 0;
		border-bottom: 1px solid #eee;
	}

	.sub_item:last-child {
		border-bottom: none;
	}
 

	.market_box.expanded {
		height: auto;
	}

	.sub_item .price {
		padding-top: 10px;
	}

	.collapse_btn_wrap {
		text-align: center;
		padding: 20px 0;
		background: #fff;
		cursor: pointer;
	}

	.collapse_btn_wrap span {
		font-size: 1.063rem;
		color: #666;
	}

	#basket_modal { 
		display: none;
		position: fixed;
		bottom: 3.125rem;
		right: 3.125rem;
		width: 29.125rem;
		background: #f6f6f6;
		border-radius: 1.875rem;
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
		z-index: 10001;
		overflow: hidden;
		font-family: 'Pretendard', sans-serif;
	}

	.modal_mask_new {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.4);
		z-index: 10002;
		backdrop-filter: blur(5px);
	}

	#reservation_modal {
		display: none;
		position: fixed;
		bottom: 50px;
		right: 50px;
		width: 466px;
		max-height: 90vh;
		background: #fff;
		border-radius: 1.875rem;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
		z-index: 10003;
		font-family: 'Pretendard', sans-serif;
		display: flex;
		flex-direction: column; overflow: hidden;
	}

	.res_head {
		padding: 1.5rem 2rem; 
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.res_head h2 {
		font-size: 1.188rem;
		font-weight: 700; 
		padding: 1rem 0 0;
	}

	.close_res{
		cursor: pointer; background: url(../img/close_modal.png) 50% 50% / cover no-repeat;
		width: 1.5rem; height: 1.563rem;
	}
	.res_content {
		padding: 0 40px 40px;
		overflow-y: auto;
		flex: 1;
	}
	
	.res_section + .res_section {margin-top: 2.5rem;}

	.res_section h3 {
		font-size: 1.188rem;
		font-weight: 700; 
		margin-bottom: 1.875rem;
	}

	/* 달력 */
	.ui-widget.ui-widget-content {
		width: 100% ;
		border: none ;
		font-family: inherit ;
	}

	.ui-datepicker-header {
		background: none ;
		border: none ;
		padding: 0 0 20px ;
	}

	.ui-datepicker .ui-datepicker-title {
		font-size: 1.313rem;
		font-weight: 700;
		color: #181818 ; 
		margin: 0 auto;
		line-height: 1;
	}
 
	.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { top: -2px; } 
	.ui-datepicker .ui-datepicker-prev span { background: url(../img/datepicker_prev.png) 50% 50% / cover no-repeat; width: 0.688rem; height: 1.313rem;}
	.ui-datepicker .ui-datepicker-next span { background: url(../img/datepicker_next.png) 50% 50% / cover no-repeat; width: 0.688rem; height: 1.313rem;}

	.ui-datepicker table { font-size: 1rem; color:#666; margin: 2rem auto 0; }

	.ui-datepicker th {
		color: #999 !important;
		font-weight: 400 ;
		padding: 10px 0 ;
	}
	span[title="Sunday"] { color:#cf5454; }
	span[title="Saturday"] { color:#6681c0; }
	.ui-datepicker td {
		padding: 0;
	}

	.ui-datepicker td a {
		display: block ;
		text-align: center ;
		border: none ;
		background: none ;
		font-size: 16px ;
		color: #333 ;
		width: 40px ;
		height: 40px ;
		line-height: 2 ;
		margin: 0 auto ;
		border-radius: 50% ;
	}
	.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active { background: none ; border: 0; text-align: center ;}
	
	.ui-datepicker-calendar .ui-state-highlight {
		color: #454545;
		border: 1px solid #ec785b;
	}

	.ui-datepicker-calendar .ui-state-active {
		background: #ec785b;
		color: #fff;
		font-weight: 700 ;
	}



	.ui-datepicker-calendar .ui-state-default:hover {
		background: #f5f5f5;
		color: #ec785b;
	}


	.time_grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem 0;
		justify-items: center;
	}

	.time_slot {
		width: 5.813rem;
		height: 2.25rem;
		border-radius: 1.125rem;
		border: 1px solid #d4d4d4;
		background: #fff;
		color: #666;
		font-size: 1rem; 
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.2s;
	}

	.time_slot.disabled {
		background: #c4c4c4; 
		cursor: not-allowed;
	}

	.time_slot.on {
		background: #ec785b;
		color: #fff;
		border-color: #ec785b; 
	}

	.info_group {
		display: flex;
		align-items: center;
		margin-bottom: 15px;
	}

	.info_group label {
		width: 4rem;
		font-size: 1rem;
		font-weight: 600;
		color: #181818;
		opacity: 0.8;
	}

	.info_group input[type="text"] {
		flex: 1;
		height: 2.813rem;
		border: 1px solid #d4d4d4;
		border-radius: 5px;
		padding: 0  0.938rem;
		font-size: 0.938rem;
		color:#c7c7c7;
	}

	.gender_toggle {
		display: flex;
		gap: 10px;
		flex: 1;
	}

	.gender_toggle button {
		flex: 1;
		height: 2.813rem;
		border: none;
		border-radius: 5px;
		background: #ececec;
		color: #fff;
		font-size: 15px; 
		cursor: pointer;
	}

	.gender_toggle button.on {
		background: #e76b4b;
		color: #fff;
	}

	.phone_wrap {
		display: flex;
		gap: 0.5rem;
		flex: 1;
	}

	.phone_wrap select {
		width: 5rem;
		height: 2.813rem;
		border: 1px solid #d4d4d4;
		border-radius: 5px;
		padding: 0 10px;
	}

	.phone_wrap input {
		flex: 1;
	}

	.res_foot {
		padding: 2rem 0 0; 
	}

	.res_submit {
		width: 100%;
		height: 3.688rem;
		background: #ec785b;
		color: #fff;
		border: none; 
		font-size: 1.125rem; 
		cursor: pointer;
	}

	.modal_mask {
		display: none;
	}

	.basket_head {
		padding: 2rem 2rem 1.2rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.basket_head h2 {
		font-size: 1.188rem;
		font-weight: 700;
		color: #181818;
	}

	.close_modal {
		cursor: pointer; background: url(../img/close_modal.png) 50% 50% / cover no-repeat;
		width: 1.5rem; height: 1.563rem;
	}

	.basket_body {
		padding: 0 2rem;
		max-height: 30vh ;
		min-height: 16.875rem;
		overflow-y: auto;
	}

	.basket_item {
		position: relative; padding: 1.5rem 0;
	}
	.basket_item + .basket_item {     border-top: 1px solid #f0f0f0; }

	.basket_item:last-child {
		border-bottom: none;
	}

	.basket_item .item_info {
		width: calc(100% - 130px);
	}

	.basket_item .item_subject {
		font-size: 20px;
		font-weight: 600;
		color: #333;
		margin-bottom: 5px;
	}

	.basket_item .item_cate {
		font-size: 15px;
		color: #888;
	}

	.basket_item .item_price {
		position: absolute;
		right: 0;
		bottom:1.3rem;
		font-size: 1.375rem; 
		color: #c97661;
	}
	.basket_item .item_price .won { font-size: 1rem; color:#666;}

	.basket_item .del_item {
		position: absolute;
		right: 0;
		top: 1.8rem;
		cursor: pointer; 
		line-height: 1;
		width: 0.75rem; height: 0.75rem; background: url(../img/del_item.png) 50% 50% / cover no-repeat;
	}

	.basket_foot {
		padding: 2rem 0 0;
		background: #fff; 
	}

	.total_wrap {
		display: flex;
		justify-content: space-between;  
		padding: 0 2rem 3rem; 
	}

	.total_title {
		font-size: 1.25rem;
		font-weight: 600;
		color: #333;
	}
	.total_title .pre_price { display: flex; align-items: flex-end; gap:0.2rem; }

	.total_title span {
		display: block;
		font-size: 14px;
		color: #999;
		font-weight: 400; 
	}

	.total_title .inf { color:#666; font-size: 0.938rem; font-weight: 400; margin-top: 0.7rem; }

	.total_price {
		font-size: 1.5rem; 
		color: #e76b4b;
	}

	.basket_submit {
		width: 100%;
		height: 3.688rem;
		background: #ec785b;
		color: #fff;
		border: none; 
		font-size: 1.125rem; 
		cursor: pointer;
		transition: background 0.3s;
	}

	.basket_submit:hover {
		background: #d66144;
	}



	.more_btn_wrap {
		width: 100%;
		display: block;
		border-top: 1px solid #f2f2f2;
		text-align: center; 
		cursor: pointer; 
	}

	.more_btn_wrap .toggle_btn {
		color: #666; padding: 1rem 0;
		font-size: 1.063rem;
		text-decoration: none;
		font-weight: 500;
		display: inline-block;
		transition: all 0.3s;
		position: relative; 
		width: 100%;
		display: flex; align-items: center; justify-content: center; gap:0.6rem
	}
	.more_btn_wrap .toggle_btn span { display: block; background: url(../img/toggle_more_arrow.png) 50% 50% / 100% no-repeat; width: 0.938rem; height: 0.563rem; transition: all 0.3s;}
	.more_btn_wrap .toggle_btn span.op { transform:rotate(180deg)}

	.sub_items {
		width: 100%;
		box-sizing: border-box;
		border-top: 1px solid #f2f2f2;
		display: none;
	} 

	.market_box {
		display: flex;
		flex-direction: column;
		position: relative;
		box-sizing: border-box;
		height: auto !important;
	}

	.btn_detail_toggle { font-size: 0.9rem; color: #666; border-bottom:1px 
	solid #666; cursor: pointer; }

	.detail_info_box { display: none; padding: 1.25rem 1rem ; line-height: 1.5;  border-bottom: 1px solid #f3f4f6; color: #374151; font-size: 13px; width: 100%;  }

	.detail_section {
		margin-bottom: 1.25rem; 
	}

	.detail_section h4 {
		font-size: 1rem;
		font-weight: 700;
		margin-bottom: 0.5rem;
		color: #616163;
	}

	.detail_notice {   font-size: 0.875rem; color: #848484;  margin-bottom: 1rem; }

	.detail_desc { 
		font-size: 0.938rem;
		/* white-space: pre-wrap; */
		color: #848484;
	}

	.detail_tags { margin-bottom: 2rem; }
	.detail_tags span {
		display: inline-block;
		background: #ec785b;
		color: #fff;
		font-size: 0.875rem;
		padding: 0.5rem 0.8rem;
		border-radius: 3px;
		margin: 1px;
		font-weight: 600;
	}

	.spec_grid {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 0.5rem 1rem; 
		margin: 1rem 0 2rem;
	}

	.spec_label {
		font-weight: 600;
		color:#616161;
		width: 60px;
		font-size: 1rem;
	}

	.spec_val {
		color: #848484;
		font-size: 0.938rem;
	}

	.detail_warning {    
		font-size: 0.938rem;
		color: #848484; 
	}


@media(max-width:1640px){
	.sca_list { height: auto; }
}

@media(max-width:1440px){

	.market_box { width: calc(50% - 1rem);}

}

@media(max-width:960px){

	.market_box { width:100%;}

}

@media(max-width:768px){

	.market_box { width:100%;}

	.sca_list { padding: 2.2rem 2rem; gap: 1.25rem 2rem;}
}