
.filter_wrap input[type=checkbox],
.filter-modal-content input[type=checkbox] {
	display: inline-block;
	position: relative;
	width: 18px;
	height: 18px;
	margin: 2px 6px 0 0px;
	padding:0;
	box-sizing: border-box;
	vertical-align: top;
	outline: none;
	border: 1px solid #a0a0a0;
	border-radius: 2px;
	background: white;
	cursor: pointer;
}

.filter_wrap label,
.filter-modal-content label {
	font-weight: 400;
	font-size: 15px;
}
.filter_wrap label:has(input[type="checkbox"]:checked),
.filter-modal-content label:has(input[type="checkbox"]:checked) {
    font-weight: bold;
	color: #333;
}

.filter-itemlist-wrap {
	display: flex;
}


/* 스크롤바 */
.category-sidebar::-webkit-scrollbar {
	width: 8px; /* 수평 스크롤바의 높이, 수직 스크롤바의 너비 */
	height: 10px; /* 수평 스크롤바의 높이 */
}

/* 스크롤바 트랙 (스크롤바 배경) */
.category-sidebar::-webkit-scrollbar-track {
	background: #ffffff; /* 트랙 배경색 */
	border-radius: 10px;
}

/* 스크롤바 썸 (사용자가 드래그하는 부분) */
.category-sidebar::-webkit-scrollbar-thumb {
	background: #e4e4e4; /* 썸 배경색 */
	border-radius: 10px;
}

/* 마우스를 올리면 썸의 색상이 변경 */
.category-sidebar::-webkit-scrollbar-thumb:hover {
	background: #AFAFAF; /* 마우스를 올렸을 때 썸 색상 */
}
.category-sidebar {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 77vh;
    background-color: #fff;
    padding-right: 12px;
}

.filter_wrap {
    position: sticky;
    max-width: 220px;
    min-width: 180px;
    flex-shrink: 0;
    height: 100%;
    top: 170px;
    margin-right: 20px;
    overflow: hidden scroll;
    scrollbar-width: none;
}

/*필터초기화*/
.reset-filter {
	font-size: 14px;
	font-weight: 500;
}

.reset-filter {
	display: flex;
	align-items: center;
	cursor: pointer;
	color: #999; /* 초기화 글씨색 */
	transition: color 0.3s ease;
	gap: 10px;
}
.reset-filter:hover {
	color: #666;
}
.reset-icon {
	width: 16px; 
	height: 16px;
	margin-left: 5px;
}
.subcategory-list {
	list-style-type: none;
}

.divider0{  
	width: 100%;
	height: 1px;
	background-color: #ddd;
	margin-top: 0px;
}
.divider {
	width: 100%;
	height: 1px;
	background-color: #ddd;
	margin-top: 20px;
}

.dividersub {
	width: 100%;
	height: 1px;
	background-color: #eee;
}

.category-titleT {
	display: flex;
	justify-content: space-between;
	font-size: 18px;
	font-weight: bold;
	height: 49px;
	align-items: center;
}

.category-titlefir{
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 10px;
	align-items: center; 
}

/* 카테고리 제목 */
.category-title {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 20px;
	align-items: center;
}


/*카테고리 댑스*/
.sidebar {
    display: block;
    width: 66%;
    max-width: 240px;
    min-width: 240px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    transition: left 0.3s ease;
}

.category-title {
    position: relative;
}

.category-title p {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    text-align: center;
}

.sidebar__wrap {
    overflow-y: hidden;
    max-height: 100%;
}

.sidebar__wrap::-webkit-scrollbar {
    width: 6px;
}

.sidebar__wrap::-webkit-scrollbar-thumb {
    background-color: #b0b0b0;
    border-radius: 10px;
    background-clip: padding-box;
    border: 1px solid transparent;
}

.sidebar__wrap::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

.sidebar__list a:hover,
.sidebar__list a:focus,
.sidebar__list a:active {
    text-decoration: none !important;
}

.depth1_wrap, .depth1_all_wrap {
    margin-left: 6px;
}

.depth1_wrap > a ,.depth1_all_wrap > a{
    display: flex;
    align-items: center;
    position: relative;
    height: 46px;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
}

.depth1_item::after {
    content: "";
    display: block;
    position: absolute;
    right: 0px;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background: url(/kobay/images/common/slider_down.svg) no-repeat center center/14px;
    transition: transform 0.3s;
}

.depth1_item.open{
	font-weight: bold;
}
.depth1_item.open::after {
    transform: rotateX(180deg);
}

