/* 커스텀 오버레이 { */
.wrap {position: absolute;left: 0;bottom: 60px;width: 240px;height: 70px;margin-left: -120px;text-align: left;overflow: hidden;font-size: 14px;border-radius: 6px;box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);}
.wrap * {padding: 0;margin: 0;}
.wrap .info {width: 240px;height: 70px;overflow: hidden;background: #fff;}
.wrap .info:nth-child(1) {border: 0;}
.info .close {position: absolute;top: -6px;right: -10px;width: 25px;height: 25px;}
.info .close:hover {cursor: pointer;}
.info .body {position: relative;overflow: hidden;height: 70px;}
.info .desc {position: relative;margin:8px 12px}
.desc .sub1 {padding-right:5px; font-size: 16px;color: #000;letter-spacing: -0.5px;margin-top: 3px; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.desc .sub2 {font-size: 13px;color: #888;letter-spacing: -0.5px;margin-top: 5px; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.desc .titles {font-weight: bold;font-size: 14px;}
.info .img {position: absolute;top: 10px;left: 10px;width: 50px;height: 50px;border-radius: 4px;background-repeat: no-repeat;background-position: center center;background-size: cover;}
/* } */

.gps_title .SumoSelect {width:140px;font-size:14px}
.gps_title .SlectBox {padding:9px 8px 9px}
.gps_title {position: relative;height:50px;text-align:center}
.gps_title:after {display:block;visibility:hidden;clear:both;content:""}
.gps_title select {display:inline-block}
.gps_title .geo_ca_btn {display:inline-block;vertical-align:top;margin-left:10px;padding:0 20px;height:40px;border:1px solid #4b99fc;color:#4b99fc;font-size:15px;background:#fff}
.gps_title .geo_ca_btn_on {border-radius: 2px}
.gps_title .geo_ca_btn_off {border:1px solid #CDCDCD;color:#aaa;border-radius: 2px}

#map_page {position: relative;height:500px; margin-bottom: 20px;}
#map-body {position: relative}

#container_map {width: 100%; height: 500px; position: relative;box-sizing: border-box;margin-top: 0px;margin-bottom: 0px;}
#mapWrapper {width: 100%;z-index: 1; height:100%;}
#rvWrapper {width: 50%;top: 0;right: 0;position: absolute;z-index: 0; height: 100%;}
#container_map.view_roadview #mapWrapper {width: 50%;}
#roadviewControl {position: absolute;top: 5px;left: 5px;width: 42px;height: 42px;z-index: 1;cursor: pointer;background: url(https://t1.daumcdn.net/localimg/localimages/07/2018/pc/common/img_search.png) 0 -450px no-repeat;}
#roadviewControl.active {background-position: 0 -350px;}
#close {position: absolute;padding: 4px;top: 5px;left: 5px;cursor: pointer;background: #fff;border-radius: 4px;border: 1px solid #c8c8c8;box-shadow: 0px 1px #888;}
#close .img {display: block;background: url(https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/rv_close.png) no-repeat;width: 14px;height: 14px;}
#resetControl {position: absolute;top: 5px;left: 45px;width: 42px;height: 42px;z-index: 1;cursor: pointer;background: url(https://t1.daumcdn.net/localimg/localimages/07/2018/pc/common/img_search.png) -50px -450px no-repeat;}
#resetControl:active {background-position: -50px -350px;}
.img img {width: 50px;border-radius: 10px; border:1px solid rgba(0,0,0,0.1); box-sizing: border-box;}

.map_local_btn {background-color: transparent; display:block; color:#4a5568; !important; margin-right: 8px; border-radius: 4px; width: 30px; text-align: center; border:0px; margin-top: 1px;}
.badge2_btn {position:absolute;right:10px;padding:0.25rem;top:32px;}
.badge3_btn {position:absolute;right:40px;padding:0.25rem;top:32px;}

.mt_price {position:absolute;right:10px;bottom:20px;padding:0;height:25px;letter-spacing:-1px}
.mt_cust_cost {margin-right:10px;text-decoration:line-through;font-size:18px;color:#a5a5a5}
.mt_cp_stock {color:#000;font-size:18px;font-weight:bold;letter-spacing:-1px}

#bo_attend {margin:0 auto;width:1133px}
#bo_attend .tbl_wrap table {border:0} 
#bo_attend .tbl_head01 {margin:0}
#bo_attend .tbl_head01 td {color:#777;padding:20px 0;border-top:0;border-bottom:1px solid #ddd}
#bo_attend .shop_img {width:240px}
#bo_attend .shop_img img {width:210px;height:auto}

.shop_attend {position:relative;vertical-align:top}
.shop_attend .shop_data1 {position:relative;padding:7px 0 0;font-size:18px;color:#000;font-weight:bold}
.shop_attend .shop_data1 button {position:absolute;right:0;top:0;width:45px;height:45px;border:1px solid #ddd;}
.shop_attend .shop_data2 {padding:10px 0 0;font-size:14px;color:#000;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.shop_attend .shop_data3 {padding:12px 0 0;font-size:14px;color:#000}
.shop_attend .shop_data4 {padding:12px 0 0;font-size:14px;color:#888}
.shop_attend .info_btm {position:absolute;bottom:20px}

.shop_attend .gps_distance {margin-left:10px;font-weight:normal;color:#685FF4}
.shop_attend .fa-map-marker {font-size:22px;color:#777}
.attend_cont {position:relative;margin:10px 0 0}
.attend_cont .lt_tag2 {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.attend_cont .lt_tag2 span {display:inline-block;margin:0 1px;padding:0 7px 1px;line-height:22px;color:#686868;letter-spacing:-1px;background:#f2f2f2}

.shop_stats {margin:0 0 0px 0}
.shop_stats .shop_review {margin-right:7px;font-size:12px;color:#000}
.shop_stats .shop_hit {margin-right:7px;font-size:12px;color:#000}
.shop_stats .shop_link {margin-right:7px;font-size:12px;color:#000}
.shop_stats .fa-pencil {color:#f8313e}
.shop_stats .fa-eye {color:#4769FF}
.shop_stats .fa-home {color:#00CC4E}

/* 지도 검색 화면 */
#gps_map {
    display: grid;
    width: 100%;
    max-width: 1200px;
    grid-template-areas:
        "search search"
        "list map";
    grid-template-columns: minmax(390px, 430px) minmax(0, 1fr);
    gap: 18px 20px;
    margin: 0 auto;
}

#gps_map .gps_title {
    grid-area: search;
    height: auto;
    padding: 22px 24px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
    text-align: left;
    box-sizing: border-box;
}

.map_search_heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.map_search_heading_icon {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border-radius: 13px;
    color: #fff;
    background: #2563eb;
    font-size: 20px;
    line-height: 1;
}

.map_search_heading strong,
.map_search_heading > div > span {
    display: block;
}

.map_search_heading_icon .fa {
    display: inline-block;
    width: auto;
    height: auto;
    color: inherit;
    font-size: 20px;
    line-height: 1;
}

.map_search_heading strong {
    color: #172033;
    font-size: 20px;
    line-height: 1.2;
}

.map_search_heading div > span {
    margin-top: 4px;
    color: #718096;
    font-size: 13px;
}

.map_search_form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map_search_field {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 260px;
    height: 46px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.map_search_field > .fa-search {
    flex: 0 0 42px;
    width: 42px;
    color: #64748b;
    text-align: center;
}

.map_search_field input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 10px 0 0;
    border: 0;
    outline: 0;
    color: #172033;
    background: transparent;
    font-size: 14px;
}

.map_search_field input::placeholder {
    color: #94a3b8;
}

.map_search_submit {
    display: inline-flex;
    flex: 0 0 auto;
    height: 36px;
    align-items: center;
    gap: 6px;
    margin-right: 5px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.map_search_submit .fa {
    display: none;
}

.map_search_actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

#gps_map .gps_title .SumoSelect {
    width: 145px;
}

#gps_map .gps_title .SlectBox {
    min-height: 40px;
    border-radius: 9px;
}

#gps_map .gps_title .geo_ca_btn {
    display: inline-flex;
    height: 40px;
    align-items: center;
    margin: 0;
    padding: 0 13px;
    border-radius: 9px;
    white-space: nowrap;
}

.map_search_reset {
    display: inline-flex;
    height: 40px;
    align-items: center;
    gap: 5px;
    padding: 0 11px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    color: #64748b;
    background: #f8fafc;
    font-size: 12px;
    white-space: nowrap;
}

.map_search_summary {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 13px;
    color: #64748b;
    font-size: 13px;
}

.map_search_summary strong {
    color: #2563eb;
    font-size: 16px;
}

#gps_map #map_page {
    position: sticky;
    top: 18px;
    grid-area: map;
    height: 680px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #eef2f7;
    box-sizing: border-box;
}

#gps_map #map-body,
#gps_map #container_map,
#gps_map #mapWrapper,
#gps_map #map {
    width: 100%;
    height: 100%;
    min-height: 0;
}

#gps_map #bo_attend {
    grid-area: list;
    width: 100%;
    max-width: 100%;
    max-height: 680px;
    margin: 0;
    padding-right: 6px;
    overflow-y: auto;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
    box-sizing: border-box;
}

#gps_map #bo_attend .tbl_wrap,
#gps_map #bo_attend .tbl_head01 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: visible;
}

#gps_map #bo_attend table,
#gps_map #bo_attend tbody {
    display: block;
    width: 100%;
    max-width: 100%;
}

#gps_map #bo_attend tr {
    display: grid;
    width: 100%;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#gps_map #bo_attend tr:hover,
#gps_map #bo_attend tr.is_map_active {
    border-color: #93b4f7;
    box-shadow: 0 8px 22px rgba(37, 99, 235, .12);
}

#gps_map #bo_attend .tbl_head01 td,
#gps_map #bo_attend .shop_img,
#gps_map #bo_attend .shop_attend {
    display: block;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

#gps_map #bo_attend .shop_img a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f5f9;
    aspect-ratio: 210 / 156;
}

#gps_map #bo_attend .shop_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gps_map #bo_attend .shop_attend {
    position: relative;
}

#gps_map .shop_attend .shop_data1 {
    min-height: 30px;
    padding: 0 58px 0 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gps_map .shop_attend .shop_data2:empty {
    display: none;
}

#gps_map .shop_attend .shop_data2,
#gps_map .shop_attend .shop_data3,
#gps_map .shop_attend .shop_data4 {
    width: 100%;
    padding-top: 5px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gps_map .shop_attend .shop_data4 {
    color: #7b8798;
}

#gps_map .shop_attend .info_btm {
    position: static;
    margin-top: 6px;
}

#gps_map .attend_cont {
    margin-top: 5px;
}

#gps_map .attend_cont .lt_tag2 span {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
    line-height: 19px;
}

#gps_map .mt_price {
    position: static;
    display: flex;
    height: auto;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 7px;
    margin-top: 7px;
}

#gps_map .mt_cust_cost {
    margin: 0;
    font-size: 12px;
}

#gps_map .mt_cp_stock {
    font-size: 16px;
}

#gps_map .map_local_btn {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    width: auto;
    height: 28px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible;
    padding: 0 9px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #2563eb !important;
    background: #eff6ff;
    font-size: 11px;
    line-height: 1;
    box-sizing: border-box;
}

#gps_map .map_local_btn .fa {
    display: inline-block;
    width: auto;
    height: auto;
    color: inherit;
    font-size: 13px;
    line-height: 1;
}

#gps_map .gps_distance {
    margin-left: 6px;
    font-size: 12px;
}

