@charset "utf-8";

/**
 * 우리 동네 장착점 찾기
 * Figma 511-14646, 511-15033
 */

.mount-finder-page .mount-finder-map-wrap {
    min-height: 280px;
}

@media (min-width: 1024px) {
    .mount-finder-page .mount-finder-map-wrap {
        min-height: 680px;
    }
}

.mount-finder-page .mount-finder-filter__select {
    appearance: none;
    height: 3rem;
    padding: 0 2.5rem 0 1rem;
    border: 1px solid #d1d1d1;
    border-radius: 0.5rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23686868' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    color: #686868;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    transition: border-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 1024px) {
    .mount-finder-page .mount-finder-filter__select {
        height: 3.5rem;
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
}

.mount-finder-page .mount-finder-filter__select:disabled {
    background-color: #f9fafb;
    cursor: not-allowed;
    opacity: 0.7;
}

.mount-finder-page .mount-finder-filter__select.is-filled {
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230075f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mount-finder-page .mount-finder-nearby {
    min-height: 2.75rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mount-finder-page .mount-finder-nearby:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mount-finder-page[data-mode="nearby"] .mount-finder-filter {
    opacity: 0.45;
    pointer-events: none;
}

.mount-finder-page .mount-finder-nearby.is-active {
    border-color: var(--color-primary);
    background-color: #f0f7ff;
}

.mount-finder-page .mount-finder-sort__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgba(0, 0, 0, 0.6);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .mount-finder-page .mount-finder-sort__btn {
        font-size: 1.125rem;
        line-height: 1.35rem;
    }
}

.mount-finder-page .mount-finder-sort__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #d9d9d9;
}

.mount-finder-page .mount-finder-sort__btn.is-active {
    color: #000;
    font-weight: 700;
}

.mount-finder-page .mount-finder-sort__btn.is-active .mount-finder-sort__dot {
    background-color: var(--color-primary);
}

.mount-finder-page .mount-finder-list__head {
    border-bottom: 1px solid #e5e5e5;
}

.mount-finder-page .mount-finder-layout,
.mount-order-picker .mount-finder-layout {
    min-width: 0;
    max-width: 100%;
}

.mount-finder-page .mount-finder-list {
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.mount-finder-page .mount-finder-list-wrap,
.mount-order-picker .mount-finder-list-wrap {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.mount-finder-page .mount-shop-card,
.mount-order-picker .mount-shop-card {
    width: 100%;
    max-width: 100%;
}

.mount-finder-page .mount-shop-card__inner,
.mount-order-picker .mount-shop-card__inner {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.mount-order-picker .mount-shop-card,
.float-mount-finder-page .mount-shop-card {
    isolation: isolate;
}

@media (min-width: 768px) {
    .mount-finder-page .mount-finder-list {
        gap: 0.75rem;
    }
}

/* 선택 카드 — 511-14646 예약불가 / 511-15033 예약가능 */
.mount-finder-page .mount-shop-card.is-unavailable.is-active,
.mount-finder-page .mount-shop-card.is-reservable.is-active {
    background-color: #f5f8fa;
}

.mount-finder-page .mount-shop-card.is-active .mount-shop-card__name {
    color: var(--color-primary);
}

.mount-finder-page .mount-shop-card__name,
.mount-order-picker .mount-shop-card__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-all;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    line-height: 1.375;
    max-height: none;
}

.mount-finder-page .mount-shop-card__addr,
.mount-finder-page .mount-shop-card__tel,
.mount-order-picker .mount-shop-card__addr,
.mount-order-picker .mount-shop-card__tel {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-all;
    min-width: 0;
}

.mount-finder-page .mount-shop-card__title-row,
.mount-order-picker .mount-shop-card__title-row {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.mount-finder-page .mount-shop-card__badge,
.mount-order-picker .mount-shop-card__badge {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 0.375rem;
    white-space: nowrap;
}

.mount-finder-page .mount-shop-card.is-active .mount-shop-card__badge,
.mount-order-picker .mount-shop-card.is-active .mount-shop-card__badge {
    color: #fff;
}

/* min-height를 제거하여 내용물에 맞춰 카드가 유연하게 축소되도록 변경 (하단 빈 공간 방지) */

/* 예약가능 + 목록 선택 시 카드 전체 오버레이 + 중앙 예약하기 (511-15033) */
.mount-finder-page .mount-shop-card__action-panel,
.mount-order-picker .mount-shop-card__action-panel {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mount-finder-page .mount-shop-card.is-active.is-reservable .mount-shop-card__action-panel,
.mount-order-picker .mount-shop-card.is-active.is-reservable .mount-shop-card__action-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mount-finder-page .mount-shop-card__reserve {
    cursor: pointer;
}

/* 썸네일 우측 하단 핀·별 (Remix Icon) */
.mount-finder-page .mount-shop-card__thumb-actions {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.mount-finder-page .mount-shop-card__pin-icon {
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.2s ease;
}

.mount-finder-page .mount-shop-card.is-pin-active .mount-shop-card__pin-icon,
.mount-finder-page .mount-shop-card.is-active .mount-shop-card__pin-icon {
    color: var(--color-primary);
}

.mount-finder-page .mount-shop-card__favorite {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.mount-finder-page .mount-shop-card__favorite .mount-shop-card__favorite-icon {
    color: rgba(255, 255, 255, 0.95);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease, -webkit-text-stroke 0.2s ease;
}

.mount-finder-page .mount-shop-card__favorite.is-favorite .mount-shop-card__favorite-icon {
    color: #ffbb00;
    -webkit-text-stroke: 0;
}

.mount-finder-page .mount-shop-card__thumb {
    background-color: #f3f4f6;
}

.mount-finder-page .mount-shop-card__thumb img.object-contain {
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mount-finder-page .mount-shop-card__thumb img.object-contain {
        padding: 1rem;
    }
}

.mount-finder-page .mount-finder-list::-webkit-scrollbar {
    width: 6px;
}

.mount-finder-page .mount-finder-list::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 3px;
}

/* 페이지네이션 */
.mount-finder-page .mount-finder-pagination.is-hidden {
    display: none;
}

.mount-finder-page .mount-finder-radius-notice.is-hidden {
    display: none;
}

.mount-finder-page .mount-finder-pagination__nav,
.mount-finder-page .mount-finder-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 1.125rem;
    line-height: 1.34rem;
    color: #272f31;
    cursor: pointer;
}

.mount-finder-page .mount-finder-pagination__page {
    opacity: 0.4;
}

.mount-finder-page .mount-finder-pagination__page.is-active {
    opacity: 1;
    font-weight: 400;
}

.mount-finder-page .mount-finder-pagination__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.mount-finder-page .mount-finder-pagination__nav i {
    font-size: 1.25rem;
    line-height: 1;
}

/* 내 위치 마커 — nearby 모드 */
.mount-finder-user-marker {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
}

.mount-finder-user-marker__ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background-color: rgba(0, 117, 242, 0.2);
    transform: scale(1.6);
}

.mount-finder-user-marker__dot {
    position: absolute;
    inset: 0.25rem;
    border-radius: 9999px;
    background-color: var(--color-primary);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}