.filter_wrap {
  width: 200px;
  margin-right: 20px;
  /* top: 148px; */
  /* position: sticky;
  position: -webkit-sticky; */
  max-height: calc(100vh - 235px);
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: #fff;
  z-index: 1100;
}

.filter_wrap .f_top_box{
  padding: 20px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter_wrap .f_top_box > p {
  display: flex;
  align-items: center;
}

.filter_wrap .f_top_box span {
  font-size: 14px;
  font-weight: 700;
}

.filter_wrap .f_top_box .btn_reset {
  font-size: 13px;
  color: rgba(34,34,34,.5);
  text-decoration: underline;
  /* display: none;   */
}
/* .filter_wrap .f_top_box .btn_reset.on {
  display: block;
} */

.filter_wrap .f_top_box .f_total {
  display: none;
  align-items: center;
  background-color: #222;
  border-radius: 30px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  height: 18px;
  text-align: center;
  line-height: 18px;
  margin-left: 4px;
  width: 20px;
}

.filter_wrap .f_top_box .f_total.on {
  display: block;
}

/* .filter_wrap .filter_btn_box{
  display: flex;
} */

.filter_wrap .filter_btn_box .f_quick_btn_box{
  display: flex;
  align-items: center;
  gap: 5px;
}
.filter_wrap .filter_btn_box .f_quick_btn_box > a{
  display: block;
}
.filter_wrap .filter_btn_box .f_quick_btn_box .f_shipping {
  background: url('/images02/f_shipping.svg') no-repeat 0 0 / 100% auto;
}
.filter_wrap .filter_btn_box .f_quick_btn_box .f_shipping.on {
  background: url('/images02/f_shipping_on.svg') no-repeat 0 0 / 100% auto;
}

.filter_wrap .filter_btn_box .f_quick_btn_box .f_ranking {
  width: 48px;
  height: 34px;
  /* display: none; */
  background: url('/images02/f_ranking.svg') no-repeat 0 0 / 100% auto;
  font-size: 0;
}

.filter_wrap .filter_btn_box .f_quick_btn_box .f_ranking {
  background: url('/images02/f_ranking_on.svg') no-repeat 0 0 / 100% auto;
}

.filter_wrap .f_content{
  border-bottom: 1px solid #ebebeb;
}
.filter_wrap .f_content .f_title{
  display: flex;
  padding: 16px 0;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}
.filter_wrap .f_content .f_title a.btn_on_off{
  position: absolute;
  right: 0;
  display: block;
  width: 20px;
  height: 20px;
  background: url('/images02/f_category_toggle.svg') right 0 center/ 20px auto no-repeat;
}
.filter_wrap .f_content .f_title a.btn_on_off.on{
  position: absolute;
  right: 0;
  background-image: url('/images02/f_category_toggle02.svg');
}
.filter_wrap .f_content .f_title .tit {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.07px;
  position: relative;
}
.filter_wrap .f_content.checked .f_title .tit::after {
  background-color: #f15746;
  border-radius: 100%;
  content: "";
  height: 5px;
  margin-left: 3px;
  position: absolute;
  top: 3px;
  width: 5px;
}
.filter_wrap .f_content .f_title .sub_tit {
  color: rgba(34, 34, 34, .5);
  font-size: 15px;
  letter-spacing: -.15px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: none;
}
.filter_wrap .f_content .f_title .sub_tit.on {
  display: block;
}
.filter_wrap .f_content .f_title .btn_toggle{
  display: flex;
  justify-content: space-between;
}
.filter_wrap .f_content .f_title .btn_toggle.on{
  display: flex;
  justify-content: space-between;
}
.filter_wrap .f_content .f_choice_wrap{
  padding-bottom: 24px;

}
.filter_wrap .f_content.brand .f_choice_wrap{
  display: none;
}
.filter_wrap .f_content.gender .f_choice_wrap{
  display: none;
}
.filter_wrap .f_content .f_choice_wrap .depth2_list_box{
  display: none;
  padding: 16px 0 6px 25px;
}
.filter_wrap .f_content .f_choice_wrap ul > li{
  margin-bottom: 10px;
}
.filter_wrap .f_content .f_choice_wrap ul > li:last-of-type{
  margin-bottom: 0px;
}
.filter_wrap .f_content ul.depth1_list_box {
  max-height: 315px;
  overflow-y: auto;
}

.filter_wrap .filter_layer_wrap{
  display: block;
}
.x_scroll_box{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
@media (max-width: 767px) {
  .filter_wrap .filter-layer {
      bottom: 0;
      left: 0;
      position: fixed;
      right: 0;
      top: 0;
      z-index: 1500;
      display: none;
  }


  /* 필터 레이어 (모바일) */

  .filter_wrap {
    position: static!important;
    overflow-y: unset;
    margin-right: 0;
    width: 100%;
    max-height: unset;
    z-index: 1;
  } 
  .board_shop_wrap{
    padding-left: 0!important;
  }
  .filter_wrap .layer_content_inner {
    display: flex;
    flex: 1;
    flex-direction: column;
  } 
  .filter_wrap .filter_check_wrap{
    flex: 1;
  }
  .filter_wrap .f_content {
    border-bottom: 0;
  }
  .filter_wrap .layer_header {
    background-color: #fff;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.27px;
    letter-spacing: -.15px;
    line-height: 22px;
    min-height: 44px;
    padding: 19px 50px 20px;
    text-align: center;
  }

  .filter_wrap .btn_layer_close {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 14px;
    width: 18px;
    height: 18px;
  }
  .btn_layer_close img{
    vertical-align: top;
    width: 100%;
  }

  .filter_wrap .f_nav {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #f0f0f0;

    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    margin-bottom: 8px;
    overflow-x: auto;
    padding: 0 16px 16px;
    position: -webkit-sticky;
    position: sticky;
    scrollbar-width: none;
    top: 0;
    width: 100%;
    z-index: 1;
  }
  .filter_wrap .f_nav > a{
    margin-right: 20px;
   }
  .filter_wrap .f_nav > a:last-of-type{
    margin-right: 0;
   }
  .filter_wrap .f_content.brand .f_choice_wrap{
    display: block;
  }
  .filter_wrap .f_content.gender .f_choice_wrap{
    display: block;
  }
  .filter_wrap .f_content .f_title {
    /* padding: 8px 16px; */
    display: none;
  }
  .filter_wrap .f_nav a span{
    color: rgba(34, 34, 34, .3);
    font-size: 16px;
    font-weight: 600;
  }
  .filter_wrap .f_nav a.on span{
    color: #222;
    font-weight: 700;
  }
  .filter_wrap .f_top_box{
    display: none;
  }
  .filter_wrap .f_content{
    display: none;
  }
  .filter_wrap .filter_btn_box .f_quick_btn_box:after{
    content: '';
    width: 1px;
    height: 20px;
    border-right: 1px solid #ebebeb;
  }
  .filter_wrap .filter_btn_box{
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 12px 0;
  }
  .filter_wrap .btn_f_layer_box{
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    -webkit-box-flex: 0;
    width: max-content;
  }
  .filter_wrap .btn_reset img{
    vertical-align: top;
  }
  .filter_wrap .btn_f_layer_box a{
    align-items: center;
    border: 1px solid #ebebeb;
    border-radius: 30px;
    color: rgba(34, 34, 34, .8);
    display: flex;
    flex-direction: row;
    font-size: 14px;
    gap: 2px;
    height: 32px;
    padding: 8px 12px 7px;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .filter_wrap .btn_f_layer_box a.on{
    background-color: #222;
    color: #fff;
    font-weight: 600;
  }
  .filter_wrap .filter_layer_wrap{
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 200;
    /* background-color: #fff; */
  }
  .filter_wrap .filter_layer_wrap.on{
    display: block;
  }
  .filter_wrap .filter_layer_wrap .layer_background {
    background-color: rgba(34, 34, 34, .5);
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
  }

  .filter_wrap .filter_layer_wrap .layer_con_wrap {
    max-height: 100% !important;
    border-radius: 16px 16px 0 0;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    transform: none;
    width: 100%;
    position: absolute;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .1);
    overflow: hidden;
    background-color: #fff;
  }

  .filter_wrap .filter_layer_wrap .layer_content {
    display: flex;
    flex-direction: column;
    height: calc(80vh - 60px);
    min-height: 260px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}
  .filter_wrap .filter_layer_wrap .depth1_list_box > li{
    border-bottom: 1px solid #f0f0f0;
  }
  .filter_wrap .filter_layer_wrap .depth1_list_box > li > .input_box{
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;

  }
  .filter_wrap .filter_layer_wrap .btn_on_off{
    display: none;
    pointer-events: none;
  }
  .filter_wrap .filter_layer_wrap .category .depth1_list_box > li > .input_box > label.btn_check{
    pointer-events: none;
    background: none;
    padding: 0;
    width: auto;
    font-weight: 700;
  }

  .filter_wrap .filter_layer_wrap .brand .depth1_list_box > li > .input_box{
    padding: 0;
  }
  .filter_wrap .f_content.brand  .f_choice_wrap ul > li{
    border: 0;
  }
  .filter_wrap .filter_layer_wrap .brand .depth1_list_box > li > .input_box > label.btn_check{
    background: 0;
    padding: 18px 36px 16px 16px;
    color: #222;
    font-size: 13px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .filter_wrap .filter_layer_wrap .brand .depth1_list_box > li > .input_box > label.btn_check.on{
    background: url('/images02/f_brand_check.svg') right 16px top 50%/20px 20px no-repeat;
    font-weight: 700;
  }

  .filter_wrap .filter_layer_wrap .category .depth1_list_box > li > .input_box > label.btn_check.on{
    background: #222;
    color: #fff;
    font-weight: 600;
  }
  .filter_wrap .filter_layer_wrap .gender .depth1_list_box > li > .input_box > label.btn_check.on{
    background: #222;
    color: #fff;
    font-weight: 600;
  }
  .filter_wrap .filter_layer_wrap .category .depth1_list_box > li > .input_box > .btn_select{
    color: rgba(34, 34, 34, .3);
    font-weight: 600;
  }
  .filter_wrap .f_content .f_choice_wrap .depth2_list_box{
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 8px;
  }
  .filter_wrap .filter_layer_wrap .gender .depth1_list_box{
    display: flex;
    padding: 12px 16px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 8px;
  }
  .filter_wrap .filter_layer_wrap .gender .depth1_list_box > li{
    border: 0;
  }
  .filter_wrap .filter_layer_wrap .gender .depth1_list_box > li > .input_box{
    padding: 0;
  }
  .filter_wrap .filter_layer_wrap .gender .depth1_list_box > li > .input_box > label.btn_check{
    display: flex;
    align-self: center;
    justify-content: center;
    background: none;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 30px;
    color: rgba(34, 34, 34.8);
    font-size: 14px;
    letter-spacing: -.21px;
    line-height: 17px;
    padding: 7px 16px;
  }
  .filter_wrap .filter_layer_wrap .gender .depth1_list_box > li > .input_box > label.btn_check.on{
    background: #222;
    color: #fff;
    font-weight: 600;
  }
  .filter_wrap .filter_layer_wrap .depth2_list_box > li > .input_box > label.btn_check{
    display: flex;
    align-self: center;
    justify-content: center;
    background: none;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 30px;
    color: rgba(34, 34, 34.8);
    font-size: 14px;
    letter-spacing: -.21px;
    line-height: 17px;
    padding: 7px 16px;
  }
  .filter_wrap .filter_layer_wrap .depth2_list_box > li > .input_box > label.btn_check.on{
    background: #222;
    color: #fff;
    font-weight: 600;
  }

  .filter_wrap .f_content.checked .f_title .tit::after{
    display: none!important;
  }

  .filter_wrap .bot_btn_wrap {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    bottom: 0;
    position: -webkit-sticky;
    position: sticky;
    width: 100%;
    z-index: 5;
  }
  .filter_wrap .bot_btn_wrap .f_placeholder {
    display: flex;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    height: 52px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 16px;
    scrollbar-width: none;
    width: 100%;
    margin: 0;
    white-space: nowrap;
    gap: 12px;
    box-sizing: border-box;
    display: none;
  }
  .filter_wrap .bot_btn_wrap .filter_tag_box {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .filter_wrap .bot_btn_wrap .filter_tag_box .btn_del {
    cursor: pointer;
    display: block;
    width: 8px;
    height: 8px;
    background: url('/images02/f_layer_close.png') center/100% auto no-repeat;
  }
  .filter_wrap .bot_btn_wrap .f_placeholder.on {
    display: flex;
    flex-wrap: nowrap;
  }

  .filter_wrap .bot_btn_wrap .btn_box{
    display: flex;
    gap: 8px;
    padding: 10px 16px;
  }
  .filter_wrap .bot_btn_wrap .btn_box a{
    align-items: center;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    min-width: 100px;
    word-break: keep-all;
    height: 52px;
    border-radius: 14px;
    padding: 0 25px;
    justify-content: center;
  }
  .filter_wrap .bot_btn_wrap .btn_reset{
    align-items: center;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    min-width: 100px;
    word-break: keep-all;
    height: 52px;
    border-radius: 14px;
    padding: 0 25px;
    justify-content: center;
    color: rgba(34, 34, 34, .8);
    border: 1px solid #ebebeb;
    box-sizing: border-box;
  }
  .filter_wrap .bot_btn_wrap .f_submit {
    background-color: #222;
    color: #fff;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
  }
  .filter_wrap .f_content ul.depth1_list_box {
    max-height: 100000px;
    overflow-y: unset;
  }
  .filter_wrap .filter_layer_wrap .category .depth1_list_box > li > .input_box > label.btn_check.on{
    background: #fff;
    color: #202020;
    font-weight: 700;
  }
}