/* section12 */
#section12 {
    width: 100%;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background: url(../img/map-bg.png);
    background-position: center center !important;
    background-size: cover !important;
    margin-top: -2px;
}

.map-container {
    max-width: 1440px;
    width: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    box-sizing: border-box;
    padding: 100px 0;
}

.map-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.map-sub {
    width: 116px;
}

/* .map-top .st-tit {
    line-height: 56px;
} */

#map {
    width: 64%;
    height: 100%;
    position: absolute !important;
    right: 0;
    top: 0;
    z-index: 5;
    background: #FFF;
}

.store-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.store-container>b {
    color: #D8B8F2;
    text-align: center;
    font-size: 22px;
    line-height: 130%; /* 28.6px */
    letter-spacing: -0.55px;
}

.store-list-container {
    box-sizing: border-box;
    padding: 20px;
    width: 400px;
    background: #FFF;
    border-radius: 20px;
    overflow: hidden;
    height: 550px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.search-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-head input[type="text"] {
    width: 100%;
    border-radius: 8px;
    border: 1.2px solid rgba(168, 168, 168, 0.30);
    background: #FFF;
    box-sizing: border-box;
    padding: 12px 0 12px 12px;
    color: #222;
    font-size: 16px;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
}

.search-head input[type="text"]::placeholder {
    color: #A8A8A8;
    font-size: 16px;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
}

.search-head input[type="text"]:focus {
    outline: none;
    border: 1px solid #9B1ECD !important;
    box-shadow: none !important;
}

#search-btn {
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    background: #9B1ECD;
    display: flex;
    box-sizing: border-box;
    padding: 12px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%; /* 24px */
    letter-spacing: -0.4px;
}

#search-btn:hover {
    background: #7A18A3;
}

.select-box {
    width: fit-content;
    border: 1.2px solid rgba(168, 168, 168, 0.30);
    display: flex;
    box-sizing: border-box;
    padding: 8px 12px;
    align-items: center;
    position: relative;
    background: #FFF;
    border-radius: 8px;
}

.select {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #505050;
    text-align: center;
    font-size: 14px;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.35px;
}

.option-list{
    position: absolute;
    background: #fff;
    left: 0;
    top: 44px;
    box-sizing: border-box;
    padding: 8px 23px;
    display: none;
    z-index: 100;
    border: 1px solid rgba(168, 168, 168, 0.30);
    border-radius: 8px;
}

.option {
    color: #505050;
    text-align: center;
    font-size: 14px;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.35px;
    cursor: pointer;
    white-space: nowrap;
}

.option:first-child {
    margin-bottom: 4px;
}

.list-wrap {
    overflow-y: scroll;
    height: calc(100% - 93px);
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    background: #FFF;
}

.store-num {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%; /* 21px */
    letter-spacing: -0.35px;
    margin-bottom: 8px;
}

.store-num span {
    color: #9B1ECD;
    font-weight: 800;
}

.rotate-180 {
    transform: rotate(180deg);
}

.store-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 12px 8px;
    border-top: 1.2px solid rgba(168, 168, 168, 0.30);
    cursor: pointer;
    gap: 6px;
}

.store-item:first-of-type {
    border-top: none;
}

.store-item:hover {
    background: rgba(155, 30, 205, 0.10);
}

.s-name {
    color: #1A1A1A;
    font-size: 20px;
    font-weight: 800;
    line-height: 130%; /* 150% */
    letter-spacing: -0.5px;
}

.s-address, .s-number {
    color: #6B6B6B;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%; 
    letter-spacing: -0.35px;
}

.no-store {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
}

@media(min-width: 1700px) {
    #map {
        width: 60%;
    }
}

@media(min-width: 1900px) {
    #map {
        width: 55%;
    }
}

@media(max-width: 1400px) {
    #map {
        width: 60%;
    }
}

@media(max-width: 1300px) {
    #map {
        width: 56%;
    }
}

@media(max-width: 1200px) {
    #map {
        width: 53%;
    }
}

@media(max-width: 1100px) {
    #section12 {
        flex-direction: column;
    }
    #map {
        width: 100%;
        height: 600px;
        position: relative !important;
    }
    .map-container {
        align-items: center;
        gap: 20px;
    }
    .map-top {
        align-items: center;
    }
    .store-container {
        gap: 12px;
    }
    .store-container>b {
        font-size: 20px;
        letter-spacing: -0.5px;
    }
    .store-list-container {
        width: 450px;
    }
}

@media(max-width: 900px) {
    .store-container>b {
        font-size: 18px;
        letter-spacing: -0.45px;
    }
}

@media(max-width: 768px) {
    .map-container {
        width: 100%;
        padding: 80px 20px;
    }
    .store-list-container {
        gap: 24px;
    
    }
    .map-top {
        gap: 20px;
    }
    .map-sub {
        width: 100px;
    }
}

@media(max-width: 650px) {
    #map {
        height: 500px;
    }
    .store-container>b {
        font-size: 16px;
        letter-spacing: -0.4px;
    }
    .map-sub {
        width: 80px;
    }
}

@media(max-width: 480px) {
    .store-container, .store-list-container {
        width: 100%;
    }
    #map {
        height: 450px;
    }
}