#gps_map .distance_near {
    color: #e11d48;
}

#gps_map .map_empty_row {
    display: block !important;
    padding: 55px 20px !important;
    text-align: center;
}

#gps_map .map_empty_row td {
    display: flex !important;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: #94a3b8;
}

#gps_map .map_empty_row .fa {
    color: #cbd5e1;
    font-size: 34px;
}

#gps_map .map_empty_row strong {
    color: #475569;
    font-size: 15px;
}

.wrap .info .close {
    top: 7px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    color: #64748b;
    background: transparent;
    font-size: 20px;
    line-height: 1;
}

/* 지도 목록 반응형 보정 */
@media (max-width: 900px) {
    #gps_map {
        display: block;
        width: 100%;
        min-width: 0;
    }

    #gps_map .gps_title {
        display: block;
        height: auto;
        min-height: 50px;
        margin-bottom: 14px;
        padding: 18px 16px 15px;
        box-sizing: border-box;
    }

    .map_search_heading {
        margin-bottom: 12px;
    }

    .map_search_form {
        display: block;
    }

    .map_search_field {
        width: 100%;
        min-width: 0;
    }

    .map_search_actions {
        flex-wrap: wrap;
        margin-top: 9px;
    }

    #gps_map .gps_title .SumoSelect {
        width: min(46vw, 190px);
    }

    #gps_map .gps_title .geo_ca_btn {
        height: 40px;
        margin: 0;
        padding: 0 14px;
        white-space: nowrap;
    }

    #gps_map #map_page,
    #gps_map #container_map {
        height: 320px;
    }

    #gps_map #map_page {
        position: relative;
        top: auto;
        margin-bottom: 0;
        border-radius: 0;
    }

    #gps_map #bo_attend {
        width: 100% !important;
        max-width: 100%;
        max-height: none;
        margin: 0;
        padding: 0 15px;
        overflow: visible;
        box-sizing: border-box;
    }

    #gps_map #bo_attend .tbl_wrap,
    #gps_map #bo_attend .tbl_head01 {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow: visible !important;
    }

    #gps_map #bo_attend table,
    #gps_map #bo_attend tbody {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed;
    }

    #gps_map #bo_attend tr {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(150px, 32%) minmax(0, 1fr);
        gap: 16px;
        padding: 18px 0;
        border-bottom: 1px solid #e5e7eb;
        box-sizing: border-box;
    }

    #gps_map #bo_attend .tbl_head01 td,
    #gps_map #bo_attend .shop_img,
    #gps_map #bo_attend .shop_attend {
        display: block;
        width: auto !important;
        min-width: 0;
        height: auto;
        padding: 0;
        border: 0;
        box-sizing: border-box;
    }

    #gps_map #bo_attend .shop_img a {
        display: block;
        width: 100%;
        overflow: hidden;
        border-radius: 8px;
        background: #f3f4f6;
        aspect-ratio: 210 / 156;
    }

    #gps_map #bo_attend .shop_img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #gps_map #bo_attend .shop_attend {
        position: relative;
        align-self: stretch;
    }

    #gps_map .shop_attend .info_top {
        width: 100%;
        min-width: 0;
    }

    #gps_map .shop_attend .shop_data1 {
        min-height: 30px;
        padding: 0 58px 0 0;
        overflow: hidden;
        font-size: 17px;
        line-height: 28px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #gps_map .shop_attend .shop_data2:empty {
        display: none;
    }

    #gps_map .shop_attend .shop_data2,
    #gps_map .shop_attend .shop_data3,
    #gps_map .shop_attend .shop_data4 {
        width: 100%;
        min-width: 0;
        padding-top: 7px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #gps_map .shop_attend .shop_data4 {
        color: #7a7a7a;
    }

    #gps_map .shop_attend .info_btm {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    #gps_map .shop_stats {
        min-height: 17px;
    }

    #gps_map .attend_cont {
        width: 100%;
        margin-top: 6px;
    }

    #gps_map .attend_cont .lt_tag2 {
        width: 100%;
    }

    #gps_map .attend_cont .lt_tag2 span {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 11px;
        line-height: 20px;
    }

    #gps_map .mt_price {
        position: static;
        display: flex;
        height: auto;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 2px 8px;
        margin-top: 8px;
        padding: 0;
    }

    #gps_map .mt_cust_cost {
        margin: 0;
        font-size: 13px;
        line-height: 1.3;
        white-space: nowrap;
    }

    #gps_map .mt_cp_stock {
        font-size: 17px;
        line-height: 1.3;
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    #gps_map .gps_title {
        padding-right: 12px;
        padding-left: 12px;
    }

    #gps_map .gps_title .SumoSelect {
        width: calc(55% - 4px);
    }

    #gps_map .gps_title .geo_ca_btn {
        width: calc(45% - 4px);
        padding: 0 8px;
        font-size: 13px;
    }

    #gps_map #map_page,
    #gps_map #container_map {
        height: 280px;
    }

    #gps_map #bo_attend {
        padding-right: 12px;
        padding-left: 12px;
    }

    #gps_map #bo_attend tr {
        grid-template-columns: minmax(112px, 36%) minmax(0, 1fr);
        gap: 12px;
        padding: 15px 0;
    }

    #gps_map .shop_attend .shop_data1 {
        font-size: 16px;
    }

    #gps_map .shop_attend .shop_data2,
    #gps_map .shop_attend .shop_data3,
    #gps_map .shop_attend .shop_data4 {
        padding-top: 5px;
        font-size: 12px;
    }

    #gps_map .attend_cont {
        display: none;
    }

    #gps_map .mt_price {
        margin-top: 6px;
    }

    #gps_map .mt_cp_stock {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    #gps_map #bo_attend tr {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 10px;
    }

    #gps_map .shop_attend .shop_data3 {
        display: none;
    }
}

