.map-sec {
    padding: 200px 0;
}

.map-sec .title-2 {
    margin: 0 0 60px;
    text-align: center;
    color: var(--color-primary);
}

.map-sec .map-container {
    display: grid;
    grid-template-columns: minmax(280px, 32%) minmax(0, 68%);
    align-items: stretch;
    width: 100%;
    height: 520px;
}

.map-sec .store-info-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 24px 8px 0 24px;
    border: 1px solid #ececec;
    background-color: #fff;
    box-sizing: border-box;
}

.map-sec .search-box {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    width: calc(100% - 16px);
    margin: 0 8px 20px 0;
    padding: 10px 18px;
    border: 1px solid var(--color-point);
    border-radius: 100px;
    box-sizing: border-box;
}

.map-sec .search-box .btn {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
}

.map-sec .search-box .btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.map-sec .search-box .input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-primary);
}

.map-sec .search-box .input::placeholder {
    color: #b8b2ac;
}

.map-sec .store-list-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.map-sec .store-list-wrap::-webkit-scrollbar {
    width: 6px;
}

.map-sec .store-list-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.map-sec .store-list-wrap::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 100px;
}

.map-sec .store-item {
    padding: 20px;
    border-bottom: 1px solid #ebebeb;
}

.map-sec .store-item h3 {
    margin: 0;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-primary);
}

.map-sec .store-item p {
    margin: 10px 0 0;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #686868;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.map-sec .map {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.store-list li {
    cursor: pointer;
}

.store-sec {
    padding: 120px 0;
}

.store-sec .title-2 {
    margin: 0 0 60px;
    text-align: center;
    color: var(--color-primary);
}

.store-sec .tab-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 0 30px;
}

.store-sec .tab-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border: 1px solid var(--color-point);
    border-radius: 100px;
    background-color: #fff;
    box-sizing: border-box;
    color: var(--color-point);
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

.store-sec .tab-item.active {
    background-color: var(--color-point);
    color: #fff;
}

.store-sec .store-card-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.store-sec .store-slider-viewport {
    display: contents;
}

.store-sec .store-slider-pager {
    display: none;
}

.store-sec .store-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    box-sizing: border-box;
}

.store-sec .store-card.is-hidden {
    display: none;
}

.store-sec .store-card>img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.store-sec .store-card:first-child::before {
    content: "본점";
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 5px 40px;
    border-radius: 100px;
    background-color: var(--color-background);
    color: var(--color-point);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.store-sec .card-title-wrap {
    flex: 1 1 auto;
    padding: 15px;
}

.store-sec .card-title-wrap h3 {
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-primary);
}

.store-sec .card-title-wrap .card-title {
    font-family: var(--font-family);
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-primary);
}

.store-sec .store-info {
    padding: 0 16px 20px;
}

.store-sec .store-info ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.store-sec .store-info li {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    text-align: left;
}

.store-sec .store-info li p {
    flex: 0 0 120px;
    width: 120px;
    padding: 5px 0;
    border-radius: 5px;
    background-color: rgba(68, 58, 50, 0.3);
    box-sizing: border-box;
    color: #fff;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.store-sec .store-info li span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 20px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-primary);
    text-align: left;
    overflow-wrap: break-word;
    word-break: keep-all;
}