.depth1_wrap.no-depth > a::after {
    transform: rotate(-90deg);
}

.depth2_all_wrap {
    display: none;
   
}

.depth1_wrap > .depth2_all_wrap {
    padding: 14px 10px;
}

.depth1_wrap > .depth2_all_wrap > * + * {
    margin-top: 16px;
}

.depth2_wrap > a {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    font-size: 15px;
    line-height: 24px;
    color: #333;
    text-decoration: none;
}


/* 선택 항목 가시성을 높이기 위한 배경 (선택 사항) */
.depth1_wrap input:checked ~ .depth2_all_wrap,
.depth2_all_wrap input:checked ~ .depth3_wrap {
    border-left: 3px solid #000;
    padding-left: 10px;
}

.hasDep3::after {
    content: "";
    display: block;
    position: absolute;
    right: -8px;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background: url(/kobay/images/common/slider_down.svg) no-repeat center center/14px;
    transition: transform 0.3s;
}

.depth2_item.open::after{
    transform: rotateX(180deg);
}

.depth2_item.open{
	font-weight: bold;
}


.depth3_wrap {
    display: none;
    flex-direction: column;
    border-top: none;
    padding: 16px 8px;
    cursor: pointer;
}

.depth3_wrap > label {
    display: block;
    font-size: 14px;
    line-height: 22px;
    color: #757575;
    text-decoration: none;
    cursor: pointer;
}

.depth3_wrap > label + label {
    margin-top: 16px;
}



/* 댑스 카테고리 체크박스 */
.depth3_wrap input[type="checkbox"] {
	appearance: none; /* 브라우저 기본 체크박스 제거 */
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 18px; 
	height: 18px;
	border: 1px solid #E4E4E4; 
	border-radius: 3px; 
	background-color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 2px 6px 0 0px;
}

/* 체크박스 체크된 상태 */
.depth3_wrap input[type="checkbox"]:checked {
	background-color: #111; 
	border-color: #111; 
}

/* 체크박스 체크된 상태에서 체크 아이콘 */
.depth3_wrap input[type="checkbox"]:checked::after {
	content: "✔︎";
	font-size: 14px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 15px;
}



.depth3_wrap input[type="checkbox"]:checked + label{
	font-weight: 600;
	color: #222;
}

.allOn {
	font-weight: bold !important;
}


/* 고정 메뉴 */
.fixed-menu__wrap {
    display: block;
    z-index: 2000; 
}

/* 상세 정보 영역 */
.detail-info {
	flex: 1;
	padding: 20px;
}
.detail-info-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

/* 체크된 항목에 bold 처리 */
.category-list li span.checked {
	font-weight: bold;
}

/* 가격 */
/* 기본 상태의 placeholder 스타일 */
.price-input::placeholder {
	color: #999; /* 기본 색상 */
	transition: opacity 0.3s ease; /* 부드러운 전환 효과 */
}

/* 포커스 상태에서 placeholder 숨기기 */
.price-input:focus::placeholder {
	opacity: 0; /* 투명하게 처리 */
}
.price-input-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.price-label {
	display: inline-block;
	line-height: 26px;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 4px;
}

.price-input-wrapper {
	display: flex;
	align-items: center;
	padding: 0;
	border: 1px solid #e4e4e4;
	height: 44px;
	border-radius: 4px;
	overflow: hidden;  /* 넘침 방지 */
}

.price-input:disabled {
	color: #dbdbdb;
}

.price-input-container > :not(style) ~ :not(style) {
	margin-top: 16px;
}

.price-input {
	border: none;
	background-color: transparent;
	outline: none;
	flex: 1 1 0%;  /* flexible, input이 가능한 공간만 차지하도록 설정 */
	line-height: 23px;
	font-size: 13px;
	padding: 0;
	margin-left: 4px;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 0;
	flex-grow: 1; 
}

.currency {
	color: #666;
	font-size: 14px;
	white-space: nowrap; 
}

:disabled {
	cursor: default;
}

.currency-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border: none;
	outline: none;
	margin-left: 5px;
	padding-right: 5px; 
	flex-shrink: 0;  
	width: auto;  
}


.item{
	font-size:13px;
	color:#333;

}

.item ul{
	list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 10px;
}
.item ul.flex {
	display: flex;
}

/* 국가, 연대 */
.filternation,.filterperiod{padding:6px 0}
.filternation label, .filterperiod label {
	font-weight: 400;
	color: #333;
	cursor: pointer;
}

