:root {
    --primary-color: #573cfa;
    --sub1-color: #BFC3FF;
    --sub2-color: #CCFC06;
    --font-primary1: "NanumSquareNeoBold";
    --font-primary2: "NanumSquareNeoExtraBold";
    --font-primary3: "NanumSquareNeoHeavy";
    --font-point: "NPSfontRegular";
    --font-point2: "NPSfontBold";
}
/* 토스트팝업 */

.modal-wrap {position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, .6); z-index: 1000;}
.toast-con {position: fixed; bottom: 0; left: 0; background-color: #fff; border-radius: 20px 20px 0 0; padding: 20px; width: 100%;}
.toast-con .handle {width: 45px; height: 7px; border-radius: 50px; background-color: #dbdcde; margin: 0 auto 15px;}

/* 찜-저장, 폴더생성 */

.like-head {display: flex; align-items: center; justify-content: space-between;}
.like-head div.like-tit {display: flex; align-items: center; gap: 5px; margin-bottom: 0;}
.like-head div.like-tit em {background: url(../img/save-chk.png) no-repeat center/cover; width: 21px; height: 16px;}
.like-head div.like-tit p {font-size: 18px; font-family: var(--font-primary2);}

.like-fold ul {display: flex;}
.thum em {width: 57px; height: 57px; border-radius: 10px; overflow: hidden;}
.thum {display: flex; align-items: center; gap: 10px;}
.thum p {font-size: 16px; font-weight: 600;}
.like-tst .fold-con ul li label {display: block;}
.like-tst .fold-con ul li label em {cursor: pointer;}
.like-tst .fold-con {padding-top: 20px; max-height: 240px; overflow-y: auto;}
.like-tst .fold-con ul li div > em {width: 60px; border-radius: 6px;}
.toast-con button {width: 100%; margin-top: 30px;}

.new-head {display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px;}
.new-head div {display: flex; align-items: center; gap: 10px;}
.new-head div em {background: url(../img/back.png) no-repeat center/cover; width: 22px; height: 36px; cursor: pointer;}
.new-head div p {font-size: 16px; font-family: var(--font-primary2);}
.new-head span {font-size: 15px; font-weight: 600; color: var(--primary-color); cursor: pointer;}
.tst-head {position: relative;}
.tst-head em.cl-btn {background: url(../img/close-btn.png) no-repeat center/cover; width: 15px; height: 17px; position: absolute; top: 0; right: 0;}
.mid-tit {justify-content: center;}
.cu-type {display: flex; flex-direction: column; gap: 20px; max-height: 350px; overflow-y: auto;}
.cu-type li label {display: flex; align-items: center; gap: 8px;}
.cu-reg input {background-color: #f5f5f5; height: 50px; padding: 10px; margin-bottom: 20px;}
.cu-reg .st-calendar {border-bottom: none; padding-top: 0;}

/* 필터링 */
.toast-con .l-tab ul {padding: 0;}
.toast-con .l-tab ul li {padding: 5px; font-size: 16px;}

/* .all-region {margin-top: 20px;} */
.reg-tit em {background: url(../img/angle4.png) no-repeat center/contain; width: 14px; height: 15px; transform: rotate(0); flex-shrink: 0;}
.reg-tit em.on {transform: rotate(180deg);}

.all-region {height: 275px; overflow-y: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 25px;}
/* 스크롤바 안보이게 xxxxxx */
.all-region::-webkit-scrollbar {
    display: none;
  }
.all-region .reg-tit {display: flex; align-items: center; justify-content: space-between;cursor: pointer;}
.all-region .reg-tit div {display: flex; align-items: center; gap: 5px;}
.all-region .reg-tit div p {font-size: 16px; color: #222; font-weight: 500; cursor: pointer;}
.all-region .reg-tit div span {color: var(--primary-color); font-weight: 700;}
.reg-inner {margin-top: 15px; display: none;}
.reg-inner ul {display: flex; flex-wrap: wrap; gap: 8px;}
.reg-inner ul li {padding: 7px 15px; border-radius: 6px; border: 1px solid #eee; font-size: 14px; cursor: pointer;}
.reg-inner ul li em {margin-top: 1px;}
.reg-inner ul li.on {border-color: var(--primary-color); }
.reg-inner ul li.on em {color: var(--primary-color); font-weight: 600;}
.filter-btn {display: flex; align-items: center; gap: 20px; margin-top: 30px;}
.filter-btn button {margin-top: 0;}
.toast-con .type {border-bottom: none;}
.filter-pet, .fi-weight, .fi-conv, .fi-price {height: 275px; overflow-y: auto; padding-top: 30px;}
.filter-pet ul, .fi-weight ul, .fi-conv ul, .fi-price ul {flex-direction: column; row-gap: 30px !important;}
.filter-pet .type, .fi-weight .type, .fi-conv .type, .fi-price .type {margin-top: 0;}
.toast-con .type li label p {color: #555;}
.toast-con .type li input:checked + label p {color: #222; font-weight: 500;}
.fi-price .type {display:flex;gap:30px;}
.fi-price .type label {width:100%;}
.fi-price .price-graph p {font-weight:500;}
.fi-price .low-high label {color:#555; position:relative;}
.fi-price .low-high label:last-child::before {content: "~";display: block;position: absolute; top: 50%; left:-19px;}

/* 체크리스트 모달 */
.tst-chklist .check-info {padding: 0; border: none;}
.tst-chklist .check-info ul li {position: relative;}
.tst-chklist .check-info ul li span {position: absolute; width: 20px; height: 20px; top: 50%; right: 0; transform: translateY(-50%); background: url(../img/chk-del.png) no-repeat center/cover; cursor: pointer;}
.tst-chklist .check-info ul li.chk-custom input {border: none; padding: 0 0 0 5px; height: fit-content; border-radius: 0;}
.chklist-head p {font-size: 18px; text-align: center;}
.tst-chklist .check-info ul {}
/* .chklist-head {position: relative; margin-bottom: 20px;} */
.tst-head {position: relative; margin-bottom: 20px;}
.tst-head .del {position: absolute; top: 50%; right: 0; transform: translateY(-50%); background: url(../img/hd_close.png) no-repeat center/cover; width: 14px; height: 14px; cursor: pointer;}

/* 알림모달 */

.modal-con {position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background-color: #fff;border-radius: 6px; padding: 30px 20px; overflow: hidden;}
.de-modal-con {width: 85vw;max-height:80vh; padding: 15px; display: flex; flex-direction: column; gap: 15px;}
.mo-de-btn {display: flex; align-items: center; gap: 10px;}
.de-mo-con {text-align: center; padding: 15px 0; font-size: 16px;overflow-y: auto;}
.de-mo-con p {color: #222; font-weight: 500; font-size: 17px;}
.mo-de-btn button {flex: 1; height: 47px; font-weight: 600;}

.md-alarm {width: 85vw;}
.md-alarm .md-al-txt {display: flex; flex-direction: column; align-items: center; gap: 20px;}
.md-alarm .md-al-txt em {width: 70px;}
.md-alarm .md-al-txt div {display: flex; flex-direction: column; gap: 5px;}
.md-alarm .md-al-txt div h4 {font-size: 19px; font-weight: 700;}
.md-alarm .md-al-txt div p {font-size: 15px; color: #666; text-align: center; font-weight: 500;}
.md-al-btn {margin-top: 25px; display: flex; flex-direction: column; gap: 20px; align-items: center;}
.md-al-btn button {width: 100%;}
.md-al-btn span {font-size: 14px; color: #999; font-weight: 500;}

.md-join {padding: 0; width: 85vw;}
.md-join ul {display: flex;}
.md-join ul li {width: 50%; padding: 12px 0; font-size: 15px; color: #555; text-align: center; cursor: pointer;}
.md-join em {display: block;}
.md-join ul li:last-child {border-left: 1px solid #eee;}

.md-join figure {
  width:100%; 
}
.md-join figure img {
  width:100%;height:100%;object-fit: cover;
}

.md-join .slick-dots {display:flex; gap:6px;position: absolute; bottom: 10px; left: 50%; margin: 0; padding: 0; transform: translateX(-50%);} 
.md-join .slick-dots button {display:none;} 
.md-join .slick-dots li { background: #ffffff60; width: 5px; height: 5px;  border-radius: 100px; border: none;cursor:pointer;padding: 0 !important;border:0px !important;} /* 원 모양 */
/* .md-join .slick-dots li:hover { background: red;} */
.md-join .slick-dots li.slick-active {width:20px;background:#fff; } /*현재슬라이드 위치 표시*/




/* 스낵바 */
.snack {position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
   /* width: calc(100% - 40px);  */
  width:fit-content;
  background-color: #222; z-index: 20; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; padding: 14px;}
.snack p {color: #fff; font-weight: 500; font-size: 14px;}
.snack span {font-size: 14px; color: #ffffffbd; text-decoration: underline;}

.ho-modal-con {width:100%; height: 100%; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); overflow-y: auto; z-index: 99; background-color: #fff; overflow-x: hidden;}
/* 스크롤바 안보이게 xxxxxx */
.ho-modal-con::-webkit-scrollbar {
    display: none;
  }
.ho-modal-con .swiper {overflow: hidden; position: relative !important;}
.ho-modal-con .left {background: url(../img/close-btn.png) no-repeat center/cover; width: 17px; height: 17px; position: absolute; top: 50%; right: 20px; transform: translateY(-50%);cursor: pointer;}
.ho-modal-con .pro-header {gap: 15px; justify-content: center; position: sticky; top: 0; left: 0;}
.ho-modal-con .wrap {position: relative;}
.ho-modal-con .bt-fixed {padding: 10px; display: flex; gap: 10px; position: sticky; bottom: 0; left: 0;}
.ho-modal-con .detail {padding-bottom: 50px;}

.res-modal {height: 100%; width: 100%; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; overflow-y: auto; overflow-x: hidden;background-color: #fff;}
.res-modal .bt-fixed {position: sticky; bottom: 0; left: 0; width: 100%;}
.res-modal .bt-fixed button {width: 100%;}
.res-modal .st-res {padding-bottom: 80px;}
.res-modal .pro-header {gap: 15px; justify-content: center; position: sticky; top: 0; left: 0;}
.res-modal .left {background: url(../img/close-btn.png) no-repeat center/cover; width: 17px; height: 17px; position: absolute; top: 50%; right: 20px; transform: translateY(-50%);cursor: pointer;}
/* 스크롤바 안보이게 xxxxxx */
.res-modal::-webkit-scrollbar {
    display: none;
  }
.pc-sticky {display: none;}

/* 스크롤바 안보이게 xxxxxx */
.like-tst .fold-con::-webkit-scrollbar {
  display: none;
}

/* 사진모달 */
.ph-modal-con {width: 100%; background-color: transparent; height: 100vh; padding: 0; border-radius: 0;}
.ph-head {height: 50px; background-color: #fff; display: flex; align-items: center; justify-content: center; position: relative;}
.ph-head p {font-size: 17px; color: #222;}
.ph-head em {background: url(../img/clo-btn.png) no-repeat center/cover; width: 15px; height: 15px; position: absolute; top: 50%; right: 20px; transform: translateY(-50%);}
.mo-ph-wrap {position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%;}
.ph-page {padding: 3px 10px; border-radius: 50px; background-color: #222; color: #fff !important; width: fit-content !important; font-size: 14px;left: 50% !important; transform: translateX(-50%) !important;}
.ph-page span {color: #fff; font-size: 14px; }
.phSwiper .swiper-button-next, .phSwiper .swiper-button-prev {width: 50px; height: 50px; background: rgba(0, 0, 0, .4); display: flex !important;  align-items: center; justify-content: center;}
.phSwiper .swiper-button-next:after, .phSwiper .swiper-button-prev:after {display: none;}
.phSwiper .swiper-button-next em {background: url(../img/ph-ang.png) no-repeat center/cover; width: 15px; height: 25px;}
.phSwiper .swiper-button-prev em {background: url(../img/ph-ang-prev.png) no-repeat center/cover; width: 15px; height: 25px;}

/* 05.13 커뮤니티 모달 수정 */
.cu-type2-wrap {height: 400px; overflow-y: auto;}
.cu-type2 {margin-bottom: 20px;}
.cu-type2 p {font-weight: 600; margin-bottom: 8px;}
.cu-type2 ul {display: flex; flex-direction: column; gap: 7px;}
.cu-type2 ul li {padding-left: 6px;}
.cu-type2 ul li label {display: flex; align-items: center; gap: 8px;}
.cu-type2 ul li input + label em {width: 20px; height: 20px;}
.cu-type2 ul li input:checked + label span {font-weight: 600;}
.cu-type2 ul li label span {font-size: 14px;}


/* 포인트 안내 모달 */
.review-mile ul {display: flex; flex-direction: column; gap: 10px;}
.review-mile ul li {display: flex; align-items: center; justify-content: space-between;}
.review-mile ul li p {color: #555;}
.review-mile ul li span {font-weight: 600;}

/* 편의시설 더보기 모달 */
.md-fcli ul {padding: 10px 20px; display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;}
.md-fcli ul li {display: flex; flex-direction: column; align-items: center; gap: 5px;}
.md-fcli ul li em {width: 30px;}
.md-fcli ul li p {font-size: 12px; color: #333; text-wrap: nowrap;}


/* 슬라이드 */
.side-banner-wrap {width:100%;margin-bottom:25px;overflow: hidden;}
.side-banner-wrap .side-banner {overflow: hidden;width:100%;aspect-ratio: 2.5 / 1;}
.side-banner-wrap .side-banner img {width:100%;height:100%; object-fit: cover;}

.side-banner-wrap .slick-dots {display:flex; gap:6px;position: absolute; bottom: 5px; left: 50%; margin: 0; padding: 0; transform: translateX(-50%);} 
.side-banner-wrap .slick-dots button {display:none;} 
.side-banner-wrap .slick-dots li { background: #ffffff60; width: 5px; height: 5px;  border-radius: 100px; border: none;cursor:pointer} /* 원 모양 */
/* .side-banner-wrap .slick-dots li:hover { background: red;} */
.side-banner-wrap .slick-dots li.slick-active {width:18px;background:#fff; } /*현재슬라이드 위치 표시*/

.event-special .side-banner-wrap, .store-detatil-wrap .side-banner-wrap {display:none;}


.app-dl-modal figure {width:17%;margin:0 auto;border-radius:8px;overflow:hidden;margin-bottom:15px;}
.app-dl-modal figure img {width:100%;height:100%;}


.report-notice {width:100%; background:#ffe5e3;font-size:14px !important;line-height:1.3;padding:5px 5px; border-radius:6px;margin:10px 0;color:#333 !important;}

.report-wrap {text-align: left;} 
.report-wrap-title {padding:10px 0;font-size:15px !important;}
.report-wrap ul {display:flex;flex-direction: column;gap:10px;margin-bottom:10px}
.report-wrap ul li label {display:flex;gap:5px;align-items: center;}
.report-wrap ul li label p {font-size:14px !important;}
.report-wrap textarea {width:100%;border:1px solid #eee;}
.report-wrap textarea::-webkit-scrollbar {
    display: none;
  }
.cm-modal ul {gap:0;}
.cm-modal ul li {width:100%;padding:17px 8px;border-bottom:1px solid #ddd;}
.cm-modal ul li:last-child {border-bottom:0;}
.cm-modal ul li p {color:#333;text-align: center;}
.cm-modal ul li img {width:18px;}
.cm-modal ul li {justify-content: unset;gap:10px;align-items: center;}
/* .cm-modal .cl-btn {margin:0 0 10px;}
.cm-modal .tst-head {height:15px;} */
.cm-modal .toast-con button {margin-top:15px;}
.cm-modal .tst-head {margin-bottom:10px;}
.introfix-modal textarea {border:1px solid #eee;width:100%;}

.pri-modal .mo-privacy-con {text-align: left;padding: 20px;}

/* 약관/개인정보 콘텐츠 스타일 보정 */

.mo-privacy-con {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    word-break: keep-all;
}
.mo-privacy-con p {
    margin-bottom: 12px;
    line-height: 1.7;
}
.mo-privacy-con span,
.mo-privacy-con strong,
.mo-privacy-con em,
.mo-privacy-con b,
.mo-privacy-con i {
    display: inline;
    font-style: inherit;
    font-weight: inherit;
}
.mo-privacy-con br {
    opacity: 1 !important;
}
.mo-privacy-con ul,
.mo-privacy-con ol {
    padding-left: 1.6em;
    margin: 12px 0;
}
.mo-privacy-con ul li {
    list-style: disc;
}
.mo-privacy-con ol li {
    list-style: decimal;
}
.mo-privacy-con table {
    width: 100%;
    margin: 16px 0;
    border-collapse: collapse;
}
.mo-privacy-con th,
.mo-privacy-con td {
    border: 1px solid #dcdcdc;
    padding: 10px 12px;
    line-height: 1.6;
    word-break: break-all;
}
.mo-privacy-con th {
    background-color: #f5f5f5;
    font-weight: 600;
}


.share-con {display: flex; gap:15px;align-items: center;padding:15px 8px;border-bottom:1px solid #eee;}
.share-con:last-child {border-bottom:0;}
.share-con figure {width:25px;height:25px;border-radius: 6px;overflow:hidden;background:#ccc;}
.share-con figure .share-con-img {display: block;width:100%;height:100%;object-fit: contain;padding:4px;}
.share-con p {font-weight:500;font-size:15px;}


.map-modal-con {display: flex; gap:15px;align-items: center;padding:15px 8px;border-bottom:1px solid #eee;}
.map-modal-con:last-child {border-bottom:0;}
.map-modal-con figure {width:25px;height:25px;border-radius: 6px;overflow:hidden;}
.map-modal-con figure .map-con-img {display: block;width:100%;height:100%;object-fit: contain;padding:4px;}
.map-modal-con p {font-weight:500;font-size:15px;}
.map-modal-con.naver-map figure {border:1px solid #eee;}




@media screen and (min-width: 640px) {
  .toast-con .fold-con ul li {width: 100%;}
}

@media screen and (min-width: 860px) {

    
    .share-modal-wrap {display: grid;grid-template-columns: 1fr 1fr 1fr 1fr;gap:15px;}
    .share-con {display: flex; flex-direction: column;gap:15px;align-items: center;padding:15px 8px;border-bottom:0;}
    .share-con figure {width:50px;height:50px;border-radius: 6px;overflow:hidden;background:#ccc;}
    .share-con figure .share-con-img {display: block;width:100%;height:100%;object-fit: contain;padding:8px;}

    
    .map-modal-wrap {display: grid;grid-template-columns: 1fr 1fr;gap:15px;}
    .map-modal-con {display: flex; gap:15px;align-items: center;padding:15px 8px;border-bottom:0;}
    .map-modal-con:last-child {border-bottom:0;}
    .map-modal-con figure {width:40px;height:40px;border-radius: 6px;overflow:hidden;}
    .map-modal-con figure img {width:100%;height:100%;object-fit: cover;}
    .map-modal-con.naver-map figure {border:1px solid #eee;}
    .map-modal-con.naver-map figure img { padding:2px;}
    .map-modal-con p {font-weight:500;font-size:15px;}




    
    .res-modal {border-radius: 10px;}
    .fl-tit {display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid #eee;}
    .fl-tit p {font-size: 18px; font-weight: 600;}
    .fl-tit .reset i, .fl-tit .reset span{color: #aaa; font-size: 14px;}
    .filter-side .all-region, .filter-side .filter-pet,.filter-side .fi-weight,.filter-side .fi-conv {height: auto; padding: 30px 0; border-bottom: 1px solid #eee; display: flex; flex-direction: column; gap: 20px;}
    .filter-side .type {border-bottom: none; padding-bottom: 0;}
    .filter-pet ul, .fi-weight ul, .fi-conv ul {gap: 20px !important;}
    .all-region .reg-tit div p {font-weight: 400;}
    
    .filter-side .all-region > div {display: flex; flex-direction: column; gap: 25px;}
    .filter-side .sub-cate {display:none;padding: 30px 0; border-bottom: 1px solid #eee; margin-bottom: 0; margin-top: 0;}
    .filter-side .sub-cate ul {padding: 0 0 15px 0;  }
    
    .play-style .filter-side .sub-cate, .store-wrap .filter-side .sub-cate {display:block;}

    .filter-side .d-coupon {margin-bottom: 10px;}
    .pc-sticky {display: block;}

    .toast-con .fold-con {max-height: 260px;}
    .toast-con {width: 600px; border-radius: 20px; top: 50%; left: 50%; transform: translate(-50%, -50%); max-height: 500px; height: fit-content;}
    .toast-con .handle {display: none;}
    .toast-con .cls-btn {background: url(../img/hd_close.png) no-repeat center/cover; width: 18px; height: 18px; position: absolute; top: 20px; right: 20px;}
    .tst-pc-tit {text-align: center; font-size: 18px; font-weight: 600;}
    .toast-con .l-tab {margin-top: 10px;}
    .filter-btn {margin-top: 10px;}
    .toast-con .all-region {height: 290px; padding-top: 20px;}
    .filter-pet, .fi-weight, .fi-conv {padding-top: 20px;}
    .de-modal-con {width: 350px;height:unset;}
    .md-join {width: 500px;}
    .pri-modal {width: 600px;}
    .pri-modal .de-mo-con p {font-size: 18px; font-weight: 600; margin-bottom: 15px;}
    .pri-modal .mo-privacy-con {width: 100%; height: 300px; background-color: #f5f5f5; overflow-y: auto;text-align: left;
        padding: 20px;}

    .mo-ph-wrap .swiper {width: 800px; overflow: hidden !important; position: relative !important;}

    .res-modal {height: 80vh; width: 500px;}
    .ho-modal-con {width:600px; max-height: 80vh; border-radius: 10px;}

    .md-fcli ul li p {font-size: 14px !important; font-weight: 500 !important; margin-bottom: 0 !important;}

    
    .md-join .slick-dots {bottom: 15px;} 
    .md-join .slick-dots li {width: 7px; height: 7px; }
    .md-join .slick-dots li.slick-active {width:30px;}


}

@media screen and (min-width: 1280px) {
 .filter-side h4 {font-size: 18px;}
 .filter-side .all-region, .filter-side .filter-pet, .filter-side .fi-weight, .filter-side .fi-conv {gap: 30px;}
 .fl-tit p {font-size: 21px;}

}