/* 지도 중심 검색 UI */
.map_results_header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 2px 13px;
    color: #64748b;
    background: #fff;
}

.map_results_header div,
.map_results_header strong,
.map_results_header span {
    display: block;
}

.map_results_header strong {
    color: #111827;
    font-size: 20px;
    line-height: 1.2;
}

.map_results_header span {
    margin-top: 4px;
    font-size: 12px;
}

.map_results_header em {
    color: #0e8792;
    font-size: 15px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.map_shop_pin {
    display: inline-flex;
    height: 38px;
    align-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 11px;
    color: #1f2937;
    background: rgba(255,255,255,.96);
    box-shadow: 0 5px 16px rgba(15,23,42,.22);
    cursor: pointer;
    white-space: nowrap;
}

.map_shop_pin_icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #24364f;
    font-size: 15px;
}

.map_shop_pin_name {
    display: block;
    max-width: 120px;
    overflow: hidden;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 38px;
    text-overflow: ellipsis;
}

@media (min-width: 901px) {
    #gps_map {
        position: relative;
        left: 50%;
        display: grid;
        width: calc(100vw - 40px);
        max-width: 1600px;
        grid-template-areas: "list map";
        grid-template-columns: minmax(520px, 44fr) minmax(0, 56fr);
        gap: 18px;
        margin: 0;
        transform: translateX(-50%);
    }

    #gps_map .gps_title {
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 20;
        display: block;
        width: calc(56% - 48px);
        margin: 0;
        padding: 14px 16px 13px;
        border: 1px solid rgba(203,213,225,.92);
        border-radius: 15px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 10px 32px rgba(15,23,42,.18);
        backdrop-filter: blur(8px);
        box-sizing: border-box;
    }

    #gps_map .map_search_heading {
        gap: 10px;
        margin-bottom: 10px;
    }

    #gps_map .map_search_heading_icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 17px;
    }

    #gps_map .map_search_heading_icon .fa {
        font-size: 17px;
    }

    #gps_map .map_search_heading strong {
        font-size: 17px;
    }

    #gps_map .map_search_heading div > span {
        margin-top: 2px;
        font-size: 11px;
    }

    #gps_map .map_search_form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    #gps_map .map_search_field {
        min-width: 0;
        height: 42px;
        border-radius: 10px;
    }

    #gps_map .map_search_field input {
        height: 40px;
    }

    #gps_map .map_search_actions {
        gap: 6px;
    }

    #gps_map .gps_title .SumoSelect {
        width: 128px;
    }

    #gps_map .gps_title .geo_ca_btn,
    #gps_map .map_search_reset {
        height: 38px;
        padding-right: 11px;
        padding-left: 11px;
        font-size: 12px;
    }

    #gps_map .map_search_summary {
        margin-top: 9px;
        font-size: 12px;
    }

    #gps_map .map_search_summary strong {
        font-size: 14px;
    }

    #gps_map #map_page {
        position: sticky;
        top: 14px;
        grid-area: map;
        height: clamp(660px, calc(100vh - 175px), 800px);
        margin: 0;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(15,23,42,.10);
    }

    #gps_map #bo_attend {
        grid-area: list;
        width: 100%;
        max-height: clamp(660px, calc(100vh - 175px), 800px);
        padding: 0 8px 16px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        background: #f5f7fa;
        box-shadow: 0 8px 26px rgba(15,23,42,.06);
    }

    #gps_map .map_results_header {
        position: sticky;
        top: 0;
        z-index: 8;
        margin: 0 -8px 12px;
        padding: 18px 18px 15px;
        border-bottom: 1px solid #e5e7eb;
        background: rgba(255,255,255,.97);
        box-shadow: 0 4px 14px rgba(15,23,42,.04);
        backdrop-filter: blur(7px);
    }

    #gps_map #bo_attend table {
        display: block;
        width: 100%;
    }

    #gps_map #bo_attend tbody {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    #gps_map #bo_attend tr {
        display: flex;
        min-width: 0;
        min-height: 340px;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 7px 22px rgba(15,23,42,.08);
    }

    #gps_map #bo_attend tr:hover,
    #gps_map #bo_attend tr.is_map_active {
        transform: translateY(-2px);
    }

    #gps_map #bo_attend .shop_img,
    #gps_map #bo_attend .shop_attend {
        width: 100%;
    }

    #gps_map #bo_attend .shop_img a {
        width: 100%;
        border-radius: 0;
        aspect-ratio: 16 / 9;
    }

    #gps_map #bo_attend .shop_attend {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        padding: 14px 15px 15px;
    }

    #gps_map .shop_attend .shop_data1 {
        min-height: 28px;
        padding-right: 54px;
        font-size: 16px;
        line-height: 26px;
    }

    #gps_map .shop_attend .shop_data2,
    #gps_map .shop_attend .shop_data3,
    #gps_map .shop_attend .shop_data4 {
        padding-top: 5px;
        font-size: 12px;
    }

    #gps_map .shop_attend .info_btm {
        margin-top: 8px;
    }

    #gps_map .attend_cont .lt_tag2 span {
        font-size: 10px;
        line-height: 19px;
    }

    #gps_map .mt_price {
        margin-top: auto;
        padding-top: 10px;
        border-top: 1px solid #edf0f4;
    }

    #gps_map .mt_cust_cost {
        font-size: 11px;
    }

    #gps_map .mt_cp_stock {
        color: #e11d2e;
        font-size: 17px;
    }

    #gps_map .map_empty_row {
        grid-column: 1 / -1;
        min-height: 220px;
    }
}