/* 발매연도 */
#direct_year_search{
	display: flex;
}
.cmflt_year_search {
	width: 200px; 
	border-radius: 5px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.sh_yearbox {
	position: relative;
	flex-grow: 1;
}
.sh_yearbox span {
	left: 10px;
	color: #1d1d1d;
	font-size: 12px;
	pointer-events: none;
	display: inline-block;
	margin-bottom: 3px;
}

.sh_yearbox select {
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #fff;
	cursor: pointer;
	margin-top: 4px;
	color:#666;
}
/* ~ */
.swungdash {
	font-size: 18px;
	color: #333;
	font-weight: bold;
	padding: 27px 4px;
}

/* 전체 리스트 스타일 */
.item {
	margin: 0;
	padding: 0;
	width: 200px; /* 전체 폭 고정 */
}

.item dt {
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 14px;
	margin-top: 20px;
}

.item dd ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap; /* 폭에 따라 내용 정렬 */
	gap: 10px; /* 항목 간격 */
}

/* 리스트 아이템 스타일 */
.filterdetails {
	margin-bottom: 10px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
/*
/* 상세정보 체크박스커스텀 */
    /* 체크박스 숨기기 */
.filterdetails > .extra {
	display: inline-block;
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    color: #666;
    border: 1px solid #eee;
    background-color: #fff;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filterdetails > .extra.on {
	background-color: #fff;
    color: #333; 
    border-color: #333;
    font-weight: 600;
}

/* 국가 연대 체크박스 커스텀 */
    /* 체크박스 기본 숨김 처리 안함: 기본 스타일 유지 */
.detailswrap0 input[type="checkbox"] {
	appearance: none; /* 브라우저 기본 체크박스 제거 */
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 18px; /* 체크박스 크기 */
	height: 18px;
	border: 1px solid #E4E4E4; /* 기본 테두리 */
	border-radius: 3px; /* 사각형 대신 약간 둥근 모양 */
	background-color: #fff;
	transition: all 0.3s ease;
}

/* 체크박스 체크된 상태 */
.detailswrap0 input[type="checkbox"]:checked {
	background-color: #111; /* 체크 시 색상 변경 */
	border-color: #111; /* 테두리 색상 */
}

/* 체크박스 체크된 상태에서 체크 아이콘 */
.detailswrap0 input[type="checkbox"]:checked::after {
	content: "✔︎"; /* 체크 표시 */
	font-size: 14px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 15px;
}



.detailswrap0 input[type="checkbox"]:checked + label{
	font-weight: 600;
}

.category-sidebar {
    position: relative; /* 기준 컨테이너 */
}

/* 고정 하단 버튼 */
.sidebar-footer {
	display: flex;
    background-color: #fff;
    padding: 10px 0px;
    gap: 5px;
	position: sticky;
    bottom: 0;
}

.sidebar-footer div{
    background: #000000;
    border-radius: 6px;
    line-height: 40px;
    color: #fff;
    flex: 0.6;
    text-align: center;
    cursor: pointer;
}
.sidebar-footer div:hover {
	font-weight: 600;
	transition: transform 0.3s;
}
.sidebar-footer div:first-child {
	border: 1px solid #e4e4e4;
	color: #111;
	background: #ffffff;
	flex: 0.4;
}
.sidebar-footer div:first-child:hover {
	border:1px solid #111; 
}

/* 모바일 */
.filter-order-btn {
	position: fixed;
	bottom: 12%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px; /* 버튼 간 간격 */
	padding: 14px 28px;
	background: rgba(17, 17, 17, 0.9);
	border-radius: 30px;
	width: 200px; /* 전체 버튼 영역 너비 */
	height: 50px; /* 버튼 영역 높이 */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 그림자 효과 */
	box-sizing: border-box;
	z-index: 10; /* 상단에 고정 */
}

.filter-order-btn a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	text-decoration: none;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
}

.filter-order-btn img {
	width: 18px;
	height: 18px;
	margin-left: 5px;
}

.divider_m {
	width: 2px;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5); /* 버튼 사이 라인 색상 */
}

/* 필터 */
.order-modal-container {
    display: block;
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 600px;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 950;
	height: 70vh;
}

.filter-modal-container {
    display: block;
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 600px;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 950;
	height: 70vh;
}

.fitler-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
    padding: 10px 30px;
}
.filterTxt{
	font-size: 20px;
	font-weight: bold;
}

.filter-close {
	font-size: 24px;
	cursor: pointer;
	font-weight: bold;
	color: #333;
}

