@charset "utf-8";

/* ==========================================
   지도 및 탭 영역 (레이아웃 래퍼)
========================================== */
.map-wrapper {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 736px;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#gmap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: none;
}

.store-category-tabs {
    margin: 0 0 20px 0;
    border-bottom: 2px solid #ddd;
    list-style: none;
    padding: 0;
    display: flex;
}

.store-category-tabs li {
    padding: 12px 30px;
    cursor: pointer;
    font-size: 16px;
    color: #888;
    text-align: center;
    flex: 1;
}

.store-category-tabs li.active {
    color: #000;
    font-weight: bold;
    border-bottom: 3px solid #000;
    margin-bottom: -2px;
}

/* ==========================================
   구글맵 랜딩 마커 및 인포윈도우 리셋 (카카오와 동일 UI 적용)
========================================== */
.gmap-custom-marker {
    width: 24px;
    height: 35px;
}

/* 구글 기본 팝업 말풍선(하얀 배경, 패딩, 그림자) 완전 제거 */
.gm-style-iw-c {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.gm-style-iw-d {
    overflow: visible !important;
}

.gm-style-iw-tc::after {
    display: none !important;
    /* 구글 말풍선 꼬리표 숨김 */
}

.gm-ui-hover-effect {
    display: none !important;
    /* 구글 기본 X 버튼 숨김 (우리가 만든 X버튼 쓸거임) */
}

/* 카카오맵용 marker-item을 구글맵에 쓸 때 위치 리셋 */
.gmap-marker-item {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin-left: 0 !important;
}

/* ==========================================
   기존 스타일
========================================== */
#store-sec .store-list-wrap {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 312px;
    height: calc(100% - 60px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 4px 4px 12px rgba(100, 100, 100, 0.1);
    background: #fff;
    z-index: 1;
}

#store-sec .logo-wrap {
    padding: 18px 12px 4px 18px;
    background: var(--root-font-color);
    height: 64px;
}

#store-sec .logo-wrap img {
    width: auto;
}

#store-sec .search-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    width: 100%;
    height: 56px;
    background: var(--root-font-color);
}

#store-sec .search-wrap form {
    width: 100%;
}

#store-sec .search-wrap input {
    padding: 0 8px;
    width: calc(100% - 32px);
    height: 32px;
    border: none;
    background: #fff;
    border-radius: 0;
}

#store-sec .search-wrap button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: #fff;
}

#store-sec .search-wrap button img {
    width: 16px;
}

#store-sec .list-box {
    width: 100%;
    height: calc(100% - 56px - 64px - 32px);
}

#store-sec .list-box .list-wrap {
    height: 100%;
    overflow-y: auto;
}

#store-sec .list-box ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#store-sec .list-box ul li.no-result {
    padding: 20px 16px;
    font-size: 14px;
    text-align: center;
    color: #666;
}

#store-sec .list-box ul li:hover {
    background: #f9f9f9;
}

#store-sec .list-box ul li a.list-a {
    display: block;
    padding: 20px 16px;
    text-align: left;
}

#store-sec .list-box ul li h2 {
    font-size: 18px;
}

#store-sec .list-box ul li .addr {
    padding: 4px 0;
    font-size: 14px;
    color: #676767;
    word-break: keep-all;
}

#store-sec .list-box ul li .addr span {
    display: inline;
}

#store-sec .list-box ul li .tel {
    font-size: 13px;
    color: #999999;
}

#store-sec .paging {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    background: #fff;
}

.marker-item {
    position: absolute;
    left: 0;
    bottom: 45px;
    width: 200px;
    height: auto;
    margin-left: -100px;
    text-align: left;
}

.marker-item .info {
    padding: 0 0 4px 0;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.marker-item .info .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 4px;
    z-index: 1;
}

.marker-item .info .close-btn:hover {
    background: #503428;
}

.marker-item .info .close-btn img {
    width: 16px;
}

