/* 기본 스타일 */
body { margin: 0; padding: 0; font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; background-color: #f9f9f9; }

.container { 
    max-width: 800px; 
    margin: 0 auto; 
    background-color: white; 
    min-height: 100vh; 
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.noscript {
    margin: 0;
    padding: 10px 16px;
    background: #fff3cd;
    color: #6b4f00;
    font-size: 13px;
    text-align: center;
}

/* 1. 상단 헤더 */
header { 
    padding: 25px 20px; 
    background-color: #ffe812; 
    text-align: center; 
}
header h1 { 
    margin: 0 0 10px 0; 
    font-size: 22px; 
    color: #333; 
    font-weight: 800;
}
header p { 
    margin: 0; 
    color: #555; 
    font-size: 14px; 
    line-height: 1.4;
    word-break: keep-all; 
}
/* 공지사항 링크 버튼 */
.notice-link {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 15px;
    font-weight: bold;
    transition: background 0.2s;
}
.notice-link:hover { background-color: #555; }

/* 빠른 이동 */
.quick-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 12px 20px 0 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.quick-nav a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}
.quick-nav a:hover { background: #f1f3f5; }

.section { background: #fff; }
.section h2 {
    margin: 18px 20px 8px 20px;
    font-size: 16px;
    color: #333;
}
.section-desc {
    margin: 0 20px 10px 20px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 2. 검색창 영역 */
.search-container {
    padding: 15px 20px 5px 20px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
}
.search-box {
    position: relative;
    width: 100%;
}
.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ffe812;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    background-color: #fff;
}
.search-input:focus {
    border-color: #e6c300;
}

/* 3. 분류 버튼 영역 */
.category-scroll {
    white-space: nowrap;
    overflow-x: auto;
    padding: 10px 20px 15px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
    -webkit-overflow-scrolling: touch; 
    position: sticky;
    top: 56px; 
    z-index: 15;
}
.category-scroll::-webkit-scrollbar { display: none; }

.cat-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 6px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background-color: #f8f9fa;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
.cat-btn.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 4. 지도 영역 */
#map { 
    width: 100%; 
    height: 45vh;
}

/* 5. 가게 목록 영역 */
.store-list-box {
    padding: 0 20px 20px 20px;
    background-color: #fff;
}
.list-header {
    padding: 15px 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list-count { font-size: 13px; color: #888; font-weight: normal; }
.result-summary {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: #777;
}

.store-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.store-table th {
    text-align: left;
    padding: 10px;
    background-color: #f8f9fa;
    color: #555;
    border-bottom: 1px solid #ddd;
}
.store-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    color: #444;
}
.store-name { font-weight: bold; color: #333; }
.store-addr { font-size: 13px; color: #666; margin-top: 4px; }

.list-scroll-area {
    max-height: 400px;
    overflow-y: auto;
}

/* 6. 하단 설명 */
.description {
    padding: 30px 20px;
    background-color: #f9f9f9;
    color: #444;
    line-height: 1.6;
    font-size: 13px;
    border-top: 1px solid #ddd;
}
.seo-text { margin: 0 0 8px 0; }
.description h2 { font-size: 15px; margin: 0 0 10px 0; }
.description ul { margin: 0; padding-left: 20px; }
.description li { margin-bottom: 5px; }

/* 정보창 */
.wrap_info { padding: 5px; font-size: 13px; font-weight: bold; text-align: center; width: 150px; }
