@charset "utf-8";
/* webfont */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@300;400;500;600;700&display=swap');

button {
  font-family: "IBM Plex Sans KR";
}

/* search-shop 페이지는 헤더 제외 영역을 한 화면으로 고정 */
.search-shop-content {
  height: auto;
  overflow: visible;
}
.search-shop-content > .sub-content__wrap {
  height: auto;
  padding-top: 80px;
  box-sizing: border-box;
}
.search-shop-content .map_wrapper,
.search-shop-content .map_side,
.search-shop-content .map_view{
  height: calc(100vh - 80px);
}

/* 2024 5월 카스타일랩 찾기 리뉴얼 */
.map_wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 0;
  top: 0;
  left: 0;
  width: 100%;
}
.map_side {
  display: flex;
  flex-shrink: 0;
  position: relative;
  left: 0;
  width: 710px;
  background-color: #fff;
  border-top: 1px solid #EFEFEF;
  box-shadow: 3px 0 15px rgba(0,0,0,.24);
}
.map_view {
  width: calc(100% - 710px);
}
.map_wrapper.closed .map_side {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -710px;
  box-shadow: 0px 0 7px 7px #68686829;
}
.map_wrapper.closed .map_side:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
}
.map_wrapper.closed .map_view {
  width: 100%;
}
.filter_wrap {
  width: 355px;
  padding: 20px 20px 20px 30px;
}
.store_wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  /*overflow: hidden;*/
  border-left: 1px solid #EAEAEA;
}
/*.select_box {*/
/*  position: relative;*/
/*}*/
/*.select_box::after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  top: 18px;*/
/*  right: 12px;*/
/*  width: 10px;*/
/*  height: 6px;*/
/*}*/
/*.detail_wrap {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100vh;*/
/*  background-color: rgba(0,0,0,0.5);*/
/*  z-index: 200;*/
/*  visibility: hidden;*/
/*  opacity: 0;*/
/*  -webkit-transition: all 0.2s ease-in-out;*/
/*  transition: all 0.2s ease-in-out;*/
/*}*/
/*.detail_wrap.visible {*/
/*  visibility: visible;*/
/*  opacity: 1;*/
/*}*/
/*.detail_box {*/
/*  position: absolute;*/
/*  top: -75px;*/
/*  right: -495px;*/
/*  width: 510px;*/
/*  height: 546px;*/
/*  padding: 25px 20px;*/
/*  border-radius: 10px;*/
/*  background-color: #fff;*/
/*  border: 1px solid #000;*/
/*  z-index: 500;*/
/*  visibility: hidden;*/
/*  opacity: 0;*/
/*  -webkit-transition: all 0.2s ease-in-out;*/
/*  transition: all 0.2s ease-in-out;*/
/*}*/
/*.detail_box:after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  top: 69px;*/
/*  left: -29px;*/
/*  width: 29px;*/
/*  height: 24px;*/
/*}*/
/*.detail_box_m {*/
/*  display: none;*/
/*}*/
/*.detail_box.visible {*/
/*  visibility: visible;*/
/*  opacity: 1;*/
/*}*/
/*.detail_list {*/
/*  margin-top: 6px;*/
/*}*/
/*.detail_list li {*/
/*  padding: 9px 0 12px;*/
/*  border-bottom: 1px solid #EFEFEF;*/
/*}*/
/*.detail_list li:last-child {*/
/*  border-bottom: none;*/
/*}*/