@media (min-width: 901px) and (max-width: 1120px) {
    #gps_map {
        grid-template-columns: minmax(400px, 42fr) minmax(0, 58fr);
    }

    #gps_map .gps_title {
        width: calc(58% - 48px);
    }

    #gps_map #bo_attend tbody {
        grid-template-columns: 1fr;
    }
}

/* 카드 내부 잘림 방지 */
#gps_map .shop_attend .shop_data1 {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 6px;
    overflow: visible;
    padding-right: 56px;
    box-sizing: border-box;
}

#gps_map .shop_attend .shop_data1 > a {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gps_map .shop_attend .shop_data1 .gps_distance {
    flex: 0 0 auto;
    margin-left: 0;
    white-space: nowrap;
}

#gps_map .shop_attend .shop_data1 .map_local_btn {
    top: 0;
    right: 0;
    z-index: 3;
    flex: 0 0 auto;
    max-width: 52px;
}

@media (min-width: 901px) {
    #gps_map #bo_attend .tbl_head01 td.shop_attend {
        display: flex;
        width: 100%;
        min-width: 0;
        height: auto;
        flex: 1 1 auto;
        flex-direction: column;
        padding: 14px 15px 15px;
        border: 0;
        box-sizing: border-box;
    }

    #gps_map #bo_attend {
        scrollbar-gutter: stable;
    }
}

