/* css/cart.css (장바구니 섹션 전용 스타일) */

/* ⭐ body 스타일은 global.css에서 관리하므로 여기서 제거 ⭐ */
/*
body {
    margin: 0;
    font-family: Arial, sans-serif;
}
*/


/* 지도가 보일 영역. 크기가 명확히 정의되어야 합니다. */
#map2 {
    width: 600px;
    height: 400px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #e9ecef; /* 로딩 중 배경색 */
    /* 지도가 로드되기 전 초기 메시지 중앙 정렬을 위함 */
    display: flex; 
    justify-content: center;
    align-items: center;
    font-size: 1em;
    color: #666;
    overflow: hidden; /* 지도 컨트롤이 컨테이너 밖으로 나가지 않도록 */
}

.mart-box {
    border: 1px solid #ccc;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--color-primary);
}
.item-list {
    display: flex;
    flex-wrap: wrap;
}
.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}
.item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    #map2 { /* #map 대신 #map2로 올바르게 명시되어 있습니다. */
        width: 95%;
        height: 300px;
    }
}