/* Stores Page Styles */
.container {
    padding: 0;
    margin: 0 !important;
    word-break: keep-all;
}

/* 히어로 섹션 */
.stores-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #f8f9fa;
    /* fallback */
}

.stores-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.stores-hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.stores-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stores-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    color: #FFC97E;
}

/* 메인 섹션 */
.stores-main-section {
    padding: 60px 0 40px 0;
    background: #fff;
}

.stores-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.stores-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

/* 좌측 지점 목록 */
.stores-sidebar {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    position: sticky;
    top: 20px;
}

.stores-sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #522F14;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #522F14;
}

.store-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #522F14;
}

.store-card.active {
    border-color: #522F14;
    background: #f5f2ed;
    box-shadow: 0 4px 20px rgba(82, 47, 20, 0.15);
}

.store-image {
    width: 100%;
    height: 190px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #522F14;
    margin-bottom: 15px;
}

.store-details p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

.store-details .material-icons {
    font-size: 16px;
    margin-right: 8px;
    color: #522F14;
}

.store-address {
    font-weight: 600;
    color: #495057 !important;
}

.store-description {
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #6c757d !important;
}

/* 우측 지도 영역 */
.stores-map-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #522F14;
    margin: 0;
}

.map-instructions {
    text-align: right;
}

.map-instructions p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.map-notice {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #522F14;
}

.map-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}


/* 모바일용 지점 선택 버튼들 */
.mobile-store-buttons {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-store-btn {
    padding: 8px 16px;
    border: 1px solid #522F14;
    border-radius: 20px;
    background: white;
    color: #522F14;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-store-btn:hover,
.mobile-store-btn.active {
    background: #522F14;
    color: white;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .stores-layout {
        grid-template-columns: 350px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .stores-hero-title {
        font-size: 2.5rem;
    }

    .stores-hero-subtitle {
        font-size: 1.1rem;
    }

    .stores-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stores-sidebar {
        display: none;
    }

    .mobile-store-buttons {
        display: flex;
        justify-content: center;
    }

    .stores-map-section {
        order: 1;
    }

    .map-header {
        flex-direction: column;
        text-align: center;
    }

    .map-instructions {
        text-align: center;
        margin-top: 10px;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .stores-hero {
        height: 300px;
    }

    .stores-hero-title {
        font-size: 2rem;
    }

    .stores-hero-subtitle {
        font-size: 1rem;
    }

    .stores-main-section {
        padding: 50px 0;
    }

    .stores-container {
        padding: 0 15px;
    }

    .mobile-store-buttons {
        justify-content: center;
    }

    .stores-sidebar,
    .stores-map-section {
        padding: 10px;
    }

    .store-card {
        padding: 15px;
    }

    .store-image {
        height: 100px;
    }

    .map-notice p {
        font-size: 12px;
    }
}