:root {
    --primary-color: #573cfa;
    --sub1-color: #BFC3FF;
    --sub2-color: #CCFC06;
    --font-primary1: "NanumSquareNeoBold";
    --font-primary2: "NanumSquareNeoBold";
    --font-primary3: "NanumSquareNeoBold";
}
/* ====== 검색 페이지 ====== */

/* .search-wrap {padding: 20px 0px; border-bottom: 8px solid #f7f7f7; display: flex; flex-direction: column; gap: 20px;} */
.search-wrap {padding: 10px 0px; border-bottom: 8px solid #f7f7f7; display: flex; flex-direction: column; gap: 20px;}
/* .de-search {display: flex; flex-direction: column; gap: 8px; padding: 0 20px;} */
.cate-detail .de-search {gap: 0; padding-bottom: 10px;}
.cate-detail2 .sticky-cate {top: 106px;}
.search .de-search {position: static;}
.de-search {display: flex; flex-direction: column; gap: 8px; padding: 0px 20px; position: sticky; top: 0px; background-color: #fff; z-index: 20;}
.in-search {height: 50px; border: 1px solid #eee; border-radius: 6px; padding: 0 10px; display: flex; align-items: center; gap: 10px;}
.bk-search .in-search {height:36px;border-radius:6px;}
.in-search em {background: url(../img/search.png) no-repeat center/cover; width: 16px; height: 16px; flex-shrink: 0;}
.de-search.w-100 .in-search {width: 100% !important;}
.date-wrap {border: 1px solid #eee; padding: 7px 10px; border-radius: 6px; display: flex; gap: 10px;}
.date-wrap .date {display: flex; align-items: center; gap: 8px;}
.date-wrap .date p {font-size: 15px; display: flex; gap: 4px; font-weight: 600;cursor: pointer;}
.date-wrap .date p span {white-space: nowrap; font-weight: 600;}
.date-wrap .date em {background: url(../img/date.png) no-repeat center/cover; width: 16px; height: 16px;display: none;}
.date-wrap .party {display: flex; align-items: center; gap: 4px; position: relative; padding-left: 9px;}
.date-wrap .party::after {content: ""; display: block; width: 1px; height: 50%; background-color: #ddd; position: absolute; top: 50%; left: 0; transform: translateY(-50%);}
.date-wrap .party p {font-size: 15px; display: flex; font-weight: 600;}
.date-wrap .party p span {font-weight: 600; margin-left: 3px;}
.date-wrap .party p:last-child {padding-left: 5px; position: relative;}
.date-wrap .party p:last-child::after {content: ""; display: block; width: 2px; height: 2px; border-radius: 50%; background-color: #b1b1b1;position: absolute; top: 50%; left: 0; transform: translateY(-50%);}
.sticky-cate {position: sticky; top: 125px; background-color: #fff; z-index: 20; padding: 6px 0 4px;}
.cate-bt-app .sticky-cate {padding:0 0 7px; }

.de-search .bk-search {padding: 10px 0 !important; border: none;}
.bk-search .in-search {background-color: #fff; border: 2px solid #eee;}
.bk-search input {background-color: transparent;}

/* .date-wrap {display: flex; align-items: center; gap: 6px; padding: 0 !important;}
.date-wrap > div {padding:12px; border-radius: 66px;  display: flex; align-items: center; flex-grow: 1; background-color: #f5f5f5;}
.date-wrap > div.date em {background: url(../img/date.png) no-repeat center/cover; width: 16px; height: 16px; margin-right: 10px;}
.date-wrap > div.date p span {font-size: 14px; font-weight: 600;}
.date-wrap > div.party {display: flex; align-items: center; gap: 5px;}
.date-wrap > div.party p {font-size: 14px; font-weight: 600;}
.date-wrap > div.party span {font-weight: 600;}
.date-wrap > div.party p:last-child {padding-left: 7px; position: relative;}
.date-wrap > div.party p:last-child::after {content: ""; display: block; width: 2px; height: 2px; background-color: #aaa; border-radius: 50%; position: absolute; top: 50%; left: 0; transform: translateY(-50%);} */

.map-sr {display: flex; align-items: center; gap: 5px; padding: 8px 15px; border-radius: 6px; background: #f5f5f5; width: fit-content; font-size: 13px; color: #4d4d4d; font-weight: 500;cursor: pointer;}
.map-sr em {background: url(../img/map.png) no-repeat center/cover; width: 12px; height: 12px;}

.banner4 {width: 100%; overflow: hidden; padding: 0 20px;}
.banner4 .banner-img {border-radius: 0px;}
/* .search-wrap .banner4 {margin-top: 15px;} */
.search-wrap .banner4 .banner-img {border-radius: 6px; overflow: hidden;}

/* 스크롤바 안보이게 xxxxxx */
.stay-re::-webkit-scrollbar {
    display: none;
  }
.search-bt {padding: 25px 0; display: flex; flex-direction: column; gap: 35px;}
.tit-sr {display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; margin-top: 10px;}
.tit-sr h3 {font-size: 18px; font-weight: 600; font-family: var(--font-primary2);}
.tit-sr span {font-size: 12px; color: #a5a5a5; font-weight: 400;cursor: pointer;display: inline-block;padding: 3px 0 3px 20px;}

.stay-tr-wrap {width: 100%; overflow: hidden;}
.stay-re {display: flex; align-items: stretch; gap: 10px; overflow-y: auto;}
.stay-re li {padding: 14px; border-radius: 6px; background: #F7F7FF; width: 200px; position: relative; flex-shrink: 0;}
.stay-re li > p {font-size: 14px; margin-bottom: 5px; font-weight: 500; width: 85%; text-overflow: ellipsis; overflow: hidden; text-wrap: nowrap;}
.stay-re li .sr-date p {font-size: 13px; color: #666; margin-bottom: -3px;}
.stay-re li .sr-date span {font-size: 13px; color: #666;}
.stay-re li .cl-btn {width: 20px; height: 20px; background: url(../img/close-btn.png) no-repeat center/cover; position: absolute; top: 14px; right: 14px;background-size:11px 11px;background-position:right top}

.top-sr ul {display: flex; flex-direction: column; gap: 20px; padding-top: 10px;}
.top-sr ul div {display: flex; flex-direction: column; gap: 20px;}
.top-sr ul li {display: flex; align-items: center; gap: 10px;}
.top-sr ul li span {font-family: var(--font-primary3); color: var(--primary-color); width: 20px;}
.top-sr ul li p {font-weight: 500;}

.search-result {padding: 15px 0;}
.filter {width: 100%; overflow: hidden;padding-bottom:2px;}
.filter ul {display: flex; align-items: center; gap: 9px; overflow-x: auto;}
.filter ul li {display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 13px; border: 1px solid #eee; border-radius: 6px;}
.filter ul li.no-ang {padding: 6px 13px;}
.filter ul li.no-ang.on {border-color: var(--primary-color); }
.filter ul li.no-ang.on p {color: var(--primary-color);}
.filter ul li p {font-size: 14px;white-space: nowrap;}
.filter ul li i {color: #A7A7A7;}

.total {margin-top: 15px;}
.total p {font-size: 13px; color: #8e8e8e;}
.total p span {font-weight: 600; color: #4C4C4C;}

/* 스크롤바 안보이게 xxxxxx */
.filter ul::-webkit-scrollbar {
    display: none;
}
[class*='row']:before, [class*='row']:after {display: none;}
.result-wrap {padding: 0 20px; display:flex; flex-direction: column;}
.con-row-img {position: relative; aspect-ratio: 1 / 1; width: 100px; border-radius: 6px; overflow: hidden; flex-shrink: 0;height:fit-content;}
.con-row-info {width: 67%; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between;}
.con-row {display: flex; align-items: stretch; padding: 20px 0; border-bottom: 1px solid #eee; gap: 10px;width:100%;}
.cate-pro-rank .con-row {cursor: pointer;}
.crow-tit {margin-top: 8px;}
.crow-tit h3 {font-size: 16px; font-weight: 600; margin-bottom: 3px;}
.crow-price {display: flex; flex-direction: column; align-items: flex-end;}
.crow-sale {display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end;}
.crow-sale p {font-size: 14px; color: var(--primary-color); font-weight: bold;}
.crow-sale span {font-size: 14px; color: #a9a9a9; margin-left: 5px; text-decoration: line-through;}
.crow-p {display: flex; align-items: center;}
.crow-p p {font-size: 12px; color: #9e9e9e;}
.crow-p span {font-size: 18px; font-weight: 700; margin-left: 5px;}
.crow-price ul {display: flex; gap: 5px;}
.crow-price ul li {display: flex; align-items: center; font-size: 12px;}
.crow-price ul li p {color: #666; margin-right: 3px;}
.crow-price ul li span {color: #444;font-weight: 600;}

.cate-pro-rank {gap: 0;}
.h-sub-info {display: flex; margin-top: 5px; flex-wrap: wrap;}
.h-sub-info p span {display: inline-block; color: #979797;}
.h-sub-info p, .h-sub-info ul li {font-size: 12px; color: #979797; position: relative; font-weight: 500; margin-bottom: 0;}
.h-sub-info p:first-child {padding-left: 0;}
.h-sub-info p:first-child::after {content: none;}
.h-sub-info p::before {content: "/"; display: inline-block;}
.h-sub-info p:first-child:before {display: none;}
.cate-pro-rank .h-sub-info {margin-top: -2px; margin-bottom: 8px;}
.result-wrap .h-sub-info {margin-top: -2px; margin-bottom: 8px;}
.h-sub-info ul {display: flex; align-items: center; gap: 2px;}
.h-sub-info ul li:last-child {padding-left: 4px; position: relative;}
.h-sub-info ul li:last-child::after {content: ""; display: block; width: 2px; height: 2px; background-color: #ddd; border-radius: 50%; background-color: #ddd; position: absolute; top: 50%; left: 0; transform: translateY(-50%);}


/* 2025.05.02 구조 수정 */

.cst-cate .banner4 {padding: 0 20px; margin-bottom: 10px;}
/* .cst-cate .cate-bt {padding-top: 0;} */
.cst-cate .bk-search {border-bottom: none; position: sticky !important; top: 0; left: 0; background-color: #fff; z-index: 10;}
.cst-cate .date-bg {position: sticky; top: 111px; left: 0; z-index: 10; background-color: #fff; padding: 0 20px 10px;}
.cst-cate .close-btn {background: url(../img/back.png) no-repeat center/cover; width: 22px; height: 36px; flex-shrink: 0;}
.cst-cate .in-search {width: 100%;}
.cst-cate .sticky-cate {top: 158px;}

.cst-detail .cst-input {padding: 10px 20px 5px;}
.cst-detail .cate-bt {padding-top: 0px;}

/* 자동 검색 css */
.in-search {position: relative;}
.co-input {position: relative;}
.result-box {position: absolute; width: 100%; background-color: #fff; top: 104%; left: 0; padding: 20px; border-radius: 6px; box-shadow: 0px 0px 10px rgba(0, 0, 0, .04); z-index: 10;}
.result-box ul {max-height: 350px; overflow-y: auto;}
.result-box ul li {padding: 10px 0; border-bottom: 1px solid #f1f1f1; font-size: 15px;}
.result-box ul li:last-child {border-bottom: none;}


.search-wrap .in-search {height:37px;}


/* -------- 320px -------- */
@media screen and (min-width: 320px) {
    .de-search .in-search {padding: 0 15px;}
    .pet_search_wrap .de-search .in-search {width:100%;}
    .crow-price ul {gap: 8px;}
    .crow-p span {font-size: 20px;}
    .crow-tit h3 {font-size: 17px;}

    .con-row-img {width: 40%;}

}

@media screen and (min-width: 480px) {
	/* 중형 모바일 스타일 */
}

@media screen and (min-width: 640px) {
	/* 대형 모바일 스타일 */
}

@media screen and (min-width: 768px) {
	/* 태블릿 모바일 스타일 */
    .banner-img img {max-height: 250px;}    
	video.swiper-slide  {max-height:250px;}
    .swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {pointer-events: unset !important;}
}

@media screen and (min-width: 860px) {
    .bgc {background-color: #f6f6f6;}
    .tit-sr span {font-size: 14px;}
    .bt-fixed button {width: 860px; margin: 0 auto;}
    .wd3 .bt-fixed button {width: 460px; margin: 0 auto;}
    .myp-rec {display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 0px; padding-top: 20px;}
    .myp-rec .con-row {padding-top: 20px !important;cursor: pointer;}
    .myp-rec .crow-tit {margin-top: 0;}
    .myp-rec > div {width: calc((100% - 20px) / 2);}

    .cate-detail {margin-top: 100px;}
    .de-search .close-btn {display: none;}
    .cate-detail .de-search {flex-direction: row; gap: 10px; align-items: center;}
    .de-search .bk-search {width: 50%;}
    .cate-detail .date-wrap {width: 50%; padding: 14px 10px;}
    .crow-tit h3 {font-size: 18px !important;}
    .con-row:first-child {padding-top: 0;}

    .cst-cate .bk-search {display: none !important;}
    .cst-cate .date-bg {display: none;}
}

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

.top-sr ul {flex-direction: row;}
.top-sr ul div {width: 50%;}
.l-tab ul {padding: 0;}

.bt-fixed {padding: 10px; border-top: 1px solid #eee;}

/* .search-wrap {margin-top: 10px;} */
.con-row {width: 100%; gap: 15px;}
.con-row-img {aspect-ratio: 1 / .85; width: 320px;}
.like-wrap .con-row-img {width: 190px;}

}

@media screen and (min-width: 1280px) {
.myp-rec {column-gap: 35px;}
.myp-rec > div {width: calc((100% - 35px) / 2);}
.recent-wrap .crow-tit h3 {font-size: 18px;}
.recent-wrap .crow-tit ul li {font-size: 14px;}
.recent-wrap .con-row-img {width: 120px; height: 120px;}
.recent-wrap .crow-sale span {font-size: 20px;}

.crow-tit h3 {font-size: 19px !important; margin-bottom: 5px;}
.crow-p p {font-size: 15px;}
.crow-sale span {font-size: 16px;}
.crow-price ul li p, .crow-price ul li span {font-size: 14px;}
}