.store_list_wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 0;
  border-right: 1px solid #EAEAEA;
  z-index: 100;
}
.store_list>li {
  background-color: #fff;
  border-bottom: 1px solid #EAEAEA;
  cursor: pointer;
}
.store_list>li.selected {
  /*background-color: #FFF8F8;*/
  background-color: #F5F5F5;
}
.store_list>li.no_data {
  display: block;
  padding: 5px 0;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.5;
  cursor: default;
}
.store_list>li.no_data .store_box p{
  font-size: 14px;
  color: #7c7c7c;
  line-height: 22px;
}
.store_list li.tbex_studio:first-of-type {
  background-color: #fff;
}
.store_list li.tbex_studio.selected {
  /*background-color: #FFF8F8;*/
  background-color: #F5F5F5;
}
.store_box {
  padding: 25px 20px 37px;
  position: relative;
}
.store_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
}
/*.badge_list li img {*/
/*  width: 27px;*/
/*}*/
/*.badge_list li img.ico_wrapping {*/
/*  width: 32px;*/
/*}*/
/*.badge_list {*/
/*  display: flex;*/
/*}*/
.info_right {
  display: flex;
}
.direct {
  padding: 4px 12px 3px;
  background-color: #000;
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
}
/*.official_result {*/
/*  padding: 5px 6px 3px 6px;*/
/*  background-color: #EFEFEF;*/
/*  border: 1px solid #D6D6D6;*/
/*  border-radius: 4px;*/
/*}*/
.store_nm {
  font-size: 20px;
  font-weight: 600;
  line-height: 22px;
}
.store_nm_with_link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.store_nm_with_link a {
  display: inline-flex;
  margin: 0 0 2px;
}
.store_nm_with_link .ico_link {
  width: 14px;
  margin-left: 0;
  margin-top: -1px;
}
.store_add {
  margin: 17px 0 7px;
  color: #7c7c7c;
  font-size: 14px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 18px;
}
.store_phone {
  color: #C9001B;
  text-decoration: underline;
}
.btn_toggle {
  position: absolute;
  top: 50%;
  right: -28px;
  width: 28px;
  height: 56px;
  background-color: #000;
  border-radius: 0 6px 6px 0;
  box-shadow: 0px 5px 20px rgba(0,0,0,.24);
  cursor: pointer;
  z-index: 50;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.btn_toggle:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #fff;
  z-index: 50;
  transform: translate(-50%,-50%);
}
.btn_toggle.closed:after {
  border-right: 0;
  border-left: 8px solid #fff;
}
.btn_toggle_m {
  display: none;
}
.map_side_bg {
  display: none;
}
.pagination {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 24px 0;
  border-right: 1px solid #EFEFEF;
  background-color: #fff;
}
.pagination li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin: 0 4px;
  font-size: 1rem;
}
.pagination li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}
.pagination li.on a {
  color: #D6101F;
  font-weight: 500;
}
.btn_prev {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #000;
  border-right: 1.5px solid #000;
  transform: rotate(-135deg);
}
.btn_next {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #000;
  border-right: 1.5px solid #000;
  transform: rotate(45deg);
}

/* 20240613 수정 */
.map_side_wrap {
  z-index: 100;
  position: relative;
}
/*.detail_box {*/
/*  top: 116px;*/
/*  right: auto;*/
/*  left: 160px;*/
/*}*/

/* 20241023 수정 */
/*.official_result {*/
/*  display: inline-block;*/
/*  margin-top: 10px;*/
/*  margin-bottom: 5px;*/
/*}*/

/* 20250917 카스타일랩 찾기 리뷰보기 추가 */
.phone_review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*margin-top: 12px;*/
}

/* 20251117 카스타일랩 리뉴얼 - 검색창 추가, 고객리뷰 추가 */
.style_store_search {
  margin-bottom: 24px;
}

/*.region_filter_wrap {*/
/*  margin-bottom: 16px;*/
/*}*/
/*.region_filter_tit {*/
/*  margin-bottom: 10px;*/
/*  color: #000;*/
/*  !*font-size: 2rem;*!*/
/*  font-weight: 600;*/
/*  line-height: 1.2;*/
/*}*/
/*.region_filter_row {*/
/*  display: flex;*/
/*  gap: 10px;*/
/*}*/
/*.region_select_item {*/
/*  flex: 1;*/
/*}*/
/* 지역 드롭다운은 네이티브 셀렉트로 표시해
   브라우저 기본 펼침 위치(박스 기준)를 최대한 맞춘다. */
/*.region_filter_row .select_box::after {*/
/*  display: none;*/
/*}*/
/*.region_select_box {*/
/*  width: 100%;*/
/*  height: 42px;*/
/*  padding: 0 12px;*/
/*  border: 1px solid #e7e7e7;*/
/*  border-radius: 4px;*/
/*  color: #000;*/
/*  font-size: 1.4rem;*/
/*  cursor: pointer;*/
/*  appearance: auto;*/
/*  -webkit-appearance: menulist;*/
/*  -moz-appearance: menulist;*/
/*}*/
/*.region_select_box:focus {*/
/*  border-color: #000;*/
/*  outline: none;*/
/*}*/
/*.region_select_box::-ms-expand {*/
/*  display: none;*/
/*}*/

