/* === 기본 스타일 및 변수 (컨셉 색상 반영) === */
/* Gowun Dodum 폰트는 head에서 임포트합니다. */

/* 전체적인 스타일 재정의 - 맵 관련 모든 요소를 감싸는 wrapper에 적용 */
.shoppingMap_wrapper {
    font-family: "Gowun Dodum", sans-serif;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 20px !important;
    background-color: #1c1c1c !important; /* ATM 컨셉 배경색 적용 */
    color: #eee !important; /* ATM 컨셉 기본 텍스트 색상 */
    margin: 0 !important;
    line-height: 1.6 !important; /* 가독성을 위한 줄 간격 조정 */
    width: 100%;
    box-sizing: border-box;
}
.comment-text-content .comment-mention {
    color: dodgerblue; /* 원하는 색상 */
    font-weight: bold; /* 굵게 */
}
/* wrapper 하위의 h1에만 스타일 적용 */
.shoppingMap_wrapper h1 {
    margin-bottom: 10px;
    color: #fd7e14; /* ATM 컨셉 주황색 */
    text-align: center;
    font-weight: 700;
}

/* 지도 링크 스타일 개선 */
.shopping_shoppingMap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 20px; /* 하단 마진 추가 */
}

.shopping_shoppingMap_a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #eee; /* 컨셉 글자색 */
    font-size: 16px;
    font-weight: 700;
    gap: 15px;
    padding: 10px 15px; /* 패딩 조정 */
    background-color: #333; /* 컨셉 배경색 */
    border: 1px solid #444; /* 컨셉 테두리 */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* 그림자 조정 */
    transition: all 0.3s ease;
    margin-right: 15px;
}

.shopping_shoppingMap_a:hover {
    background-color: #444; /* 호버 시 배경색 변경 */
    border-color: #fd7e14; /* 호버 시 테두리 색상 변경 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    color: #fff; /* 호버 시 글자 색상 변경 */
}

.shopping_shoppingMap_img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: none;
}
/* 지도 링크 스타일 개선 끝 */

/* 컨트롤 영역 개선 */
.shoppingMap_wrapper .shoppingMap_controls {
    margin-bottom: 20px; /* 간격 조정 */
    display: flex;
    gap: 15px; /* 요소 간 간격 조정 */
    width: 100%;
    max-width: 900px; /* 최대 너비 제한 조정 */
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px; /* 좌우 패딩 추가 */
}

.shoppingMap_wrapper .shoppingMap_search-input-group {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    min-width: 200px; /* 최소 너비 조정 */
}

/* input[type="text"] 스타일 (전체 wrapper 하위) */
.shoppingMap_wrapper input[type="text"] {
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #555; /* 컨셉 경계선 색상 */
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); /* 내부 그림자 조정 */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #333; /* 컨셉 배경색 */
    color: #eee; /* 컨셉 글자색 */
    font-family: "Gowun Dodum", sans-serif;
    width: 90%;
}

.shoppingMap_wrapper input[type="text"]::placeholder {
    color: #aaa; /* 플레이스홀더 색상 */
}

.shoppingMap_wrapper input[type="text"]:focus {
    border-color: #fd7e14; /* 포커스 시 컨셉 주황색 */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 0.2rem rgba(253, 126, 20, 0.4); /* 포커스 시 외부 그림자 조정 */
    outline: none;
}

/* button 스타일 (전체 wrapper 하위) */
.shoppingMap_wrapper button {
    padding: 10px 20px;
    background-color: #fd7e14; /* 컨셉 주황색 */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 그림자 조정 */
    flex-shrink: 0;
    font-family: "Gowun Dodum", sans-serif;
}
.exchangeRate_result-amount{
    color: #fd7e14;
}
.shoppingMap_wrapper button:hover {
    background-color: #e06200; /* 진한 주황색 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 호버 시 그림자 강화 */
}

.shoppingMap_wrapper button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.shoppingMap_wrapper button:disabled {
    background-color: #555; /* 비활성화 컨셉 색상 */
    color: #bbb; /* 비활성화 컨셉 글자색 */
    cursor: not-allowed;
    box-shadow: none;
}

/* 줌 컨트롤 버튼 */
.shoppingMap_wrapper .shoppingMap_zoom-controls {
    display: flex;
    gap: 8px; /* 줌 버튼 간 간격 조정 */
}

