.listplace-page .section-box {
  gap: 20px;
}

.promotion-banner {
  width: 100%;
}

.promotion-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filter-buttons {
  display: flex;
  gap: 8px;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 6px 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
}

.filter-btn img {
  width: 14px;
  height: 14px;
}

.active-filters {
  padding-bottom: 20px;
}

/* 필터 패널 시작 */
.filter-backdrop {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out;
  z-index: 200;
  max-width: 100%;
  margin: 0 auto;
}

.filter-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.filter-panel {
  position: fixed;
  bottom: -100%;
  width: 100%;
  height: 500px;
  background-color: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  transition: bottom 0.3s ease-in-out;
  z-index: 201;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0 auto;
}

.filter-panel.show {
  bottom: 0;
}

.filter-handle {
  position: relative;
  width: 42px;
  height: 24px; 
  margin: 10px auto;
  cursor: grab; 
}

.filter-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 42px;
  height: 4px;   
  background-color: #ccc;
  border-radius: 2px;
  pointer-events: none; 
}

.filter-title {
  padding: 0 20px 20px;
  font-size: 17px;
  font-weight: bold;
  text-align: start;
}

.filter-panel-header {
  padding: 0 20px;
  border-bottom: 1px solid #ececec;
}

.filter-tabs {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.filter-tab {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
}

.filter-tab.on {
  color: #fa6400;
  border-bottom: 2px solid #fa6400;
}

.filter-panel-close {
  font-size: 24px;
  background: none;
  border: none;
  line-height: 1;
  cursor: pointer;
}

.filter-panel-body {
  padding: 30px 20px;
  flex: 1;
  overflow-y: auto;
}

.filter-tab-content {
  display: none;
}

.filter-tab-content:first-child {
  display: block;
}

.filter-tab-content .radio-box {
  display: flex;
  padding: 10px 0;
  font-size: 16px;
  font-weight: normal;
}

.checkbox-wrapper, .radio-wrapper {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.custom-checkbox {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 0;
	width: 20px;
	height: 20px;
	border: 1px solid #a7a7a7;
	border-radius: 4px;
	background: #fff;
	position: relative;
	flex-shrink: 0;
	cursor: pointer;
}

.checkbox-text {
	margin-left: 6px;
}

.custom-checkbox:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.custom-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmark-draw 0.1s ease-in-out;
}

@keyframes checkmark-draw {
	0% {
		width: 0;
		height: 5px;
		border-color: transparent;
		transform: rotate(45deg);
	}
	25% {
		width: 0;
		height: 5px;
		border-color: transparent #fff transparent transparent;
		transform: rotate(45deg);
	}
	50% {
		width: 6px;
		height: 5px;
		border-color: transparent #fff #fff transparent;
		transform: rotate(45deg);
	}
	100% {
		width: 6px;
		height: 10px;
		border-color: transparent #fff #fff transparent;
		transform: rotate(45deg);
	}
}

.custom-checkbox:disabled {
	background-color: #f5f5f5;
	border-color: #ccc;
	cursor: not-allowed;
}

.filter-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid #ececec;
  background-color: #fff;
  gap: 12px;
  font-size: 15px;
}

.btn-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.product-count-summary {
  margin-left : 5px;
}

.filter-panel-footer .product-count {
  font-size: 15px;
}

.radio-box:has(input[type="radio"]:checked) {
  font-weight: bold;
}

.filter-label {
  color: #ff8000;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
}