@media (max-width: 1024px) and (min-width: 875px) {
    .container {
        width: calc(100% - 40px);
        max-width: 984px;
        margin-inline: auto;
        padding: 0;
        box-sizing: border-box;
    }

    .map-sec,
    .store-sec {
        overflow-x: clip;
    }

    .map-sec {
        padding: clamp(96px, 12vw, 140px) 0 clamp(64px, 8vw, 96px);
    }

    .map-sec .title-2 {
        margin: 0 0 clamp(36px, 5vw, 48px);
    }

    .map-sec .map-container {
        grid-template-columns: minmax(0, 32%) minmax(0, 68%);
        height: clamp(420px, 52vw, 480px);
    }

    .map-sec .store-info-left {
        padding: 16px 4px 0 16px;
    }

    .map-sec .search-box {
        width: calc(100% - 12px);
        margin: 0 8px 16px 0;
        padding: 8px 14px;
    }

    .map-sec .store-item {
        padding: 14px 12px 14px 4px;
    }

    .map-sec .store-item h3 {
        font-size: 16px;
    }

    .map-sec .store-item p {
        margin-top: 6px;
        font-size: 14px;
    }

    .store-sec {
        padding: clamp(64px, 8vw, 96px) 0 clamp(80px, 10vw, 120px);
    }

    .store-sec .title-2 {
        margin: 0 0 clamp(36px, 5vw, 48px);
    }

    .store-sec .tab-menu {
        gap: 10px;
        margin: 0 0 28px;
    }

    .store-sec .tab-item {
        padding: 8px 16px;
        font-size: 16px;
        line-height: 1.4;
    }

    .store-sec .store-card-wrap {
        gap: 20px 16px;
    }

    .store-sec .store-card {
        border-radius: 16px;
    }

    .store-sec .store-card>img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .store-sec .store-card:first-child::before {
        top: 12px;
        left: 12px;
        padding: 4px 20px;
        font-size: 14px;
    }

    .store-sec .card-title-wrap {
        padding: 12px 12px 10px;
    }

    .store-sec .card-title-wrap h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    .store-sec .card-title-wrap .card-title {
        font-size: 13px;
        overflow-wrap: break-word;
        word-break: keep-all;
    }

    .store-sec .store-info {
        padding: 0 12px 16px;
    }

    .store-sec .store-info ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .store-sec .store-info li {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .store-sec .store-info li p {
        flex: 0 0 96px;
        width: 96px;
        padding: 4px 4px;
        font-size: 12px;
        text-align: center;
        overflow-wrap: break-word;
        word-break: keep-all;
    }

    .store-sec .store-info li span {
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 12px;
        font-size: 12px;
        text-align: left;
        overflow-wrap: break-word;
        word-break: keep-all;
    }
}


@media (max-width: 874px) {
    .container {
        width: calc(100% - 40px);
        max-width: none;
        margin-inline: auto;
        padding: 0;
        box-sizing: border-box;
    }

    .map-sec,
    .store-sec {
        overflow-x: clip;
    }

    .map-sec {
        padding: clamp(88px, 22vw, 120px) 0 48px;
    }

    .map-sec .title-2 {
        margin: 0 0 24px;
        font-size: var(--main-title-42-size);
    }

    .map-sec .map-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "map"
            "list";
        align-items: stretch;
        height: auto;
        gap: 20px;
    }

    .map-sec .map {
        grid-area: map;
        width: 100%;
        height: auto;
        min-height: 280px;
        aspect-ratio: 1 / 1;
    }

    .map-sec .store-info-left {
        grid-area: list;
        height: 280px;
        padding: 16px 8px 0 16px;
    }

    .map-sec .search-box {
        width: calc(100% - 12px);
        margin: 0 8px 12px 0;
        padding: 8px 14px;
    }

    .map-sec .store-item {
        padding: 14px 12px 14px 4px;
    }

    .map-sec .store-item h3 {
        font-size: 16px;
    }

    .map-sec .store-item p {
        margin-top: 6px;
        font-size: 14px;
    }

    .store-sec {
        padding: 48px 0 80px;
    }

    /* 목표 이미지와 동일하게 Store 영역의 좌우 여백 조정 */
    .store-sec .container {
        width: calc(100% - 34px);
        max-width: none;
        margin-inline: auto;
        padding: 0;
        box-sizing: border-box;
    }

    .store-sec .title-2 {
        margin: 0 0 30px;
        font-size: 22px;
        line-height: 1.4;
        text-align: center;
    }

    /* =====================================================
       TAB MENU
       ===================================================== */

    .store-sec .tab-menu {
        gap: 10px 8px;
        margin: 0 0 24px;
    }

    .store-sec .tab-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 84px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--color-point);
        border-radius: 100px;
        box-sizing: border-box;
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
    }

    /* =====================================================
       STORE CARD GRID
       ===================================================== */

    .store-sec .store-slider-viewport {
        display: contents;
    }

    .store-sec .store-card-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 8px;
        width: 100%;
    }

    .store-sec .store-card {
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
        max-width: none;
        height: auto;
        overflow: hidden;
        border: 1px solid #e3e3e3;
        border-radius: 8px;
        background-color: #fff;
        box-sizing: border-box;
    }

    .store-sec .store-card.is-hidden {
        display: none;
    }

    /* 이미지 */
    .store-sec .store-card>img {
        display: block;
        width: 100%;
        aspect-ratio: 0.93 / 1;
        object-fit: cover;
    }

    /* =====================================================
       본점 배지
       ===================================================== */

    .store-sec .store-card:first-child::before {
        content: "본점";
        position: absolute;
        top: 11px;
        left: 11px;
        z-index: 2;
        padding: 5px 17px;
        border-radius: 100px;
        background-color: var(--color-background);
        color: var(--color-point);
        font-family: var(--font-family);
        font-size: 11px;
        font-weight: 500;
        line-height: 1.3;
        box-sizing: border-box;
    }

    /* =====================================================
       CARD TITLE
       ===================================================== */

    .store-sec .card-title-wrap {
        flex: none;
        padding: 10px 10px 7px;
    }

    .store-sec .card-title-wrap h3 {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        color: var(--color-primary);
    }

    .store-sec .card-title-wrap .card-title {
        margin-top: 3px;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.45;
        color: var(--color-primary);
        overflow-wrap: break-word;
        word-break: keep-all;
    }

    /* =====================================================
       STORE INFO
       ===================================================== */

    .store-sec .store-info {
        padding: 0 10px 13px;
    }

    .store-sec .store-info ul {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .store-sec .store-info li {
        display: block;
        min-width: 0;
        color: #999;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .store-sec .store-info li p {
        display: none;
    }

    .store-sec .store-info li br {
        display: none;
    }

    .store-sec .store-info li span {
        display: block;
        margin: 0;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
        color: #999;
        text-align: left;
        overflow-wrap: break-word;
        word-break: keep-all;
    }

    /* =====================================================
       SLIDER / PAGINATION 흔적 제거
       ===================================================== */

    .store-sec .store-slider-pager {
        display: none;
    }

    .store-sec .store-slider-prev,
    .store-sec .store-slider-next,
    .store-sec .store-slider-count {
        display: none;
    }
}