.shoppingMap_wrapper .shoppingMap_zoom-controls button {
    padding: 8px 12px;
    font-size: 1rem;
    background-color: #555; /* 컨셉 회색 배경 */
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* 줌 버튼 개별 색상 */
.shoppingMap_zoom-controls_m { background-color: #3498db !important; } /* 파란색 */
.shoppingMap_zoom-controls_p { background-color: #e74c3c !important; } /* 빨간색 */

.shoppingMap_wrapper .shoppingMap_zoom-controls button:hover {
    background-color: #666; /* 회색 호버 */
}
.shoppingMap_wrapper .shoppingMap_zoom-controls_m:hover{ background-color: #2980b9 !important; } /* 파란색 호버 */
.shoppingMap_wrapper .shoppingMap_zoom-controls_p:hover{ background-color: #c0392b !important; } /* 빨간색 호버 */


/* 맵 컨테이너 스타일 개선 */
.shoppingMap_wrapper .shoppingMap_map-container {
    position: relative;
    border: 1px solid #444; /* 컨셉 경계선 */
    border-radius: 8px;
    background-color: #282828; /* 컨셉 배경색 */
    width: 100%;
    max-width: 900px;
    height: 750px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 그림자 조정 */
    scroll-behavior: smooth;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    will-change: transform, scroll-position;
}

/* map-content */
.shoppingMap_wrapper .shoppingMap_map-content {
    position: relative;
    width: 900px; /* 원본 맵 너비 */
    height: 750px; /* 원본 맵 높이 */
    transform-origin: 0 0;
    min-width: 100%;
    min-height: 100%;
}

/* 매장 및 계단 기본 스타일 */
.shoppingMap_wrapper .shoppingMap_booth,
.shoppingMap_wrapper .shoppingMap_stairs {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 3px;
    text-align: center;
    color: #eee; /* 매장/계단 기본 글자색 */
}
/* 계단은 기본 커서 유지 (검색만 가능하도록) */
.shoppingMap_wrapper .shoppingMap_stairs {
    cursor: default;
    color: #bbb; /* 계단 글자색은 조금 연하게 */
}

/* booth */
.shoppingMap_wrapper .shoppingMap_booth {
    background-color: rgba(221, 221, 221, 0.1); /* 어두운 배경에 맞게 투명도 조정 */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); /* 내부 테두리 밝게 */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border-radius: 5px;
}

/* 의류 (기본 스타일) */
.shoppingMap_wrapper .shoppingMap_booth-default {
    box-shadow: inset 0 0 0 2px #fd7e14; /* 컨셉 주황색 내부 테두리 */
}

/* booth:hover */
.shoppingMap_wrapper .shoppingMap_booth:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0,0,0,0.3); /* 내부 쉐도우 밝게, 외부 쉐도우 진하게 */
    transform: translateY(-2px);
    z-index: 1;
}

/* stairs */
.shoppingMap_wrapper .shoppingMap_stairs {
    background-color: #3a3a3a; /* 컨셉 배경색 */
    background-image: linear-gradient(45deg, #444 25%, transparent 25%, transparent 50%, #444 50%, #444 75%, transparent 75%, transparent); /* 컨셉 패턴 */
    background-size: 15px 15px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* New style for stairs with numbers */
.shoppingMap_wrapper .shoppingMap_numbered-stairs {
    background-color: #f1c40f; /* 컨셉 노란색 */
    background-image: none;
    color: #343a40; /* 어두운 글자색 */
    font-weight: bold;
    font-size: 0px; /* 폰트 크기 조정 */
}


/* Zone Colors (내부 그림자 스타일로 변경) - 컨셉 색상 적용 */
.shoppingMap_wrapper .shoppingMap_booth-red { box-shadow: inset 0 0 0 3px #e74c3c; } /* 빨간색 */
.shoppingMap_wrapper .shoppingMap_booth-blue { box-shadow: inset 0 0 0 3px #3498db; } /* 파란색 */
.shoppingMap_wrapper .shoppingMap_booth-yellow { box-shadow: inset 0 0 0 3px #f1c40f; } /* 노란색 */
.shoppingMap_wrapper .shoppingMap_booth-green { box-shadow: inset 0 0 0 3px #2ecc71; } /* 초록색 */
.shoppingMap_wrapper .shoppingMap_booth-orange { box-shadow: inset 0 0 0 3px #e74c3c; } /* 오렌지색 */
.shoppingMap_wrapper .shoppingMap_booth-pink { box-shadow: inset 0 0 0 3px #FF80FF; } /* 핑크색 */
.shoppingMap_wrapper .shoppingMap_booth-purple { box-shadow: inset 0 0 0 3px #8000FF; } /* 보라색 */

/* 호버 시 모든 매장에 공통적으로 외부 쉐도우 적용 */
.shoppingMap_wrapper .shoppingMap_booth:hover {
    box-shadow: inset 0 0 0 3px inherit, 0 2px 8px rgba(0, 0, 0, 0.3); /* 기존 내부 쉐도우 + 외부 쉐도우 */
    transform: translateY(-2px);
    z-index: 1;
}

/* 하이라이트 애니메이션 개선 - 컨셉 색상 적용 */
@keyframes pulse-highlight {
    0% {
        box-shadow: inset 0 0 0 3px rgb(59, 127, 248), 0 0 5px rgba(253, 126, 20, 0);
        outline: 2px solid rgba(20, 226, 253, 0.3);
        background-color: rgb(255, 88, 88); /* 배경도 살짝 밝게 */
    }
    50% {
        box-shadow: inset 0 0 0 3px rgb(79, 107, 148), 0 0 15px rgba(253, 126, 20, 0.6);
        outline: 2px solid rgba(15, 186, 233, 0.4);
        background-color: rgb(255, 68, 68); /* 배경도 밝게 */
    }
    100% {
        box-shadow: inset 0 0 0 3px rgba(253, 126, 20, 0.7), 0 0 5px rgba(253, 126, 20, 0);
        outline: 2px solid rgba(253, 126, 20, 0.3);
        background-color: rgba(253, 126, 20, 0.1); /* 배경도 살짝 밝게 */
    }
}

/* highlighted */
.shoppingMap_wrapper .shoppingMap_highlighted {
    animation: pulse-highlight 1.5s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

/* 메시지 스타일 */
.shoppingMap_wrapper .shoppingMap_message {
    margin-top: 25px;
    padding: 12px 20px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    /* 컨셉 색상 적용 */
    background-color: #333;
    border: 1px solid #555;
    color: #eee;
}

/* error message */
.shoppingMap_wrapper .shoppingMap_error {
    /* 컨셉 에러 색상 적용 */
    background-color: #4a2b2e; /* 어두운 빨간색 배경 */
    color: #e74c3c; /* 빨간색 글자 */
    border: 1px solid #c0392b; /* 진한 빨간색 테두리 */
}

/* success message */
.shoppingMap_wrapper .shoppingMap_success {
    /* 컨셉 성공 색상 적용 */
    background-color: #2b4d3f; /* 어두운 초록색 배경 */
    color: #2ecc71; /* 초록색 글자 */
    border: 1px solid #27ae60; /* 진한 초록색 테두리 */
}

/* 수선매장 레이블 스타일 */
.shoppingMap_wrapper .shoppingMap_suseon-label {
    position: absolute;
    top: 180px;
    left: 880px;
    width: 450px;
    height: 40px;
    transform: rotate(90deg);
    transform-origin: top left;
    font-weight: 700;
    color: #eee; /* 컨셉 글자색 */
    font-size: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(40, 40, 40, 0.85); /* 컨셉 배경색 투명도 */
    border: 2px dashed #fd7e14; /* 컨셉 주황색 점선 */
    border-radius: 5px;
    box-sizing: border-box;
    z-index: 10;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* 범례 스타일 개선 */
.shoppingMap_wrapper .shoppingMap_legend-container {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px 0px;
    background-color: #282828; /* 컨셉 배경색 */
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    text-align: center;
}
.shoppingMap_help{
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 0px;
    background-color: #282828; /* 컨셉 배경색 */
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 900px;
    text-align: center;
}
/* legend-container h3 */
.shoppingMap_wrapper .shoppingMap_legend-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #eee; /* 컨셉 글자색 */
    font-size: 1.2em;
    font-weight: 600;
}

/* legend */
.shoppingMap_wrapper .shoppingMap_legend {
    display: flex;
    gap: 15px 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

/* legend-item */
.shoppingMap_wrapper .shoppingMap_legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: #bbb; /* 컨셉 글자색 */
    margin-left: 10px;
}

/* color-box */
.shoppingMap_wrapper .shoppingMap_color-box {
    width: 18px;
    height: 18px;
    background-color: #ffffff; /* 기본 흰색 유지 또는 #444 */
    border: 1px solid #555; /* 컨셉 테두리 */
    box-sizing: border-box;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* 범례 색상 (매장의 box-shadow 색상과 일치) */
.shoppingMap_wrapper .shoppingMap_legend .shoppingMap_color-box.shoppingMap_default { box-shadow: inset 0 0 0 4px #fd7e14; border: none; } /* 컨셉 주황색 */
.shoppingMap_wrapper .shoppingMap_legend .shoppingMap_color-box.shoppingMap_blue { box-shadow: inset 0 0 0 4px #3498db; border: none; } /* 파란색 */
.shoppingMap_wrapper .shoppingMap_legend .shoppingMap_color-box.shoppingMap_yellow { box-shadow: inset 0 0 0 4px #f1c40f; border: none; } /* 노란색 */
.shoppingMap_wrapper .shoppingMap_legend .shoppingMap_color-box.shoppingMap_green { box-shadow: inset 0 0 0 4px #2ecc71; border: none; } /* 초록색 */
.shoppingMap_wrapper .shoppingMap_legend .shoppingMap_color-box.shoppingMap_orange { box-shadow: inset 0 0 0 4px #e74c3c; border: none; } /* 오렌지색 */
.shoppingMap_wrapper .shoppingMap_legend .shoppingMap_color-box.shoppingMap_pink { box-shadow: inset 0 0 0 4px #FF80FF; border: none; } /* 핑크색 */
.shoppingMap_wrapper .shoppingMap_legend .shoppingMap_color-box.shoppingMap_purple { box-shadow: inset 0 0 0 4px #8000FF; border: none; } /* 보라색 */


/*환율 계산기 - 컨셉 적용 */
.exchangeRate_container {
    width: 100%; /* 너비 100% */
    max-width: 900px; /* 최대 너비 */
    background-color: #282828; /* 컨셉 배경색 */
    border-radius: 10px;
    padding: 20px; /* 패딩 조정 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: 20px; /* 상단 마진 */
    border: 1px solid #444; /* 컨셉 테두리 */
    color: #eee; /* 컨셉 글자색 */
}
.exchangeRate_h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #fd7e14 !important; /* 컨셉 주황색 */
    font-size: 1.5em; /* 크기 조정 */
}
.exchangeRate_input-group {
    margin-bottom: 15px;
}
.exchangeRate_label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
    color: #bbb; /* 컨셉 글자색 */
}
.exchangeRate_input {
    width: 80%; /* 너비 100% */
    padding: 10px 15px; /* 패딩 조정 */
    border: 1px solid #555; /* 컨셉 테두리 */
    border-radius: 5px;
    font-size: 1rem;
    background-color: #333; /* 컨셉 배경색 */
    color: #eee; /* 컨셉 글자색 */
    font-family: "Gowun Dodum", sans-serif;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.exchangeRate_input::placeholder {
    color: #aaa;
}
.exchangeRate_result {
    padding: 15px; /* 패딩 조정 */
    background-color: #3a3a3a; /* 컨셉 배경색 */
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
}
.exchangeRate_result p {
    margin: 0;
}
.exchangeRate_result-amount {
    font-size: 1.8em; /* 크기 조정 */
    font-weight: bold;
    color: #2ecc71; /* 컨셉 초록색 (결과) */
    margin-top: 5px;
}
.exchangeRate_info {
    margin-top: 20px;
    font-size: 14px; /* 크기 조정 */
    color: #bbb; /* 컨셉 글자색 */
    text-align: center;
    line-height: 1.4;
}
.exchangeRate_loading {
    text-align: center;
    margin: 20px 0;
    color: #bbb; /* 컨셉 글자색 */
}
.exchangeRate_error {
    color: #e74c3c; /* 빨간색 */
    text-align: center;
    margin: 10px 0;
}

/* --- 팝업 관련 CSS (ATM 컨셉 반영) --- */

/* 오버레이 */
#shoppingMap_boothPopupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 더 어두운 오버레이 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: "Gowun Dodum", sans-serif; /* 폰트 적용 */
}

/* 팝업 콘텐츠 박스 */
#shoppingMap_boothPopupContent {
    background-color: #282828; /* 컨셉 배경색 */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* 더 진한 그림자 */
    max-width: 800px;
    width: 90%;
    max-height: 80vh; /* 높이 제한 조정 (스크롤 가능) */
    overflow-y: auto;
    position: relative;
    color: #eee; /* 컨셉 글자색 */
    border: 1px solid #444; /* 컨셉 테두리 */
}

/* 팝업 스크롤바 스타일 */
#shoppingMap_boothPopupContent::-webkit-scrollbar {
    width: 10px;
}
#shoppingMap_boothPopupContent::-webkit-scrollbar-track {
    background: #333; /* 스크롤바 트랙 색상 */
    border-radius: 5px;
}
#shoppingMap_boothPopupContent::-webkit-scrollbar-thumb {
    background-color: #fd7e14; /* 스크롤바 썸 색상 (컨셉 주황색) */
    border-radius: 5px;
}
#shoppingMap_boothPopupContent::-webkit-scrollbar-thumb:hover {
    background-color: #e06200; /* 호버 색상 */
}
/* 팝업 스크롤바 스타일2 */
#commentList::-webkit-scrollbar {
    width: 10px;
}
#commentList::-webkit-scrollbar-track {
    background: #333; /* 스크롤바 트랙 색상 */
    border-radius: 5px;
}
#commentList::-webkit-scrollbar-thumb {
    background-color: #fd7e14; /* 스크롤바 썸 색상 (컨셉 주황색) */
    border-radius: 5px;
}
#commentList::-webkit-scrollbar-thumb:hover {
    background-color: #e06200; /* 호버 색상 */
}



/* 팝업 닫기 버튼 */
#shoppingMap_closeBoothPopup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa; /* 회색 유지 또는 #fd7e14 (주황색) */
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1; /* 높이 조정 */
}

#shoppingMap_closeBoothPopup:hover {
    color: #fff; /* 호버 시 밝은 색 */
}

/* Elements inside popup content - nested under popup ID */
#shoppingMap_boothPopupContent #shoppingMap_popupBoothNumber { /* id prefixed and nested */
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #fd7e14; /* 컨셉 주황색 */
    font-size: 1.8em;
    font-weight: bold;
}

/* 팝업 섹션 (품목, 후기, 댓글) */
#shoppingMap_boothPopupContent .shoppingMap_popup-section { /* class prefixed and nested */
    margin-bottom: 5px;
    border-bottom: 1px solid #444; /* 컨셉 구분선 */
    padding-bottom: 15px;
}

#shoppingMap_boothPopupContent .shoppingMap_popup-section:last-child { /* class prefixed and nested */
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* 팝업 섹션 제목 (품목, 후기, 댓글 등) */
#shoppingMap_boothPopupContent .shoppingMap_popup-section h3 { /* class prefixed and nested */
    margin-top: 0;
    margin-bottom: 6px;
    color: #eee; /* 컨셉 글자색 */
    font-size: 1.2em;
    font-weight: bold;
    border-left: 4px solid #fd7e14; /* 컨셉 주황색 라인 */
    padding-left: 10px;
}

/* 품목 테이블 */
#shoppingMap_boothPopupContent #shoppingMap_popupItemsTable { /* id prefixed and nested */
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

#shoppingMap_boothPopupContent #shoppingMap_popupItemsTable th, /* id prefixed and nested */
#shoppingMap_boothPopupContent #shoppingMap_popupItemsTable td { /* id prefixed and nested */
    border: 1px solid #444; /* 컨셉 테두리 */
    padding: 8px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    color: #eee; /* 컨셉 글자색 */
}

#shoppingMap_boothPopupContent #shoppingMap_popupItemsTable th { /* id prefixed and nested */
    background-color: #333; /* 컨셉 배경색 */
    font-weight: 600;
    color: #fd7e14; /* 컨셉 주황색 */
}

/* 후기 목록 */
#shoppingMap_boothPopupContent #shoppingMap_popupReviewsList { /* id prefixed and nested */
    list-style: disc;
    margin: 0 0 0 20px;
    padding: 0;
}

#shoppingMap_boothPopupContent #shoppingMap_popupReviewsList li { /* id prefixed and nested */
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 14px;
    color: #eee; /* 컨셉 글자색 */
}

