@charset "utf-8";

/* 플로팅 — 내 주변 무료장착점 모달 (Tailwind로 대체 불가한 스타일만 유지) */

body.float-mount-finder-open {
    overflow: hidden;
}

#float_mount_nearby_panel[hidden],
#float_mount_region_panel[hidden] {
    display: none !important;
}

.float-mount-finder[hidden] {
    display: none;
}

.float-mount-finder__backdrop {
    transition: opacity 0.3s ease;
}

.float-mount-finder.is-open .float-mount-finder__backdrop {
    opacity: 1;
}

.float-mount-finder__panel {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.float-mount-finder.is-open .float-mount-finder__panel {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* 툴바 셀렉트 — .mount-finder-page 밖에 있어 mount/style.css 미적용 */
.float-mount-finder .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) {
    .float-mount-finder .mount-finder-filter__select {
        height: 3.5rem;
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
}

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

.float-mount-finder .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/style.css 836px 지도 높이 오버라이드 */
.float-mount-finder-page .mount-finder-map-wrap {
    min-height: 12rem;
    height: 38vh;
    max-height: 24rem;
}

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

/* 좁은 목록 컬럼 — 썸네일·정렬 크기 조정 */
.float-mount-finder-page .mount-shop-card__thumb {
    width: 5.5rem;
    height: 4.75rem;
}

@media (min-width: 640px) {
    .float-mount-finder-page .mount-shop-card__thumb {
        width: 6.5rem;
        height: 5.25rem;
    }
}

@media (min-width: 1024px) {
    .float-mount-finder-page .mount-shop-card__thumb {
        width: 7.5rem;
        height: 5.75rem;
    }
}

.float-mount-finder-page .mount-finder-list__head {
    min-width: 0;
    overflow: hidden;
}

.float-mount-finder-page .mount-finder-sort__btn {
    flex-shrink: 0;
}

.float-mount-finder-page .mount-finder-sort__dot {
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .float-mount-finder__backdrop,
    .float-mount-finder__panel {
        transition: none;
    }

    .float-mount-finder.is-open .float-mount-finder__panel {
        opacity: 1;
        transform: none;
    }
}