.search_row {
  position: relative;
}
.store_search_input {
  width: 100%;
  height: 46px;
  padding: 0 50px 0 20px;
  background-color: #FAFAFA;
  border: 1px solid #EFEFEF;
  border-radius: 23px;

  /* input type="search"의 기본 X 버튼(clear button) 숨기기 */
  /* Webkit 기반 브라우저 (Chrome, Safari) */
  &::-webkit-search-decoration,
  &::-webkit-search-cancel-button,
  &::-webkit-search-results-button,
  &::-webkit-search-results-decoration {
    display: none;
  }
  /* Firefox */
  &::-moz-focus-inner {
    border: 0;
    padding: 0;
  }
  /* Edge */
  &::-ms-clear {
    display: none;
    width : 0;
    height: 0;
  }
}
.store_search_input::placeholder {
  color: #848484;
  font-size: 14px;
}
.store_search_input:focus {
  border-color: var(--text);
}
.store_search_button {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background: url("/images/solargard/ico-search-black.png") no-repeat center / contain;
}

/* 마커 */
.map_info_view {
  position: relative;
  width: 300px;
  /*height: 194px;*/
  padding: 22px 17px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 0 5px 0 5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
  box-shadow: 0 5px 20px rgba(0,0,0,.24);
}

.map_info_view.is-open {
  opacity: 1;
  transform: translateY(0);
}

.map_info_view:before {
  content: '';
  position: absolute;
  left: 153px;
  bottom: -32px;
  width: 50px;
  height: 32px;
  background-color: #000;
  clip-path: polygon(26% 0, 100% 0, 0 100%);
}

.map_info_view:after {
  content: '';
  position: absolute;
  left: 155px;
  bottom: -30px;
  width: 48px;
  height: 31px;
  background-color: #fff;
  clip-path: polygon(26% 0, 100% 0, 0 100%);
}

.map_info_view .store_nm{
  font-size: 16px;
  line-height: 24px;
}
.map_info_view .store_add{
  font-size: 12px;
  line-height: 18px;
  margin: 10px 0 0;
}

.map_info_close_btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent url("/images/solargard/ico-btn-close.svg") no-repeat center;
  background-size: 10px 10px;
  cursor: pointer;
}

.mobile-handle,
.btn-store-open{
  display: none;
}

/* responsive */
@media screen and (max-width: 1024px) {
  .search-shop-content{
    height: 100vh;
  }
  .search-shop-content > .sub-content__wrap{
    height: 100%;
  }
  .map_wrapper{
    position: absolute;
    top: 80px;
    display: block;
  }
  .map_side_wrap{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  .map_side_wrap .map_side{
    width: 100%;
    height: auto;
  }
  .map_side .filter_wrap{
    width: 100%;
    padding: 10px 14px;
  }
  .map_side .filter_wrap .style_store_search{
    margin-bottom: 0;
  }
  .map_side .filter_wrap .store_search_input{
    height: 40px;
  }
  .map_side .store_wrap{
    position: fixed;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 20px 20px 0 0;
    transform: none;
    transition: .4s;
    box-shadow: 0 0 7px rgba(0,0,0,.2);
  }
  .map_side .store_wrap.open{
    top: 200px;
  }
  .map_side .store_wrap.close{
    transform: translateY(calc(100% + 2px));
  }
  .map_side .store_wrap .btn-store-open{
    position: absolute;
    display: inline-block;
    left: 50%;
    bottom: calc(100% + 77px);
    width: 120px;
    height: 35px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #000;
    border-radius: 40px;
    border: none;
    transform: translateX(-50%);
    box-shadow: 2px 2px 6px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .map_side .store_wrap .btn-store-open::before{
    content: "";
    display: inline-block;
    width: 24px;
    height: 15px;
    margin: 0 8px 0 1px;
    vertical-align: middle;
    background: url("/images/solargard/ico-map-list.svg") no-repeat center / contain;
  }
  .map_side .store_wrap.close .btn-store-open{
    opacity: 1;
    visibility: visible;
  }
  .map_side .store_wrap .mobile-handle{
    display: block;
    height: 30px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    touch-action: none;
  }
  .map_side .store_wrap .mobile-handle::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 4px;
    background: #9a9a9a;
    border-radius: 2px;
  }
  .map_side .store_wrap.close .mobile-handle{
    pointer-events: none;
    border-bottom: none;
    opacity: .1;
  }

  .map_side .store_wrap.close .store_list_wrap{
    opacity: 0;
    visibility: hidden;
  }

  .map_side .store_wrap .btn_toggle{
    display: none;
  }

  .direct {
    padding: 2px 8px;
  }
  .store_add{
    margin: 7px 0 0;
  }
  .map_view{
    width: 100%;
  }
  .map_view > div:has(button[title="확대"]) {
    top: 80px !important;
  }
}

@media screen and (max-width: 768px) {
  .search-shop-content .map_wrapper,
  .search-shop-content .map_view{
    height: calc(100vh - 60px);
  }
  .map_wrapper{
    top: 60px;
  }
}