/* 데이터 없음 메시지 */
#shoppingMap_boothPopupContent .shoppingMap_no-data { /* class prefixed and nested */
    text-align: center;
    color: #888; /* 회색 유지 */
    font-style: italic;
    margin-top: 10px;
}

/* --- 댓글 영역 CSS (ATM 컨셉 반영) --- */

.comment-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444; /* 컨셉 구분선 */
}

.comment-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em; /* 섹션 제목과 동일하게 */
    color: #eee; /* 컨셉 글자색 */
    border-left: 4px solid #fd7e14; /* 컨셉 주황색 라인 */
    padding-left: 10px;
}

#commentList {
    margin-bottom: 10px;
    max-height: 500px; /* 댓글 목록 높이 증가 (예시) */
    overflow-y: auto;
    padding-right: 10px; /* 스크롤바 때문에 오른쪽 패딩 추가 */
}

/* 개별 댓글 */
.comment {
    border: 1px solid #444; /* 컨셉 테두리 */
    padding: 8px; /* 패딩 증가 */
    margin-bottom: 6px; /* 간격 증가 */
    border-radius: 8px; /* 모서리 둥글게 */
    background-color: #333; /* 컨셉 배경색 */
    color: #eee; /* 컨셉 글자색 */
    word-wrap: break-word; /* 긴 단어 자동 줄바꿈 */
}

