/* ===== 플로팅 버튼 (카카오톡 상담 + 상단으로) ===== */
.floating_btns {
    position: fixed;
    right: 24px;
    bottom: 40px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.float_kakao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: #FEE500;
    border-radius: 16px;
    padding: 14px 16px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}
.float_kakao:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}
.float_kakao img,
.float_kakao_icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.float_label {
    font-size: 12px;
    font-weight: 700;
    color: #3A1D1D;
    text-align: center;
    line-height: 1.4;
}

.float_top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #555;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
    opacity: 0;
    pointer-events: none;
}
.float_top.visible {
    opacity: 1;
    pointer-events: auto;
}
.float_top:hover {
    background: #333;
    transform: translateY(-3px);
}
.float_top svg {
    width: 22px;
    height: 22px;
}

/* 모바일 480px 이하 */
@media (max-width: 480px) {
    .floating_btns {
        right: 12px;
        bottom: 24px;
        gap: 0;
    }
    .float_kakao {
        padding: 7px 20px 7px 16px;
        border-radius: 16px;
        gap: 12px;
    }
    .float_kakao img,
    .float_kakao_icon {
        width: 46px;
        height: 46px;
    }
    .float_label {
        font-size: 15px;
    }
    .float_top {
        display: none;
    }
}

/* 모바일 768px 이하 */
@media (max-width: 768px) {
    .floating_btns {
        right: 12px;
        bottom: 28px;
        flex-direction: row;
        align-items: flex-end;
        gap: 0;
    }
    .float_kakao {
        flex-direction: row;
        padding: 7px 18px 7px 14px;
        border-radius: 16px;
        gap: 10px;
    }
    .float_kakao img,
    .float_kakao_icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .float_label {
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
    }
    .float_label br {
        display: none;
    }
    .float_top {
        display: none;
    }
}