.marker-item .info .title-txt {
    display: flex;
    padding: 8px 2px 8px 10px;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto 4px;
    width: 100%;
    height: 40px;
    color: #fff;
    border-radius: 6px 6px 0 0;
    background: var(--primary-color-gold2);
}

.marker-item .info .title-txt a {
    display: block;
    padding: 8px 2px 8px 10px;
    width: calc(100% - 40px);
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.marker-item .info .addr-txt {
    padding: 4px 10px;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.marker-item .info .addr-txt span {
    display: inline;
}

.marker-item .info .tel-txt {
    padding: 2px 10px;
    font-size: 13px;
    color: blue;
}


@media all and (max-width: 1720px) {}

@media all and (max-width: 1560px) {}

@media all and (max-width: 1360px) {}

@media all and (max-width: 1280px) {
    #hd_pop {
        width: 96%;
        max-width: 400px;
        box-sizing: border-box;
        z-index: 10000;
    }

    #hd_pop .hd_pops {
        top: 30px !important;
        left: 50% !important;
        right: unset !important;
        transform: translateX(-50%);
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    #hd_pop .hd_pops .hd_pops_con {
        width: 100% !important;
        height: auto !important;
    }

    .map-wrapper {
        margin-left: 280px;
        width: calc(100% - 280px);
        height: 640px;
    }

    #map,
    #gmap {
        margin-left: 0;
        width: 100%;
    }

    #store-sec .store-list-wrap {
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        border-radius: 0;
    }

    #store-sec .list-box ul li a.list-a {
        padding: 14px 14px;
    }

    #store-sec .list-box ul li.no-result {
        padding: 14px 14px;
        font-size: 13px;
    }

    #store-sec .list-box ul li h2 {
        font-size: 3.8vw;
    }

    #store-sec .list-box ul li .addr {
        font-size: 2.8vw;
    }

    #store-sec .list-box ul li .tel {
        font-size: 2.8vw;
    }

    .marker-item {
        width: 180px;
    }

    .marker-item .info .close-btn {
        top: 3px;
        right: 3px;
        width: 28px;
        height: 28px;
    }

    .marker-item .info .close-btn img {
        width: 14px;
    }

    .marker-item .info .title-txt {
        height: 36px;
        padding: 6px 2px 6px 10px;
        color: #fff;
    }

    .marker-item .info .title-txt a {
        padding: 6px 2px 6px 10px;
        width: calc(100% - 36px);
        font-size: 16px;
    }

    .marker-item .info .addr-txt {
        padding: 3px 10px;
        font-size: 13px;
    }

    .marker-item .info .tel-txt {
        font-size: 12px;
    }
}

@media all and (max-width: 1023px) {
    #store-sec .cont1 {
        margin: 36px auto 0;
    }

    .map-wrapper {
        margin: 0 auto;
        width: 100%;
        height: 400px;
    }

    #store-sec .store-list-wrap {
        position: relative;
        top: unset;
        left: unset;
        width: 100%;
        height: 640px;
        border-radius: 0 0 18px 18px;
    }

    #store-sec .logo-wrap {
        height: 84px;
    }

    #store-sec .logo-wrap img {
        width: 160px;
    }

    #store-sec .search-wrap {
        margin: 0 auto;
        padding: 0px 16px 16px 16px;
        height: auto;
        background: var(--root-font-color);
        border-bottom: 1px solid #ddd;
    }

    #store-sec .search-wrap input {
        padding: 0 10px;
        width: calc(100% - 60px);
        height: 60px;
        font-size: 20px;
    }

    #store-sec .list-box {
        height: calc(100% - 60px - 32px);
    }

    #store-sec .search-wrap button {
        width: 60px;
        height: 60px;
    }

    #store-sec .search-wrap button img {
        width: 24px;
    }

    #store-sec .list-box ul li a.list-a {
        padding: 12px 14px;
    }
}