/* 대댓글 */
.reply-comment {
    margin-left: 20px; /* 들여쓰기 */
    background-color: #3a3a3a; /* 주 댓글보다 살짝 밝은 배경 */
    border-left: 4px solid #555; /* 들여쓰기 구분선 */
    padding-left: 15px; /* 들여쓰기 패딩 */
    margin-bottom: 15px; /* 간격 증가 */
    padding-top: 12px;
    padding-bottom: 12px;
}

/* 댓글 헤더 */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 세로 중앙 정렬 */
    margin-bottom: 8px; /* 내용과의 간격 */
    flex-wrap: wrap; /* 공간 부족 시 줄바꿈 */
    font-size: 14px;
}

/* 작성자 정보 (닉네임, 시간) */
.comment-author-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.comment-author-info strong {
    color: #fd7e14; /* 컨셉 주황색 */
    font-weight: bold;
    margin-right: 8px;
}

.comment-author-info span {
    font-size: 0.85em;
    color: #bbb; /* 밝은 회색 시간 */
}

/* 댓글 액션 및 좋아요/싫어요 영역 (오른쪽) */
.comment-header-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* 액션과 좋아요/싫어요 버튼 그룹 간격 */
    flex-wrap: wrap;
}

/* 댓글 내용 */
.comment-text-content {
    margin: 0 0 8px 0; /* 하단 간격 */
    line-height: 1.3;
    color: #eee; /* 컨셉 글자색 */
    font-size: 14px;
}

/* 댓글 하단 구분선 */
.comment hr {
    border: none;
    border-top: 1px dashed #555; /* 컨셉 구분선 */
    margin: 6px 0;
}

/* 좋아요/싫어요 버튼 컨테이너 */
.comment-likes {
    display: flex;
    align-items: center;
    gap: 5px; /* 버튼과 숫자 간격 */
    font-size: 14px;
    color: #aaa; /* 기본 아이콘/숫자 색상 */
}