@media (max-width: 900px) {
    #gps_map .shop_attend .shop_data1 {
        min-height: 30px;
        padding-right: 52px;
        line-height: 28px;
    }

    #gps_map .shop_attend .shop_data1 .map_local_btn {
        right: 4px;
        width: 46px;
        max-width: 46px;
        padding-right: 6px;
        padding-left: 6px;
    }
}

/* 상세 필터와 역검색 */
.map_filter_bar {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    padding-top: 9px;
    border-top: 1px solid #e7edf5;
    box-sizing: border-box;
}

.map_filter_bar select,
.map_search_actions #station_radius,
.station_picker select {
    height: 36px;
    padding: 0 28px 0 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    color: #334155;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    box-sizing: border-box;
}

.map_filter_check {
    display: inline-flex;
    height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.map_filter_check input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #2563eb;
}

.map_filter_apply,
.station_choice_submit {
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #2563eb;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.map_filter_bar .map_search_reset {
    display: inline-flex;
    height: 36px;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 8px;
    color: #475569;
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.station_picker {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 110px 110px minmax(140px, 1fr) auto;
    gap: 7px;
    width: 100%;
}

.station_picker select {
    width: 100%;
}

#gps_map.is_station_search .map_search_heading_icon {
    background: #0f766e;
}

