﻿/* =========================================================
   FINDER FAB
   ========================================================= */

.gm-finder-fab {
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 50px;
    padding: 0 16px 0 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gm-accent) 0%, var(--gm-accent-strong) 100%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(44, 24, 8, 0.16), 0 8px 18px rgba(207, 24, 56, 0.18);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.gm-finder-fab:hover {
    transform: translateY(-1px);
}

.gm-finder-fab:active {
    transform: translateY(1px);
}

.gm-finder-fab.is-hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.gm-finder-fab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    transform: translateY(-1.4px);
}

.gm-finder-fab__giftmark {
    width: 22px;
    height: 22px;
    overflow: visible;
}

.gm-finder-fab__text {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .gm-finder-fab {
        bottom: 26px;
        min-height: 52px;
        padding: 0 18px 0 15px;

        right: max(
            20px,
            calc((100vw - var(--gm-max-tool-width)) / 2 + 24px)
        );
    }
}