.comment-likes button {
    background: none; /* 배경 없음 */
    border: none; /* 테두리 없음 */
    color: #aaa; /* 기본 아이콘 색상 */
    cursor: pointer;
    padding: 0 3px; /* 내부 패딩 조정 */
    font-size: 1em; /* 아이콘 크기 */
    transition: color 0.2s ease;
    min-width: auto; /* 버튼 최소 너비 제거 */
    box-shadow: none; /* 그림자 제거 */
}

.comment-likes button:hover {
    color: #fff; /* 호버 시 밝은 색 */
    background: none; /* 배경 없음 */
    box-shadow: none; /* 그림자 제거 */
}

.comment-likes button:disabled {
    color: #666; /* 비활성화 색상 */
    cursor: not-allowed;
}

/* 좋아요 누른 상태 */
.comment-likes .like-button.active {
    color: #3498db; /* 파란색 */
}
.comment-likes .like-button.active:hover {
    color: #2980b9; /* 진한 파란색 */
}

/* 싫어요 누른 상태 */
.comment-likes .dislike-button.active {
    color: #e74c3c; /* 빨간색 */
}
.comment-likes .dislike-button.active:hover {
    color: #c0392b; /* 진한 빨간색 */
}

/* 좋아요/싫어요 수 */
.comment-likes span {
    font-size: 1em;
    color: #aaa; /* 기본 숫자 색상 */
    font-weight: normal;
    margin: 0; /* 기본 마진 제거 */
}
.comment-likes .like-count {
    /* 좋아요 숫자에만 적용할 스타일 (선택 사항) */
}
.comment-likes .dislike-count {
    /* 싫어요 숫자에만 적용할 스타일 (선택 사항) */
}


/* 댓글 수정/삭제/답글 버튼 컨테이너 */
.comment-actions button {
    padding: 4px 8px; /* 패딩 조정 */
    margin-left: 8px; /* 간격 조정 */
    font-size: 0.85em; /* 크기 조정 */
    cursor: pointer;
    border-radius: 4px; /* 모서리 둥글게 */
    transition: background-color 0.2s ease, opacity 0.2s ease;
    min-width: auto; /* 최소 너비 제거 */
    box-shadow: none; /* 그림자 제거 */
    font-weight: normal; /* 기본 폰트 굵기 */
}
.comment-actions button:hover {
    opacity: 0.8; /* 호버 시 투명도 */
    box-shadow: none; /* 그림자 제거 */
}
.comment-actions button:disabled {
    background-color: #555;
    color: #bbb;
    cursor: not-allowed;
    opacity: 0.6;
}


.comment-actions button.edit-button {
    background-color: #3498db; /* 파란색 */
    color: white;
    border: none;
}
.comment-actions button.edit-button:hover { background-color: #2980b9; }

.comment-actions button.delete-button {
    background-color: #e74c3c; /* 빨간색 */
    color: white;
    border: none;
    margin-top: 0px;

}
.comment-actions button.delete-button:hover { background-color: #c0392b; }

.comment-actions button.reply-action-button {
    background-color: #fd7e14; /* 컨셉 주황색 */
    color: white;
    border: none;
}
.comment-actions button.reply-action-button:hover { background-color: #e06200; }


/* 새 댓글 작성 폼 컨테이너 (주 댓글 폼) */
#newCommentFormContainer {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed #444; /* 컨셉 구분선 */
    background-color: #3a3a3a; /* 컨셉 배경색 */
    padding: 15px;
    border-radius: 8px;
}

#newCommentFormContainer h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1em;
    color: #bbb; /* 밝은 회색 제목 */
}

#commentInput {
    width: 100%; /* 너비 100% */
    padding: 10px; /* 패딩 조정 */
    margin-bottom: 10px;
    border: 1px solid #555; /* 컨셉 테두리 */
    border-radius: 4px;
    box-sizing: border-box; /* 패딩/보더 포함 너비 계산 */
    resize: vertical; /* 세로 크기 조절 가능 */
    background-color: #444; /* 컨셉 입력 필드 배경색 */
    color: #eee; /* 컨셉 입력 필드 글자색 */
    font-family: "Gowun Dodum", sans-serif;
}

#commentInput::placeholder {
    color: #aaa; /* 플레이스홀더 색상 */
}

#submitCommentBtn {
    padding: 10px 20px; /* 패딩 조정 */
    background-color: #2ecc71; /* 초록색 (성공/작성) */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em; /* 크기 조정 */
    transition: background-color 0.2s ease, opacity 0.2s ease;
    font-weight: bold;
    width: auto; /* 너비 자동 */
}

#submitCommentBtn:hover {
    background-color: #27ae60; /* 진한 초록색 */
    opacity: 1;
}
#submitCommentBtn:disabled {
    background-color: #555;
    color: #bbb;
    cursor: not-allowed;
    opacity: 0.6;
}


#loginRequiredMessage {
    margin-top: 10px;
    font-weight: bold;
    color: #e74c3c; /* 빨간색 (에러) */
    text-align: center; /* 중앙 정렬 */
}

/* 댓글 작성 대기시간 메시지 */
#commentCooldownMessage,
.comment-cooldown-message { /* 대댓글 폼 메시지도 포함 */
    margin-top: 10px;
    font-weight: bold;
    color: #f1c40f; /* 노란색/주황색 계열 (경고/대기) */
    text-align: center; /* 중앙 정렬 */
    font-size: 14px;
}


/* 댓글 수정 모드 스타일 */
.comment .edit-textarea {
    width: 100%; /* 너비 100% */
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #3498db; /* 수정 모드 테두리색 */
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    background-color: #444; /* 컨셉 입력 필드 배경색 */
    color: #eee; /* 컨셉 입력 필드 글자색 */
    font-family: "Gowun Dodum", sans-serif;
}
.comment .edit-textarea::placeholder {
    color: #aaa;
}

.comment .edit-buttons {
    text-align: right;
    margin-top: 5px;
}
.comment .edit-buttons button {
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    margin-left: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    min-width: auto;
    box-shadow: none;
    background: #3498db;
    color: white;
}
.comment .edit-buttons button:hover {
    opacity: 0.8;
}