.station_anchor_pin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 2px solid #fff;
    border-radius: 12px;
    color: #fff;
    background: #0f766e;
    box-shadow: 0 7px 18px rgba(15,118,110,.35);
    font-size: 13px;
    white-space: nowrap;
}

.station_anchor_pin .fa {
    font-size: 15px;
}

@media (min-width: 901px) {
    #gps_map .map_filter_bar {
        max-height: 82px;
        overflow-y: auto;
    }

    #gps_map.is_station_search .gps_title {
        padding-top: 13px;
    }
}

@media (max-width: 900px) {
    #gps_map .station_picker {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        margin-bottom: 9px;
    }

    #gps_map .map_filter_bar {
        flex-wrap: nowrap;
        margin-top: 10px;
        padding: 10px 0 4px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    #gps_map .map_filter_bar > * {
        flex: 0 0 auto;
    }

    #gps_map.is_station_search .map_search_actions {
        display: flex;
    }

    #gps_map.is_station_search .map_search_actions #station_radius {
        width: 138px;
    }
}

@media (max-width: 520px) {
    #gps_map .station_picker {
        gap: 6px;
    }

    #gps_map .station_picker select,
    #gps_map .station_picker .station_choice_submit {
        height: 38px;
        font-size: 12px;
    }

    #gps_map .map_filter_bar {
        margin-right: -4px;
    }
}
