.shop-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
}

.horizontal-scroll-list {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-title {
    font-size: 1rem;
    font-weight: bold;
}

#map-container {
    position: relative;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

/* 📍 내 위치로 이동 버튼 */
#btn-my-location {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 999; /* 반드시 다른 요소 위로 오도록 설정 */
    padding: 6px 10px;
    font-size: 13px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    line-height: 1;
}

.shop-card {
    width: 160px;
    height: 300px;
    flex: 0 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.shop-card .image-box {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    overflow: hidden;
}

.shop-card .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card .info {
    flex: 1;
    padding: 10px 10px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop-card .info h4 {
    font-size: 14px;
    margin: 0 0 4px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card .shop-address {
    font-size: 12px;
    color: #777;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.4;
    margin-bottom: 6px;
}

.shop-card .shop-distance {
    font-size: 12px;
    color: #007BFF;
    margin-top: auto;
}