.comment .edit-buttons .save-button {
    background-color: #2ecc71; /* 초록색 */
    color: white;
    border: none;
}
.comment .edit-buttons .save-button:hover { background-color: #27ae60; }

.comment .edit-buttons .cancel-button {
    background-color: #6c757d; /* 회색 */
    color: white;
    border: none;
}
.comment .edit-buttons .cancel-button:hover { background-color: #5a6268; }

/* 대댓글 작성 폼 컨테이너 */
.reply-form-container {
    margin-left: 20px; /* 대댓글 들여쓰기와 동일 */
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #555; /* 대댓글 구분선 */
    background-color: #4a4a4a; /* 대댓글 폼 배경색 (대댓글 배경보다 밝게) */
    padding: 15px;
    border-radius: 8px;
    /* display: none !important; <- !important 제거 */
    display: none; /* JS로 제어 */
}
.reply-form-container h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1em;
    color: #bbb; /* 밝은 회색 제목 */
}
.reply-form-container .reply-input {
    width: 100%; /* 너비 100% */
    padding: 10px; /* 패딩 조정 */
    margin-bottom: 10px;
    border: 1px solid #555; /* 컨셉 테두리 */
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    background-color: #444; /* 컨셉 입력 필드 배경색 */
    color: #eee; /* 컨셉 입력 필드 글자색 */
    font-family: "Gowun Dodum", sans-serif;
}
.reply-form-container .reply-input::placeholder {
    color: #aaa;
}
.reply-form-container .reply-button {
    padding: 10px 20px; /* 패딩 조정 */
    background-color: #2ecc71; /* 초록색 (성공/작성) */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em; /* 크기 조정 */
    transition: background-color 0.2s ease, opacity 0.2s ease;
    font-weight: bold;
    width: auto; /* 너비 자동 */
}
.reply-form-container .reply-button:hover {
    background-color: #27ae60;
    opacity: 1;
}
.reply-form-container .reply-button:disabled {
    background-color: #555;
    color: #bbb;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 베스트 댓글 영역 */
.best-comments-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444; /* 컨셉 구분선 */
}
.best-comments-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em; /* 섹션 제목과 동일하게 */
    color: #eee; /* 컨셉 글자색 */
    border-left: 4px solid #f1c40f; /* 베스트 댓글은 노란색 라인 (선택 사항) */
    padding-left: 10px;
}
#bestCommentList {
    margin-bottom: 15px;
}
.best-comment {
    border: 1px solid #f1c40f; /* 베스트 댓글 테두리 */
    background-color: #444; /* 베스트 댓글 배경색 */
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #eee;
    word-wrap: break-word;
}
.best-comment .comment-author-info strong {
    color: #f1c40f; /* 베스트 댓글 작성자 닉네임 색상 */
}
.best-comment .comment-likes {
    color: #f1c40f; /* 베스트 댓글 좋아요/싫어요 아이콘 색상 */
}
.best-comment .comment-likes button {
    color: #f1c40f; /* 베스트 댓글 아이콘 색상 */
}
.best-comment .comment-likes button:hover {
    color: #fff; /* 호버 색상 */
}
.best-comment .comment-likes button:disabled {
    color: #888;
}
/* 베스트 댓글에서는 좋아요/싫어요 active 상태는 의미 없을 수 있습니다. */
/* 필요시 .best-comment .like-button.active { color: #fff; } 등으로 지정 가능 */
.best-comments-section .shoppingMap_no-data { /* 베스트 댓글 데이터 없음 메시지 */
    text-align: center;
    color: #888;
    font-style: italic;
}


/* 댓글 페이징 */
#commentPagination {
    margin-top: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #eee; /* 컨셉 글자색 */
}
#commentPagination button {
    padding: 6px 12px;
    background-color: #555; /* 컨셉 배경색 */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    min-width: auto;
    box-shadow: none;
}
#commentPagination button:hover {
    background-color: #666;
}
#commentPagination button:disabled {
    background-color: #444;
    color: #888;
    cursor: not-allowed;
}
#commentPagination span {
    font-weight: bold;
    color: #fd7e14; /* 컨셉 주황색 */
}