/* 모달 내용 */
.filter-modal-content {
	flex: 1;
	overflow-y: auto;
	padding: 0 20px;
	max-height: calc(100% - 100px);
}

/* 카테고리 필터 */
.category-filter-wrapper {
	overflow: hidden; /* 스크롤을 숨기고, 드래그만 허용 */
	margin-bottom: 120px;
}

/* 카테고리 필터 */
.category-filter {
	position: relative;
	display: inline-flex;  /* inline-flex로 변경 */
	overflow-x: scroll;   /* 수평 스크롤 허용 */
	-webkit-overflow-scrolling: touch; /* iOS에서 스크롤 부드럽게 */
	gap: 10px;
	border-bottom: 1px solid #ddd;
	background: #fff;
	width: 100%;
	transition: transform 0.3s ease;
	scroll-snap-type: x mandatory; /* 스크롤을 스냅 효과로 고정 */
	-ms-overflow-style: none;  /* IE/Edge에서 스크롤바 숨기기 */
	scrollbar-width: none;  /* Firefox에서 스크롤바 숨기기 */
}

/* 스크롤바 숨기기 */
.category-filter::-webkit-scrollbar {
	display: none; /* 스크롤바를 숨김 */
}

.category-filter button {
	flex: none;
	padding: 10px 20px;
	border: none;
	border-radius: 20px;
	background: #fff;
	cursor: pointer;
	font-weight: bold;    
	color:#BDBDBD;      
	white-space: nowrap;
	scroll-snap-align: start; /* 각 버튼이 스크롤에 맞춰지도록 설정 */  
	position: relative;	
	transition: color 0.3s ease;	
	font-size: 18px;
}


.category-filter button.active {
	color: #111;
}

.category-filter button.active::after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #111;
	z-index: 33;
}

.filter-menu.extra-menu{
	display: none;
}

/* 카테고리 리스트 */
.category-list {
	list-style: none;
	padding: 0;
}
.category-list li {
	cursor: pointer;
	padding: 11px 0 0px 0px;
	border-radius: 5px;
	position: relative;
	transition: background-color 0.3s ease;
}
.category-list li:hover {
	background-color: #fff;
}
/* 하위 카테고리 숨김 기본 상태 */
.subcategory-list {
	margin-left: 0px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}
/* Depth에 따른 간격 조정 */
.depth-1 { 
	font-size: 16px;
}
.depth-1 > span{
	padding:6px 0;

}
.depth-1 > span:checked{
    font-weight: bold;
}

.depth-1 > span:hover {
    font-weight: bold;
}
.depth-2 {
	padding-left: 30px;
	font-size: 14px;
	color: #626262;
}
.depth-2 > span{
	padding:6px 0;
}
.depth-2 > span:checked {
    font-weight: bold;
}	
.depth-3 {
	padding-left: 0px;
	font-size: 12px;
	color: #626262;
}
/* 하위 카테고리 표시 상태 */
.subcategory-list.open {
	max-height: 1000px; /* 충분히 큰 값으로 설정 */
}

/* 상세 정보 영역 */
.detail-info {
	flex: 1;
	padding: 20px;
}
.detail-info-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}



/* 카테고리 내용 */
.category-content {
	display: none;
	margin-top: 26px;	
	margin-bottom: 100px;
}
.category-content.active {
	display: block;
}

.selpos{
	margin-top: 70px;    
	width: 100%;
	text-align: center;
	color:#BDBDBD;
	font-weight: 600;
	font-size: 16px;
}

#resultArea {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 0;
}

#resultArea .result-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	background-color: #f5f5f5;
	font-size: 14px;
	color: #333;
}

#resultArea .result-wrap {
	flex-basis: 100%;
	display: flex;
}

#resultArea .depth-block {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	margin-left: 5px;
}

#resultArea .remove-btn {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 0 4px;
	cursor: pointer;
	transition: color 0.2s;
}

#resultArea .remove-btn .fa-times-circle:before{
	font-size: 16px;
}


/* 가격 */
/* 기본 상태의 placeholder 스타일 */
.price-input::placeholder {
  color: #999; /* 기본 색상 */
  transition: opacity 0.3s ease; /* 부드러운 전환 효과 */
}

/* 포커스 상태에서 placeholder 숨기기 */
.price-input:focus::placeholder {
	opacity: 0; /* 투명하게 처리 */
}
.price-input-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.price-label {
	display: inline-block;
	line-height: 26px;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 4px;
}

