.location-section1 {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: left;
    color: white;
}

.location-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 핵심: cover 방식으로 배경처럼 */
    z-index: 0;
    display: block;
}

.location-section1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.location-section1-inner {
    position: relative; /* 텍스트가 오버레이 위로 올라오도록 */
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 50px 120px;
}

.location-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    letter-spacing: -2.2px;
}

.location-subtitle {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.9;
}


.location-section2 {
    background-color: #FFF6EC;
    padding: 100px 20px 60px;
    text-align: center;
}

.location-section2-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.location-section2-title {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -1px;
}

.location-section2-subtitle {
    display: inline-block;
    background-color: #ffe478;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 10px;
}


.location-section3 {
    position: relative;
    width: 100%;
    background-color: #f9f9f9;
    overflow: hidden;
}

.place_find_container {
    position: relative;
    width: 100%;
    height: 1110px;
    background-color: #f0f0f0;
}

#placeLoadMap {
    width: 100%;
    height: 100%;
    min-height: 1110px;
}

#placeModalContainer.on {
    position: absolute;;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 11
}

#placeLoadMap {
    height: 100%
}

.markerIcon {
    width: 25px;
    height: 25px;
    background: url('../img/new/location/location_marker_normal.png') no-repeat center center;
    background-size: cover;
    transform-origin: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 절대 위치된 전체 매장 수 */
.store-count-banner-absolute {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    z-index: 20;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* 왼쪽 오버레이 박스 */
.map-store-panel {
    position: absolute;
    top: 70px;
    left: 20px;
    width: 398px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 28px 31px 0px 31px;
}

/* 타이틀 */
.store-panel-title {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 13px;
}


.store-search-input-wrap {
    position: relative;
    background: #f5f5f5;
    border-radius: 6px;
}

.store-search-input-wrap input {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.search-icon img {
    width: 100%;
    height: 100%;
}

/* 리스트 스크롤 */
.store-list-scroll {
    max-height: 829px;
    overflow-y: auto;
    padding: 24px 0px 16px;
}

/* 리스트 */
.store-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-item {
    padding: 16px 0;
    border-bottom: none;
    border-top: 1px solid #eee; /* 👈 바로 이 부분 */

}

.store-name {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 4px;
}

.store-address {
    font-size: 16px;
    font-weight: 400;
}


.location-section4 {
    background-color: #fff5ec;
    padding: 60px 0;
    overflow: hidden;
}

.franchise-slider-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.franchise-slider {
    display: flex;
    gap: 24px;
    animation: slide-left 20s linear infinite;
}

.franchise-card {
    width: 254px;
    height: 191px;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 24px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.franchise-name img {
    width: 90px;
    height: auto;
    margin: 6px
}

.franchise-divider {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #C5BEB7;
    margin: 20px 0 18px 0;
    position: relative;
}

.franchise-branch {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 6px;
}

.franchise-size {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.franchise-slider:hover {
    animation-play-state: paused;
}