/* 모바일 반응형 - nested under wrapper */
@media (max-width: 768px) {
    /* body padding should perhaps stay on body or parent template */
    body {
        /* 기본 레이아웃 템플릿의 body 스타일을 유지하거나 조정 */
    }

    /* wrapper h1 - nested under wrapper */
    .shoppingMap_wrapper {
        padding: 15px !important; /* 모바일 패딩 조정 */
    }
    .shoppingMap_wrapper h1 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    /* 지도 링크 */
    .shopping_shoppingMap {
        margin-top: 20px; /* 상단 마진 조정 */
        margin-bottom: 15px;
        flex-direction: column; /* 세로 정렬 */
        gap: 15px; /* 이미지와 제목 간격 */
    }
    .shopping_shoppingMap_a {
        margin-right: 0; /* 오른쪽 마진 제거 */
        width: 100%; /* 너비 100% */
        justify-content: center; /* 내용 가운데 정렬 */
        padding: 8px 10px;
    }


    /* controls */
    .shoppingMap_wrapper .shoppingMap_controls {
        flex-direction: column;
        gap: 10px;
        flex-wrap: nowrap;
        align-items: stretch;
        padding: 0 15px; /* 좌우 패딩 조정 */
    }

    /* search-input-group */
    .shoppingMap_wrapper .shoppingMap_search-input-group {
        flex-direction: column;
        gap: 10px;
        flex-grow: 0;
        min-width: auto;
        width: 100%;
    }

    /* input[type="text"], button */
    .shoppingMap_wrapper input[type="text"],
    .shoppingMap_wrapper button {
        width: 100%;
        min-width: auto;
        font-size: 16px;
        padding: 10px 12px;
    }
    .shoppingMap_wrapper .shoppingMap_search-input-group input[type="text"] {
        font-size: 16px;
        width: 95%;
        margin: 0 auto;
    }
    /* zoom-controls */
    .shoppingMap_wrapper .shoppingMap_zoom-controls {
        width: 100%;
        justify-content: stretch;
    }

    /* zoom-controls button */
    .shoppingMap_wrapper .shoppingMap_zoom-controls button {
        flex-grow: 1;
        width: auto;
    }

    /* map-container */
    .shoppingMap_wrapper .shoppingMap_map-container {
        height: 60vh; /* 모바일에서 높이 조정 */
        max-width: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: none;
        border-radius: 0; /* 모서리 제거 */
    }

    /* booth */
    .shoppingMap_wrapper .shoppingMap_booth {
        font-size: 14px;
        padding: 2px;
    }
    /* 계단 번호 폰트 크기 조정 */
    .shoppingMap_wrapper .shoppingMap_numbered-stairs {
        font-size: 0px;
    }


    /* suseon-label */
    .shoppingMap_wrapper .shoppingMap_suseon-label {
        /* 모바일에서 수선매장 레이블 필요 없다면 display: none; */
        /* position: static; transform: none; width: auto; height: auto; margin: 15px auto; border: none; */
        display: none; /* 모바일에서 숨김 */
    }

    /* legend-container */
    .shoppingMap_wrapper .shoppingMap_legend-container {
        margin-top: 15px;
        padding: 15px 10px; /* 패딩 조정 */
        box-shadow: none;
        margin-bottom: 15px;
    }
    .shoppingMap_wrapper .shoppingMap_legend-container h3{
        margin-bottom: 10px;
        font-size: 1.1em;
    }

    /* legend */
    .shoppingMap_wrapper .shoppingMap_legend {
        gap: 8px 10px;
        justify-content: flex-start;
    }

    /* legend-item */
    .shoppingMap_wrapper .shoppingMap_legend-item {
        font-size: 14px;
        flex: 1 1 45%;
        min-width: 120px; /* 최소 너비 조정 */
        margin-left: 0; /* 마진 제거 */
    }

    /* color-box */
    .shoppingMap_wrapper .shoppingMap_color-box {
        width: 16px;
        height: 16px;
    }

    /* message */
    .shoppingMap_wrapper .shoppingMap_message {
        margin-top: 15px;
        padding: 12px;
        max-width: 100%;
    }


    /* --- 팝업 스타일 모바일 반응형 --- */
    #shoppingMap_boothPopupContent {
        width: 95%;
        padding: 10px;
        max-height: 80vh;
    }

    #shoppingMap_boothPopupContent h2 {
        font-size: 1.5em;
    }

    #shoppingMap_boothPopupContent h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    #shoppingMap_popupItemsTable th,
    #shoppingMap_popupItemsTable td {
        padding: 6px;
        font-size: 14px;
    }

    #shoppingMap_popupReviewsList li {
        font-size: 14px;
    }

    #shoppingMap_closeBoothPopup {
        font-size: 24px;
        top: 10px;
        right: 10px;
    }

    /* 환율 계산기 모바일 */
    .exchangeRate_container {
        width: 90%;
        margin: 20px auto 0; /* 상단 마진 조정 */
        padding: 15px;
    }
    .exchangeRate_h1 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }
    .exchangeRate_input-group {
        margin-bottom: 10px;
    }
    .exchangeRate_label {
        font-size: 14px;
    }
    .exchangeRate_input{
        width: 90%; /* 모바일 너비 100% */
        padding: 10px;
        font-size: 16px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    .exchangeRate_result p {
        font-size: 14px;
    }
    .exchangeRate_result-amount {
        font-size: 1.4em;
    }
    .exchangeRate_info {
        font-size: 13px;
        margin-top: 15px;
    }

    /* --- 댓글 영역 모바일 반응형 --- */
    .comment-section h3 {
        font-size: 1.1em;
    }
    #commentList {
        max-height: 350px; /* 모바일에서 높이 조정 */
        padding-right: 5px; /* 스크롤바 패딩 조정 */
    }
    .comment {
        padding: 10px;
        margin-bottom: 10px;
        font-size: 14px;
    }
    .reply-comment {
        margin-left: 15px; /* 들여쓰기 줄임 */
        padding-left: 10px;
        margin-bottom: 10px;
    }
    .comment-author-info {
        flex-direction: column; /* 세로로 쌓기 */
        align-items: flex-start;
        margin-bottom: 5px;
    }
    .comment-author-info strong {
        margin-right: 0;
        margin-bottom: 3px;
    }
    .comment-author-info span {
        margin-left: 0;
        font-size: 0.8em;
    }
    .comment-header-actions {
        flex-direction: row; /* 모바일에서 가로로 나란히 */
        align-items: center; /* 세로 중앙 정렬 */
        gap: 8px; /* 간격 조정 */
        width: auto; /* 너비 자동 */
        margin-top: 0; /* 마진 조정 */
        flex-wrap: nowrap; /* 줄바꿈 방지 */
    }
    .comment-likes {
        justify-content: flex-start; /* 왼쪽 정렬 */
        width: auto; /* 너비 자동 */
    }
    .comment-actions {
        text-align: left; /* 왼쪽 정렬 */
        width: auto; /* 너비 자동 */
        display: flex; /* flexbox 사용 */
        gap: 5px; /* 버튼 간격 */
        flex-wrap: nowrap; /* 버튼 줄바꿈 방지 */
        align-items: center;

    }
    .comment-actions button {
        margin-left: 0; /* 마진 제거 */
        margin-right: 0; /* 마진 제거 */
        padding: 4px 8px;
        font-size: 0.8em;
        flex-grow: 1; /* 가능한 공간을 채우도록 성장 */
        flex-basis: 0; /* 초기 너비를 0으로 */
        text-align: center; /* 버튼 텍스트 중앙 정렬 */
    }

    #newCommentFormContainer, .reply-form-container {
        padding: 10px;
    }
    #newCommentFormContainer h4, .reply-form-container h4 {
        font-size: 14px;
    }
    #commentInput, .reply-form-container .reply-input {
        padding: 8px;
        font-size: 14px;
    }
    #submitCommentBtn, .reply-form-container .reply-button {
        padding: 8px 15px;
        font-size: 14px;
    }
    .comment .edit-textarea {
        padding: 8px;
        font-size: 14px;
    }
    .comment .edit-buttons {
        text-align: left;
    }
    .comment .edit-buttons button {
        padding: 4px 8px;
        font-size: 0.8em;
        margin-left: 0;
        margin-right: 8px;
    }
    .reply-form-container {
        margin-left: 15px; /* 모바일 대댓글 폼 들여쓰기 */
    }
    #commentPagination {
        gap: 8px;
        font-size: 14px;
    }
    #commentPagination button {
        padding: 4px 8px;
        font-size: 0.8em;
    }
}