.price-input-wrapper {
	display: flex;
	align-items: center;
	padding: 0;
	border: 1px solid #e4e4e4;
	height: 44px;
	border-radius: 4px;
	overflow: hidden;  /* 넘침 방지 */
}

.price-input:disabled {
	color: #dbdbdb;
}

.price-input-container > :not(style) ~ :not(style) {
	margin-top: 16px;
}

.price-input {
	border: none;
	background-color: transparent;
	outline: none;
	flex: 1 1 0%;  /* flexible, input이 가능한 공간만 차지하도록 설정 */
	line-height: 23px;
	font-size: 13px;
	padding: 0;
	margin-left: 4px;
	text-overflow: ellipsis;
	overflow: hidden;  /* 넘침 방지 */
	width: 0;  /* 폭을 최소화 */
	flex-grow: 1;  /* 가능한 공간을 차지 */
}

.currency {
	color: #666;
	font-size: 14px;
	white-space: nowrap;  /* 텍스트 넘침 방지 */
}

:disabled {
	cursor: default;
}

.currency-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border: none;
	outline: none;
	margin-left: 5px;
	padding-right: 5px;  /* 여백 추가 */
	flex-shrink: 0;  /* "원" 기호가 축소되지 않도록 설정 */
	width: auto;  /* 너비를 자동으로 설정 */
}

/* 모달 하단 버튼 */
.filter-modal-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	padding: 25px 15px;
	display: flex;
	justify-content: space-between;
	gap: 10px; /* 버튼 간 간격 */
	box-shadow: 0px -3px 5px rgba(0, 0, 0, 0.1);
	box-sizing: border-box; /* 패딩 포함하여 너비 계산 */
	height: 100px;
}

.filter-modal-footer.pb-30{
	bottom: 30px;
}

.modal-button {
	width: 48%;
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	text-align: center;
	background-color: #111;
	color: white;
	font-weight: bold;
	flex: 1;
}

.btn-close {
	background-color: #fff;
	border:1px solid #e4e4e4;
	color: #111;
}

.btn-apply {
	background-color: #111;
	color: #fff;
}


/* 정렬 */
.containwrap {
	width: 100%;
	max-width: 100%;
	height: 70vh;
	max-height: 70vh;
	background: #fff;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* 애니메이션 */    
}

.order-wrap {
	display: flex;
	justify-content: center;
	height: 70%;
	overflow: auto;
}

.order-wrap > ul {
	padding: 0px;
	list-style: none;
	margin: 16px;
}

.sort-item  {
	padding: 14px 12px;
	font-size: 18px;
	color: #dbdbdb;
	cursor: pointer;
	text-decoration: none;
	font-weight: 700;
	transition: color 0.3s ease;
}

.sort-item.active{
	font-weight: bold;
	color: #1d1d1d;
}
/* 버튼 스타일 */
.viewcount-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 10px;
	position: absolute;
	bottom: 35px;
}

.view-button {
	color:#777;
	background-color: #fff;
	border-style: solid;
	border:1px solid #dbdbdb;
	font-weight: bold;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	cursor: pointer;
	border-radius: 8px;
	font-size: 13px;
	padding: 12px 1%;
	transition: background 0.3s ease, transform 0.2s ease;    
}
.view-button.active {
	color:#fff;
	background: #333;
	border:1px solid #333;
	transform: scale(1.05);
}

.view-button:nth-last-child(1){
    margin-right: 0;
}

.sort-item {padding: 14px 12px;}
.sort-item a {
	font-size: 18px;
	color: #dbdbdb;
	cursor: pointer;
	text-decoration: none;
	font-weight: 700;
	transition: color 0.3s ease;
}

.sort-item a:hover {
	color: #1d1d1d;
}
.sort-item a:checked{
	font-weight: bold;
}

.filter_list_wrap {
    width: 1400px;
    margin: 0 auto;
    position: relative;
    left: -130px;
}

/* 반응형 스타일 */
@media screen and (max-width: 1730px){
	.filter_list_wrap {
	    left: 0px;
	}
}
@media screen and (max-width: 1200px){
	.filter_list_wrap {
	    width: calc(100% - 48px);
	    margin: 0 auto;
	}
}
@media screen and (max-width: 1023px){ /*mobile*/
	.item{
		width: 100%;
	}
	.filter_wrap {
		top : 95px;
	}
}
@media (max-width: 600px) {
	.filter-modal-container {
		box-sizing: border-box;
		width: 100%;
	}
}
@media (max-width: 768px) {
    input {
        font-size: 16px;
    }
}