/* 더 작은 모바일 (예: 480px 이하) */
@media (max-width: 480px) {
    .shoppingMap_wrapper {
        padding: 10px !important; /* 패딩 더 줄임 */
    }
    .shoppingMap_wrapper h1 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    .shopping_shoppingMap {
        margin-top: 15px;
        margin-bottom: 10px;
        gap: 10px;
    }
    .shopping_shoppingMap_a {
        padding: 6px 8px;
        gap: 10px;
    }
    .shopping_shoppingMap_img {
        width: 40px;
        height: 40px;
    }
    .shoppingMap_wrapper .shoppingMap_controls {
        gap: 8px;
        padding: 0 10px;
    }
    .shoppingMap_wrapper .shoppingMap_search-input-group {
        gap: 8px;
    }
    .shoppingMap_wrapper input[type="text"],
    .shoppingMap_wrapper button {
        font-size: 14px;
        padding: 8px 10px;
    }
    .shoppingMap_wrapper .shoppingMap_search-input-group input[type="text"] {
        font-size: 14px;
    }
    .shoppingMap_wrapper .shoppingMap_zoom-controls {
        gap: 6px;
    }
    .shoppingMap_wrapper .shoppingMap_zoom-controls button {
        padding: 6px 10px;
        font-size: 14px;
    }

    .shoppingMap_wrapper .shoppingMap_map-container {
        height: 50vh; /* 높이 더 줄임 */
    }
    .shoppingMap_wrapper .shoppingMap_booth {
        font-size: 12px;
    }
    .shoppingMap_wrapper .shoppingMap_numbered-stairs {
        font-size: 0px;
    }
    .shoppingMap_wrapper .shoppingMap_suseon-label { /* 모바일 숨김 유지 */
        display: none;
    }
    .shoppingMap_wrapper .shoppingMap_legend-container {
        margin-top: 10px;
        padding: 10px 5px;
        margin-bottom: 10px;
    }
    .shoppingMap_wrapper .shoppingMap_legend-container h3 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    .shoppingMap_wrapper .shoppingMap_legend {
        gap: 6px 8px;
    }
    .shoppingMap_wrapper .shoppingMap_legend-item {
        font-size: 0.8em;
        flex: 1 1 48%; /* 두 개씩 */
        min-width: auto;
    }
    .shoppingMap_wrapper .shoppingMap_color-box {
        width: 14px;
        height: 14px;
    }
    .shoppingMap_wrapper .shoppingMap_message {
        margin-top: 10px;
        padding: 10px;
        font-size: 14px;
    }
    .exchangeRate_container {
        padding: 10px;
        margin-top: 15px;
    }
    .exchangeRate_h1 {
        font-size: 1.2em;
        margin-bottom: 8px;
    }
    .exchangeRate_label {
        font-size: 0.8em;
    }
    .exchangeRate_input {
        padding: 8px;
        font-size: 14px;
    }
    .exchangeRate_result p {
        font-size: 0.8em;
    }
    .exchangeRate_result-amount {
        font-size: 1.2em;
    }
    .exchangeRate_info {
        font-size: 12px;
        margin-top: 10px;
    }

    /* 팝업 모바일 스타일 더 줄임 */
    #shoppingMap_boothPopupContent {
        padding: 10px;
    }
    #shoppingMap_boothPopupContent h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    #shoppingMap_boothPopupContent h3 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    #shoppingMap_popupItemsTable th,
    #shoppingMap_popupItemsTable td {
        padding: 5px;
        font-size: 0.85em;
    }
    #shoppingMap_popupReviewsList li {
        font-size: 0.85em;
    }
    #shoppingMap_closeBoothPopup {
        font-size: 20px;
        top: 5px;
        right: 5px;
    }

    /* 댓글 영역 모바일 스타일 더 줄임 */
    .comment-section h3 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    #commentList {
        max-height: 300px; /* 높이 더 줄임 */
    }
    .comment {
        padding: 8px;
        margin-bottom: 8px;
        font-size: 0.8em;
    }
    .reply-comment {
        margin-left: 10px;
        padding-left: 8px;
        margin-bottom: 8px;
    }
    .comment-author-info strong {
        font-size: 1em;
    }
    .comment-author-info span {
        font-size: 0.75em;
    }
    .comment-header-actions {
        gap: 5px;
    }
    .comment-likes {
        gap: 3px;
    }
    .comment-likes button {
        padding: 0 2px;
        font-size: 14px;
    }
    .comment-actions {
        gap: 3px;
    }
    .comment-actions button {
        padding: 3px 6px;
        font-size: 0.75em;
    }
    #newCommentFormContainer, .reply-form-container {
        padding: 8px;
    }
    #newCommentFormContainer h4, .reply-form-container h4 {
        font-size: 0.8em;
    }
    #commentInput, .reply-form-container .reply-input {
        padding: 6px;
        font-size: 0.8em;
    }
    #submitCommentBtn, .reply-form-container .reply-button {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    .comment .edit-textarea {
        padding: 6px;
        font-size: 0.8em;
    }
    .comment-actions button {
        padding: 3px 6px;
        font-size: 0.7em;
        margin-left: 0;
        margin-right: 6px;
        max-width: 35px;
        max-height: 25px;
        min-width: 35px;
        min-height: 25px;
    }
    .delete-button{
        max-width: 35px;
        max-height: 25px;
        min-width: 35px;
        min-height: 25px;
        margin-top: 0px!important;
    }
    .reply-action-button{
        max-width: 35px;
        max-height: 25px;
        min-width: 35px;
        min-height: 25px;
    }
    .reply-form-container {
        margin-left: 10px;
    }
    #commentPagination {
        gap: 6px;
        font-size: 0.8em;
    }
    #commentPagination button {
        padding: 3px 6px;
        font-size: 0.75em;
    }
}
